oci 2.132.0__py3-none-any.whl → 2.134.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 (533) hide show
  1. oci/__init__.py +2 -2
  2. oci/access_governance_cp/access_governance_cp_client.py +8 -8
  3. oci/adm/application_dependency_management_client.py +36 -36
  4. oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
  5. oci/ai_document/ai_service_document_client.py +626 -28
  6. oci/ai_document/ai_service_document_client_composite_operations.py +180 -0
  7. oci/ai_document/models/__init__.py +10 -0
  8. oci/ai_document/models/add_model_lock_details.py +150 -0
  9. oci/ai_document/models/add_project_lock_details.py +150 -0
  10. oci/ai_document/models/analyze_document_details.py +5 -5
  11. oci/ai_document/models/detected_document_type.py +0 -35
  12. oci/ai_document/models/document_classification_feature.py +2 -33
  13. oci/ai_document/models/document_key_value_extraction_feature.py +2 -33
  14. oci/ai_document/models/general_processor_config.py +5 -5
  15. oci/ai_document/models/model.py +33 -2
  16. oci/ai_document/models/model_summary.py +33 -2
  17. oci/ai_document/models/output_location.py +1 -1
  18. oci/ai_document/models/project.py +33 -2
  19. oci/ai_document/models/remove_model_lock_details.py +88 -0
  20. oci/ai_document/models/remove_project_lock_details.py +88 -0
  21. oci/ai_document/models/resource_lock.py +216 -0
  22. oci/ai_language/ai_service_language_client.py +44 -44
  23. oci/ai_speech/ai_service_speech_client.py +214 -17
  24. oci/ai_speech/models/__init__.py +23 -1
  25. oci/ai_speech/models/synthesize_speech_details.py +196 -0
  26. oci/ai_speech/models/tts_audio_config.py +106 -0
  27. oci/ai_speech/models/tts_base_audio_config.py +82 -0
  28. oci/ai_speech/models/tts_configuration.py +103 -0
  29. oci/ai_speech/models/tts_oracle_configuration.py +105 -0
  30. oci/ai_speech/models/tts_oracle_model_details.py +113 -0
  31. oci/ai_speech/models/tts_oracle_speech_settings.py +246 -0
  32. oci/ai_speech/models/tts_oracle_tts1_standard_model_details.py +84 -0
  33. oci/ai_speech/models/tts_oracle_tts2_natural_model_details.py +84 -0
  34. oci/ai_speech/models/voice_collection.py +72 -0
  35. oci/ai_speech/models/voice_summary.py +379 -0
  36. oci/ai_vision/ai_service_vision_client.py +25 -25
  37. oci/analytics/analytics_client.py +24 -24
  38. oci/announcements_service/__init__.py +3 -1
  39. oci/announcements_service/announcement_client.py +103 -6
  40. oci/announcements_service/announcement_subscription_client.py +9 -9
  41. oci/announcements_service/announcements_preferences_client.py +4 -4
  42. oci/announcements_service/models/__init__.py +12 -0
  43. oci/announcements_service/models/announcement.py +1 -1
  44. oci/announcements_service/models/announcement_compartment.py +72 -0
  45. oci/announcements_service/models/announcement_summary.py +1 -1
  46. oci/announcements_service/models/base_announcement.py +7 -3
  47. oci/announcements_service/models/base_service.py +498 -0
  48. oci/announcements_service/models/notifications_summary.py +130 -0
  49. oci/announcements_service/models/service.py +130 -0
  50. oci/announcements_service/models/service_summary.py +133 -0
  51. oci/announcements_service/models/services_collection.py +72 -0
  52. oci/announcements_service/service_client.py +275 -0
  53. oci/announcements_service/service_client_composite_operations.py +26 -0
  54. oci/apigateway/api_gateway_client.py +21 -21
  55. oci/apigateway/deployment_client.py +6 -6
  56. oci/apigateway/gateway_client.py +6 -6
  57. oci/apigateway/subscribers_client.py +6 -6
  58. oci/apigateway/usage_plans_client.py +6 -6
  59. oci/apigateway/work_requests_client.py +5 -5
  60. oci/apm_config/config_client.py +9 -9
  61. oci/apm_control_plane/apm_domain_client.py +14 -14
  62. oci/apm_synthetics/apm_synthetic_client.py +28 -28
  63. oci/apm_traces/attributes_client.py +8 -8
  64. oci/apm_traces/query_client.py +2 -2
  65. oci/apm_traces/trace_client.py +4 -4
  66. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  67. oci/artifacts/artifacts_client.py +32 -32
  68. oci/audit/audit_client.py +3 -3
  69. oci/autoscaling/auto_scaling_client.py +11 -11
  70. oci/bastion/bastion_client.py +15 -15
  71. oci/bds/bds_client.py +72 -72
  72. oci/blockchain/blockchain_platform_client.py +27 -27
  73. oci/budget/budget_client.py +10 -10
  74. oci/capacity_management/capacity_management_client.py +1692 -423
  75. oci/capacity_management/capacity_management_client_composite_operations.py +146 -0
  76. oci/capacity_management/models/__init__.py +23 -1
  77. oci/capacity_management/models/associated_capacity_request_details.py +103 -0
  78. oci/capacity_management/models/associated_occ_handover_resource_block.py +103 -0
  79. oci/capacity_management/models/create_occ_capacity_request_details.py +3 -3
  80. oci/capacity_management/models/create_occ_customer_details.py +181 -0
  81. oci/capacity_management/models/create_occ_customer_group_details.py +309 -0
  82. oci/capacity_management/models/occ_capacity_request_base_details.py +62 -0
  83. oci/capacity_management/models/occ_handover_resource_block_collection.py +72 -0
  84. oci/capacity_management/models/occ_handover_resource_block_detail_collection.py +72 -0
  85. oci/capacity_management/models/occ_handover_resource_block_detail_summary.py +104 -0
  86. oci/capacity_management/models/occ_handover_resource_block_summary.py +332 -0
  87. oci/capacity_management/models/placement_details.py +227 -0
  88. oci/capacity_management/models/update_occ_customer_details.py +150 -0
  89. oci/capacity_management/models/update_occ_customer_group_details.py +216 -0
  90. oci/certificates/certificates_client.py +5 -5
  91. oci/certificates_management/certificates_management_client.py +32 -32
  92. oci/cims/incident_client.py +8 -8
  93. oci/cims/user_client.py +1 -1
  94. oci/cloud_bridge/common_client.py +5 -5
  95. oci/cloud_bridge/discovery_client.py +14 -14
  96. oci/cloud_bridge/inventory_client.py +16 -16
  97. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  98. oci/cloud_guard/cloud_guard_client.py +155 -155
  99. oci/cloud_migrations/migration_client.py +43 -43
  100. oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
  101. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  102. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  103. oci/compute_instance_agent/plugin_client.py +2 -2
  104. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  105. oci/container_engine/container_engine_client.py +44 -44
  106. oci/container_instances/container_instance_client.py +18 -18
  107. oci/core/blockstorage_client.py +60 -60
  108. oci/core/compute_client.py +102 -102
  109. oci/core/compute_management_client.py +32 -32
  110. oci/core/virtual_network_client.py +247 -247
  111. oci/dashboard_service/dashboard_client.py +6 -6
  112. oci/dashboard_service/dashboard_group_client.py +6 -6
  113. oci/data_catalog/data_catalog_client.py +149 -149
  114. oci/data_flow/data_flow_client.py +42 -42
  115. oci/data_integration/data_integration_client.py +163 -163
  116. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  117. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  118. oci/data_safe/data_safe_client.py +287 -287
  119. oci/data_science/data_science_client.py +91 -91
  120. oci/database/database_client.py +13862 -9467
  121. oci/database/database_client_composite_operations.py +1868 -232
  122. oci/database/models/__init__.py +80 -0
  123. oci/database/models/action_member.py +134 -0
  124. oci/database/models/action_order_details.py +107 -0
  125. oci/database/models/action_param_values_collection.py +72 -0
  126. oci/database/models/action_param_values_summary.py +216 -0
  127. oci/database/models/autonomous_database.py +33 -6
  128. oci/database/models/autonomous_database_standby_summary.py +33 -2
  129. oci/database/models/autonomous_database_summary.py +33 -6
  130. oci/database/models/cancel_execution_window_details.py +134 -0
  131. oci/database/models/change_scheduling_plan_compartment_details.py +76 -0
  132. oci/database/models/change_scheduling_policy_compartment_details.py +76 -0
  133. oci/database/models/cloud_exadata_infrastructure.py +33 -2
  134. oci/database/models/cloud_exadata_infrastructure_summary.py +33 -2
  135. oci/database/models/create_autonomous_database_base.py +2 -6
  136. oci/database/models/create_data_guard_association_with_new_db_system_details.py +35 -0
  137. oci/database/models/create_exadb_vm_cluster_details.py +12 -2
  138. oci/database/models/create_execution_action_details.py +304 -0
  139. oci/database/models/create_execution_window_details.py +282 -0
  140. oci/database/models/create_pluggable_database_creation_type_details.py +0 -2
  141. oci/database/models/create_scheduled_action_details.py +339 -0
  142. oci/database/models/create_scheduling_plan_details.py +306 -0
  143. oci/database/models/create_scheduling_policy_details.py +267 -0
  144. oci/database/models/create_scheduling_window_details.py +181 -0
  145. oci/database/models/exadata_infrastructure.py +33 -2
  146. oci/database/models/exadata_infrastructure_summary.py +33 -2
  147. oci/database/models/exadb_vm_cluster.py +12 -2
  148. oci/database/models/exadb_vm_cluster_summary.py +12 -2
  149. oci/database/models/execution_action.py +715 -0
  150. oci/database/models/execution_action_member.py +216 -0
  151. oci/database/models/execution_action_summary.py +715 -0
  152. oci/database/models/execution_window.py +783 -0
  153. oci/database/models/execution_window_summary.py +783 -0
  154. oci/database/models/granular_maintenance_history_details.py +99 -0
  155. oci/database/models/maintenance_run.py +62 -0
  156. oci/database/models/maintenance_run_history.py +64 -2
  157. oci/database/models/maintenance_run_history_summary.py +64 -2
  158. oci/database/models/maintenance_run_summary.py +62 -0
  159. oci/database/models/move_execution_action_member_details.py +220 -0
  160. oci/database/models/recommended_scheduled_action_summary.py +280 -0
  161. oci/database/models/recommended_scheduled_actions_collection.py +72 -0
  162. oci/database/models/reorder_execution_action_details.py +152 -0
  163. oci/database/models/reorder_scheduled_actions_details.py +109 -0
  164. oci/database/models/scheduled_action.py +633 -0
  165. oci/database/models/scheduled_action_collection.py +72 -0
  166. oci/database/models/scheduled_action_summary.py +633 -0
  167. oci/database/models/scheduling_plan.py +643 -0
  168. oci/database/models/scheduling_plan_collection.py +72 -0
  169. oci/database/models/scheduling_plan_summary.py +643 -0
  170. oci/database/models/scheduling_policy.py +493 -0
  171. oci/database/models/scheduling_policy_summary.py +493 -0
  172. oci/database/models/scheduling_window.py +469 -0
  173. oci/database/models/scheduling_window_summary.py +469 -0
  174. oci/database/models/update_autonomous_database_details.py +2 -6
  175. oci/database/models/update_exadb_vm_cluster_details.py +12 -2
  176. oci/database/models/update_execution_action_details.py +218 -0
  177. oci/database/models/update_execution_window_details.py +212 -0
  178. oci/database/models/update_scheduled_action_details.py +140 -0
  179. oci/database/models/update_scheduling_policy_details.py +232 -0
  180. oci/database/models/update_scheduling_window_details.py +146 -0
  181. oci/database/models/window_preference_detail.py +231 -0
  182. oci/database_management/db_management_client.py +580 -208
  183. oci/database_management/db_management_client_composite_operations.py +132 -0
  184. oci/database_management/diagnosability_client.py +4 -4
  185. oci/database_management/managed_my_sql_databases_client.py +7 -7
  186. oci/database_management/models/__init__.py +14 -0
  187. oci/database_management/models/autonomous_database_diagnostics_and_management_feature_details.py +65 -0
  188. oci/database_management/models/autonomous_database_feature_details.py +167 -0
  189. oci/database_management/models/autonomous_database_sql_watch_feature_details.py +65 -0
  190. oci/database_management/models/connector_details.py +15 -3
  191. oci/database_management/models/create_db_management_private_endpoint_details.py +31 -0
  192. oci/database_management/models/db_management_private_endpoint.py +31 -0
  193. oci/database_management/models/direct_connector_details.py +51 -0
  194. oci/database_management/models/disable_autonomous_database_management_feature_details.py +92 -0
  195. oci/database_management/models/enable_autonomous_database_management_feature_details.py +68 -0
  196. oci/database_management/models/external_connector_details.py +1 -1
  197. oci/database_management/models/macs_connector_details.py +1 -1
  198. oci/database_management/models/modify_autonomous_database_management_feature_details.py +68 -0
  199. oci/database_management/models/optimizer_statistics_collection_operation.py +7 -3
  200. oci/database_management/models/optimizer_statistics_collection_operation_summary.py +7 -3
  201. oci/database_management/models/private_end_point_connector_details.py +1 -1
  202. oci/database_management/perfhub_client.py +1 -1
  203. oci/database_management/sql_tuning_client.py +17 -17
  204. oci/database_migration/database_migration_client.py +42 -42
  205. oci/database_tools/database_tools_client.py +23 -23
  206. oci/delegate_access_control/__init__.py +16 -0
  207. oci/delegate_access_control/delegate_access_control_client.py +3324 -0
  208. oci/delegate_access_control/delegate_access_control_client_composite_operations.py +492 -0
  209. oci/delegate_access_control/models/__init__.py +96 -0
  210. oci/delegate_access_control/models/approve_delegated_resource_access_request_details.py +138 -0
  211. oci/delegate_access_control/models/change_delegation_control_compartment_details.py +72 -0
  212. oci/delegate_access_control/models/change_delegation_subscription_compartment_details.py +72 -0
  213. oci/delegate_access_control/models/create_delegation_control_details.py +548 -0
  214. oci/delegate_access_control/models/create_delegation_subscription_details.py +263 -0
  215. oci/delegate_access_control/models/delegated_resource_access_request.py +1373 -0
  216. oci/delegate_access_control/models/delegated_resource_access_request_approval_details.py +263 -0
  217. oci/delegate_access_control/models/delegated_resource_access_request_audit_log_report.py +193 -0
  218. oci/delegate_access_control/models/delegated_resource_access_request_history_collection.py +72 -0
  219. oci/delegate_access_control/models/delegated_resource_access_request_history_summary.py +300 -0
  220. oci/delegate_access_control/models/delegated_resource_access_request_summary.py +981 -0
  221. oci/delegate_access_control/models/delegated_resource_access_request_summary_collection.py +72 -0
  222. oci/delegate_access_control/models/delegation_control.py +833 -0
  223. oci/delegate_access_control/models/delegation_control_resource_collection.py +72 -0
  224. oci/delegate_access_control/models/delegation_control_resource_summary.py +147 -0
  225. oci/delegate_access_control/models/delegation_control_summary.py +465 -0
  226. oci/delegate_access_control/models/delegation_control_summary_collection.py +72 -0
  227. oci/delegate_access_control/models/delegation_subscription.py +524 -0
  228. oci/delegate_access_control/models/delegation_subscription_summary.py +461 -0
  229. oci/delegate_access_control/models/delegation_subscription_summary_collection.py +72 -0
  230. oci/delegate_access_control/models/reject_delegated_resource_access_request_details.py +72 -0
  231. oci/delegate_access_control/models/revoke_delegated_resource_access_request_details.py +72 -0
  232. oci/delegate_access_control/models/service_provider.py +583 -0
  233. oci/delegate_access_control/models/service_provider_action.py +371 -0
  234. oci/delegate_access_control/models/service_provider_action_properties.py +103 -0
  235. oci/delegate_access_control/models/service_provider_action_summary.py +323 -0
  236. oci/delegate_access_control/models/service_provider_action_summary_collection.py +72 -0
  237. oci/delegate_access_control/models/service_provider_interaction_collection.py +72 -0
  238. oci/delegate_access_control/models/service_provider_interaction_request_details.py +72 -0
  239. oci/delegate_access_control/models/service_provider_interaction_summary.py +247 -0
  240. oci/delegate_access_control/models/service_provider_summary.py +508 -0
  241. oci/delegate_access_control/models/service_provider_summary_collection.py +72 -0
  242. oci/delegate_access_control/models/update_delegation_control_details.py +404 -0
  243. oci/delegate_access_control/models/update_delegation_subscription_details.py +154 -0
  244. oci/delegate_access_control/models/work_request.py +438 -0
  245. oci/delegate_access_control/models/work_request_error.py +136 -0
  246. oci/delegate_access_control/models/work_request_error_collection.py +72 -0
  247. oci/delegate_access_control/models/work_request_log_entry.py +103 -0
  248. oci/delegate_access_control/models/work_request_log_entry_collection.py +72 -0
  249. oci/delegate_access_control/models/work_request_resource.py +234 -0
  250. oci/delegate_access_control/models/work_request_summary.py +438 -0
  251. oci/delegate_access_control/models/work_request_summary_collection.py +72 -0
  252. oci/delegate_access_control/work_request_client.py +660 -0
  253. oci/delegate_access_control/work_request_client_composite_operations.py +26 -0
  254. oci/demand_signal/occ_demand_signal_client.py +7 -7
  255. oci/desktops/desktop_service_client.py +21 -21
  256. oci/devops/devops_client.py +141 -141
  257. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  258. oci/dns/dns_client.py +52 -52
  259. oci/dts/appliance_export_job_client.py +6 -6
  260. oci/dts/shipping_vendors_client.py +1 -1
  261. oci/dts/transfer_appliance_client.py +8 -8
  262. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  263. oci/dts/transfer_device_client.py +5 -5
  264. oci/dts/transfer_job_client.py +6 -6
  265. oci/dts/transfer_package_client.py +7 -7
  266. oci/em_warehouse/em_data_lake_client.py +13 -13
  267. oci/em_warehouse/em_warehouse_client.py +13 -13
  268. oci/email/email_client.py +31 -31
  269. oci/email_data_plane/email_dp_client.py +1 -1
  270. oci/events/events_client.py +6 -6
  271. oci/file_storage/file_storage_client.py +393 -59
  272. oci/file_storage/file_storage_client_composite_operations.py +138 -0
  273. oci/file_storage/models/__init__.py +4 -0
  274. oci/file_storage/models/create_mount_target_details.py +39 -26
  275. oci/file_storage/models/mount_target.py +153 -3
  276. oci/file_storage/models/mount_target_summary.py +155 -3
  277. oci/file_storage/models/schedule_downgrade_shape_mount_target_details.py +78 -0
  278. oci/file_storage/models/upgrade_shape_mount_target_details.py +78 -0
  279. oci/fleet_apps_management/fleet_apps_management_admin_client.py +16 -16
  280. oci/fleet_apps_management/fleet_apps_management_client.py +70 -70
  281. oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +10 -10
  282. oci/fleet_apps_management/fleet_apps_management_operations_client.py +26 -26
  283. oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +8 -8
  284. oci/fleet_software_update/fleet_software_update_client.py +48 -48
  285. oci/fleet_software_update/models/create_db_fsu_collection_details.py +7 -3
  286. oci/fleet_software_update/models/create_gi_fsu_collection_details.py +7 -3
  287. oci/fleet_software_update/models/db_collection.py +7 -3
  288. oci/fleet_software_update/models/db_discovery_details.py +7 -3
  289. oci/fleet_software_update/models/db_fsu_collection_summary.py +7 -3
  290. oci/fleet_software_update/models/gi_collection.py +7 -3
  291. oci/fleet_software_update/models/gi_discovery_details.py +7 -3
  292. oci/fleet_software_update/models/gi_fsu_collection_summary.py +7 -3
  293. oci/fleet_software_update/models/work_request.py +7 -3
  294. oci/fleet_software_update/models/work_request_summary.py +7 -3
  295. oci/functions/functions_invoke_client.py +1 -1
  296. oci/functions/functions_management_client.py +16 -16
  297. oci/fusion_apps/data_masking_activity_client.py +3 -3
  298. oci/fusion_apps/fusion_applications_client.py +41 -41
  299. oci/fusion_apps/fusion_environment_client.py +15 -15
  300. oci/fusion_apps/fusion_environment_family_client.py +8 -8
  301. oci/fusion_apps/models/fusion_environment_family.py +33 -2
  302. oci/fusion_apps/refresh_activity_client.py +4 -4
  303. oci/fusion_apps/scheduled_activity_client.py +2 -2
  304. oci/fusion_apps/service_attachment_client.py +2 -2
  305. oci/generative_ai/generative_ai_client.py +23 -23
  306. oci/generative_ai/models/create_endpoint_details.py +2 -2
  307. oci/generative_ai/models/dedicated_ai_cluster.py +7 -3
  308. oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
  309. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  310. oci/globally_distributed_database/sharded_database_service_client.py +30 -30
  311. oci/golden_gate/golden_gate_client.py +68 -68
  312. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  313. oci/governance_rules_control_plane/work_request_client.py +5 -5
  314. oci/healthchecks/health_checks_client.py +17 -17
  315. oci/identity/identity_client.py +145 -145
  316. oci/identity_data_plane/dataplane_client.py +2 -2
  317. oci/identity_domains/identity_domains_client.py +307 -307
  318. oci/integration/integration_instance_client.py +16 -16
  319. oci/jms/java_management_service_client.py +75 -75
  320. oci/jms_java_downloads/java_download_client.py +25 -25
  321. oci/key_management/ekm_client.py +5 -5
  322. oci/key_management/kms_crypto_client.py +6 -6
  323. oci/key_management/kms_hsm_cluster_client.py +25 -25
  324. oci/key_management/kms_hsm_cluster_client_composite_operations.py +3 -3
  325. oci/key_management/kms_management_client.py +21 -21
  326. oci/key_management/kms_vault_client.py +14 -14
  327. oci/key_management/models/auto_key_rotation_details.py +10 -10
  328. oci/key_management/models/change_hsm_cluster_compartment_details.py +3 -3
  329. oci/key_management/models/create_hsm_cluster_details.py +5 -5
  330. oci/key_management/models/hsm_cluster.py +4 -4
  331. oci/key_management/models/hsm_cluster_collection.py +2 -2
  332. oci/key_management/models/hsm_cluster_summary.py +3 -3
  333. oci/key_management/models/hsm_partition.py +29 -9
  334. oci/key_management/models/hsm_partition_collection.py +1 -1
  335. oci/key_management/models/hsm_partition_summary.py +11 -7
  336. oci/key_management/models/port_information.py +5 -5
  337. oci/key_management/models/pre_co_user_credentials.py +2 -2
  338. oci/key_management/models/upload_partition_certificates_details.py +5 -5
  339. oci/key_management/models/vault.py +31 -0
  340. oci/license_manager/license_manager_client.py +18 -18
  341. oci/limits/limits_client.py +4 -4
  342. oci/limits/quotas_client.py +7 -7
  343. oci/load_balancer/load_balancer_client.py +61 -61
  344. oci/load_balancer/models/backend.py +4 -0
  345. oci/load_balancer/models/backend_details.py +4 -0
  346. oci/load_balancer/models/backend_set.py +6 -2
  347. oci/load_balancer/models/backend_set_details.py +6 -2
  348. oci/load_balancer/models/create_backend_details.py +4 -0
  349. oci/load_balancer/models/create_backend_set_details.py +6 -2
  350. oci/load_balancer/models/create_load_balancer_details.py +116 -0
  351. oci/load_balancer/models/ip_max_connections.py +8 -2
  352. oci/load_balancer/models/load_balancer.py +100 -0
  353. oci/load_balancer/models/update_backend_details.py +4 -0
  354. oci/load_balancer/models/update_backend_set_details.py +6 -2
  355. oci/load_balancer/models/update_load_balancer_details.py +112 -0
  356. oci/lockbox/lockbox_client.py +24 -24
  357. oci/lockbox/models/access_request.py +35 -2
  358. oci/lockbox/models/access_request_ext.py +35 -2
  359. oci/lockbox/models/access_request_summary.py +33 -0
  360. oci/lockbox/models/create_access_request_details.py +35 -2
  361. oci/log_analytics/log_analytics_client.py +193 -193
  362. oci/logging/logging_management_client.py +30 -30
  363. oci/loggingingestion/logging_client.py +1 -1
  364. oci/loggingsearch/log_search_client.py +1 -1
  365. oci/management_agent/management_agent_client.py +28 -28
  366. oci/management_dashboard/dashx_apis_client.py +14 -14
  367. oci/marketplace/account_client.py +2 -2
  368. oci/marketplace/marketplace_client.py +30 -30
  369. oci/marketplace_private_offer/attachment_client.py +5 -5
  370. oci/marketplace_private_offer/offer_client.py +6 -6
  371. oci/marketplace_publisher/attachment_client.py +5 -5
  372. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  373. oci/marketplace_publisher/offer_client.py +6 -6
  374. oci/media_services/media_services_client.py +60 -60
  375. oci/media_services/media_stream_client.py +2 -2
  376. oci/monitoring/monitoring_client.py +18 -18
  377. oci/mysql/channels_client.py +7 -7
  378. oci/mysql/db_backups_client.py +7 -7
  379. oci/mysql/db_system_client.py +17 -17
  380. oci/mysql/models/__init__.py +2 -0
  381. oci/mysql/models/create_db_system_details.py +37 -2
  382. oci/mysql/models/customer_contact.py +72 -0
  383. oci/mysql/models/db_system.py +37 -2
  384. oci/mysql/models/update_db_system_details.py +37 -2
  385. oci/mysql/mysqlaas_client.py +7 -7
  386. oci/mysql/replicas_client.py +5 -5
  387. oci/mysql/work_requests_client.py +4 -4
  388. oci/network_firewall/network_firewall_client.py +86 -86
  389. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  390. oci/nosql/nosql_client.py +24 -24
  391. oci/object_storage/models/__init__.py +14 -0
  392. oci/object_storage/models/access_target_details.py +136 -0
  393. oci/object_storage/models/create_private_endpoint_details.py +389 -0
  394. oci/object_storage/models/fqdns.py +99 -0
  395. oci/object_storage/models/prefix_fqdns.py +134 -0
  396. oci/object_storage/models/private_endpoint.py +685 -0
  397. oci/object_storage/models/private_endpoint_summary.py +369 -0
  398. oci/object_storage/models/update_private_endpoint_details.py +216 -0
  399. oci/object_storage/models/work_request.py +15 -3
  400. oci/object_storage/models/work_request_summary.py +15 -3
  401. oci/object_storage/object_storage_client.py +686 -71
  402. oci/object_storage/object_storage_client_composite_operations.py +139 -0
  403. oci/oce/oce_instance_client.py +10 -10
  404. oci/oci_control_center/occ_metrics_client.py +3 -3
  405. oci/ocvp/cluster_client.py +8 -8
  406. oci/ocvp/cluster_client_composite_operations.py +2 -2
  407. oci/ocvp/esxi_host_client.py +9 -9
  408. oci/ocvp/models/cluster.py +35 -2
  409. oci/ocvp/models/cluster_summary.py +35 -2
  410. oci/ocvp/models/datastore_details.py +1 -1
  411. oci/ocvp/models/esxi_host.py +35 -2
  412. oci/ocvp/models/esxi_host_summary.py +35 -2
  413. oci/ocvp/models/sddc.py +35 -2
  414. oci/ocvp/models/sddc_summary.py +35 -2
  415. oci/ocvp/models/supported_host_shape_summary.py +55 -3
  416. oci/ocvp/models/work_request.py +55 -3
  417. oci/ocvp/sddc_client.py +21 -16
  418. oci/ocvp/work_request_client.py +4 -4
  419. oci/oda/management_client.py +59 -59
  420. oci/oda/oda_client.py +17 -17
  421. oci/oda/odapackage_client.py +7 -7
  422. oci/onesubscription/billing_schedule_client.py +1 -1
  423. oci/onesubscription/commitment_client.py +2 -2
  424. oci/onesubscription/computed_usage_client.py +3 -3
  425. oci/onesubscription/invoice_summary_client.py +2 -2
  426. oci/onesubscription/organization_subscription_client.py +1 -1
  427. oci/onesubscription/ratecard_client.py +1 -1
  428. oci/onesubscription/subscribed_service_client.py +2 -2
  429. oci/onesubscription/subscription_client.py +1 -1
  430. oci/ons/notification_control_plane_client.py +6 -6
  431. oci/ons/notification_data_plane_client.py +10 -10
  432. oci/opa/opa_instance_client.py +13 -13
  433. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  434. oci/opensearch/opensearch_cluster_client.py +14 -14
  435. oci/operator_access_control/access_requests_client.py +10 -10
  436. oci/operator_access_control/operator_actions_client.py +2 -2
  437. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  438. oci/operator_access_control/operator_control_client.py +6 -6
  439. oci/opsi/operations_insights_client.py +177 -177
  440. oci/optimizer/optimizer_client.py +26 -26
  441. oci/os_management/event_client.py +8 -8
  442. oci/os_management/os_management_client.py +69 -69
  443. oci/os_management_hub/event_client.py +8 -8
  444. oci/os_management_hub/lifecycle_environment_client.py +12 -12
  445. oci/os_management_hub/managed_instance_client.py +31 -31
  446. oci/os_management_hub/managed_instance_group_client.py +25 -25
  447. oci/os_management_hub/management_station_client.py +10 -10
  448. oci/os_management_hub/onboarding_client.py +6 -6
  449. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  450. oci/os_management_hub/scheduled_job_client.py +7 -7
  451. oci/os_management_hub/software_source_client.py +27 -27
  452. oci/os_management_hub/work_request_client.py +4 -4
  453. oci/osp_gateway/address_rule_service_client.py +1 -1
  454. oci/osp_gateway/address_service_client.py +2 -2
  455. oci/osp_gateway/invoice_service_client.py +5 -5
  456. oci/osp_gateway/subscription_service_client.py +5 -5
  457. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  458. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  459. oci/osub_subscription/commitment_client.py +2 -2
  460. oci/osub_subscription/ratecard_client.py +1 -1
  461. oci/osub_subscription/subscription_client.py +1 -1
  462. oci/osub_usage/computed_usage_client.py +3 -3
  463. oci/psql/postgresql_client.py +33 -33
  464. oci/queue/queue_admin_client.py +11 -11
  465. oci/queue/queue_client.py +8 -8
  466. oci/recovery/database_recovery_client.py +135 -25
  467. oci/recovery/database_recovery_client_composite_operations.py +42 -0
  468. oci/recovery/models/__init__.py +2 -0
  469. oci/recovery/models/change_protected_database_subscription_details.py +103 -0
  470. oci/recovery/models/create_protected_database_details.py +33 -0
  471. oci/recovery/models/create_protection_policy_details.py +39 -0
  472. oci/recovery/models/protected_database.py +31 -0
  473. oci/recovery/models/protected_database_summary.py +31 -0
  474. oci/recovery/models/protection_policy.py +31 -0
  475. oci/recovery/models/protection_policy_summary.py +31 -0
  476. oci/redis/redis_cluster_client.py +12 -12
  477. oci/regions_definitions.py +3 -0
  478. oci/resource_manager/resource_manager_client.py +52 -52
  479. oci/resource_scheduler/schedule_client.py +13 -13
  480. oci/resource_search/resource_search_client.py +3 -3
  481. oci/rover/rover_bundle_client.py +8 -8
  482. oci/rover/rover_cluster_client.py +8 -8
  483. oci/rover/rover_entitlement_client.py +6 -6
  484. oci/rover/rover_node_client.py +15 -15
  485. oci/rover/shape_client.py +1 -1
  486. oci/rover/work_requests_client.py +5 -5
  487. oci/sch/connector_plugins_client.py +2 -2
  488. oci/sch/service_connector_client.py +12 -12
  489. oci/secrets/secrets_client.py +3 -3
  490. oci/service_catalog/service_catalog_client.py +26 -26
  491. oci/service_endpoints.py +1 -0
  492. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  493. oci/service_mesh/service_mesh_client.py +48 -48
  494. oci/stack_monitoring/stack_monitoring_client.py +64 -64
  495. oci/streaming/stream_admin_client.py +18 -18
  496. oci/streaming/stream_client.py +8 -8
  497. oci/tenant_manager_control_plane/domain_client.py +5 -5
  498. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  499. oci/tenant_manager_control_plane/governance_client.py +2 -2
  500. oci/tenant_manager_control_plane/link_client.py +3 -3
  501. oci/tenant_manager_control_plane/orders_client.py +2 -2
  502. oci/tenant_manager_control_plane/organization_client.py +10 -10
  503. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  504. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  505. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  506. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  507. oci/threat_intelligence/threatintel_client.py +5 -5
  508. oci/usage/resources_client.py +2 -2
  509. oci/usage/rewards_client.py +6 -6
  510. oci/usage/usagelimits_client.py +1 -1
  511. oci/usage_api/usageapi_client.py +33 -33
  512. oci/vault/vaults_client.py +13 -13
  513. oci/vbs_inst/vbs_instance_client.py +10 -10
  514. oci/version.py +1 -1
  515. oci/visual_builder/vb_instance_client.py +13 -13
  516. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  517. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  518. oci/waa/waa_client.py +13 -13
  519. oci/waa/work_request_client.py +4 -4
  520. oci/waas/redirect_client.py +6 -6
  521. oci/waas/waas_client.py +66 -66
  522. oci/waf/models/__init__.py +2 -0
  523. oci/waf/models/dynamic_http_response_body.py +104 -0
  524. oci/waf/models/http_response_body.py +11 -3
  525. oci/waf/models/static_text_http_response_body.py +1 -1
  526. oci/waf/waf_client.py +24 -24
  527. oci/work_requests/work_request_client.py +4 -4
  528. {oci-2.132.0.dist-info → oci-2.134.0.dist-info}/METADATA +1 -1
  529. {oci-2.132.0.dist-info → oci-2.134.0.dist-info}/RECORD +533 -391
  530. {oci-2.132.0.dist-info → oci-2.134.0.dist-info}/LICENSE.txt +0 -0
  531. {oci-2.132.0.dist-info → oci-2.134.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  532. {oci-2.132.0.dist-info → oci-2.134.0.dist-info}/WHEEL +0 -0
  533. {oci-2.132.0.dist-info → oci-2.134.0.dist-info}/top_level.txt +0 -0
@@ -150,7 +150,7 @@ class DatabaseRecoveryClient(object):
150
150
  :rtype: :class:`~oci.response.Response`
151
151
 
152
152
  :example:
153
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/recovery/cancel_protected_database_deletion.py.html>`__ to see an example of how to use cancel_protected_database_deletion API.
153
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/cancel_protected_database_deletion.py.html>`__ to see an example of how to use cancel_protected_database_deletion API.
154
154
  """
155
155
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
156
156
  required_arguments = ['protectedDatabaseId']
@@ -258,7 +258,7 @@ class DatabaseRecoveryClient(object):
258
258
  :rtype: :class:`~oci.response.Response`
259
259
 
260
260
  :example:
261
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/recovery/change_protected_database_compartment.py.html>`__ to see an example of how to use change_protected_database_compartment API.
261
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/change_protected_database_compartment.py.html>`__ to see an example of how to use change_protected_database_compartment API.
262
262
  """
263
263
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
264
264
  required_arguments = ['protectedDatabaseId']
@@ -331,6 +331,116 @@ class DatabaseRecoveryClient(object):
331
331
  api_reference_link=api_reference_link,
332
332
  required_arguments=required_arguments)
333
333
 
334
+ def change_protected_database_subscription(self, protected_database_id, change_protected_database_subscription_details, **kwargs):
335
+ """
336
+ Associates the protected database with a new cloud service environment, such as Microsoft Azure.
337
+
338
+
339
+ :param str protected_database_id: (required)
340
+ The protected database OCID.
341
+
342
+ :param oci.recovery.models.ChangeProtectedDatabaseSubscriptionDetails change_protected_database_subscription_details: (required)
343
+ Associate a protected database with a different subscription.
344
+
345
+ :param str opc_request_id: (optional)
346
+ Unique identifier for the request.
347
+
348
+ :param str if_match: (optional)
349
+ For optimistic concurrency control. In the PUT or DELETE call
350
+ for a resource, set the `if-match` parameter to the value of the
351
+ etag from a previous GET or POST response for that resource.
352
+ The resource will be updated or deleted only if the etag you
353
+ provide matches the resource's current etag value.
354
+
355
+ :param obj retry_strategy: (optional)
356
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
357
+
358
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
359
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
360
+
361
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
362
+
363
+ :param bool allow_control_chars: (optional)
364
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
365
+ By default, the response will not allow control characters in strings
366
+
367
+ :return: A :class:`~oci.response.Response` object with data of type None
368
+ :rtype: :class:`~oci.response.Response`
369
+
370
+ :example:
371
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/change_protected_database_subscription.py.html>`__ to see an example of how to use change_protected_database_subscription API.
372
+ """
373
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
374
+ required_arguments = ['protectedDatabaseId']
375
+ resource_path = "/protectedDatabases/{protectedDatabaseId}/actions/changeSubscription"
376
+ method = "POST"
377
+ operation_name = "change_protected_database_subscription"
378
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/recovery-service/20210216/ProtectedDatabase/ChangeProtectedDatabaseSubscription"
379
+
380
+ # Don't accept unknown kwargs
381
+ expected_kwargs = [
382
+ "allow_control_chars",
383
+ "retry_strategy",
384
+ "opc_request_id",
385
+ "if_match"
386
+ ]
387
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
388
+ if extra_kwargs:
389
+ raise ValueError(
390
+ f"change_protected_database_subscription got unknown kwargs: {extra_kwargs!r}")
391
+
392
+ path_params = {
393
+ "protectedDatabaseId": protected_database_id
394
+ }
395
+
396
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
397
+
398
+ for (k, v) in six.iteritems(path_params):
399
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
400
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
401
+
402
+ header_params = {
403
+ "accept": "application/json",
404
+ "content-type": "application/json",
405
+ "opc-request-id": kwargs.get("opc_request_id", missing),
406
+ "if-match": kwargs.get("if_match", missing)
407
+ }
408
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
409
+
410
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
411
+ operation_retry_strategy=kwargs.get('retry_strategy'),
412
+ client_retry_strategy=self.retry_strategy
413
+ )
414
+ if retry_strategy is None:
415
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
416
+
417
+ if retry_strategy:
418
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
419
+ self.base_client.add_opc_client_retries_header(header_params)
420
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
421
+ return retry_strategy.make_retrying_call(
422
+ self.base_client.call_api,
423
+ resource_path=resource_path,
424
+ method=method,
425
+ path_params=path_params,
426
+ header_params=header_params,
427
+ body=change_protected_database_subscription_details,
428
+ allow_control_chars=kwargs.get('allow_control_chars'),
429
+ operation_name=operation_name,
430
+ api_reference_link=api_reference_link,
431
+ required_arguments=required_arguments)
432
+ else:
433
+ return self.base_client.call_api(
434
+ resource_path=resource_path,
435
+ method=method,
436
+ path_params=path_params,
437
+ header_params=header_params,
438
+ body=change_protected_database_subscription_details,
439
+ allow_control_chars=kwargs.get('allow_control_chars'),
440
+ operation_name=operation_name,
441
+ api_reference_link=api_reference_link,
442
+ required_arguments=required_arguments)
443
+
334
444
  def change_protection_policy_compartment(self, protection_policy_id, change_protection_policy_compartment_details, **kwargs):
335
445
  """
336
446
  Moves a protection policy resource from the existing compartment to the specified compartment. When provided, If-Match is checked against ETag values of the resource.
@@ -368,7 +478,7 @@ class DatabaseRecoveryClient(object):
368
478
  :rtype: :class:`~oci.response.Response`
369
479
 
370
480
  :example:
371
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/recovery/change_protection_policy_compartment.py.html>`__ to see an example of how to use change_protection_policy_compartment API.
481
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/change_protection_policy_compartment.py.html>`__ to see an example of how to use change_protection_policy_compartment API.
372
482
  """
373
483
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
374
484
  required_arguments = ['protectionPolicyId']
@@ -478,7 +588,7 @@ class DatabaseRecoveryClient(object):
478
588
  :rtype: :class:`~oci.response.Response`
479
589
 
480
590
  :example:
481
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/recovery/change_recovery_service_subnet_compartment.py.html>`__ to see an example of how to use change_recovery_service_subnet_compartment API.
591
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/change_recovery_service_subnet_compartment.py.html>`__ to see an example of how to use change_recovery_service_subnet_compartment API.
482
592
  """
483
593
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
484
594
  required_arguments = ['recoveryServiceSubnetId']
@@ -608,7 +718,7 @@ class DatabaseRecoveryClient(object):
608
718
  :rtype: :class:`~oci.response.Response`
609
719
 
610
720
  :example:
611
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/recovery/create_protected_database.py.html>`__ to see an example of how to use create_protected_database API.
721
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/create_protected_database.py.html>`__ to see an example of how to use create_protected_database API.
612
722
  """
613
723
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
614
724
  required_arguments = []
@@ -708,7 +818,7 @@ class DatabaseRecoveryClient(object):
708
818
  :rtype: :class:`~oci.response.Response`
709
819
 
710
820
  :example:
711
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/recovery/create_protection_policy.py.html>`__ to see an example of how to use create_protection_policy API.
821
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/create_protection_policy.py.html>`__ to see an example of how to use create_protection_policy API.
712
822
  """
713
823
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
714
824
  required_arguments = []
@@ -806,7 +916,7 @@ class DatabaseRecoveryClient(object):
806
916
  :rtype: :class:`~oci.response.Response`
807
917
 
808
918
  :example:
809
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/recovery/create_recovery_service_subnet.py.html>`__ to see an example of how to use create_recovery_service_subnet API.
919
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/create_recovery_service_subnet.py.html>`__ to see an example of how to use create_recovery_service_subnet API.
810
920
  """
811
921
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
812
922
  required_arguments = []
@@ -911,7 +1021,7 @@ class DatabaseRecoveryClient(object):
911
1021
  :rtype: :class:`~oci.response.Response`
912
1022
 
913
1023
  :example:
914
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/recovery/delete_protected_database.py.html>`__ to see an example of how to use delete_protected_database API.
1024
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/delete_protected_database.py.html>`__ to see an example of how to use delete_protected_database API.
915
1025
  """
916
1026
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
917
1027
  required_arguments = ['protectedDatabaseId']
@@ -1032,7 +1142,7 @@ class DatabaseRecoveryClient(object):
1032
1142
  :rtype: :class:`~oci.response.Response`
1033
1143
 
1034
1144
  :example:
1035
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/recovery/delete_protection_policy.py.html>`__ to see an example of how to use delete_protection_policy API.
1145
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/delete_protection_policy.py.html>`__ to see an example of how to use delete_protection_policy API.
1036
1146
  """
1037
1147
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1038
1148
  required_arguments = ['protectionPolicyId']
@@ -1137,7 +1247,7 @@ class DatabaseRecoveryClient(object):
1137
1247
  :rtype: :class:`~oci.response.Response`
1138
1248
 
1139
1249
  :example:
1140
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/recovery/delete_recovery_service_subnet.py.html>`__ to see an example of how to use delete_recovery_service_subnet API.
1250
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/delete_recovery_service_subnet.py.html>`__ to see an example of how to use delete_recovery_service_subnet API.
1141
1251
  """
1142
1252
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1143
1253
  required_arguments = ['recoveryServiceSubnetId']
@@ -1245,7 +1355,7 @@ class DatabaseRecoveryClient(object):
1245
1355
  :rtype: :class:`~oci.response.Response`
1246
1356
 
1247
1357
  :example:
1248
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/recovery/fetch_protected_database_configuration.py.html>`__ to see an example of how to use fetch_protected_database_configuration API.
1358
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/fetch_protected_database_configuration.py.html>`__ to see an example of how to use fetch_protected_database_configuration API.
1249
1359
  """
1250
1360
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1251
1361
  required_arguments = ['protectedDatabaseId']
@@ -1348,7 +1458,7 @@ class DatabaseRecoveryClient(object):
1348
1458
  :rtype: :class:`~oci.response.Response`
1349
1459
 
1350
1460
  :example:
1351
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/recovery/get_protected_database.py.html>`__ to see an example of how to use get_protected_database API.
1461
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/get_protected_database.py.html>`__ to see an example of how to use get_protected_database API.
1352
1462
  """
1353
1463
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1354
1464
  required_arguments = ['protectedDatabaseId']
@@ -1446,7 +1556,7 @@ class DatabaseRecoveryClient(object):
1446
1556
  :rtype: :class:`~oci.response.Response`
1447
1557
 
1448
1558
  :example:
1449
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/recovery/get_protection_policy.py.html>`__ to see an example of how to use get_protection_policy API.
1559
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/get_protection_policy.py.html>`__ to see an example of how to use get_protection_policy API.
1450
1560
  """
1451
1561
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1452
1562
  required_arguments = ['protectionPolicyId']
@@ -1544,7 +1654,7 @@ class DatabaseRecoveryClient(object):
1544
1654
  :rtype: :class:`~oci.response.Response`
1545
1655
 
1546
1656
  :example:
1547
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/recovery/get_recovery_service_subnet.py.html>`__ to see an example of how to use get_recovery_service_subnet API.
1657
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/get_recovery_service_subnet.py.html>`__ to see an example of how to use get_recovery_service_subnet API.
1548
1658
  """
1549
1659
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1550
1660
  required_arguments = ['recoveryServiceSubnetId']
@@ -1642,7 +1752,7 @@ class DatabaseRecoveryClient(object):
1642
1752
  :rtype: :class:`~oci.response.Response`
1643
1753
 
1644
1754
  :example:
1645
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/recovery/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
1755
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
1646
1756
  """
1647
1757
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1648
1758
  required_arguments = ['workRequestId']
@@ -1779,7 +1889,7 @@ class DatabaseRecoveryClient(object):
1779
1889
  :rtype: :class:`~oci.response.Response`
1780
1890
 
1781
1891
  :example:
1782
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/recovery/list_protected_databases.py.html>`__ to see an example of how to use list_protected_databases API.
1892
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/list_protected_databases.py.html>`__ to see an example of how to use list_protected_databases API.
1783
1893
  """
1784
1894
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1785
1895
  required_arguments = ['compartmentId']
@@ -1949,7 +2059,7 @@ class DatabaseRecoveryClient(object):
1949
2059
  :rtype: :class:`~oci.response.Response`
1950
2060
 
1951
2061
  :example:
1952
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/recovery/list_protection_policies.py.html>`__ to see an example of how to use list_protection_policies API.
2062
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/list_protection_policies.py.html>`__ to see an example of how to use list_protection_policies API.
1953
2063
  """
1954
2064
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1955
2065
  required_arguments = ['compartmentId']
@@ -2122,7 +2232,7 @@ class DatabaseRecoveryClient(object):
2122
2232
  :rtype: :class:`~oci.response.Response`
2123
2233
 
2124
2234
  :example:
2125
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/recovery/list_recovery_service_subnets.py.html>`__ to see an example of how to use list_recovery_service_subnets API.
2235
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/list_recovery_service_subnets.py.html>`__ to see an example of how to use list_recovery_service_subnets API.
2126
2236
  """
2127
2237
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2128
2238
  required_arguments = ['compartmentId']
@@ -2271,7 +2381,7 @@ class DatabaseRecoveryClient(object):
2271
2381
  :rtype: :class:`~oci.response.Response`
2272
2382
 
2273
2383
  :example:
2274
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/recovery/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
2384
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
2275
2385
  """
2276
2386
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2277
2387
  required_arguments = ['workRequestId']
@@ -2416,7 +2526,7 @@ class DatabaseRecoveryClient(object):
2416
2526
  :rtype: :class:`~oci.response.Response`
2417
2527
 
2418
2528
  :example:
2419
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/recovery/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
2529
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
2420
2530
  """
2421
2531
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2422
2532
  required_arguments = ['workRequestId']
@@ -2572,7 +2682,7 @@ class DatabaseRecoveryClient(object):
2572
2682
  :rtype: :class:`~oci.response.Response`
2573
2683
 
2574
2684
  :example:
2575
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/recovery/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
2685
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
2576
2686
  """
2577
2687
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2578
2688
  required_arguments = ['compartmentId']
@@ -2712,7 +2822,7 @@ class DatabaseRecoveryClient(object):
2712
2822
  :rtype: :class:`~oci.response.Response`
2713
2823
 
2714
2824
  :example:
2715
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/recovery/schedule_protected_database_deletion.py.html>`__ to see an example of how to use schedule_protected_database_deletion API.
2825
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/schedule_protected_database_deletion.py.html>`__ to see an example of how to use schedule_protected_database_deletion API.
2716
2826
  """
2717
2827
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2718
2828
  required_arguments = ['protectedDatabaseId']
@@ -2823,7 +2933,7 @@ class DatabaseRecoveryClient(object):
2823
2933
  :rtype: :class:`~oci.response.Response`
2824
2934
 
2825
2935
  :example:
2826
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/recovery/update_protected_database.py.html>`__ to see an example of how to use update_protected_database API.
2936
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/update_protected_database.py.html>`__ to see an example of how to use update_protected_database API.
2827
2937
  """
2828
2938
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2829
2939
  required_arguments = ['protectedDatabaseId']
@@ -2933,7 +3043,7 @@ class DatabaseRecoveryClient(object):
2933
3043
  :rtype: :class:`~oci.response.Response`
2934
3044
 
2935
3045
  :example:
2936
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/recovery/update_protection_policy.py.html>`__ to see an example of how to use update_protection_policy API.
3046
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/update_protection_policy.py.html>`__ to see an example of how to use update_protection_policy API.
2937
3047
  """
2938
3048
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2939
3049
  required_arguments = ['protectionPolicyId']
@@ -3043,7 +3153,7 @@ class DatabaseRecoveryClient(object):
3043
3153
  :rtype: :class:`~oci.response.Response`
3044
3154
 
3045
3155
  :example:
3046
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/recovery/update_recovery_service_subnet.py.html>`__ to see an example of how to use update_recovery_service_subnet API.
3156
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/recovery/update_recovery_service_subnet.py.html>`__ to see an example of how to use update_recovery_service_subnet API.
3047
3157
  """
3048
3158
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3049
3159
  required_arguments = ['recoveryServiceSubnetId']
@@ -67,6 +67,48 @@ class DatabaseRecoveryClientCompositeOperations(object):
67
67
  except Exception as e:
68
68
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
69
69
 
70
+ def change_protected_database_subscription_and_wait_for_state(self, protected_database_id, change_protected_database_subscription_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
71
+ """
72
+ Calls :py:func:`~oci.recovery.DatabaseRecoveryClient.change_protected_database_subscription` and waits for the :py:class:`~oci.recovery.models.WorkRequest`
73
+ to enter the given state(s).
74
+
75
+ :param str protected_database_id: (required)
76
+ The protected database OCID.
77
+
78
+ :param oci.recovery.models.ChangeProtectedDatabaseSubscriptionDetails change_protected_database_subscription_details: (required)
79
+ Associate a protected database with a different subscription.
80
+
81
+ :param list[str] wait_for_states:
82
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.recovery.models.WorkRequest.status`
83
+
84
+ :param dict operation_kwargs:
85
+ A dictionary of keyword arguments to pass to :py:func:`~oci.recovery.DatabaseRecoveryClient.change_protected_database_subscription`
86
+
87
+ :param dict waiter_kwargs:
88
+ A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
89
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
90
+ """
91
+ operation_result = self.client.change_protected_database_subscription(protected_database_id, change_protected_database_subscription_details, **operation_kwargs)
92
+ if not wait_for_states:
93
+ return operation_result
94
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
95
+ if 'opc-work-request-id' not in operation_result.headers:
96
+ return operation_result
97
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
98
+
99
+ try:
100
+ waiter_result = oci.wait_until(
101
+ self.client,
102
+ self.client.get_work_request(wait_for_resource_id),
103
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
104
+ **waiter_kwargs
105
+ )
106
+ result_to_return = waiter_result
107
+
108
+ return result_to_return
109
+ except Exception as e:
110
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
111
+
70
112
  def change_protection_policy_compartment_and_wait_for_state(self, protection_policy_id, change_protection_policy_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
71
113
  """
72
114
  Calls :py:func:`~oci.recovery.DatabaseRecoveryClient.change_protection_policy_compartment` and waits for the :py:class:`~oci.recovery.models.WorkRequest`
@@ -7,6 +7,7 @@
7
7
  from __future__ import absolute_import
8
8
 
9
9
  from .change_protected_database_compartment_details import ChangeProtectedDatabaseCompartmentDetails
10
+ from .change_protected_database_subscription_details import ChangeProtectedDatabaseSubscriptionDetails
10
11
  from .change_protection_policy_compartment_details import ChangeProtectionPolicyCompartmentDetails
11
12
  from .change_recovery_service_subnet_compartment_details import ChangeRecoveryServiceSubnetCompartmentDetails
12
13
  from .create_protected_database_details import CreateProtectedDatabaseDetails
@@ -42,6 +43,7 @@ from .work_request_summary_collection import WorkRequestSummaryCollection
42
43
  # Maps type names to classes for recovery services.
43
44
  recovery_type_mapping = {
44
45
  "ChangeProtectedDatabaseCompartmentDetails": ChangeProtectedDatabaseCompartmentDetails,
46
+ "ChangeProtectedDatabaseSubscriptionDetails": ChangeProtectedDatabaseSubscriptionDetails,
45
47
  "ChangeProtectionPolicyCompartmentDetails": ChangeProtectionPolicyCompartmentDetails,
46
48
  "ChangeRecoveryServiceSubnetCompartmentDetails": ChangeRecoveryServiceSubnetCompartmentDetails,
47
49
  "CreateProtectedDatabaseDetails": CreateProtectedDatabaseDetails,
@@ -0,0 +1,103 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
3
+ # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
+
5
+ # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20210216
6
+
7
+
8
+ from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
9
+ from oci.decorators import init_model_state_from_kwargs
10
+
11
+
12
+ @init_model_state_from_kwargs
13
+ class ChangeProtectedDatabaseSubscriptionDetails(object):
14
+ """
15
+ Subscription details of the new cloud service environment, such as Microsoft Azure, where the protected database will be provisioned.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new ChangeProtectedDatabaseSubscriptionDetails object with values from keyword arguments.
21
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
22
+
23
+ :param subscription_id:
24
+ The value to assign to the subscription_id property of this ChangeProtectedDatabaseSubscriptionDetails.
25
+ :type subscription_id: str
26
+
27
+ :param is_default:
28
+ The value to assign to the is_default property of this ChangeProtectedDatabaseSubscriptionDetails.
29
+ :type is_default: bool
30
+
31
+ """
32
+ self.swagger_types = {
33
+ 'subscription_id': 'str',
34
+ 'is_default': 'bool'
35
+ }
36
+
37
+ self.attribute_map = {
38
+ 'subscription_id': 'subscriptionId',
39
+ 'is_default': 'isDefault'
40
+ }
41
+
42
+ self._subscription_id = None
43
+ self._is_default = None
44
+
45
+ @property
46
+ def subscription_id(self):
47
+ """
48
+ Gets the subscription_id of this ChangeProtectedDatabaseSubscriptionDetails.
49
+ The OCID of the new cloud service subscription to which you want to link the protected database.
50
+
51
+
52
+ :return: The subscription_id of this ChangeProtectedDatabaseSubscriptionDetails.
53
+ :rtype: str
54
+ """
55
+ return self._subscription_id
56
+
57
+ @subscription_id.setter
58
+ def subscription_id(self, subscription_id):
59
+ """
60
+ Sets the subscription_id of this ChangeProtectedDatabaseSubscriptionDetails.
61
+ The OCID of the new cloud service subscription to which you want to link the protected database.
62
+
63
+
64
+ :param subscription_id: The subscription_id of this ChangeProtectedDatabaseSubscriptionDetails.
65
+ :type: str
66
+ """
67
+ self._subscription_id = subscription_id
68
+
69
+ @property
70
+ def is_default(self):
71
+ """
72
+ Gets the is_default of this ChangeProtectedDatabaseSubscriptionDetails.
73
+ Indicates whether it is a Universal Credit Model (UCM) subscription.
74
+
75
+
76
+ :return: The is_default of this ChangeProtectedDatabaseSubscriptionDetails.
77
+ :rtype: bool
78
+ """
79
+ return self._is_default
80
+
81
+ @is_default.setter
82
+ def is_default(self, is_default):
83
+ """
84
+ Sets the is_default of this ChangeProtectedDatabaseSubscriptionDetails.
85
+ Indicates whether it is a Universal Credit Model (UCM) subscription.
86
+
87
+
88
+ :param is_default: The is_default of this ChangeProtectedDatabaseSubscriptionDetails.
89
+ :type: bool
90
+ """
91
+ self._is_default = is_default
92
+
93
+ def __repr__(self):
94
+ return formatted_flat_dict(self)
95
+
96
+ def __eq__(self, other):
97
+ if other is None:
98
+ return False
99
+
100
+ return self.__dict__ == other.__dict__
101
+
102
+ def __ne__(self, other):
103
+ return not self == other
@@ -97,6 +97,10 @@ class CreateProtectedDatabaseDetails(object):
97
97
  The value to assign to the is_redo_logs_shipped property of this CreateProtectedDatabaseDetails.
98
98
  :type is_redo_logs_shipped: bool
99
99
 
100
+ :param subscription_id:
101
+ The value to assign to the subscription_id property of this CreateProtectedDatabaseDetails.
102
+ :type subscription_id: str
103
+
100
104
  :param freeform_tags:
101
105
  The value to assign to the freeform_tags property of this CreateProtectedDatabaseDetails.
102
106
  :type freeform_tags: dict(str, str)
@@ -119,6 +123,7 @@ class CreateProtectedDatabaseDetails(object):
119
123
  'change_rate': 'float',
120
124
  'compression_ratio': 'float',
121
125
  'is_redo_logs_shipped': 'bool',
126
+ 'subscription_id': 'str',
122
127
  'freeform_tags': 'dict(str, str)',
123
128
  'defined_tags': 'dict(str, dict(str, object))'
124
129
  }
@@ -136,6 +141,7 @@ class CreateProtectedDatabaseDetails(object):
136
141
  'change_rate': 'changeRate',
137
142
  'compression_ratio': 'compressionRatio',
138
143
  'is_redo_logs_shipped': 'isRedoLogsShipped',
144
+ 'subscription_id': 'subscriptionId',
139
145
  'freeform_tags': 'freeformTags',
140
146
  'defined_tags': 'definedTags'
141
147
  }
@@ -152,6 +158,7 @@ class CreateProtectedDatabaseDetails(object):
152
158
  self._change_rate = None
153
159
  self._compression_ratio = None
154
160
  self._is_redo_logs_shipped = None
161
+ self._subscription_id = None
155
162
  self._freeform_tags = None
156
163
  self._defined_tags = None
157
164
 
@@ -456,6 +463,32 @@ class CreateProtectedDatabaseDetails(object):
456
463
  """
457
464
  self._is_redo_logs_shipped = is_redo_logs_shipped
458
465
 
466
+ @property
467
+ def subscription_id(self):
468
+ """
469
+ Gets the subscription_id of this CreateProtectedDatabaseDetails.
470
+ The OCID of the cloud service subscription to which you want to link the protected database.
471
+ For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure.
472
+
473
+
474
+ :return: The subscription_id of this CreateProtectedDatabaseDetails.
475
+ :rtype: str
476
+ """
477
+ return self._subscription_id
478
+
479
+ @subscription_id.setter
480
+ def subscription_id(self, subscription_id):
481
+ """
482
+ Sets the subscription_id of this CreateProtectedDatabaseDetails.
483
+ The OCID of the cloud service subscription to which you want to link the protected database.
484
+ For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure.
485
+
486
+
487
+ :param subscription_id: The subscription_id of this CreateProtectedDatabaseDetails.
488
+ :type: str
489
+ """
490
+ self._subscription_id = subscription_id
491
+
459
492
  @property
460
493
  def freeform_tags(self):
461
494
  """
@@ -32,6 +32,10 @@ class CreateProtectionPolicyDetails(object):
32
32
  The value to assign to the compartment_id property of this CreateProtectionPolicyDetails.
33
33
  :type compartment_id: str
34
34
 
35
+ :param must_enforce_cloud_locality:
36
+ The value to assign to the must_enforce_cloud_locality property of this CreateProtectionPolicyDetails.
37
+ :type must_enforce_cloud_locality: bool
38
+
35
39
  :param policy_locked_date_time:
36
40
  The value to assign to the policy_locked_date_time property of this CreateProtectionPolicyDetails.
37
41
  :type policy_locked_date_time: str
@@ -49,6 +53,7 @@ class CreateProtectionPolicyDetails(object):
49
53
  'display_name': 'str',
50
54
  'backup_retention_period_in_days': 'int',
51
55
  'compartment_id': 'str',
56
+ 'must_enforce_cloud_locality': 'bool',
52
57
  'policy_locked_date_time': 'str',
53
58
  'freeform_tags': 'dict(str, str)',
54
59
  'defined_tags': 'dict(str, dict(str, object))'
@@ -58,6 +63,7 @@ class CreateProtectionPolicyDetails(object):
58
63
  'display_name': 'displayName',
59
64
  'backup_retention_period_in_days': 'backupRetentionPeriodInDays',
60
65
  'compartment_id': 'compartmentId',
66
+ 'must_enforce_cloud_locality': 'mustEnforceCloudLocality',
61
67
  'policy_locked_date_time': 'policyLockedDateTime',
62
68
  'freeform_tags': 'freeformTags',
63
69
  'defined_tags': 'definedTags'
@@ -66,6 +72,7 @@ class CreateProtectionPolicyDetails(object):
66
72
  self._display_name = None
67
73
  self._backup_retention_period_in_days = None
68
74
  self._compartment_id = None
75
+ self._must_enforce_cloud_locality = None
69
76
  self._policy_locked_date_time = None
70
77
  self._freeform_tags = None
71
78
  self._defined_tags = None
@@ -142,6 +149,38 @@ class CreateProtectionPolicyDetails(object):
142
149
  """
143
150
  self._compartment_id = compartment_id
144
151
 
152
+ @property
153
+ def must_enforce_cloud_locality(self):
154
+ """
155
+ Gets the must_enforce_cloud_locality of this CreateProtectionPolicyDetails.
156
+ Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned.
157
+ This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure.
158
+ If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure.
159
+ Note:
160
+ You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it.
161
+
162
+
163
+ :return: The must_enforce_cloud_locality of this CreateProtectionPolicyDetails.
164
+ :rtype: bool
165
+ """
166
+ return self._must_enforce_cloud_locality
167
+
168
+ @must_enforce_cloud_locality.setter
169
+ def must_enforce_cloud_locality(self, must_enforce_cloud_locality):
170
+ """
171
+ Sets the must_enforce_cloud_locality of this CreateProtectionPolicyDetails.
172
+ Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned.
173
+ This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure.
174
+ If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure.
175
+ Note:
176
+ You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it.
177
+
178
+
179
+ :param must_enforce_cloud_locality: The must_enforce_cloud_locality of this CreateProtectionPolicyDetails.
180
+ :type: bool
181
+ """
182
+ self._must_enforce_cloud_locality = must_enforce_cloud_locality
183
+
145
184
  @property
146
185
  def policy_locked_date_time(self):
147
186
  """