oci 2.114.0__py3-none-any.whl → 2.115.1__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 (659) 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 +22 -22
  6. oci/ai_language/ai_service_language_client.py +36 -36
  7. oci/ai_speech/ai_service_speech_client.py +9 -9
  8. oci/ai_vision/ai_service_vision_client.py +25 -25
  9. oci/analytics/analytics_client.py +23 -23
  10. oci/announcements_service/announcement_client.py +4 -4
  11. oci/announcements_service/announcement_subscription_client.py +9 -9
  12. oci/announcements_service/announcements_preferences_client.py +4 -4
  13. oci/apigateway/api_gateway_client.py +21 -21
  14. oci/apigateway/deployment_client.py +6 -6
  15. oci/apigateway/gateway_client.py +6 -6
  16. oci/apigateway/subscribers_client.py +6 -6
  17. oci/apigateway/usage_plans_client.py +6 -6
  18. oci/apigateway/work_requests_client.py +5 -5
  19. oci/apm_config/config_client.py +8 -8
  20. oci/apm_control_plane/apm_domain_client.py +14 -14
  21. oci/apm_synthetics/apm_synthetic_client.py +18 -18
  22. oci/apm_traces/query_client.py +2 -2
  23. oci/apm_traces/trace_client.py +4 -4
  24. oci/application_migration/application_migration_client.py +19 -19
  25. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  26. oci/artifacts/artifacts_client.py +32 -32
  27. oci/audit/audit_client.py +3 -3
  28. oci/auth/signers/ephemeral_resource_principals_v21_signer.py +3 -17
  29. oci/autoscaling/auto_scaling_client.py +11 -11
  30. oci/bastion/bastion_client.py +15 -15
  31. oci/bds/bds_client.py +47 -47
  32. oci/blockchain/blockchain_platform_client.py +27 -27
  33. oci/budget/budget_client.py +10 -10
  34. oci/certificates/certificates_client.py +5 -5
  35. oci/certificates_management/certificates_management_client.py +32 -32
  36. oci/cims/incident_client.py +8 -8
  37. oci/cims/user_client.py +1 -1
  38. oci/cloud_bridge/common_client.py +5 -5
  39. oci/cloud_bridge/discovery_client.py +14 -14
  40. oci/cloud_bridge/inventory_client.py +16 -16
  41. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  42. oci/cloud_guard/cloud_guard_client.py +133 -133
  43. oci/cloud_migrations/migration_client.py +43 -43
  44. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  45. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  46. oci/compute_instance_agent/plugin_client.py +2 -2
  47. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  48. oci/container_engine/container_engine_client.py +44 -44
  49. oci/container_instances/container_instance_client.py +18 -18
  50. oci/core/blockstorage_client.py +60 -60
  51. oci/core/compute_client.py +90 -90
  52. oci/core/compute_management_client.py +32 -32
  53. oci/core/virtual_network_client.py +242 -242
  54. oci/dashboard_service/dashboard_client.py +6 -6
  55. oci/dashboard_service/dashboard_group_client.py +6 -6
  56. oci/data_catalog/data_catalog_client.py +141 -141
  57. oci/data_flow/data_flow_client.py +42 -42
  58. oci/data_integration/data_integration_client.py +163 -163
  59. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  60. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  61. oci/data_safe/data_safe_client.py +12749 -7471
  62. oci/data_safe/data_safe_client_composite_operations.py +797 -29
  63. oci/data_safe/models/__init__.py +104 -0
  64. oci/data_safe/models/apply_sdm_masking_policy_difference_details.py +1 -1
  65. oci/data_safe/models/audit_policy_dimensions.py +7 -3
  66. oci/data_safe/models/audit_specification.py +7 -3
  67. oci/data_safe/models/autonomous_database_details.py +3 -3
  68. oci/data_safe/models/change_database_security_config_compartment_details.py +72 -0
  69. oci/data_safe/models/change_security_policy_compartment_details.py +72 -0
  70. oci/data_safe/models/change_security_policy_deployment_compartment_details.py +72 -0
  71. oci/data_safe/models/change_sql_collection_compartment_details.py +72 -0
  72. oci/data_safe/models/change_sql_firewall_policy_compartment_details.py +72 -0
  73. oci/data_safe/models/change_target_database_compartment_details.py +2 -2
  74. oci/data_safe/models/column_summary.py +1 -1
  75. oci/data_safe/models/create_data_safe_private_endpoint_details.py +1 -1
  76. oci/data_safe/models/create_discovery_job_details.py +4 -4
  77. oci/data_safe/models/create_masking_column_details.py +2 -2
  78. oci/data_safe/models/create_masking_policy_details.py +2 -4
  79. oci/data_safe/models/create_sensitive_data_model_details.py +2 -2
  80. oci/data_safe/models/create_sql_collection_details.py +372 -0
  81. oci/data_safe/models/create_target_alert_policy_association_details.py +2 -2
  82. oci/data_safe/models/database_cloud_service_details.py +3 -3
  83. oci/data_safe/models/database_security_config.py +527 -0
  84. oci/data_safe/models/database_security_config_collection.py +72 -0
  85. oci/data_safe/models/database_security_config_summary.py +494 -0
  86. oci/data_safe/models/discovery_job.py +2 -2
  87. oci/data_safe/models/discovery_job_result.py +2 -2
  88. oci/data_safe/models/discovery_job_result_summary.py +2 -2
  89. oci/data_safe/models/download_masking_log_details.py +1 -1
  90. oci/data_safe/models/entry_details.py +103 -0
  91. oci/data_safe/models/firewall_policy_entry_details.py +113 -0
  92. oci/data_safe/models/mask_data_details.py +2 -4
  93. oci/data_safe/models/masking_column.py +2 -2
  94. oci/data_safe/models/masking_column_summary.py +2 -2
  95. oci/data_safe/models/masking_policy.py +2 -4
  96. oci/data_safe/models/profile.py +2 -2
  97. oci/data_safe/models/profile_aggregation.py +1 -65
  98. oci/data_safe/models/profile_summary.py +2 -2
  99. oci/data_safe/models/report_definition.py +22 -6
  100. oci/data_safe/models/report_definition_summary.py +22 -6
  101. oci/data_safe/models/role_summary.py +3 -3
  102. oci/data_safe/models/schema_summary.py +1 -1
  103. oci/data_safe/models/security_assessment.py +6 -6
  104. oci/data_safe/models/security_assessment_base_line_details.py +3 -3
  105. oci/data_safe/models/security_assessment_summary.py +6 -6
  106. oci/data_safe/models/security_policy.py +432 -0
  107. oci/data_safe/models/security_policy_collection.py +72 -0
  108. oci/data_safe/models/security_policy_deployment.py +498 -0
  109. oci/data_safe/models/security_policy_deployment_collection.py +72 -0
  110. oci/data_safe/models/security_policy_deployment_summary.py +498 -0
  111. oci/data_safe/models/security_policy_entry_state.py +220 -0
  112. oci/data_safe/models/security_policy_entry_state_collection.py +72 -0
  113. oci/data_safe/models/security_policy_entry_state_summary.py +193 -0
  114. oci/data_safe/models/security_policy_summary.py +432 -0
  115. oci/data_safe/models/sensitive_data_model.py +2 -2
  116. oci/data_safe/models/sql_collection.py +667 -0
  117. oci/data_safe/models/sql_collection_aggregation.py +99 -0
  118. oci/data_safe/models/sql_collection_analytics_collection.py +72 -0
  119. oci/data_safe/models/sql_collection_collection.py +72 -0
  120. oci/data_safe/models/sql_collection_dimensions.py +147 -0
  121. oci/data_safe/models/sql_collection_log_aggregation.py +192 -0
  122. oci/data_safe/models/sql_collection_log_dimensions.py +134 -0
  123. oci/data_safe/models/sql_collection_log_insights_collection.py +72 -0
  124. oci/data_safe/models/sql_collection_summary.py +634 -0
  125. oci/data_safe/models/sql_firewall_allowed_sql_aggregation.py +99 -0
  126. oci/data_safe/models/sql_firewall_allowed_sql_analytics_collection.py +72 -0
  127. oci/data_safe/models/sql_firewall_allowed_sql_collection.py +72 -0
  128. oci/data_safe/models/sql_firewall_allowed_sql_dimensions.py +201 -0
  129. oci/data_safe/models/sql_firewall_allowed_sql_summary.py +622 -0
  130. oci/data_safe/models/sql_firewall_config.py +215 -0
  131. oci/data_safe/models/sql_firewall_policy.py +838 -0
  132. oci/data_safe/models/sql_firewall_policy_aggregation.py +99 -0
  133. oci/data_safe/models/sql_firewall_policy_analytics_collection.py +72 -0
  134. oci/data_safe/models/sql_firewall_policy_collection.py +72 -0
  135. oci/data_safe/models/sql_firewall_policy_dimensions.py +241 -0
  136. oci/data_safe/models/sql_firewall_policy_summary.py +712 -0
  137. oci/data_safe/models/sql_firewall_violation_aggregation.py +223 -0
  138. oci/data_safe/models/sql_firewall_violation_aggregation_dimensions.py +402 -0
  139. oci/data_safe/models/sql_firewall_violation_analytics_collection.py +72 -0
  140. oci/data_safe/models/sql_firewall_violation_summary.py +604 -0
  141. oci/data_safe/models/sql_firewall_violations_collection.py +72 -0
  142. oci/data_safe/models/table_summary.py +1 -1
  143. oci/data_safe/models/target_alert_policy_association.py +2 -2
  144. oci/data_safe/models/target_alert_policy_association_summary.py +2 -2
  145. oci/data_safe/models/target_database.py +4 -4
  146. oci/data_safe/models/target_database_summary.py +2 -2
  147. oci/data_safe/models/update_data_safe_private_endpoint_details.py +1 -1
  148. oci/data_safe/models/update_database_security_config_details.py +208 -0
  149. oci/data_safe/models/update_masking_column_details.py +2 -2
  150. oci/data_safe/models/update_masking_policy_details.py +2 -4
  151. oci/data_safe/models/update_security_policy_deployment_details.py +181 -0
  152. oci/data_safe/models/update_security_policy_details.py +181 -0
  153. oci/data_safe/models/update_sql_collection_details.py +181 -0
  154. oci/data_safe/models/update_sql_firewall_config_details.py +184 -0
  155. oci/data_safe/models/update_sql_firewall_policy_details.py +466 -0
  156. oci/data_safe/models/update_target_alert_policy_association_details.py +2 -2
  157. oci/data_safe/models/user_assessment.py +14 -14
  158. oci/data_safe/models/user_assessment_base_line_details.py +3 -3
  159. oci/data_safe/models/user_assessment_summary.py +18 -18
  160. oci/data_safe/models/user_summary.py +8 -8
  161. oci/data_safe/models/work_request.py +83 -3
  162. oci/data_safe/models/work_request_summary.py +83 -3
  163. oci/data_science/data_science_client.py +91 -91
  164. oci/database/database_client.py +645 -319
  165. oci/database/database_client_composite_operations.py +176 -0
  166. oci/database/models/__init__.py +8 -0
  167. oci/database/models/autonomous_container_database.py +7 -3
  168. oci/database/models/autonomous_container_database_summary.py +7 -3
  169. oci/database/models/configure_saas_admin_user_details.py +284 -0
  170. oci/database/models/create_autonomous_container_database_dataguard_association_details.py +321 -0
  171. oci/database/models/database_connection_string_profile.py +33 -2
  172. oci/database/models/generate_autonomous_database_wallet_details.py +33 -2
  173. oci/database/models/saas_admin_user_configuration.py +284 -0
  174. oci/database/models/saas_admin_user_status.py +154 -0
  175. oci/database_management/__init__.py +3 -1
  176. oci/database_management/db_management_client.py +182 -182
  177. oci/database_management/diagnosability_client.py +4 -4
  178. oci/database_management/managed_my_sql_databases_client.py +945 -0
  179. oci/database_management/managed_my_sql_databases_client_composite_operations.py +26 -0
  180. oci/database_management/models/__init__.py +26 -0
  181. oci/database_management/models/managed_my_sql_database.py +227 -0
  182. oci/database_management/models/managed_my_sql_database_collection.py +72 -0
  183. oci/database_management/models/managed_my_sql_database_summary.py +227 -0
  184. oci/database_management/models/my_sql_configuration_data_collection.py +72 -0
  185. oci/database_management/models/my_sql_configuration_data_summary.py +616 -0
  186. oci/database_management/models/my_sql_data_collection.py +72 -0
  187. oci/database_management/models/my_sql_data_summary.py +1033 -0
  188. oci/database_management/models/my_sql_database_usage_metrics.py +342 -0
  189. oci/database_management/models/my_sql_fleet_by_category.py +134 -0
  190. oci/database_management/models/my_sql_fleet_metric_definition.py +196 -0
  191. oci/database_management/models/my_sql_fleet_metric_summary_definition.py +165 -0
  192. oci/database_management/models/my_sql_fleet_metrics.py +165 -0
  193. oci/database_management/models/my_sql_fleet_summary.py +103 -0
  194. oci/database_management/perfhub_client.py +1 -1
  195. oci/database_management/sql_tuning_client.py +17 -17
  196. oci/database_migration/database_migration_client.py +41 -41
  197. oci/database_tools/database_tools_client.py +23 -23
  198. oci/devops/devops_client.py +89 -89
  199. oci/disaster_recovery/disaster_recovery_client.py +168 -152
  200. oci/disaster_recovery/disaster_recovery_client_composite_operations.py +45 -45
  201. oci/disaster_recovery/models/__init__.py +88 -0
  202. oci/disaster_recovery/models/associate_dr_protection_group_details.py +13 -9
  203. oci/disaster_recovery/models/block_volume_attachment_details.py +78 -0
  204. oci/disaster_recovery/models/block_volume_mount_details.py +76 -0
  205. oci/disaster_recovery/models/cancel_dr_plan_execution_details.py +1 -1
  206. oci/disaster_recovery/models/change_dr_protection_group_compartment_details.py +5 -5
  207. oci/disaster_recovery/models/compute_instance_movable_file_system_operation.py +165 -0
  208. oci/disaster_recovery/models/compute_instance_movable_vnic_mapping.py +27 -23
  209. oci/disaster_recovery/models/compute_instance_movable_vnic_mapping_details.py +27 -23
  210. oci/disaster_recovery/models/compute_instance_non_movable_block_volume_operation.py +130 -0
  211. oci/disaster_recovery/models/compute_instance_non_movable_file_system_operation.py +146 -0
  212. oci/disaster_recovery/models/compute_instance_vnic_mapping.py +13 -11
  213. oci/disaster_recovery/models/compute_instance_vnic_mapping_details.py +25 -21
  214. oci/disaster_recovery/models/create_block_volume_attachment_details.py +78 -0
  215. oci/disaster_recovery/models/create_block_volume_mount_details.py +76 -0
  216. oci/disaster_recovery/models/create_compute_instance_movable_file_system_operation_details.py +165 -0
  217. oci/disaster_recovery/models/create_compute_instance_non_movable_block_volume_operation_details.py +130 -0
  218. oci/disaster_recovery/models/create_compute_instance_non_movable_file_system_operation_details.py +146 -0
  219. oci/disaster_recovery/models/create_dr_plan_details.py +24 -12
  220. oci/disaster_recovery/models/create_dr_plan_execution_details.py +11 -7
  221. oci/disaster_recovery/models/create_dr_protection_group_details.py +15 -11
  222. oci/disaster_recovery/models/create_dr_protection_group_member_autonomous_database_details.py +2 -2
  223. oci/disaster_recovery/models/create_dr_protection_group_member_compute_instance_details.py +18 -16
  224. oci/disaster_recovery/models/create_dr_protection_group_member_compute_instance_movable_details.py +61 -26
  225. oci/disaster_recovery/models/create_dr_protection_group_member_compute_instance_non_movable_details.py +99 -4
  226. oci/disaster_recovery/models/create_dr_protection_group_member_database_details.py +5 -5
  227. oci/disaster_recovery/models/create_dr_protection_group_member_details.py +30 -6
  228. oci/disaster_recovery/models/create_dr_protection_group_member_file_system_details.py +124 -0
  229. oci/disaster_recovery/models/create_dr_protection_group_member_load_balancer_details.py +124 -0
  230. oci/disaster_recovery/models/create_dr_protection_group_member_network_load_balancer_details.py +124 -0
  231. oci/disaster_recovery/models/create_dr_protection_group_member_volume_group_details.py +2 -2
  232. oci/disaster_recovery/models/create_file_system_mount_details.py +76 -0
  233. oci/disaster_recovery/models/create_file_system_unmount_details.py +76 -0
  234. oci/disaster_recovery/models/create_object_storage_log_location_details.py +5 -5
  235. oci/disaster_recovery/models/disassociate_dr_protection_group_default_details.py +1 -1
  236. oci/disaster_recovery/models/disassociate_dr_protection_group_details.py +3 -3
  237. oci/disaster_recovery/models/dr_plan.py +56 -42
  238. oci/disaster_recovery/models/dr_plan_collection.py +3 -3
  239. oci/disaster_recovery/models/dr_plan_execution.py +72 -52
  240. oci/disaster_recovery/models/dr_plan_execution_collection.py +3 -4
  241. oci/disaster_recovery/models/dr_plan_execution_option_details.py +35 -3
  242. oci/disaster_recovery/models/dr_plan_execution_options.py +35 -3
  243. oci/disaster_recovery/models/dr_plan_execution_summary.py +68 -48
  244. oci/disaster_recovery/models/dr_plan_group.py +15 -11
  245. oci/disaster_recovery/models/dr_plan_group_execution.py +21 -17
  246. oci/disaster_recovery/models/dr_plan_step.py +170 -14
  247. oci/disaster_recovery/models/dr_plan_step_execution.py +178 -22
  248. oci/disaster_recovery/models/dr_plan_summary.py +62 -38
  249. oci/disaster_recovery/models/dr_plan_user_defined_step.py +19 -23
  250. oci/disaster_recovery/models/dr_protection_group.py +87 -34
  251. oci/disaster_recovery/models/dr_protection_group_collection.py +3 -3
  252. oci/disaster_recovery/models/dr_protection_group_member.py +30 -6
  253. oci/disaster_recovery/models/dr_protection_group_member_autonomous_database.py +2 -2
  254. oci/disaster_recovery/models/dr_protection_group_member_compute_instance.py +16 -12
  255. oci/disaster_recovery/models/dr_protection_group_member_compute_instance_movable.py +59 -22
  256. oci/disaster_recovery/models/dr_protection_group_member_compute_instance_non_movable.py +97 -4
  257. oci/disaster_recovery/models/dr_protection_group_member_database.py +8 -6
  258. oci/disaster_recovery/models/dr_protection_group_member_file_system.py +124 -0
  259. oci/disaster_recovery/models/dr_protection_group_member_load_balancer.py +126 -0
  260. oci/disaster_recovery/models/dr_protection_group_member_network_load_balancer.py +126 -0
  261. oci/disaster_recovery/models/dr_protection_group_member_volume_group.py +2 -2
  262. oci/disaster_recovery/models/dr_protection_group_summary.py +85 -32
  263. oci/disaster_recovery/models/failover_execution_option_details.py +1 -1
  264. oci/disaster_recovery/models/failover_execution_options.py +1 -1
  265. oci/disaster_recovery/models/failover_precheck_execution_option_details.py +1 -1
  266. oci/disaster_recovery/models/failover_precheck_execution_options.py +1 -1
  267. oci/disaster_recovery/models/file_system_export_mapping.py +111 -0
  268. oci/disaster_recovery/models/file_system_export_mapping_details.py +111 -0
  269. oci/disaster_recovery/models/file_system_mount_details.py +76 -0
  270. oci/disaster_recovery/models/file_system_unmount_details.py +76 -0
  271. oci/disaster_recovery/models/ignore_dr_plan_execution_details.py +4 -4
  272. oci/disaster_recovery/models/invoke_function_step.py +2 -2
  273. oci/disaster_recovery/models/load_balancer_backend_set_mapping.py +150 -0
  274. oci/disaster_recovery/models/load_balancer_backend_set_mapping_details.py +154 -0
  275. oci/disaster_recovery/models/network_load_balancer_backend_set_mapping.py +150 -0
  276. oci/disaster_recovery/models/network_load_balancer_backend_set_mapping_details.py +154 -0
  277. oci/disaster_recovery/models/object_storage_log_location.py +7 -7
  278. oci/disaster_recovery/models/object_storage_script_location.py +7 -7
  279. oci/disaster_recovery/models/pause_dr_plan_execution_details.py +1 -1
  280. oci/disaster_recovery/models/resume_dr_plan_execution_details.py +1 -1
  281. oci/disaster_recovery/models/retry_dr_plan_execution_details.py +4 -4
  282. oci/disaster_recovery/models/run_local_script_user_defined_step.py +16 -6
  283. oci/disaster_recovery/models/run_object_store_script_user_defined_step.py +16 -6
  284. oci/disaster_recovery/models/start_drill_execution_option_details.py +121 -0
  285. oci/disaster_recovery/models/start_drill_execution_options.py +121 -0
  286. oci/disaster_recovery/models/start_drill_precheck_execution_option_details.py +86 -0
  287. oci/disaster_recovery/models/start_drill_precheck_execution_options.py +86 -0
  288. oci/disaster_recovery/models/stop_drill_execution_option_details.py +121 -0
  289. oci/disaster_recovery/models/stop_drill_execution_options.py +121 -0
  290. oci/disaster_recovery/models/stop_drill_precheck_execution_option_details.py +86 -0
  291. oci/disaster_recovery/models/stop_drill_precheck_execution_options.py +86 -0
  292. oci/disaster_recovery/models/switchover_execution_option_details.py +1 -1
  293. oci/disaster_recovery/models/switchover_execution_options.py +1 -1
  294. oci/disaster_recovery/models/switchover_precheck_execution_option_details.py +1 -1
  295. oci/disaster_recovery/models/switchover_precheck_execution_options.py +1 -1
  296. oci/disaster_recovery/models/update_block_volume_attachment_details.py +78 -0
  297. oci/disaster_recovery/models/update_block_volume_mount_details.py +76 -0
  298. oci/disaster_recovery/models/update_compute_instance_movable_file_system_operation_details.py +165 -0
  299. oci/disaster_recovery/models/update_compute_instance_non_movable_block_volume_operation_details.py +130 -0
  300. oci/disaster_recovery/models/update_compute_instance_non_movable_file_system_operation_details.py +146 -0
  301. oci/disaster_recovery/models/update_dr_plan_details.py +9 -5
  302. oci/disaster_recovery/models/update_dr_plan_execution_details.py +9 -5
  303. oci/disaster_recovery/models/update_dr_plan_group_details.py +11 -7
  304. oci/disaster_recovery/models/update_dr_plan_step_details.py +7 -7
  305. oci/disaster_recovery/models/update_dr_plan_user_defined_step_details.py +27 -9
  306. oci/disaster_recovery/models/update_dr_protection_group_details.py +13 -7
  307. oci/disaster_recovery/models/update_dr_protection_group_member_autonomous_database_details.py +2 -2
  308. oci/disaster_recovery/models/update_dr_protection_group_member_compute_instance_details.py +18 -16
  309. oci/disaster_recovery/models/update_dr_protection_group_member_compute_instance_movable_details.py +61 -26
  310. oci/disaster_recovery/models/update_dr_protection_group_member_compute_instance_non_movable_details.py +99 -4
  311. oci/disaster_recovery/models/update_dr_protection_group_member_database_details.py +5 -5
  312. oci/disaster_recovery/models/update_dr_protection_group_member_details.py +30 -6
  313. oci/disaster_recovery/models/update_dr_protection_group_member_file_system_details.py +124 -0
  314. oci/disaster_recovery/models/update_dr_protection_group_member_load_balancer_details.py +124 -0
  315. oci/disaster_recovery/models/update_dr_protection_group_member_network_load_balancer_details.py +124 -0
  316. oci/disaster_recovery/models/update_dr_protection_group_member_volume_group_details.py +2 -2
  317. oci/disaster_recovery/models/update_dr_protection_group_role_details.py +3 -3
  318. oci/disaster_recovery/models/update_file_system_mount_details.py +76 -0
  319. oci/disaster_recovery/models/update_file_system_unmount_details.py +76 -0
  320. oci/disaster_recovery/models/update_invoke_function_user_defined_step_details.py +2 -2
  321. oci/disaster_recovery/models/update_object_storage_log_location_details.py +5 -5
  322. oci/disaster_recovery/models/update_object_storage_script_location_details.py +7 -7
  323. oci/disaster_recovery/models/update_run_local_script_user_defined_step_details.py +14 -4
  324. oci/disaster_recovery/models/update_run_object_store_script_user_defined_step_details.py +16 -2
  325. oci/disaster_recovery/models/work_request.py +6 -6
  326. oci/disaster_recovery/models/work_request_error_collection.py +2 -2
  327. oci/disaster_recovery/models/work_request_log_entry.py +2 -2
  328. oci/disaster_recovery/models/work_request_resource.py +2 -2
  329. oci/disaster_recovery/models/work_request_summary.py +7 -7
  330. oci/disaster_recovery/models/work_request_summary_collection.py +2 -2
  331. oci/dns/dns_client.py +52 -52
  332. oci/dts/appliance_export_job_client.py +6 -6
  333. oci/dts/shipping_vendors_client.py +1 -1
  334. oci/dts/transfer_appliance_client.py +8 -8
  335. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  336. oci/dts/transfer_device_client.py +5 -5
  337. oci/dts/transfer_job_client.py +6 -6
  338. oci/dts/transfer_package_client.py +7 -7
  339. oci/em_warehouse/em_data_lake_client.py +13 -13
  340. oci/em_warehouse/em_warehouse_client.py +13 -13
  341. oci/email/email_client.py +25 -25
  342. oci/events/events_client.py +6 -6
  343. oci/file_storage/file_storage_client.py +50 -50
  344. oci/fleet_software_update/fleet_software_update_client.py +44 -44
  345. oci/functions/functions_invoke_client.py +1 -1
  346. oci/functions/functions_management_client.py +16 -16
  347. oci/fusion_apps/data_masking_activity_client.py +3 -3
  348. oci/fusion_apps/fusion_applications_client.py +39 -39
  349. oci/fusion_apps/fusion_environment_client.py +15 -15
  350. oci/fusion_apps/fusion_environment_family_client.py +8 -8
  351. oci/fusion_apps/refresh_activity_client.py +4 -4
  352. oci/fusion_apps/scheduled_activity_client.py +2 -2
  353. oci/fusion_apps/service_attachment_client.py +2 -2
  354. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  355. oci/golden_gate/golden_gate_client.py +57 -57
  356. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  357. oci/governance_rules_control_plane/work_request_client.py +5 -5
  358. oci/healthchecks/health_checks_client.py +17 -17
  359. oci/identity/identity_client.py +145 -145
  360. oci/identity_data_plane/dataplane_client.py +2 -2
  361. oci/identity_domains/identity_domains_client.py +190 -190
  362. oci/integration/integration_instance_client.py +15 -15
  363. oci/jms/java_management_service_client.py +1352 -164
  364. oci/jms/java_management_service_client_composite_operations.py +226 -0
  365. oci/jms/models/__init__.py +32 -0
  366. oci/jms/models/agent.py +240 -0
  367. oci/jms/models/announcement_summary.py +1 -1
  368. oci/jms/models/application_work_item_details.py +2 -2
  369. oci/jms/models/basic_work_item_details.py +2 -2
  370. oci/jms/models/blocklist.py +31 -3
  371. oci/jms/models/blocklist_entry.py +31 -3
  372. oci/jms/models/create_blocklist_details.py +31 -3
  373. oci/jms/models/create_drs_file_details.py +134 -0
  374. oci/jms/models/disable_drs_details.py +69 -0
  375. oci/jms/models/drs_file.py +272 -0
  376. oci/jms/models/drs_file_collection.py +72 -0
  377. oci/jms/models/drs_file_summary.py +272 -0
  378. oci/jms/models/drs_target.py +72 -0
  379. oci/jms/models/enable_drs_details.py +69 -0
  380. oci/jms/models/export_setting.py +485 -0
  381. oci/jms/models/export_status.py +201 -0
  382. oci/jms/models/fleet.py +31 -0
  383. oci/jms/models/fleet_agent_configuration.py +27 -0
  384. oci/jms/models/fleet_summary.py +31 -0
  385. oci/jms/models/java_artifact.py +262 -2
  386. oci/jms/models/java_family.py +103 -2
  387. oci/jms/models/java_family_summary.py +70 -2
  388. oci/jms/models/java_migration_analysis_result.py +31 -0
  389. oci/jms/models/java_migration_analysis_result_summary.py +31 -0
  390. oci/jms/models/java_release.py +66 -2
  391. oci/jms/models/java_release_summary.py +66 -2
  392. oci/jms/models/lcm_work_item_details.py +86 -0
  393. oci/jms/models/manage_drs_details.py +73 -0
  394. oci/jms/models/managed_instance_usage.py +82 -0
  395. oci/jms/models/patch_detail.py +103 -0
  396. oci/jms/models/performance_tuning_analysis.py +2 -2
  397. oci/jms/models/plugin.py +103 -0
  398. oci/jms/models/request_crypto_analyses_details.py +2 -2
  399. oci/jms/models/update_drs_file_details.py +134 -0
  400. oci/jms/models/update_export_setting_details.py +349 -0
  401. oci/jms/models/update_fleet_agent_configuration_details.py +29 -2
  402. oci/jms/models/work_item_details.py +34 -6
  403. oci/jms/models/work_request.py +31 -3
  404. oci/jms_java_downloads/__init__.py +14 -0
  405. oci/jms_java_downloads/java_download_client.py +3088 -0
  406. oci/jms_java_downloads/java_download_client_composite_operations.py +384 -0
  407. oci/jms_java_downloads/models/__init__.py +80 -0
  408. oci/jms_java_downloads/models/create_java_download_report_details.py +289 -0
  409. oci/jms_java_downloads/models/create_java_download_token_details.py +336 -0
  410. oci/jms_java_downloads/models/create_java_license_acceptance_record_details.py +174 -0
  411. oci/jms_java_downloads/models/download_url.py +119 -0
  412. oci/jms_java_downloads/models/generate_artifact_download_url_details.py +72 -0
  413. oci/jms_java_downloads/models/java_download_count_aggregation.py +289 -0
  414. oci/jms_java_downloads/models/java_download_count_aggregation_collection.py +123 -0
  415. oci/jms_java_downloads/models/java_download_record.py +351 -0
  416. oci/jms_java_downloads/models/java_download_record_collection.py +72 -0
  417. oci/jms_java_downloads/models/java_download_record_summary.py +351 -0
  418. oci/jms_java_downloads/models/java_download_report.py +533 -0
  419. oci/jms_java_downloads/models/java_download_report_collection.py +72 -0
  420. oci/jms_java_downloads/models/java_download_report_summary.py +532 -0
  421. oci/jms_java_downloads/models/java_download_token.py +710 -0
  422. oci/jms_java_downloads/models/java_download_token_collection.py +72 -0
  423. oci/jms_java_downloads/models/java_download_token_summary.py +710 -0
  424. oci/jms_java_downloads/models/java_license.py +154 -0
  425. oci/jms_java_downloads/models/java_license_acceptance_record.py +513 -0
  426. oci/jms_java_downloads/models/java_license_acceptance_record_collection.py +72 -0
  427. oci/jms_java_downloads/models/java_license_acceptance_record_summary.py +513 -0
  428. oci/jms_java_downloads/models/java_license_collection.py +72 -0
  429. oci/jms_java_downloads/models/java_license_summary.py +154 -0
  430. oci/jms_java_downloads/models/principal.py +138 -0
  431. oci/jms_java_downloads/models/request_summarized_java_download_counts_details.py +415 -0
  432. oci/jms_java_downloads/models/update_java_download_token_details.py +270 -0
  433. oci/jms_java_downloads/models/update_java_license_acceptance_record_details.py +88 -0
  434. oci/jms_java_downloads/models/work_request.py +412 -0
  435. oci/jms_java_downloads/models/work_request_error.py +136 -0
  436. oci/jms_java_downloads/models/work_request_error_collection.py +72 -0
  437. oci/jms_java_downloads/models/work_request_log_entry.py +103 -0
  438. oci/jms_java_downloads/models/work_request_log_entry_collection.py +72 -0
  439. oci/jms_java_downloads/models/work_request_resource.py +203 -0
  440. oci/jms_java_downloads/models/work_request_summary.py +412 -0
  441. oci/jms_java_downloads/models/work_request_summary_collection.py +72 -0
  442. oci/key_management/ekm_client.py +5 -5
  443. oci/key_management/kms_crypto_client.py +6 -6
  444. oci/key_management/kms_management_client.py +21 -21
  445. oci/key_management/kms_vault_client.py +14 -14
  446. oci/license_manager/license_manager_client.py +18 -18
  447. oci/limits/limits_client.py +4 -4
  448. oci/limits/quotas_client.py +7 -7
  449. oci/load_balancer/load_balancer_client.py +61 -61
  450. oci/lockbox/lockbox_client.py +23 -23
  451. oci/log_analytics/log_analytics_client.py +192 -192
  452. oci/logging/logging_management_client.py +30 -30
  453. oci/loggingingestion/logging_client.py +1 -1
  454. oci/loggingsearch/log_search_client.py +1 -1
  455. oci/management_agent/management_agent_client.py +23 -23
  456. oci/management_dashboard/dashx_apis_client.py +14 -14
  457. oci/marketplace/account_client.py +2 -2
  458. oci/marketplace/marketplace_client.py +30 -30
  459. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  460. oci/media_services/media_services_client.py +48 -48
  461. oci/media_services/media_stream_client.py +2 -2
  462. oci/monitoring/monitoring_client.py +13 -13
  463. oci/mysql/channels_client.py +7 -7
  464. oci/mysql/db_backups_client.py +6 -6
  465. oci/mysql/db_system_client.py +32 -17
  466. oci/mysql/models/create_db_system_details.py +49 -2
  467. oci/mysql/models/db_system.py +49 -2
  468. oci/mysql/models/db_system_snapshot.py +49 -2
  469. oci/mysql/models/db_system_summary.py +49 -2
  470. oci/mysql/models/update_db_system_details.py +49 -2
  471. oci/mysql/mysqlaas_client.py +7 -7
  472. oci/mysql/replicas_client.py +5 -5
  473. oci/mysql/work_requests_client.py +4 -4
  474. oci/network_firewall/network_firewall_client.py +80 -80
  475. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  476. oci/nosql/nosql_client.py +24 -24
  477. oci/object_storage/object_storage_client.py +50 -50
  478. oci/oce/oce_instance_client.py +10 -10
  479. oci/oci_control_center/occ_metrics_client.py +3 -3
  480. oci/ocvp/esxi_host_client.py +6 -6
  481. oci/ocvp/sddc_client.py +13 -13
  482. oci/ocvp/work_request_client.py +4 -4
  483. oci/oda/management_client.py +56 -56
  484. oci/oda/oda_client.py +17 -17
  485. oci/oda/odapackage_client.py +7 -7
  486. oci/onesubscription/billing_schedule_client.py +1 -1
  487. oci/onesubscription/commitment_client.py +2 -2
  488. oci/onesubscription/computed_usage_client.py +3 -3
  489. oci/onesubscription/invoice_summary_client.py +2 -2
  490. oci/onesubscription/organization_subscription_client.py +1 -1
  491. oci/onesubscription/ratecard_client.py +1 -1
  492. oci/onesubscription/subscribed_service_client.py +2 -2
  493. oci/onesubscription/subscription_client.py +1 -1
  494. oci/ons/notification_control_plane_client.py +6 -6
  495. oci/ons/notification_data_plane_client.py +10 -10
  496. oci/opa/opa_instance_client.py +11 -11
  497. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  498. oci/opensearch/opensearch_cluster_client.py +14 -14
  499. oci/operator_access_control/access_requests_client.py +9 -9
  500. oci/operator_access_control/operator_actions_client.py +2 -2
  501. oci/operator_access_control/operator_control_assignment_client.py +6 -6
  502. oci/operator_access_control/operator_control_client.py +6 -6
  503. oci/opsi/operations_insights_client.py +159 -159
  504. oci/optimizer/optimizer_client.py +26 -26
  505. oci/os_management/event_client.py +8 -8
  506. oci/os_management/os_management_client.py +69 -69
  507. oci/os_management_hub/lifecycle_environment_client.py +11 -11
  508. oci/os_management_hub/managed_instance_client.py +22 -22
  509. oci/os_management_hub/managed_instance_group_client.py +22 -22
  510. oci/os_management_hub/management_station_client.py +8 -8
  511. oci/os_management_hub/onboarding_client.py +5 -5
  512. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  513. oci/os_management_hub/scheduled_job_client.py +6 -6
  514. oci/os_management_hub/software_source_client.py +22 -22
  515. oci/os_management_hub/work_request_client.py +4 -4
  516. oci/osp_gateway/address_rule_service_client.py +1 -1
  517. oci/osp_gateway/address_service_client.py +2 -2
  518. oci/osp_gateway/invoice_service_client.py +5 -5
  519. oci/osp_gateway/subscription_service_client.py +5 -5
  520. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  521. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  522. oci/osub_subscription/commitment_client.py +2 -2
  523. oci/osub_subscription/ratecard_client.py +1 -1
  524. oci/osub_subscription/subscription_client.py +1 -1
  525. oci/osub_usage/computed_usage_client.py +3 -3
  526. oci/queue/queue_admin_client.py +11 -11
  527. oci/queue/queue_client.py +8 -8
  528. oci/recovery/database_recovery_client.py +23 -23
  529. oci/redis/redis_cluster_client.py +11 -11
  530. oci/regions_definitions.py +3 -0
  531. oci/resource_manager/resource_manager_client.py +52 -52
  532. oci/resource_search/resource_search_client.py +3 -3
  533. oci/rover/rover_bundle_client.py +8 -8
  534. oci/rover/rover_cluster_client.py +8 -8
  535. oci/rover/rover_entitlement_client.py +6 -6
  536. oci/rover/rover_node_client.py +15 -15
  537. oci/rover/shape_client.py +1 -1
  538. oci/rover/work_requests_client.py +5 -5
  539. oci/sch/service_connector_client.py +12 -12
  540. oci/secrets/secrets_client.py +3 -3
  541. oci/service_catalog/service_catalog_client.py +26 -26
  542. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  543. oci/service_mesh/service_mesh_client.py +48 -48
  544. oci/stack_monitoring/models/__init__.py +124 -0
  545. oci/stack_monitoring/models/anomaly_data_point.py +196 -0
  546. oci/stack_monitoring/models/anomaly_metric_data.py +103 -0
  547. oci/stack_monitoring/models/associated_monitored_resource.py +47 -0
  548. oci/stack_monitoring/models/associated_resources_summary.py +47 -0
  549. oci/stack_monitoring/models/auto_promote_config_details.py +1 -1
  550. oci/stack_monitoring/models/baselineable_metric.py +559 -0
  551. oci/stack_monitoring/models/baselineable_metric_summary.py +435 -0
  552. oci/stack_monitoring/models/baselineable_metric_summary_collection.py +72 -0
  553. oci/stack_monitoring/models/change_metric_extension_compartment_details.py +78 -0
  554. oci/stack_monitoring/models/change_monitored_resource_task_compartment_details.py +78 -0
  555. oci/stack_monitoring/models/config.py +19 -3
  556. oci/stack_monitoring/models/config_summary.py +8 -0
  557. oci/stack_monitoring/models/create_baselineable_metric_details.py +196 -0
  558. oci/stack_monitoring/models/create_config_details.py +8 -0
  559. oci/stack_monitoring/models/create_license_auto_assign_config_details.py +125 -0
  560. oci/stack_monitoring/models/create_license_enterprise_extensibility_config_details.py +109 -0
  561. oci/stack_monitoring/models/create_metric_extension_details.py +289 -0
  562. oci/stack_monitoring/models/create_monitored_resource_details.py +49 -0
  563. oci/stack_monitoring/models/create_monitored_resource_task_details.py +202 -0
  564. oci/stack_monitoring/models/create_monitored_resource_type_details.py +297 -0
  565. oci/stack_monitoring/models/data_point.py +103 -0
  566. oci/stack_monitoring/models/disable_metric_extension_details.py +72 -0
  567. oci/stack_monitoring/models/discovery_details.py +47 -0
  568. oci/stack_monitoring/models/discovery_job_summary.py +47 -0
  569. oci/stack_monitoring/models/enable_metric_extension_details.py +72 -0
  570. oci/stack_monitoring/models/enabled_resource_details.py +72 -0
  571. oci/stack_monitoring/models/evaluate_baselineable_metric_details.py +103 -0
  572. oci/stack_monitoring/models/evaluate_baselineable_metric_result.py +103 -0
  573. oci/stack_monitoring/models/import_oci_telemetry_resources_task_details.py +241 -0
  574. oci/stack_monitoring/models/jmx_query_properties.py +206 -0
  575. oci/stack_monitoring/models/jmx_update_query_properties.py +206 -0
  576. oci/stack_monitoring/models/license_auto_assign_config_details.py +165 -0
  577. oci/stack_monitoring/models/license_auto_assign_config_summary.py +160 -0
  578. oci/stack_monitoring/models/license_enterprise_extensibility_config_details.py +147 -0
  579. oci/stack_monitoring/models/license_enterprise_extensibility_config_summary.py +144 -0
  580. oci/stack_monitoring/models/manage_license_details.py +88 -0
  581. oci/stack_monitoring/models/metric.py +329 -0
  582. oci/stack_monitoring/models/metric_data.py +134 -0
  583. oci/stack_monitoring/models/metric_extension.py +701 -0
  584. oci/stack_monitoring/models/metric_extension_collection.py +72 -0
  585. oci/stack_monitoring/models/metric_extension_query_properties.py +117 -0
  586. oci/stack_monitoring/models/metric_extension_summary.py +504 -0
  587. oci/stack_monitoring/models/metric_extension_update_query_properties.py +117 -0
  588. oci/stack_monitoring/models/monitored_resource.py +47 -0
  589. oci/stack_monitoring/models/monitored_resource_member_summary.py +47 -0
  590. oci/stack_monitoring/models/monitored_resource_summary.py +82 -0
  591. oci/stack_monitoring/models/monitored_resource_task.py +483 -0
  592. oci/stack_monitoring/models/monitored_resource_task_details.py +101 -0
  593. oci/stack_monitoring/models/monitored_resource_task_summary.py +413 -0
  594. oci/stack_monitoring/models/monitored_resource_tasks_collection.py +72 -0
  595. oci/stack_monitoring/models/monitored_resource_type.py +504 -0
  596. oci/stack_monitoring/models/monitored_resource_type_summary.py +504 -0
  597. oci/stack_monitoring/models/monitored_resource_types_collection.py +72 -0
  598. oci/stack_monitoring/models/monitored_resources_count_aggregation.py +111 -0
  599. oci/stack_monitoring/models/monitored_resources_count_aggregation_collection.py +72 -0
  600. oci/stack_monitoring/models/os_command_query_properties.py +202 -0
  601. oci/stack_monitoring/models/os_command_update_query_properties.py +202 -0
  602. oci/stack_monitoring/models/resource_type_metadata_details.py +105 -0
  603. oci/stack_monitoring/models/script_file_details.py +103 -0
  604. oci/stack_monitoring/models/search_monitored_resources_details.py +47 -0
  605. oci/stack_monitoring/models/sql_details.py +103 -0
  606. oci/stack_monitoring/models/sql_in_param_details.py +103 -0
  607. oci/stack_monitoring/models/sql_out_param_details.py +119 -0
  608. oci/stack_monitoring/models/sql_query_properties.py +184 -0
  609. oci/stack_monitoring/models/sql_update_query_properties.py +183 -0
  610. oci/stack_monitoring/models/system_format_resource_type_metadata_details.py +263 -0
  611. oci/stack_monitoring/models/test_metric_extension_data.py +165 -0
  612. oci/stack_monitoring/models/test_metric_extension_details.py +72 -0
  613. oci/stack_monitoring/models/unique_property_set.py +72 -0
  614. oci/stack_monitoring/models/update_baselineable_metric_details.py +435 -0
  615. oci/stack_monitoring/models/update_config_details.py +8 -0
  616. oci/stack_monitoring/models/update_license_auto_assign_config_details.py +118 -0
  617. oci/stack_monitoring/models/update_license_enterprise_extensibility_config_details.py +102 -0
  618. oci/stack_monitoring/models/update_metric_extension_details.py +192 -0
  619. oci/stack_monitoring/models/update_monitored_resource_task_details.py +107 -0
  620. oci/stack_monitoring/models/update_monitored_resource_type_details.py +227 -0
  621. oci/stack_monitoring/models/work_request.py +19 -3
  622. oci/stack_monitoring/models/work_request_summary.py +19 -3
  623. oci/stack_monitoring/stack_monitoring_client.py +4906 -1196
  624. oci/stack_monitoring/stack_monitoring_client_composite_operations.py +743 -28
  625. oci/streaming/stream_admin_client.py +18 -18
  626. oci/streaming/stream_client.py +8 -8
  627. oci/tenant_manager_control_plane/domain_client.py +5 -5
  628. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  629. oci/tenant_manager_control_plane/governance_client.py +2 -2
  630. oci/tenant_manager_control_plane/link_client.py +3 -3
  631. oci/tenant_manager_control_plane/orders_client.py +2 -2
  632. oci/tenant_manager_control_plane/organization_client.py +10 -10
  633. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  634. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  635. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  636. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  637. oci/threat_intelligence/threatintel_client.py +5 -5
  638. oci/usage/resources_client.py +2 -2
  639. oci/usage/rewards_client.py +6 -6
  640. oci/usage/usagelimits_client.py +1 -1
  641. oci/usage_api/usageapi_client.py +19 -19
  642. oci/vault/vaults_client.py +11 -11
  643. oci/vbs_inst/vbs_instance_client.py +10 -10
  644. oci/version.py +1 -1
  645. oci/visual_builder/vb_instance_client.py +13 -13
  646. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  647. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  648. oci/waa/waa_client.py +13 -13
  649. oci/waa/work_request_client.py +4 -4
  650. oci/waas/redirect_client.py +6 -6
  651. oci/waas/waas_client.py +66 -66
  652. oci/waf/waf_client.py +24 -24
  653. oci/work_requests/work_request_client.py +4 -4
  654. {oci-2.114.0.dist-info → oci-2.115.1.dist-info}/METADATA +1 -1
  655. {oci-2.114.0.dist-info → oci-2.115.1.dist-info}/RECORD +659 -428
  656. {oci-2.114.0.dist-info → oci-2.115.1.dist-info}/LICENSE.txt +0 -0
  657. {oci-2.114.0.dist-info → oci-2.115.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  658. {oci-2.114.0.dist-info → oci-2.115.1.dist-info}/WHEEL +0 -0
  659. {oci-2.114.0.dist-info → oci-2.115.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,945 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2023, 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: 20201101
6
+
7
+ from __future__ import absolute_import
8
+
9
+ from oci._vendor import requests # noqa: F401
10
+ from oci._vendor import six
11
+
12
+ from oci import retry, circuit_breaker # noqa: F401
13
+ from oci.base_client import BaseClient
14
+ from oci.config import get_config_value_or_default, validate_config
15
+ from oci.signer import Signer
16
+ from oci.util import Sentinel, get_signer_from_authentication_type, AUTHENTICATION_TYPE_FIELD_NAME
17
+ from oci.exceptions import InvalidAlloyConfig
18
+ from oci.alloy import OCI_SDK_ENABLED_SERVICES_SET
19
+ from .models import database_management_type_mapping
20
+ missing = Sentinel("Missing")
21
+
22
+
23
+ class ManagedMySqlDatabasesClient(object):
24
+ """
25
+ Use the Database Management API to perform tasks such as obtaining performance and resource usage metrics
26
+ for a fleet of Managed Databases or a specific Managed Database, creating Managed Database Groups, and
27
+ running a SQL job on a Managed Database or Managed Database Group.
28
+ """
29
+
30
+ def __init__(self, config, **kwargs):
31
+ """
32
+ Creates a new service client
33
+
34
+ :param dict config:
35
+ Configuration keys and values as per `SDK and Tool Configuration <https://docs.cloud.oracle.com/Content/API/Concepts/sdkconfig.htm>`__.
36
+ The :py:meth:`~oci.config.from_file` method can be used to load configuration from a file. Alternatively, a ``dict`` can be passed. You can validate_config
37
+ the dict using :py:meth:`~oci.config.validate_config`
38
+
39
+ :param str service_endpoint: (optional)
40
+ The endpoint of the service to call using this client. For example ``https://iaas.us-ashburn-1.oraclecloud.com``. If this keyword argument is
41
+ not provided then it will be derived using the region in the config parameter. You should only provide this keyword argument if you have an explicit
42
+ need to specify a service endpoint.
43
+
44
+ :param timeout: (optional)
45
+ The connection and read timeouts for the client. The default values are connection timeout 10 seconds and read timeout 60 seconds. This keyword argument can be provided
46
+ as a single float, in which case the value provided is used for both the read and connection timeouts, or as a tuple of two floats. If
47
+ a tuple is provided then the first value is used as the connection timeout and the second value as the read timeout.
48
+ :type timeout: float or tuple(float, float)
49
+
50
+ :param signer: (optional)
51
+ The signer to use when signing requests made by the service client. The default is to use a :py:class:`~oci.signer.Signer` based on the values
52
+ provided in the config parameter.
53
+
54
+ One use case for this parameter is for `Instance Principals authentication <https://docs.cloud.oracle.com/Content/Identity/Tasks/callingservicesfrominstances.htm>`__
55
+ by passing an instance of :py:class:`~oci.auth.signers.InstancePrincipalsSecurityTokenSigner` as the value for this keyword argument
56
+ :type signer: :py:class:`~oci.signer.AbstractBaseSigner`
57
+
58
+ :param obj retry_strategy: (optional)
59
+ A retry strategy to apply to all calls made by this service client (i.e. at the client level). There is no retry strategy applied by default.
60
+ Retry strategies can also be applied at the operation level by passing a ``retry_strategy`` keyword argument as part of calling the operation.
61
+ Any value provided at the operation level will override whatever is specified at the client level.
62
+
63
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
64
+ is also available. The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
65
+
66
+ :param obj circuit_breaker_strategy: (optional)
67
+ A circuit breaker strategy to apply to all calls made by this service client (i.e. at the client level).
68
+ This client uses :py:data:`~oci.circuit_breaker.DEFAULT_CIRCUIT_BREAKER_STRATEGY` as default if no circuit breaker strategy is provided.
69
+ The specifics of circuit breaker strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/circuit_breakers.html>`__.
70
+
71
+ :param function circuit_breaker_callback: (optional)
72
+ Callback function to receive any exceptions triggerred by the circuit breaker.
73
+
74
+ :param bool client_level_realm_specific_endpoint_template_enabled: (optional)
75
+ A boolean flag to indicate whether or not this client should be created with realm specific endpoint template enabled or disable. By default, this will be set as None.
76
+
77
+ :param allow_control_chars: (optional)
78
+ allow_control_chars is a boolean to indicate whether or not this client should allow control characters in the response object. By default, the client will not
79
+ allow control characters to be in the response object.
80
+ """
81
+ if not OCI_SDK_ENABLED_SERVICES_SET.is_service_enabled("database_management"):
82
+ raise InvalidAlloyConfig("The Alloy configuration has disabled this service, this behavior is controlled by OCI_SDK_ENABLED_SERVICES_SET variable. Please check if your local alloy-config file configured the service you're targeting or contact the cloud provider on the availability of this service")
83
+
84
+ validate_config(config, signer=kwargs.get('signer'))
85
+ if 'signer' in kwargs:
86
+ signer = kwargs['signer']
87
+
88
+ elif AUTHENTICATION_TYPE_FIELD_NAME in config:
89
+ signer = get_signer_from_authentication_type(config)
90
+
91
+ else:
92
+ signer = Signer(
93
+ tenancy=config["tenancy"],
94
+ user=config["user"],
95
+ fingerprint=config["fingerprint"],
96
+ private_key_file_location=config.get("key_file"),
97
+ pass_phrase=get_config_value_or_default(config, "pass_phrase"),
98
+ private_key_content=config.get("key_content")
99
+ )
100
+
101
+ base_client_init_kwargs = {
102
+ 'regional_client': True,
103
+ 'service_endpoint': kwargs.get('service_endpoint'),
104
+ 'base_path': '/20201101',
105
+ 'service_endpoint_template': 'https://dbmgmt.{region}.oci.{secondLevelDomain}',
106
+ 'service_endpoint_template_per_realm': { }, # noqa: E201 E202
107
+ 'skip_deserialization': kwargs.get('skip_deserialization', False),
108
+ 'circuit_breaker_strategy': kwargs.get('circuit_breaker_strategy', circuit_breaker.GLOBAL_CIRCUIT_BREAKER_STRATEGY),
109
+ 'client_level_realm_specific_endpoint_template_enabled': kwargs.get('client_level_realm_specific_endpoint_template_enabled')
110
+ }
111
+ if 'timeout' in kwargs:
112
+ base_client_init_kwargs['timeout'] = kwargs.get('timeout')
113
+ if base_client_init_kwargs.get('circuit_breaker_strategy') is None:
114
+ base_client_init_kwargs['circuit_breaker_strategy'] = circuit_breaker.DEFAULT_CIRCUIT_BREAKER_STRATEGY
115
+ if 'allow_control_chars' in kwargs:
116
+ base_client_init_kwargs['allow_control_chars'] = kwargs.get('allow_control_chars')
117
+ self.base_client = BaseClient("managed_my_sql_databases", config, signer, database_management_type_mapping, **base_client_init_kwargs)
118
+ self.retry_strategy = kwargs.get('retry_strategy')
119
+ self.circuit_breaker_callback = kwargs.get('circuit_breaker_callback')
120
+
121
+ def get_managed_my_sql_database(self, managed_my_sql_database_id, **kwargs):
122
+ """
123
+ Retrieves the general information for a specific MySQL Database.
124
+
125
+
126
+ :param str managed_my_sql_database_id: (required)
127
+ The OCID of the Managed MySQL Database.
128
+
129
+ :param str opc_request_id: (optional)
130
+ The client request ID for tracing.
131
+
132
+ :param obj retry_strategy: (optional)
133
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
134
+
135
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
136
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
137
+
138
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
139
+
140
+ :param bool allow_control_chars: (optional)
141
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
142
+ By default, the response will not allow control characters in strings
143
+
144
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database_management.models.ManagedMySqlDatabase`
145
+ :rtype: :class:`~oci.response.Response`
146
+
147
+ :example:
148
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/databasemanagement/get_managed_my_sql_database.py.html>`__ to see an example of how to use get_managed_my_sql_database API.
149
+ """
150
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
151
+ required_arguments = ['managedMySqlDatabaseId']
152
+ resource_path = "/managedMySqlDatabases/{managedMySqlDatabaseId}"
153
+ method = "GET"
154
+ operation_name = "get_managed_my_sql_database"
155
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedMySqlDatabase/GetManagedMySqlDatabase"
156
+
157
+ # Don't accept unknown kwargs
158
+ expected_kwargs = [
159
+ "allow_control_chars",
160
+ "retry_strategy",
161
+ "opc_request_id"
162
+ ]
163
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
164
+ if extra_kwargs:
165
+ raise ValueError(
166
+ f"get_managed_my_sql_database got unknown kwargs: {extra_kwargs!r}")
167
+
168
+ path_params = {
169
+ "managedMySqlDatabaseId": managed_my_sql_database_id
170
+ }
171
+
172
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
173
+
174
+ for (k, v) in six.iteritems(path_params):
175
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
176
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
177
+
178
+ header_params = {
179
+ "accept": "application/json",
180
+ "content-type": "application/json",
181
+ "opc-request-id": kwargs.get("opc_request_id", missing)
182
+ }
183
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
184
+
185
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
186
+ operation_retry_strategy=kwargs.get('retry_strategy'),
187
+ client_retry_strategy=self.retry_strategy
188
+ )
189
+
190
+ if retry_strategy:
191
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
192
+ self.base_client.add_opc_client_retries_header(header_params)
193
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
194
+ return retry_strategy.make_retrying_call(
195
+ self.base_client.call_api,
196
+ resource_path=resource_path,
197
+ method=method,
198
+ path_params=path_params,
199
+ header_params=header_params,
200
+ response_type="ManagedMySqlDatabase",
201
+ allow_control_chars=kwargs.get('allow_control_chars'),
202
+ operation_name=operation_name,
203
+ api_reference_link=api_reference_link,
204
+ required_arguments=required_arguments)
205
+ else:
206
+ return self.base_client.call_api(
207
+ resource_path=resource_path,
208
+ method=method,
209
+ path_params=path_params,
210
+ header_params=header_params,
211
+ response_type="ManagedMySqlDatabase",
212
+ allow_control_chars=kwargs.get('allow_control_chars'),
213
+ operation_name=operation_name,
214
+ api_reference_link=api_reference_link,
215
+ required_arguments=required_arguments)
216
+
217
+ def get_my_sql_fleet_metric(self, compartment_id, start_time, end_time, **kwargs):
218
+ """
219
+ Gets the health metrics for a fleet of MySQL Databases in a compartment.
220
+
221
+
222
+ :param str compartment_id: (required)
223
+ The `OCID`__ of the compartment.
224
+
225
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
226
+
227
+ :param str start_time: (required)
228
+ The start time of the time range to retrieve the health metrics of a Managed Database
229
+ in UTC in ISO-8601 format, which is \"yyyy-MM-dd'T'hh:mm:ss.sss'Z'\".
230
+
231
+ :param str end_time: (required)
232
+ The end time of the time range to retrieve the health metrics of a Managed Database
233
+ in UTC in ISO-8601 format, which is \"yyyy-MM-dd'T'hh:mm:ss.sss'Z'\".
234
+
235
+ :param str opc_request_id: (optional)
236
+ The client request ID for tracing.
237
+
238
+ :param str filter_by_metric_names: (optional)
239
+ The filter used to retrieve a specific set of metrics by passing the desired metric names with a comma separator. Note that, by default, the service returns all supported metrics.
240
+
241
+ :param str filter_by_my_sql_deployment_type_param: (optional)
242
+ The parameter to filter by MySQL deployment type.
243
+
244
+ Allowed values are: "ONPREMISE", "MDS"
245
+
246
+ :param str filter_by_mds_deployment_type: (optional)
247
+ The parameter to filter by MySQL Database System type.
248
+
249
+ Allowed values are: "HA", "HEATWAVE", "STANDALONE"
250
+
251
+ :param str filter_by_my_sql_status: (optional)
252
+ The parameter to filter by MySQL Database status.
253
+
254
+ Allowed values are: "UP", "DOWN", "UNKNOWN"
255
+
256
+ :param str filter_by_my_sql_database_version: (optional)
257
+ The parameter to filter by MySQL database version.
258
+
259
+ :param obj retry_strategy: (optional)
260
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
261
+
262
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
263
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
264
+
265
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
266
+
267
+ :param bool allow_control_chars: (optional)
268
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
269
+ By default, the response will not allow control characters in strings
270
+
271
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database_management.models.MySqlFleetMetrics`
272
+ :rtype: :class:`~oci.response.Response`
273
+
274
+ :example:
275
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/databasemanagement/get_my_sql_fleet_metric.py.html>`__ to see an example of how to use get_my_sql_fleet_metric API.
276
+ """
277
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
278
+ required_arguments = ['compartmentId', 'startTime', 'endTime']
279
+ resource_path = "/mysqlFleetMetrics"
280
+ method = "GET"
281
+ operation_name = "get_my_sql_fleet_metric"
282
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/MySqlFleetMetrics/GetMySqlFleetMetric"
283
+
284
+ # Don't accept unknown kwargs
285
+ expected_kwargs = [
286
+ "allow_control_chars",
287
+ "retry_strategy",
288
+ "opc_request_id",
289
+ "filter_by_metric_names",
290
+ "filter_by_my_sql_deployment_type_param",
291
+ "filter_by_mds_deployment_type",
292
+ "filter_by_my_sql_status",
293
+ "filter_by_my_sql_database_version"
294
+ ]
295
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
296
+ if extra_kwargs:
297
+ raise ValueError(
298
+ f"get_my_sql_fleet_metric got unknown kwargs: {extra_kwargs!r}")
299
+
300
+ if 'filter_by_my_sql_deployment_type_param' in kwargs:
301
+ filter_by_my_sql_deployment_type_param_allowed_values = ["ONPREMISE", "MDS"]
302
+ if kwargs['filter_by_my_sql_deployment_type_param'] not in filter_by_my_sql_deployment_type_param_allowed_values:
303
+ raise ValueError(
304
+ f"Invalid value for `filter_by_my_sql_deployment_type_param`, must be one of { filter_by_my_sql_deployment_type_param_allowed_values }"
305
+ )
306
+
307
+ if 'filter_by_mds_deployment_type' in kwargs:
308
+ filter_by_mds_deployment_type_allowed_values = ["HA", "HEATWAVE", "STANDALONE"]
309
+ if kwargs['filter_by_mds_deployment_type'] not in filter_by_mds_deployment_type_allowed_values:
310
+ raise ValueError(
311
+ f"Invalid value for `filter_by_mds_deployment_type`, must be one of { filter_by_mds_deployment_type_allowed_values }"
312
+ )
313
+
314
+ if 'filter_by_my_sql_status' in kwargs:
315
+ filter_by_my_sql_status_allowed_values = ["UP", "DOWN", "UNKNOWN"]
316
+ if kwargs['filter_by_my_sql_status'] not in filter_by_my_sql_status_allowed_values:
317
+ raise ValueError(
318
+ f"Invalid value for `filter_by_my_sql_status`, must be one of { filter_by_my_sql_status_allowed_values }"
319
+ )
320
+
321
+ query_params = {
322
+ "compartmentId": compartment_id,
323
+ "filterByMetricNames": kwargs.get("filter_by_metric_names", missing),
324
+ "startTime": start_time,
325
+ "endTime": end_time,
326
+ "filterByMySqlDeploymentTypeParam": kwargs.get("filter_by_my_sql_deployment_type_param", missing),
327
+ "filterByMdsDeploymentType": kwargs.get("filter_by_mds_deployment_type", missing),
328
+ "filterByMySqlStatus": kwargs.get("filter_by_my_sql_status", missing),
329
+ "filterByMySqlDatabaseVersion": kwargs.get("filter_by_my_sql_database_version", missing)
330
+ }
331
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
332
+
333
+ header_params = {
334
+ "accept": "application/json",
335
+ "content-type": "application/json",
336
+ "opc-request-id": kwargs.get("opc_request_id", missing)
337
+ }
338
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
339
+
340
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
341
+ operation_retry_strategy=kwargs.get('retry_strategy'),
342
+ client_retry_strategy=self.retry_strategy
343
+ )
344
+
345
+ if retry_strategy:
346
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
347
+ self.base_client.add_opc_client_retries_header(header_params)
348
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
349
+ return retry_strategy.make_retrying_call(
350
+ self.base_client.call_api,
351
+ resource_path=resource_path,
352
+ method=method,
353
+ query_params=query_params,
354
+ header_params=header_params,
355
+ response_type="MySqlFleetMetrics",
356
+ allow_control_chars=kwargs.get('allow_control_chars'),
357
+ operation_name=operation_name,
358
+ api_reference_link=api_reference_link,
359
+ required_arguments=required_arguments)
360
+ else:
361
+ return self.base_client.call_api(
362
+ resource_path=resource_path,
363
+ method=method,
364
+ query_params=query_params,
365
+ header_params=header_params,
366
+ response_type="MySqlFleetMetrics",
367
+ allow_control_chars=kwargs.get('allow_control_chars'),
368
+ operation_name=operation_name,
369
+ api_reference_link=api_reference_link,
370
+ required_arguments=required_arguments)
371
+
372
+ def list_managed_my_sql_database_configuration_data(self, managed_my_sql_database_id, **kwargs):
373
+ """
374
+ Retrieves configuration data for a specific MySQL database.
375
+
376
+
377
+ :param str managed_my_sql_database_id: (required)
378
+ The OCID of the Managed MySQL Database.
379
+
380
+ :param str opc_request_id: (optional)
381
+ The client request ID for tracing.
382
+
383
+ :param int limit: (optional)
384
+ The maximum number of records returned in the paginated response.
385
+
386
+ :param str page: (optional)
387
+ The page token representing the page from where the next set of paginated results
388
+ are retrieved. This is usually retrieved from a previous list call.
389
+
390
+ :param str sort_order: (optional)
391
+ The option to sort information in ascending (\u2018ASC\u2019) or descending (\u2018DESC\u2019) order. Descending order is the default order.
392
+
393
+ Allowed values are: "ASC", "DESC"
394
+
395
+ :param str sort_by: (optional)
396
+ The field to sort information by. Only one sortOrder can be used. The default sort order
397
+ for \u2018TIMECREATED\u2019 is descending and the default sort order for \u2018NAME\u2019 is ascending.
398
+ The \u2018NAME\u2019 sort order is case-sensitive.
399
+
400
+ Allowed values are: "TIMECREATED", "NAME"
401
+
402
+ :param obj retry_strategy: (optional)
403
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
404
+
405
+ 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.
406
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
407
+
408
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
409
+
410
+ :param bool allow_control_chars: (optional)
411
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
412
+ By default, the response will not allow control characters in strings
413
+
414
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database_management.models.MySqlConfigurationDataCollection`
415
+ :rtype: :class:`~oci.response.Response`
416
+
417
+ :example:
418
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/databasemanagement/list_managed_my_sql_database_configuration_data.py.html>`__ to see an example of how to use list_managed_my_sql_database_configuration_data API.
419
+ """
420
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
421
+ required_arguments = ['managedMySqlDatabaseId']
422
+ resource_path = "/managedMySqlDatabases/{managedMySqlDatabaseId}/configurationData"
423
+ method = "GET"
424
+ operation_name = "list_managed_my_sql_database_configuration_data"
425
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedMySqlDatabase/ListManagedMySqlDatabaseConfigurationData"
426
+
427
+ # Don't accept unknown kwargs
428
+ expected_kwargs = [
429
+ "allow_control_chars",
430
+ "retry_strategy",
431
+ "opc_request_id",
432
+ "limit",
433
+ "page",
434
+ "sort_order",
435
+ "sort_by"
436
+ ]
437
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
438
+ if extra_kwargs:
439
+ raise ValueError(
440
+ f"list_managed_my_sql_database_configuration_data got unknown kwargs: {extra_kwargs!r}")
441
+
442
+ path_params = {
443
+ "managedMySqlDatabaseId": managed_my_sql_database_id
444
+ }
445
+
446
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
447
+
448
+ for (k, v) in six.iteritems(path_params):
449
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
450
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
451
+
452
+ if 'sort_order' in kwargs:
453
+ sort_order_allowed_values = ["ASC", "DESC"]
454
+ if kwargs['sort_order'] not in sort_order_allowed_values:
455
+ raise ValueError(
456
+ f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
457
+ )
458
+
459
+ if 'sort_by' in kwargs:
460
+ sort_by_allowed_values = ["TIMECREATED", "NAME"]
461
+ if kwargs['sort_by'] not in sort_by_allowed_values:
462
+ raise ValueError(
463
+ f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
464
+ )
465
+
466
+ query_params = {
467
+ "limit": kwargs.get("limit", missing),
468
+ "page": kwargs.get("page", missing),
469
+ "sortOrder": kwargs.get("sort_order", missing),
470
+ "sortBy": kwargs.get("sort_by", missing)
471
+ }
472
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
473
+
474
+ header_params = {
475
+ "accept": "application/json",
476
+ "content-type": "application/json",
477
+ "opc-request-id": kwargs.get("opc_request_id", missing)
478
+ }
479
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
480
+
481
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
482
+ operation_retry_strategy=kwargs.get('retry_strategy'),
483
+ client_retry_strategy=self.retry_strategy
484
+ )
485
+ if retry_strategy is None:
486
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
487
+
488
+ if retry_strategy:
489
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
490
+ self.base_client.add_opc_client_retries_header(header_params)
491
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
492
+ return retry_strategy.make_retrying_call(
493
+ self.base_client.call_api,
494
+ resource_path=resource_path,
495
+ method=method,
496
+ path_params=path_params,
497
+ query_params=query_params,
498
+ header_params=header_params,
499
+ response_type="MySqlConfigurationDataCollection",
500
+ allow_control_chars=kwargs.get('allow_control_chars'),
501
+ operation_name=operation_name,
502
+ api_reference_link=api_reference_link,
503
+ required_arguments=required_arguments)
504
+ else:
505
+ return self.base_client.call_api(
506
+ resource_path=resource_path,
507
+ method=method,
508
+ path_params=path_params,
509
+ query_params=query_params,
510
+ header_params=header_params,
511
+ response_type="MySqlConfigurationDataCollection",
512
+ allow_control_chars=kwargs.get('allow_control_chars'),
513
+ operation_name=operation_name,
514
+ api_reference_link=api_reference_link,
515
+ required_arguments=required_arguments)
516
+
517
+ def list_managed_my_sql_database_sql_data(self, managed_my_sql_database_id, start_time, end_time, **kwargs):
518
+ """
519
+ Retrieves the SQL performance data for a specific MySQL database.
520
+
521
+
522
+ :param str managed_my_sql_database_id: (required)
523
+ The OCID of the Managed MySQL Database.
524
+
525
+ :param str start_time: (required)
526
+ The start time of the time range to retrieve the health metrics of a Managed Database
527
+ in UTC in ISO-8601 format, which is \"yyyy-MM-dd'T'hh:mm:ss.sss'Z'\".
528
+
529
+ :param str end_time: (required)
530
+ The end time of the time range to retrieve the health metrics of a Managed Database
531
+ in UTC in ISO-8601 format, which is \"yyyy-MM-dd'T'hh:mm:ss.sss'Z'\".
532
+
533
+ :param str filter_column: (optional)
534
+ The parameter to filter results by key criteria which include :
535
+ - SUM_TIMER_WAIT
536
+ - COUNT_STAR
537
+ - SUM_ERRORS
538
+ - SUM_ROWS_AFFECTED
539
+ - SUM_ROWS_SENT
540
+ - SUM_ROWS_EXAMINED
541
+ - SUM_CREATED_TMP_TABLES
542
+ - SUM_NO_INDEX_USED
543
+ - SUM_NO_GOOD_INDEX_USED
544
+ - FIRST_SEEN
545
+ - LAST_SEEN
546
+
547
+ :param str opc_request_id: (optional)
548
+ The client request ID for tracing.
549
+
550
+ :param int limit: (optional)
551
+ The maximum number of records returned in the paginated response.
552
+
553
+ :param str page: (optional)
554
+ The page token representing the page from where the next set of paginated results
555
+ are retrieved. This is usually retrieved from a previous list call.
556
+
557
+ :param str sort_by: (optional)
558
+ The field to sort information by. Only one sortOrder can be used. The default sort order
559
+ for \u2018TIMECREATED\u2019 is descending and the default sort order for \u2018NAME\u2019 is ascending.
560
+ The \u2018NAME\u2019 sort order is case-sensitive.
561
+
562
+ Allowed values are: "TIMECREATED", "NAME"
563
+
564
+ :param str sort_order: (optional)
565
+ The option to sort information in ascending (\u2018ASC\u2019) or descending (\u2018DESC\u2019) order. Ascending order is the default order.
566
+
567
+ Allowed values are: "ASC", "DESC"
568
+
569
+ :param obj retry_strategy: (optional)
570
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
571
+
572
+ 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.
573
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
574
+
575
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
576
+
577
+ :param bool allow_control_chars: (optional)
578
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
579
+ By default, the response will not allow control characters in strings
580
+
581
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database_management.models.MySqlDataCollection`
582
+ :rtype: :class:`~oci.response.Response`
583
+
584
+ :example:
585
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/databasemanagement/list_managed_my_sql_database_sql_data.py.html>`__ to see an example of how to use list_managed_my_sql_database_sql_data API.
586
+ """
587
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
588
+ required_arguments = ['managedMySqlDatabaseId', 'startTime', 'endTime']
589
+ resource_path = "/managedMySqlDatabases/{managedMySqlDatabaseId}/sqlData"
590
+ method = "GET"
591
+ operation_name = "list_managed_my_sql_database_sql_data"
592
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedMySqlDatabase/ListManagedMySqlDatabaseSqlData"
593
+
594
+ # Don't accept unknown kwargs
595
+ expected_kwargs = [
596
+ "allow_control_chars",
597
+ "retry_strategy",
598
+ "filter_column",
599
+ "opc_request_id",
600
+ "limit",
601
+ "page",
602
+ "sort_by",
603
+ "sort_order"
604
+ ]
605
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
606
+ if extra_kwargs:
607
+ raise ValueError(
608
+ f"list_managed_my_sql_database_sql_data got unknown kwargs: {extra_kwargs!r}")
609
+
610
+ path_params = {
611
+ "managedMySqlDatabaseId": managed_my_sql_database_id
612
+ }
613
+
614
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
615
+
616
+ for (k, v) in six.iteritems(path_params):
617
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
618
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
619
+
620
+ if 'sort_by' in kwargs:
621
+ sort_by_allowed_values = ["TIMECREATED", "NAME"]
622
+ if kwargs['sort_by'] not in sort_by_allowed_values:
623
+ raise ValueError(
624
+ f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
625
+ )
626
+
627
+ if 'sort_order' in kwargs:
628
+ sort_order_allowed_values = ["ASC", "DESC"]
629
+ if kwargs['sort_order'] not in sort_order_allowed_values:
630
+ raise ValueError(
631
+ f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
632
+ )
633
+
634
+ query_params = {
635
+ "filterColumn": kwargs.get("filter_column", missing),
636
+ "limit": kwargs.get("limit", missing),
637
+ "page": kwargs.get("page", missing),
638
+ "startTime": start_time,
639
+ "endTime": end_time,
640
+ "sortBy": kwargs.get("sort_by", missing),
641
+ "sortOrder": kwargs.get("sort_order", missing)
642
+ }
643
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
644
+
645
+ header_params = {
646
+ "accept": "application/json",
647
+ "content-type": "application/json",
648
+ "opc-request-id": kwargs.get("opc_request_id", missing)
649
+ }
650
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
651
+
652
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
653
+ operation_retry_strategy=kwargs.get('retry_strategy'),
654
+ client_retry_strategy=self.retry_strategy
655
+ )
656
+ if retry_strategy is None:
657
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
658
+
659
+ if retry_strategy:
660
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
661
+ self.base_client.add_opc_client_retries_header(header_params)
662
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
663
+ return retry_strategy.make_retrying_call(
664
+ self.base_client.call_api,
665
+ resource_path=resource_path,
666
+ method=method,
667
+ path_params=path_params,
668
+ query_params=query_params,
669
+ header_params=header_params,
670
+ response_type="MySqlDataCollection",
671
+ allow_control_chars=kwargs.get('allow_control_chars'),
672
+ operation_name=operation_name,
673
+ api_reference_link=api_reference_link,
674
+ required_arguments=required_arguments)
675
+ else:
676
+ return self.base_client.call_api(
677
+ resource_path=resource_path,
678
+ method=method,
679
+ path_params=path_params,
680
+ query_params=query_params,
681
+ header_params=header_params,
682
+ response_type="MySqlDataCollection",
683
+ allow_control_chars=kwargs.get('allow_control_chars'),
684
+ operation_name=operation_name,
685
+ api_reference_link=api_reference_link,
686
+ required_arguments=required_arguments)
687
+
688
+ def list_managed_my_sql_databases(self, compartment_id, **kwargs):
689
+ """
690
+ Gets the list of Managed MySQL Databases in a specific compartment.
691
+
692
+
693
+ :param str compartment_id: (required)
694
+ The `OCID`__ of the compartment.
695
+
696
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
697
+
698
+ :param str opc_request_id: (optional)
699
+ The client request ID for tracing.
700
+
701
+ :param str page: (optional)
702
+ The page token representing the page from where the next set of paginated results
703
+ are retrieved. This is usually retrieved from a previous list call.
704
+
705
+ :param int limit: (optional)
706
+ The maximum number of records returned in the paginated response.
707
+
708
+ :param str sort_by: (optional)
709
+ The field to sort information by. Only one sortOrder can be used. The default sort order
710
+ for \u2018TIMECREATED\u2019 is descending and the default sort order for \u2018NAME\u2019 is ascending.
711
+ The \u2018NAME\u2019 sort order is case-sensitive.
712
+
713
+ Allowed values are: "TIMECREATED", "NAME"
714
+
715
+ :param str sort_order: (optional)
716
+ The option to sort information in ascending (\u2018ASC\u2019) or descending (\u2018DESC\u2019) order. Ascending order is the default order.
717
+
718
+ Allowed values are: "ASC", "DESC"
719
+
720
+ :param obj retry_strategy: (optional)
721
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
722
+
723
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
724
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
725
+
726
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
727
+
728
+ :param bool allow_control_chars: (optional)
729
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
730
+ By default, the response will not allow control characters in strings
731
+
732
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database_management.models.ManagedMySqlDatabaseCollection`
733
+ :rtype: :class:`~oci.response.Response`
734
+
735
+ :example:
736
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/databasemanagement/list_managed_my_sql_databases.py.html>`__ to see an example of how to use list_managed_my_sql_databases API.
737
+ """
738
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
739
+ required_arguments = ['compartmentId']
740
+ resource_path = "/managedMySqlDatabases"
741
+ method = "GET"
742
+ operation_name = "list_managed_my_sql_databases"
743
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedMySqlDatabaseCollection/ListManagedMySqlDatabases"
744
+
745
+ # Don't accept unknown kwargs
746
+ expected_kwargs = [
747
+ "allow_control_chars",
748
+ "retry_strategy",
749
+ "opc_request_id",
750
+ "page",
751
+ "limit",
752
+ "sort_by",
753
+ "sort_order"
754
+ ]
755
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
756
+ if extra_kwargs:
757
+ raise ValueError(
758
+ f"list_managed_my_sql_databases got unknown kwargs: {extra_kwargs!r}")
759
+
760
+ if 'sort_by' in kwargs:
761
+ sort_by_allowed_values = ["TIMECREATED", "NAME"]
762
+ if kwargs['sort_by'] not in sort_by_allowed_values:
763
+ raise ValueError(
764
+ f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
765
+ )
766
+
767
+ if 'sort_order' in kwargs:
768
+ sort_order_allowed_values = ["ASC", "DESC"]
769
+ if kwargs['sort_order'] not in sort_order_allowed_values:
770
+ raise ValueError(
771
+ f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
772
+ )
773
+
774
+ query_params = {
775
+ "compartmentId": compartment_id,
776
+ "page": kwargs.get("page", missing),
777
+ "limit": kwargs.get("limit", missing),
778
+ "sortBy": kwargs.get("sort_by", missing),
779
+ "sortOrder": kwargs.get("sort_order", missing)
780
+ }
781
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
782
+
783
+ header_params = {
784
+ "accept": "application/json",
785
+ "content-type": "application/json",
786
+ "opc-request-id": kwargs.get("opc_request_id", missing)
787
+ }
788
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
789
+
790
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
791
+ operation_retry_strategy=kwargs.get('retry_strategy'),
792
+ client_retry_strategy=self.retry_strategy
793
+ )
794
+
795
+ if retry_strategy:
796
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
797
+ self.base_client.add_opc_client_retries_header(header_params)
798
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
799
+ return retry_strategy.make_retrying_call(
800
+ self.base_client.call_api,
801
+ resource_path=resource_path,
802
+ method=method,
803
+ query_params=query_params,
804
+ header_params=header_params,
805
+ response_type="ManagedMySqlDatabaseCollection",
806
+ allow_control_chars=kwargs.get('allow_control_chars'),
807
+ operation_name=operation_name,
808
+ api_reference_link=api_reference_link,
809
+ required_arguments=required_arguments)
810
+ else:
811
+ return self.base_client.call_api(
812
+ resource_path=resource_path,
813
+ method=method,
814
+ query_params=query_params,
815
+ header_params=header_params,
816
+ response_type="ManagedMySqlDatabaseCollection",
817
+ allow_control_chars=kwargs.get('allow_control_chars'),
818
+ operation_name=operation_name,
819
+ api_reference_link=api_reference_link,
820
+ required_arguments=required_arguments)
821
+
822
+ def summarize_managed_my_sql_database_availability_metrics(self, managed_my_sql_database_id, start_time, end_time, **kwargs):
823
+ """
824
+ Gets the availability metrics for the MySQL Database specified by managedMySqlDatabaseId.
825
+
826
+
827
+ :param str managed_my_sql_database_id: (required)
828
+ The OCID of the Managed MySQL Database.
829
+
830
+ :param str start_time: (required)
831
+ The start time of the time range to retrieve the health metrics of a Managed Database
832
+ in UTC in ISO-8601 format, which is \"yyyy-MM-dd'T'hh:mm:ss.sss'Z'\".
833
+
834
+ :param str end_time: (required)
835
+ The end time of the time range to retrieve the health metrics of a Managed Database
836
+ in UTC in ISO-8601 format, which is \"yyyy-MM-dd'T'hh:mm:ss.sss'Z'\".
837
+
838
+ :param str opc_request_id: (optional)
839
+ The client request ID for tracing.
840
+
841
+ :param str page: (optional)
842
+ The page token representing the page from where the next set of paginated results
843
+ are retrieved. This is usually retrieved from a previous list call.
844
+
845
+ :param int limit: (optional)
846
+ The maximum number of records returned in the paginated response.
847
+
848
+ :param obj retry_strategy: (optional)
849
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
850
+
851
+ 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.
852
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
853
+
854
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
855
+
856
+ :param bool allow_control_chars: (optional)
857
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
858
+ By default, the response will not allow control characters in strings
859
+
860
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database_management.models.MetricsAggregationRangeCollection`
861
+ :rtype: :class:`~oci.response.Response`
862
+
863
+ :example:
864
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.115.1/databasemanagement/summarize_managed_my_sql_database_availability_metrics.py.html>`__ to see an example of how to use summarize_managed_my_sql_database_availability_metrics API.
865
+ """
866
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
867
+ required_arguments = ['managedMySqlDatabaseId', 'startTime', 'endTime']
868
+ resource_path = "/managedMySqlDatabases/{managedMySqlDatabaseId}/availabilityMetrics"
869
+ method = "GET"
870
+ operation_name = "summarize_managed_my_sql_database_availability_metrics"
871
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedMySqlDatabase/SummarizeManagedMySqlDatabaseAvailabilityMetrics"
872
+
873
+ # Don't accept unknown kwargs
874
+ expected_kwargs = [
875
+ "allow_control_chars",
876
+ "retry_strategy",
877
+ "opc_request_id",
878
+ "page",
879
+ "limit"
880
+ ]
881
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
882
+ if extra_kwargs:
883
+ raise ValueError(
884
+ f"summarize_managed_my_sql_database_availability_metrics got unknown kwargs: {extra_kwargs!r}")
885
+
886
+ path_params = {
887
+ "managedMySqlDatabaseId": managed_my_sql_database_id
888
+ }
889
+
890
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
891
+
892
+ for (k, v) in six.iteritems(path_params):
893
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
894
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
895
+
896
+ query_params = {
897
+ "page": kwargs.get("page", missing),
898
+ "limit": kwargs.get("limit", missing),
899
+ "startTime": start_time,
900
+ "endTime": end_time
901
+ }
902
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
903
+
904
+ header_params = {
905
+ "accept": "application/json",
906
+ "content-type": "application/json",
907
+ "opc-request-id": kwargs.get("opc_request_id", missing)
908
+ }
909
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
910
+
911
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
912
+ operation_retry_strategy=kwargs.get('retry_strategy'),
913
+ client_retry_strategy=self.retry_strategy
914
+ )
915
+ if retry_strategy is None:
916
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
917
+
918
+ if retry_strategy:
919
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
920
+ self.base_client.add_opc_client_retries_header(header_params)
921
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
922
+ return retry_strategy.make_retrying_call(
923
+ self.base_client.call_api,
924
+ resource_path=resource_path,
925
+ method=method,
926
+ path_params=path_params,
927
+ query_params=query_params,
928
+ header_params=header_params,
929
+ response_type="MetricsAggregationRangeCollection",
930
+ allow_control_chars=kwargs.get('allow_control_chars'),
931
+ operation_name=operation_name,
932
+ api_reference_link=api_reference_link,
933
+ required_arguments=required_arguments)
934
+ else:
935
+ return self.base_client.call_api(
936
+ resource_path=resource_path,
937
+ method=method,
938
+ path_params=path_params,
939
+ query_params=query_params,
940
+ header_params=header_params,
941
+ response_type="MetricsAggregationRangeCollection",
942
+ allow_control_chars=kwargs.get('allow_control_chars'),
943
+ operation_name=operation_name,
944
+ api_reference_link=api_reference_link,
945
+ required_arguments=required_arguments)