pulumi-oci 2.8.0a1724220787__py3-none-any.whl → 2.9.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 (142) hide show
  1. pulumi_oci/__init__.py +86 -38
  2. pulumi_oci/analytics/_inputs.py +4 -4
  3. pulumi_oci/analytics/analytics_instance.py +199 -25
  4. pulumi_oci/analytics/get_analytics_instance.py +51 -2
  5. pulumi_oci/analytics/get_analytics_instances.py +1 -1
  6. pulumi_oci/analytics/outputs.py +52 -12
  7. pulumi_oci/announcementsservice/__init__.py +1 -0
  8. pulumi_oci/announcementsservice/_inputs.py +46 -6
  9. pulumi_oci/announcementsservice/announcement_subscription.py +14 -14
  10. pulumi_oci/announcementsservice/get_announcement_subscription.py +2 -2
  11. pulumi_oci/announcementsservice/get_services.py +173 -0
  12. pulumi_oci/announcementsservice/outputs.py +195 -18
  13. pulumi_oci/bigdataservice/_inputs.py +1 -49
  14. pulumi_oci/bigdataservice/bds_instance.py +0 -128
  15. pulumi_oci/bigdataservice/get_bds_instance.py +1 -31
  16. pulumi_oci/bigdataservice/outputs.py +3 -132
  17. pulumi_oci/database/_inputs.py +32 -0
  18. pulumi_oci/database/autonomous_database.py +28 -0
  19. pulumi_oci/database/data_guard_association.py +49 -0
  20. pulumi_oci/database/get_autonomous_database.py +14 -1
  21. pulumi_oci/database/get_autonomous_databases.py +32 -95
  22. pulumi_oci/database/get_data_guard_association.py +11 -1
  23. pulumi_oci/database/get_maintenance_run.py +14 -1
  24. pulumi_oci/database/maintenance_run.py +56 -7
  25. pulumi_oci/database/outputs.py +196 -42
  26. pulumi_oci/databasemanagement/__init__.py +1 -0
  27. pulumi_oci/databasemanagement/_inputs.py +873 -10
  28. pulumi_oci/databasemanagement/autonomous_database_autonomous_database_dbm_features_management.py +275 -0
  29. pulumi_oci/databasemanagement/database_dbm_features_management.py +37 -3
  30. pulumi_oci/databasemanagement/db_management_private_endpoint.py +49 -0
  31. pulumi_oci/databasemanagement/get_db_management_private_endpoint.py +14 -1
  32. pulumi_oci/databasemanagement/get_db_management_private_endpoints.py +21 -1
  33. pulumi_oci/databasemanagement/get_managed_database.py +47 -3
  34. pulumi_oci/databasemanagement/managed_database.py +56 -0
  35. pulumi_oci/databasemanagement/outputs.py +3331 -1397
  36. pulumi_oci/databasemanagement/pluggabledatabase_pluggable_database_dbm_features_management.py +35 -1
  37. pulumi_oci/datasafe/__init__.py +6 -0
  38. pulumi_oci/datasafe/_inputs.py +18 -0
  39. pulumi_oci/datasafe/database_security_config_management.py +244 -2
  40. pulumi_oci/datasafe/masking_policy_health_report_management.py +453 -0
  41. pulumi_oci/datasafe/masking_report_management.py +693 -0
  42. pulumi_oci/datasafe/outputs.py +18 -0
  43. pulumi_oci/datasafe/security_policy_deployment_management.py +180 -2
  44. pulumi_oci/datasafe/security_policy_management.py +172 -2
  45. pulumi_oci/datasafe/set_security_assessment_baseline_management.py +304 -0
  46. pulumi_oci/datasafe/set_user_assessment_baseline_management.py +304 -0
  47. pulumi_oci/datasafe/sql_firewall_policy_management.py +354 -2
  48. pulumi_oci/datasafe/unset_security_assessment_baseline_management.py +264 -0
  49. pulumi_oci/datasafe/unset_user_assessment_baseline_management.py +264 -0
  50. pulumi_oci/delegateaccesscontrol/__init__.py +24 -0
  51. pulumi_oci/delegateaccesscontrol/_inputs.py +306 -0
  52. pulumi_oci/delegateaccesscontrol/delegation_control.py +1082 -0
  53. pulumi_oci/{globallydistributeddatabase/private_endpoint.py → delegateaccesscontrol/delegation_subscription.py} +162 -267
  54. pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_request.py +535 -0
  55. pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_request_audit_log_report.py +174 -0
  56. pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_request_histories.py +133 -0
  57. pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_requests.py +250 -0
  58. pulumi_oci/delegateaccesscontrol/get_delegation_control.py +378 -0
  59. pulumi_oci/delegateaccesscontrol/get_delegation_control_resources.py +133 -0
  60. pulumi_oci/delegateaccesscontrol/get_delegation_controls.py +213 -0
  61. pulumi_oci/{globallydistributeddatabase/get_private_endpoint.py → delegateaccesscontrol/get_delegation_subscription.py} +66 -105
  62. pulumi_oci/delegateaccesscontrol/get_delegation_subscriptions.py +176 -0
  63. pulumi_oci/delegateaccesscontrol/get_service_provider.py +274 -0
  64. pulumi_oci/delegateaccesscontrol/get_service_provider_action.py +210 -0
  65. pulumi_oci/delegateaccesscontrol/get_service_provider_actions.py +210 -0
  66. pulumi_oci/delegateaccesscontrol/get_service_providers.py +213 -0
  67. pulumi_oci/delegateaccesscontrol/outputs.py +1679 -0
  68. pulumi_oci/{fleetsoftwareupdate → desktops}/__init__.py +7 -6
  69. pulumi_oci/desktops/_inputs.py +483 -0
  70. pulumi_oci/desktops/desktop_pool.py +1348 -0
  71. pulumi_oci/desktops/get_desktop.py +223 -0
  72. pulumi_oci/desktops/get_desktop_pool.py +418 -0
  73. pulumi_oci/desktops/get_desktop_pool_desktops.py +208 -0
  74. pulumi_oci/desktops/get_desktop_pool_volumes.py +214 -0
  75. pulumi_oci/desktops/get_desktop_pools.py +203 -0
  76. pulumi_oci/desktops/get_desktops.py +214 -0
  77. pulumi_oci/desktops/outputs.py +1738 -0
  78. pulumi_oci/disasterrecovery/_inputs.py +66 -2
  79. pulumi_oci/disasterrecovery/dr_protection_group.py +8 -0
  80. pulumi_oci/disasterrecovery/get_dr_plan_executions.py +24 -0
  81. pulumi_oci/disasterrecovery/outputs.py +150 -10
  82. pulumi_oci/filestorage/mount_target.py +143 -38
  83. pulumi_oci/filestorage/outputs.py +44 -0
  84. pulumi_oci/identity/domains_group.py +34 -0
  85. pulumi_oci/identity/domains_user.py +34 -0
  86. pulumi_oci/identity/get_domains_group.py +11 -1
  87. pulumi_oci/identity/get_domains_user.py +11 -1
  88. pulumi_oci/identity/outputs.py +14 -0
  89. pulumi_oci/integration/get_integration_instance.py +25 -2
  90. pulumi_oci/integration/integration_instance.py +88 -0
  91. pulumi_oci/integration/outputs.py +24 -6
  92. pulumi_oci/kms/_inputs.py +10 -10
  93. pulumi_oci/kms/get_vault.py +14 -1
  94. pulumi_oci/kms/outputs.py +41 -30
  95. pulumi_oci/kms/vault.py +28 -0
  96. pulumi_oci/loadbalancer/load_balancer.py +224 -0
  97. pulumi_oci/loadbalancer/outputs.py +22 -0
  98. pulumi_oci/mysql/_inputs.py +225 -2
  99. pulumi_oci/mysql/get_mysql_backup.py +1 -1
  100. pulumi_oci/mysql/get_mysql_db_system.py +27 -1
  101. pulumi_oci/mysql/mysql_backup.py +4 -4
  102. pulumi_oci/mysql/mysql_db_system.py +108 -0
  103. pulumi_oci/mysql/outputs.py +569 -8
  104. pulumi_oci/ocvp/get_cluster.py +2 -2
  105. pulumi_oci/ocvp/get_exsi_hosts.py +2 -2
  106. pulumi_oci/ocvp/get_supported_vmware_software_versions.py +22 -5
  107. pulumi_oci/ocvp/outputs.py +2 -2
  108. pulumi_oci/pulumi-plugin.json +1 -1
  109. pulumi_oci/recoverymod/_inputs.py +0 -8
  110. pulumi_oci/recoverymod/get_protected_database.py +14 -1
  111. pulumi_oci/recoverymod/get_protection_policy.py +14 -1
  112. pulumi_oci/recoverymod/outputs.py +22 -8
  113. pulumi_oci/recoverymod/protected_database.py +80 -3
  114. pulumi_oci/recoverymod/protection_policy.py +49 -0
  115. pulumi_oci/redis/__init__.py +1 -0
  116. pulumi_oci/redis/_inputs.py +40 -0
  117. pulumi_oci/redis/get_redis_cluster.py +47 -21
  118. pulumi_oci/redis/get_redis_cluster_nodes.py +156 -0
  119. pulumi_oci/redis/get_redis_clusters.py +8 -8
  120. pulumi_oci/redis/outputs.py +160 -28
  121. pulumi_oci/redis/redis_cluster.py +177 -79
  122. pulumi_oci/waf/_inputs.py +29 -16
  123. pulumi_oci/waf/outputs.py +33 -10
  124. {pulumi_oci-2.8.0a1724220787.dist-info → pulumi_oci-2.9.0.dist-info}/METADATA +1 -1
  125. {pulumi_oci-2.8.0a1724220787.dist-info → pulumi_oci-2.9.0.dist-info}/RECORD +127 -108
  126. {pulumi_oci-2.8.0a1724220787.dist-info → pulumi_oci-2.9.0.dist-info}/WHEEL +1 -1
  127. pulumi_oci/fleetsoftwareupdate/_inputs.py +0 -553
  128. pulumi_oci/fleetsoftwareupdate/fsu_collection.py +0 -514
  129. pulumi_oci/fleetsoftwareupdate/fsu_cycle.py +0 -812
  130. pulumi_oci/fleetsoftwareupdate/get_fsu_collection.py +0 -225
  131. pulumi_oci/fleetsoftwareupdate/get_fsu_collections.py +0 -141
  132. pulumi_oci/fleetsoftwareupdate/get_fsu_cycle.py +0 -325
  133. pulumi_oci/fleetsoftwareupdate/get_fsu_cycles.py +0 -167
  134. pulumi_oci/fleetsoftwareupdate/outputs.py +0 -1481
  135. pulumi_oci/globallydistributeddatabase/__init__.py +0 -15
  136. pulumi_oci/globallydistributeddatabase/_inputs.py +0 -1003
  137. pulumi_oci/globallydistributeddatabase/get_private_endpoints.py +0 -176
  138. pulumi_oci/globallydistributeddatabase/get_sharded_database.py +0 -610
  139. pulumi_oci/globallydistributeddatabase/get_sharded_databases.py +0 -176
  140. pulumi_oci/globallydistributeddatabase/outputs.py +0 -2058
  141. pulumi_oci/globallydistributeddatabase/sharded_database.py +0 -1816
  142. {pulumi_oci-2.8.0a1724220787.dist-info → pulumi_oci-2.9.0.dist-info}/top_level.txt +0 -0
@@ -368,7 +368,7 @@ def get_cluster(cluster_id: Optional[str] = None,
368
368
  ```
369
369
 
370
370
 
371
- :param str cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster.
371
+ :param str cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster.
372
372
  """
373
373
  __args__ = dict()
374
374
  __args__['clusterId'] = cluster_id
@@ -423,6 +423,6 @@ def get_cluster_output(cluster_id: Optional[pulumi.Input[str]] = None,
423
423
  ```
424
424
 
425
425
 
426
- :param str cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster.
426
+ :param str cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster.
427
427
  """
428
428
  ...
@@ -197,7 +197,7 @@ def get_exsi_hosts(cluster_id: Optional[str] = None,
197
197
  ```
198
198
 
199
199
 
200
- :param str cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster.
200
+ :param str cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster.
201
201
  :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment as optional parameter.
202
202
  :param str compute_instance_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Compute instance.
203
203
  :param str display_name: A filter to return only resources that match the given display name exactly.
@@ -274,7 +274,7 @@ def get_exsi_hosts_output(cluster_id: Optional[pulumi.Input[Optional[str]]] = No
274
274
  ```
275
275
 
276
276
 
277
- :param str cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster.
277
+ :param str cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster.
278
278
  :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment as optional parameter.
279
279
  :param str compute_instance_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Compute instance.
280
280
  :param str display_name: A filter to return only resources that match the given display name exactly.
@@ -23,7 +23,7 @@ class GetSupportedVmwareSoftwareVersionsResult:
23
23
  """
24
24
  A collection of values returned by getSupportedVmwareSoftwareVersions.
25
25
  """
26
- def __init__(__self__, compartment_id=None, filters=None, host_shape_name=None, id=None, items=None, version=None):
26
+ def __init__(__self__, compartment_id=None, filters=None, host_shape_name=None, id=None, items=None, version=None, version_to_upgrade=None):
27
27
  if compartment_id and not isinstance(compartment_id, str):
28
28
  raise TypeError("Expected argument 'compartment_id' to be a str")
29
29
  pulumi.set(__self__, "compartment_id", compartment_id)
@@ -42,6 +42,9 @@ class GetSupportedVmwareSoftwareVersionsResult:
42
42
  if version and not isinstance(version, str):
43
43
  raise TypeError("Expected argument 'version' to be a str")
44
44
  pulumi.set(__self__, "version", version)
45
+ if version_to_upgrade and not isinstance(version_to_upgrade, str):
46
+ raise TypeError("Expected argument 'version_to_upgrade' to be a str")
47
+ pulumi.set(__self__, "version_to_upgrade", version_to_upgrade)
45
48
 
46
49
  @property
47
50
  @pulumi.getter(name="compartmentId")
@@ -82,6 +85,11 @@ class GetSupportedVmwareSoftwareVersionsResult:
82
85
  """
83
86
  return pulumi.get(self, "version")
84
87
 
88
+ @property
89
+ @pulumi.getter(name="versionToUpgrade")
90
+ def version_to_upgrade(self) -> Optional[str]:
91
+ return pulumi.get(self, "version_to_upgrade")
92
+
85
93
 
86
94
  class AwaitableGetSupportedVmwareSoftwareVersionsResult(GetSupportedVmwareSoftwareVersionsResult):
87
95
  # pylint: disable=using-constant-test
@@ -94,13 +102,15 @@ class AwaitableGetSupportedVmwareSoftwareVersionsResult(GetSupportedVmwareSoftwa
94
102
  host_shape_name=self.host_shape_name,
95
103
  id=self.id,
96
104
  items=self.items,
97
- version=self.version)
105
+ version=self.version,
106
+ version_to_upgrade=self.version_to_upgrade)
98
107
 
99
108
 
100
109
  def get_supported_vmware_software_versions(compartment_id: Optional[str] = None,
101
110
  filters: Optional[Sequence[Union['GetSupportedVmwareSoftwareVersionsFilterArgs', 'GetSupportedVmwareSoftwareVersionsFilterArgsDict']]] = None,
102
111
  host_shape_name: Optional[str] = None,
103
112
  version: Optional[str] = None,
113
+ version_to_upgrade: Optional[str] = None,
104
114
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSupportedVmwareSoftwareVersionsResult:
105
115
  """
106
116
  This data source provides the list of Supported Vmware Software Versions in Oracle Cloud Infrastructure Oracle Cloud VMware Solution service.
@@ -116,19 +126,22 @@ def get_supported_vmware_software_versions(compartment_id: Optional[str] = None,
116
126
 
117
127
  test_supported_vmware_software_versions = oci.Ocvp.get_supported_vmware_software_versions(compartment_id=compartment_id,
118
128
  host_shape_name=test_shape["name"],
119
- version=supported_vmware_software_version_version)
129
+ version=supported_vmware_software_version_version,
130
+ version_to_upgrade=supported_vmware_software_version_version_to_upgrade)
120
131
  ```
121
132
 
122
133
 
123
134
  :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
124
135
  :param str host_shape_name: A filter to return only resources that match or support the given ESXi host shape.
125
136
  :param str version: A filter to return only resources that match the given VMware software version exactly.
137
+ :param str version_to_upgrade: A filter to return only VMware software versions that the given VMware software version can be upgraded to.
126
138
  """
127
139
  __args__ = dict()
128
140
  __args__['compartmentId'] = compartment_id
129
141
  __args__['filters'] = filters
130
142
  __args__['hostShapeName'] = host_shape_name
131
143
  __args__['version'] = version
144
+ __args__['versionToUpgrade'] = version_to_upgrade
132
145
  opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
133
146
  __ret__ = pulumi.runtime.invoke('oci:Ocvp/getSupportedVmwareSoftwareVersions:getSupportedVmwareSoftwareVersions', __args__, opts=opts, typ=GetSupportedVmwareSoftwareVersionsResult).value
134
147
 
@@ -138,7 +151,8 @@ def get_supported_vmware_software_versions(compartment_id: Optional[str] = None,
138
151
  host_shape_name=pulumi.get(__ret__, 'host_shape_name'),
139
152
  id=pulumi.get(__ret__, 'id'),
140
153
  items=pulumi.get(__ret__, 'items'),
141
- version=pulumi.get(__ret__, 'version'))
154
+ version=pulumi.get(__ret__, 'version'),
155
+ version_to_upgrade=pulumi.get(__ret__, 'version_to_upgrade'))
142
156
 
143
157
 
144
158
  @_utilities.lift_output_func(get_supported_vmware_software_versions)
@@ -146,6 +160,7 @@ def get_supported_vmware_software_versions_output(compartment_id: Optional[pulum
146
160
  filters: Optional[pulumi.Input[Optional[Sequence[Union['GetSupportedVmwareSoftwareVersionsFilterArgs', 'GetSupportedVmwareSoftwareVersionsFilterArgsDict']]]]] = None,
147
161
  host_shape_name: Optional[pulumi.Input[Optional[str]]] = None,
148
162
  version: Optional[pulumi.Input[Optional[str]]] = None,
163
+ version_to_upgrade: Optional[pulumi.Input[Optional[str]]] = None,
149
164
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSupportedVmwareSoftwareVersionsResult]:
150
165
  """
151
166
  This data source provides the list of Supported Vmware Software Versions in Oracle Cloud Infrastructure Oracle Cloud VMware Solution service.
@@ -161,12 +176,14 @@ def get_supported_vmware_software_versions_output(compartment_id: Optional[pulum
161
176
 
162
177
  test_supported_vmware_software_versions = oci.Ocvp.get_supported_vmware_software_versions(compartment_id=compartment_id,
163
178
  host_shape_name=test_shape["name"],
164
- version=supported_vmware_software_version_version)
179
+ version=supported_vmware_software_version_version,
180
+ version_to_upgrade=supported_vmware_software_version_version_to_upgrade)
165
181
  ```
166
182
 
167
183
 
168
184
  :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
169
185
  :param str host_shape_name: A filter to return only resources that match or support the given ESXi host shape.
170
186
  :param str version: A filter to return only resources that match the given VMware software version exactly.
187
+ :param str version_to_upgrade: A filter to return only VMware software versions that the given VMware software version can be upgraded to.
171
188
  """
172
189
  ...
@@ -2039,7 +2039,7 @@ class GetExsiHostsEsxiHostCollectionResult(dict):
2039
2039
  :param str billing_contract_end_date: Current billing cycle end date. If the value in `currentCommitment` and `nextCommitment` are different, the value specified in `nextCommitment` becomes the new `currentCommitment` when the `contractEndDate` is reached. Example: `2016-08-25T21:10:29.600Z`
2040
2040
  :param str billing_donor_host_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the deleted ESXi Host with LeftOver billing cycle.
2041
2041
  :param str capacity_reservation_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Capacity Reservation.
2042
- :param str cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster.
2042
+ :param str cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster.
2043
2043
  :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment as optional parameter.
2044
2044
  :param str compute_availability_domain: The availability domain of the ESXi host.
2045
2045
  :param str compute_instance_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Compute instance.
@@ -2129,7 +2129,7 @@ class GetExsiHostsEsxiHostCollectionResult(dict):
2129
2129
  @pulumi.getter(name="clusterId")
2130
2130
  def cluster_id(self) -> str:
2131
2131
  """
2132
- The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster.
2132
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster.
2133
2133
  """
2134
2134
  return pulumi.get(self, "cluster_id")
2135
2135
 
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "oci",
4
- "version": "2.8.0-alpha.1724220787"
4
+ "version": "2.9.0"
5
5
  }
@@ -159,10 +159,6 @@ class ProtectedDatabaseRecoveryServiceSubnetArgs:
159
159
  state: Optional[pulumi.Input[str]] = None):
160
160
  """
161
161
  :param pulumi.Input[str] recovery_service_subnet_id: (Updatable) The recovery service subnet OCID.
162
-
163
-
164
- ** IMPORTANT **
165
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
166
162
  :param pulumi.Input[str] state: The current state of the Protected Database.
167
163
  """
168
164
  pulumi.set(__self__, "recovery_service_subnet_id", recovery_service_subnet_id)
@@ -174,10 +170,6 @@ class ProtectedDatabaseRecoveryServiceSubnetArgs:
174
170
  def recovery_service_subnet_id(self) -> pulumi.Input[str]:
175
171
  """
176
172
  (Updatable) The recovery service subnet OCID.
177
-
178
-
179
- ** IMPORTANT **
180
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
181
173
  """
182
174
  return pulumi.get(self, "recovery_service_subnet_id")
183
175
 
@@ -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, 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):
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, subscription_id=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)
@@ -86,6 +86,9 @@ class GetProtectedDatabaseResult:
86
86
  if state and not isinstance(state, str):
87
87
  raise TypeError("Expected argument 'state' to be a str")
88
88
  pulumi.set(__self__, "state", state)
89
+ if subscription_id and not isinstance(subscription_id, str):
90
+ raise TypeError("Expected argument 'subscription_id' to be a str")
91
+ pulumi.set(__self__, "subscription_id", subscription_id)
89
92
  if system_tags and not isinstance(system_tags, dict):
90
93
  raise TypeError("Expected argument 'system_tags' to be a dict")
91
94
  pulumi.set(__self__, "system_tags", system_tags)
@@ -258,6 +261,14 @@ class GetProtectedDatabaseResult:
258
261
  """
259
262
  return pulumi.get(self, "state")
260
263
 
264
+ @property
265
+ @pulumi.getter(name="subscriptionId")
266
+ def subscription_id(self) -> str:
267
+ """
268
+ The OCID of the cloud service subscription to which the protected database is linked.
269
+ """
270
+ return pulumi.get(self, "subscription_id")
271
+
261
272
  @property
262
273
  @pulumi.getter(name="systemTags")
263
274
  def system_tags(self) -> Mapping[str, str]:
@@ -318,6 +329,7 @@ class AwaitableGetProtectedDatabaseResult(GetProtectedDatabaseResult):
318
329
  protection_policy_id=self.protection_policy_id,
319
330
  recovery_service_subnets=self.recovery_service_subnets,
320
331
  state=self.state,
332
+ subscription_id=self.subscription_id,
321
333
  system_tags=self.system_tags,
322
334
  time_created=self.time_created,
323
335
  time_updated=self.time_updated,
@@ -370,6 +382,7 @@ def get_protected_database(protected_database_id: Optional[str] = None,
370
382
  protection_policy_id=pulumi.get(__ret__, 'protection_policy_id'),
371
383
  recovery_service_subnets=pulumi.get(__ret__, 'recovery_service_subnets'),
372
384
  state=pulumi.get(__ret__, 'state'),
385
+ subscription_id=pulumi.get(__ret__, 'subscription_id'),
373
386
  system_tags=pulumi.get(__ret__, 'system_tags'),
374
387
  time_created=pulumi.get(__ret__, 'time_created'),
375
388
  time_updated=pulumi.get(__ret__, 'time_updated'),
@@ -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, policy_locked_date_time=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, must_enforce_cloud_locality=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 must_enforce_cloud_locality and not isinstance(must_enforce_cloud_locality, bool):
50
+ raise TypeError("Expected argument 'must_enforce_cloud_locality' to be a bool")
51
+ pulumi.set(__self__, "must_enforce_cloud_locality", must_enforce_cloud_locality)
49
52
  if policy_locked_date_time and not isinstance(policy_locked_date_time, str):
50
53
  raise TypeError("Expected argument 'policy_locked_date_time' to be a str")
51
54
  pulumi.set(__self__, "policy_locked_date_time", policy_locked_date_time)
@@ -129,6 +132,14 @@ class GetProtectionPolicyResult:
129
132
  """
130
133
  return pulumi.get(self, "lifecycle_details")
131
134
 
135
+ @property
136
+ @pulumi.getter(name="mustEnforceCloudLocality")
137
+ def must_enforce_cloud_locality(self) -> bool:
138
+ """
139
+ Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned.
140
+ """
141
+ return pulumi.get(self, "must_enforce_cloud_locality")
142
+
132
143
  @property
133
144
  @pulumi.getter(name="policyLockedDateTime")
134
145
  def policy_locked_date_time(self) -> str:
@@ -189,6 +200,7 @@ class AwaitableGetProtectionPolicyResult(GetProtectionPolicyResult):
189
200
  id=self.id,
190
201
  is_predefined_policy=self.is_predefined_policy,
191
202
  lifecycle_details=self.lifecycle_details,
203
+ must_enforce_cloud_locality=self.must_enforce_cloud_locality,
192
204
  policy_locked_date_time=self.policy_locked_date_time,
193
205
  protection_policy_id=self.protection_policy_id,
194
206
  state=self.state,
@@ -230,6 +242,7 @@ def get_protection_policy(protection_policy_id: Optional[str] = None,
230
242
  id=pulumi.get(__ret__, 'id'),
231
243
  is_predefined_policy=pulumi.get(__ret__, 'is_predefined_policy'),
232
244
  lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
245
+ must_enforce_cloud_locality=pulumi.get(__ret__, 'must_enforce_cloud_locality'),
233
246
  policy_locked_date_time=pulumi.get(__ret__, 'policy_locked_date_time'),
234
247
  protection_policy_id=pulumi.get(__ret__, 'protection_policy_id'),
235
248
  state=pulumi.get(__ret__, 'state'),
@@ -186,10 +186,6 @@ class ProtectedDatabaseRecoveryServiceSubnet(dict):
186
186
  state: Optional[str] = None):
187
187
  """
188
188
  :param str recovery_service_subnet_id: (Updatable) The recovery service subnet OCID.
189
-
190
-
191
- ** IMPORTANT **
192
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
193
189
  :param str state: The current state of the Protected Database.
194
190
  """
195
191
  pulumi.set(__self__, "recovery_service_subnet_id", recovery_service_subnet_id)
@@ -201,10 +197,6 @@ class ProtectedDatabaseRecoveryServiceSubnet(dict):
201
197
  def recovery_service_subnet_id(self) -> str:
202
198
  """
203
199
  (Updatable) The recovery service subnet OCID.
204
-
205
-
206
- ** IMPORTANT **
207
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
208
200
  """
209
201
  return pulumi.get(self, "recovery_service_subnet_id")
210
202
 
@@ -403,6 +395,7 @@ class GetProtectedDatabasesProtectedDatabaseCollectionItemResult(dict):
403
395
  protection_policy_id: str,
404
396
  recovery_service_subnets: Sequence['outputs.GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetResult'],
405
397
  state: str,
398
+ subscription_id: str,
406
399
  system_tags: Mapping[str, str],
407
400
  time_created: str,
408
401
  time_updated: str,
@@ -426,6 +419,7 @@ class GetProtectedDatabasesProtectedDatabaseCollectionItemResult(dict):
426
419
  :param str protection_policy_id: The protection policy OCID.
427
420
  :param Sequence['GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetArgs'] recovery_service_subnets: List of recovery service subnet resources associated with the protected database.
428
421
  :param str state: A filter to return only the resources that match the specified lifecycle state.
422
+ :param str subscription_id: The OCID of the cloud service subscription to which the protected database is linked.
429
423
  :param Mapping[str, str] 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)
430
424
  :param str time_created: An RFC3339 formatted datetime string that indicates the created time for a protected database. For example: '2020-05-22T21:10:29.600Z'
431
425
  :param str time_updated: An RFC3339 formatted datetime string that indicates the last updated time for a protected database. For example: '2020-05-22T21:10:29.600Z'
@@ -451,6 +445,7 @@ class GetProtectedDatabasesProtectedDatabaseCollectionItemResult(dict):
451
445
  pulumi.set(__self__, "protection_policy_id", protection_policy_id)
452
446
  pulumi.set(__self__, "recovery_service_subnets", recovery_service_subnets)
453
447
  pulumi.set(__self__, "state", state)
448
+ pulumi.set(__self__, "subscription_id", subscription_id)
454
449
  pulumi.set(__self__, "system_tags", system_tags)
455
450
  pulumi.set(__self__, "time_created", time_created)
456
451
  pulumi.set(__self__, "time_updated", time_updated)
@@ -610,6 +605,14 @@ class GetProtectedDatabasesProtectedDatabaseCollectionItemResult(dict):
610
605
  """
611
606
  return pulumi.get(self, "state")
612
607
 
608
+ @property
609
+ @pulumi.getter(name="subscriptionId")
610
+ def subscription_id(self) -> str:
611
+ """
612
+ The OCID of the cloud service subscription to which the protected database is linked.
613
+ """
614
+ return pulumi.get(self, "subscription_id")
615
+
613
616
  @property
614
617
  @pulumi.getter(name="systemTags")
615
618
  def system_tags(self) -> Mapping[str, str]:
@@ -817,6 +820,7 @@ class GetProtectionPoliciesProtectionPolicyCollectionItemResult(dict):
817
820
  id: str,
818
821
  is_predefined_policy: bool,
819
822
  lifecycle_details: str,
823
+ must_enforce_cloud_locality: bool,
820
824
  policy_locked_date_time: str,
821
825
  state: str,
822
826
  system_tags: Mapping[str, str],
@@ -831,6 +835,7 @@ class GetProtectionPoliciesProtectionPolicyCollectionItemResult(dict):
831
835
  :param str id: The protection policy OCID.
832
836
  :param bool is_predefined_policy: Set to TRUE if the policy is Oracle-defined, and FALSE for a user-defined custom policy. You can modify only the custom policies.
833
837
  :param str lifecycle_details: Detailed description about the current lifecycle state of the protection policy. For example, it can be used to provide actionable information for a resource in a Failed state.
838
+ :param bool must_enforce_cloud_locality: Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned.
834
839
  :param str policy_locked_date_time: An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy.
835
840
  :param str state: A filter to return only resources their lifecycleState matches the given lifecycleState.
836
841
  :param Mapping[str, str] 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)
@@ -845,6 +850,7 @@ class GetProtectionPoliciesProtectionPolicyCollectionItemResult(dict):
845
850
  pulumi.set(__self__, "id", id)
846
851
  pulumi.set(__self__, "is_predefined_policy", is_predefined_policy)
847
852
  pulumi.set(__self__, "lifecycle_details", lifecycle_details)
853
+ pulumi.set(__self__, "must_enforce_cloud_locality", must_enforce_cloud_locality)
848
854
  pulumi.set(__self__, "policy_locked_date_time", policy_locked_date_time)
849
855
  pulumi.set(__self__, "state", state)
850
856
  pulumi.set(__self__, "system_tags", system_tags)
@@ -915,6 +921,14 @@ class GetProtectionPoliciesProtectionPolicyCollectionItemResult(dict):
915
921
  """
916
922
  return pulumi.get(self, "lifecycle_details")
917
923
 
924
+ @property
925
+ @pulumi.getter(name="mustEnforceCloudLocality")
926
+ def must_enforce_cloud_locality(self) -> bool:
927
+ """
928
+ Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned.
929
+ """
930
+ return pulumi.get(self, "must_enforce_cloud_locality")
931
+
918
932
  @property
919
933
  @pulumi.getter(name="policyLockedDateTime")
920
934
  def policy_locked_date_time(self) -> str:
@@ -27,7 +27,8 @@ class ProtectedDatabaseArgs:
27
27
  defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
28
28
  deletion_schedule: Optional[pulumi.Input[str]] = None,
29
29
  freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
30
- is_redo_logs_shipped: Optional[pulumi.Input[bool]] = None):
30
+ is_redo_logs_shipped: Optional[pulumi.Input[bool]] = None,
31
+ subscription_id: Optional[pulumi.Input[str]] = None):
31
32
  """
32
33
  The set of arguments for constructing a ProtectedDatabase resource.
33
34
  :param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment that contains the protected database.
@@ -44,6 +45,11 @@ class ProtectedDatabaseArgs:
44
45
  * The alternate schedule is DELETE_AFTER_RETENTION_PERIOD. Specify this option if you want to delete a protected database only after the policy-defined backup retention period expires.
45
46
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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"}`
46
47
  :param pulumi.Input[bool] is_redo_logs_shipped: (Updatable) 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.
48
+ :param pulumi.Input[str] subscription_id: (Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure.
49
+
50
+
51
+ ** IMPORTANT **
52
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
47
53
  """
48
54
  pulumi.set(__self__, "compartment_id", compartment_id)
49
55
  pulumi.set(__self__, "db_unique_name", db_unique_name)
@@ -63,6 +69,8 @@ class ProtectedDatabaseArgs:
63
69
  pulumi.set(__self__, "freeform_tags", freeform_tags)
64
70
  if is_redo_logs_shipped is not None:
65
71
  pulumi.set(__self__, "is_redo_logs_shipped", is_redo_logs_shipped)
72
+ if subscription_id is not None:
73
+ pulumi.set(__self__, "subscription_id", subscription_id)
66
74
 
67
75
  @property
68
76
  @pulumi.getter(name="compartmentId")
@@ -210,6 +218,22 @@ class ProtectedDatabaseArgs:
210
218
  def is_redo_logs_shipped(self, value: Optional[pulumi.Input[bool]]):
211
219
  pulumi.set(self, "is_redo_logs_shipped", value)
212
220
 
221
+ @property
222
+ @pulumi.getter(name="subscriptionId")
223
+ def subscription_id(self) -> Optional[pulumi.Input[str]]:
224
+ """
225
+ (Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure.
226
+
227
+
228
+ ** IMPORTANT **
229
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
230
+ """
231
+ return pulumi.get(self, "subscription_id")
232
+
233
+ @subscription_id.setter
234
+ def subscription_id(self, value: Optional[pulumi.Input[str]]):
235
+ pulumi.set(self, "subscription_id", value)
236
+
213
237
 
214
238
  @pulumi.input_type
215
239
  class _ProtectedDatabaseState:
@@ -233,6 +257,7 @@ class _ProtectedDatabaseState:
233
257
  protection_policy_id: Optional[pulumi.Input[str]] = None,
234
258
  recovery_service_subnets: Optional[pulumi.Input[Sequence[pulumi.Input['ProtectedDatabaseRecoveryServiceSubnetArgs']]]] = None,
235
259
  state: Optional[pulumi.Input[str]] = None,
260
+ subscription_id: Optional[pulumi.Input[str]] = None,
236
261
  system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
237
262
  time_created: Optional[pulumi.Input[str]] = None,
238
263
  time_updated: Optional[pulumi.Input[str]] = None,
@@ -260,6 +285,11 @@ class _ProtectedDatabaseState:
260
285
  :param pulumi.Input[str] protection_policy_id: (Updatable) The OCID of the protection policy associated with the protected database.
261
286
  :param pulumi.Input[Sequence[pulumi.Input['ProtectedDatabaseRecoveryServiceSubnetArgs']]] recovery_service_subnets: (Updatable) List of recovery service subnet resources associated with the protected database.
262
287
  :param pulumi.Input[str] state: The current state of the Protected Database.
288
+ :param pulumi.Input[str] subscription_id: (Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure.
289
+
290
+
291
+ ** IMPORTANT **
292
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
263
293
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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)
264
294
  :param pulumi.Input[str] time_created: An RFC3339 formatted datetime string that indicates the created time for a protected database. For example: '2020-05-22T21:10:29.600Z'
265
295
  :param pulumi.Input[str] time_updated: An RFC3339 formatted datetime string that indicates the last updated time for a protected database. For example: '2020-05-22T21:10:29.600Z'
@@ -303,6 +333,8 @@ class _ProtectedDatabaseState:
303
333
  pulumi.set(__self__, "recovery_service_subnets", recovery_service_subnets)
304
334
  if state is not None:
305
335
  pulumi.set(__self__, "state", state)
336
+ if subscription_id is not None:
337
+ pulumi.set(__self__, "subscription_id", subscription_id)
306
338
  if system_tags is not None:
307
339
  pulumi.set(__self__, "system_tags", system_tags)
308
340
  if time_created is not None:
@@ -542,6 +574,22 @@ class _ProtectedDatabaseState:
542
574
  def state(self, value: Optional[pulumi.Input[str]]):
543
575
  pulumi.set(self, "state", value)
544
576
 
577
+ @property
578
+ @pulumi.getter(name="subscriptionId")
579
+ def subscription_id(self) -> Optional[pulumi.Input[str]]:
580
+ """
581
+ (Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure.
582
+
583
+
584
+ ** IMPORTANT **
585
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
586
+ """
587
+ return pulumi.get(self, "subscription_id")
588
+
589
+ @subscription_id.setter
590
+ def subscription_id(self, value: Optional[pulumi.Input[str]]):
591
+ pulumi.set(self, "subscription_id", value)
592
+
545
593
  @property
546
594
  @pulumi.getter(name="systemTags")
547
595
  def system_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
@@ -608,6 +656,7 @@ class ProtectedDatabase(pulumi.CustomResource):
608
656
  password: Optional[pulumi.Input[str]] = None,
609
657
  protection_policy_id: Optional[pulumi.Input[str]] = None,
610
658
  recovery_service_subnets: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ProtectedDatabaseRecoveryServiceSubnetArgs', 'ProtectedDatabaseRecoveryServiceSubnetArgsDict']]]]] = None,
659
+ subscription_id: Optional[pulumi.Input[str]] = None,
611
660
  __props__=None):
612
661
  """
613
662
  This resource provides the Protected Database resource in Oracle Cloud Infrastructure Recovery service.
@@ -638,7 +687,8 @@ class ProtectedDatabase(pulumi.CustomResource):
638
687
  freeform_tags={
639
688
  "bar-key": "value",
640
689
  },
641
- is_redo_logs_shipped=protected_database_is_redo_logs_shipped)
690
+ is_redo_logs_shipped=protected_database_is_redo_logs_shipped,
691
+ subscription_id=test_subscription["id"])
642
692
  ```
643
693
 
644
694
  ## Import
@@ -665,6 +715,11 @@ class ProtectedDatabase(pulumi.CustomResource):
665
715
  :param pulumi.Input[str] password: (Updatable) Password credential which can be used to connect to Protected Database. It must contain at least 2 uppercase, 2 lowercase, 2 numeric and 2 special characters. The special characters must be underscore (_), number sign (https://docs.cloud.oracle.com/iaas/api/#) or hyphen (-). The password must not contain the username "admin", regardless of casing.
666
716
  :param pulumi.Input[str] protection_policy_id: (Updatable) The OCID of the protection policy associated with the protected database.
667
717
  :param pulumi.Input[Sequence[pulumi.Input[Union['ProtectedDatabaseRecoveryServiceSubnetArgs', 'ProtectedDatabaseRecoveryServiceSubnetArgsDict']]]] recovery_service_subnets: (Updatable) List of recovery service subnet resources associated with the protected database.
718
+ :param pulumi.Input[str] subscription_id: (Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure.
719
+
720
+
721
+ ** IMPORTANT **
722
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
668
723
  """
669
724
  ...
670
725
  @overload
@@ -701,7 +756,8 @@ class ProtectedDatabase(pulumi.CustomResource):
701
756
  freeform_tags={
702
757
  "bar-key": "value",
703
758
  },
704
- is_redo_logs_shipped=protected_database_is_redo_logs_shipped)
759
+ is_redo_logs_shipped=protected_database_is_redo_logs_shipped,
760
+ subscription_id=test_subscription["id"])
705
761
  ```
706
762
 
707
763
  ## Import
@@ -739,6 +795,7 @@ class ProtectedDatabase(pulumi.CustomResource):
739
795
  password: Optional[pulumi.Input[str]] = None,
740
796
  protection_policy_id: Optional[pulumi.Input[str]] = None,
741
797
  recovery_service_subnets: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ProtectedDatabaseRecoveryServiceSubnetArgs', 'ProtectedDatabaseRecoveryServiceSubnetArgsDict']]]]] = None,
798
+ subscription_id: Optional[pulumi.Input[str]] = None,
742
799
  __props__=None):
743
800
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
744
801
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -772,6 +829,7 @@ class ProtectedDatabase(pulumi.CustomResource):
772
829
  if recovery_service_subnets is None and not opts.urn:
773
830
  raise TypeError("Missing required property 'recovery_service_subnets'")
774
831
  __props__.__dict__["recovery_service_subnets"] = recovery_service_subnets
832
+ __props__.__dict__["subscription_id"] = subscription_id
775
833
  __props__.__dict__["health"] = None
776
834
  __props__.__dict__["health_details"] = None
777
835
  __props__.__dict__["is_read_only_resource"] = None
@@ -814,6 +872,7 @@ class ProtectedDatabase(pulumi.CustomResource):
814
872
  protection_policy_id: Optional[pulumi.Input[str]] = None,
815
873
  recovery_service_subnets: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ProtectedDatabaseRecoveryServiceSubnetArgs', 'ProtectedDatabaseRecoveryServiceSubnetArgsDict']]]]] = None,
816
874
  state: Optional[pulumi.Input[str]] = None,
875
+ subscription_id: Optional[pulumi.Input[str]] = None,
817
876
  system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
818
877
  time_created: Optional[pulumi.Input[str]] = None,
819
878
  time_updated: Optional[pulumi.Input[str]] = None,
@@ -846,6 +905,11 @@ class ProtectedDatabase(pulumi.CustomResource):
846
905
  :param pulumi.Input[str] protection_policy_id: (Updatable) The OCID of the protection policy associated with the protected database.
847
906
  :param pulumi.Input[Sequence[pulumi.Input[Union['ProtectedDatabaseRecoveryServiceSubnetArgs', 'ProtectedDatabaseRecoveryServiceSubnetArgsDict']]]] recovery_service_subnets: (Updatable) List of recovery service subnet resources associated with the protected database.
848
907
  :param pulumi.Input[str] state: The current state of the Protected Database.
908
+ :param pulumi.Input[str] subscription_id: (Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure.
909
+
910
+
911
+ ** IMPORTANT **
912
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
849
913
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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)
850
914
  :param pulumi.Input[str] time_created: An RFC3339 formatted datetime string that indicates the created time for a protected database. For example: '2020-05-22T21:10:29.600Z'
851
915
  :param pulumi.Input[str] time_updated: An RFC3339 formatted datetime string that indicates the last updated time for a protected database. For example: '2020-05-22T21:10:29.600Z'
@@ -874,6 +938,7 @@ class ProtectedDatabase(pulumi.CustomResource):
874
938
  __props__.__dict__["protection_policy_id"] = protection_policy_id
875
939
  __props__.__dict__["recovery_service_subnets"] = recovery_service_subnets
876
940
  __props__.__dict__["state"] = state
941
+ __props__.__dict__["subscription_id"] = subscription_id
877
942
  __props__.__dict__["system_tags"] = system_tags
878
943
  __props__.__dict__["time_created"] = time_created
879
944
  __props__.__dict__["time_updated"] = time_updated
@@ -1034,6 +1099,18 @@ class ProtectedDatabase(pulumi.CustomResource):
1034
1099
  """
1035
1100
  return pulumi.get(self, "state")
1036
1101
 
1102
+ @property
1103
+ @pulumi.getter(name="subscriptionId")
1104
+ def subscription_id(self) -> pulumi.Output[str]:
1105
+ """
1106
+ (Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure.
1107
+
1108
+
1109
+ ** IMPORTANT **
1110
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
1111
+ """
1112
+ return pulumi.get(self, "subscription_id")
1113
+
1037
1114
  @property
1038
1115
  @pulumi.getter(name="systemTags")
1039
1116
  def system_tags(self) -> pulumi.Output[Mapping[str, str]]: