oci 2.154.2__py3-none-any.whl → 2.155.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 (520) hide show
  1. oci/__init__.py +2 -2
  2. oci/access_governance_cp/access_governance_cp_client.py +8 -8
  3. oci/addons/adk/agent.py +82 -32
  4. oci/addons/adk/mcp/__init__.py +11 -0
  5. oci/addons/adk/mcp/mcp_client.py +420 -0
  6. oci/addons/adk/tool/function_tool.py +7 -3
  7. oci/addons/adk/tool/tool.py +11 -1
  8. oci/addons/adk/tool/toolkit.py +11 -2
  9. oci/adm/application_dependency_management_client.py +36 -36
  10. oci/ai_anomaly_detection/anomaly_detection_client.py +72 -72
  11. oci/ai_document/ai_service_document_client.py +26 -26
  12. oci/ai_language/ai_service_language_client.py +44 -44
  13. oci/ai_speech/ai_service_speech_client.py +19 -19
  14. oci/ai_vision/ai_service_vision_client.py +28 -28
  15. oci/analytics/analytics_client.py +24 -24
  16. oci/announcements_service/announcement_client.py +5 -5
  17. oci/announcements_service/announcement_subscription_client.py +9 -9
  18. oci/announcements_service/announcements_preferences_client.py +4 -4
  19. oci/announcements_service/service_client.py +1 -1
  20. oci/apiaccesscontrol/api_metadata_client.py +6 -6
  21. oci/apiaccesscontrol/privileged_api_control_client.py +12 -12
  22. oci/apiaccesscontrol/privileged_api_requests_client.py +14 -14
  23. oci/apiaccesscontrol/privileged_api_work_request_client.py +10 -10
  24. oci/apigateway/api_gateway_client.py +21 -21
  25. oci/apigateway/deployment_client.py +6 -6
  26. oci/apigateway/gateway_client.py +6 -6
  27. oci/apigateway/subscribers_client.py +6 -6
  28. oci/apigateway/usage_plans_client.py +6 -6
  29. oci/apigateway/work_requests_client.py +5 -5
  30. oci/apm_config/config_client.py +12 -12
  31. oci/apm_control_plane/apm_domain_client.py +14 -14
  32. oci/apm_synthetics/apm_synthetic_client.py +28 -28
  33. oci/apm_traces/__init__.py +3 -1
  34. oci/apm_traces/attributes_client.py +12 -12
  35. oci/apm_traces/models/__init__.py +25 -1
  36. oci/apm_traces/models/attribute.py +101 -0
  37. oci/apm_traces/models/attribute_metadata.py +149 -0
  38. oci/apm_traces/models/attribute_response.py +2 -2
  39. oci/apm_traces/models/attribute_update_response.py +2 -2
  40. oci/apm_traces/models/auto_activate_status.py +16 -0
  41. oci/apm_traces/models/auto_activate_toggle_status.py +16 -0
  42. oci/apm_traces/models/bulk_activate_attribute_detail.py +47 -8
  43. oci/apm_traces/models/bulk_de_activate_attribute_detail.py +7 -3
  44. oci/apm_traces/models/bulk_pin_attribute_detail.py +7 -3
  45. oci/apm_traces/models/bulk_unpin_attribute_detail.py +7 -3
  46. oci/apm_traces/models/bulk_update_attribute_detail.py +9 -5
  47. oci/apm_traces/models/bulk_update_attribute_notes_detail.py +7 -3
  48. oci/apm_traces/models/create_scheduled_query_details.py +471 -0
  49. oci/apm_traces/models/custom_metric.py +295 -0
  50. oci/apm_traces/models/log.py +475 -0
  51. oci/apm_traces/models/object_storage.py +132 -0
  52. oci/apm_traces/models/scheduled_query.py +666 -0
  53. oci/apm_traces/models/scheduled_query_collection.py +70 -0
  54. oci/apm_traces/models/scheduled_query_processing_config.py +120 -0
  55. oci/apm_traces/models/scheduled_query_summary.py +573 -0
  56. oci/apm_traces/models/streaming.py +70 -0
  57. oci/apm_traces/models/tag_metadata.py +2 -2
  58. oci/apm_traces/models/update_scheduled_query_details.py +471 -0
  59. oci/apm_traces/query_client.py +8 -6
  60. oci/apm_traces/scheduled_query_client.py +755 -0
  61. oci/apm_traces/scheduled_query_client_composite_operations.py +181 -0
  62. oci/apm_traces/trace_client.py +131 -6
  63. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  64. oci/artifacts/artifacts_client.py +32 -32
  65. oci/audit/audit_client.py +3 -3
  66. oci/autoscaling/auto_scaling_client.py +11 -11
  67. oci/base_client.py +3 -0
  68. oci/bastion/bastion_client.py +15 -15
  69. oci/bds/bds_client.py +88 -88
  70. oci/blockchain/blockchain_platform_client.py +27 -27
  71. oci/budget/budget_client.py +10 -10
  72. oci/capacity_management/capacity_management_client.py +32 -32
  73. oci/capacity_management/demand_signal_client.py +13 -13
  74. oci/capacity_management/internal_demand_signal_client.py +12 -12
  75. oci/certificates/certificates_client.py +5 -5
  76. oci/certificates_management/certificates_management_client.py +32 -32
  77. oci/cims/incident_client.py +6 -6
  78. oci/cloud_bridge/common_client.py +5 -5
  79. oci/cloud_bridge/discovery_client.py +15 -15
  80. oci/cloud_bridge/inventory_client.py +16 -16
  81. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  82. oci/cloud_guard/cloud_guard_client.py +155 -155
  83. oci/cloud_migrations/migration_client.py +43 -43
  84. oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
  85. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  86. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  87. oci/compute_instance_agent/plugin_client.py +2 -2
  88. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  89. oci/container_engine/container_engine_client.py +46 -46
  90. oci/container_instances/container_instance_client.py +18 -18
  91. oci/core/blockstorage_client.py +60 -60
  92. oci/core/compute_client.py +125 -125
  93. oci/core/compute_management_client.py +32 -32
  94. oci/core/virtual_network_client.py +258 -258
  95. oci/dashboard_service/dashboard_client.py +6 -6
  96. oci/dashboard_service/dashboard_group_client.py +6 -6
  97. oci/data_catalog/data_catalog_client.py +149 -149
  98. oci/data_flow/data_flow_client.py +45 -45
  99. oci/data_integration/data_integration_client.py +163 -163
  100. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  101. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  102. oci/data_safe/data_safe_client.py +317 -317
  103. oci/data_science/data_science_client.py +145 -145
  104. oci/database/database_client.py +901 -421
  105. oci/database/database_client_composite_operations.py +123 -0
  106. oci/database/models/__init__.py +14 -0
  107. oci/database/models/autonomous_container_database.py +37 -0
  108. oci/database/models/autonomous_container_database_summary.py +37 -0
  109. oci/database/models/autonomous_database_software_image.py +37 -0
  110. oci/database/models/autonomous_database_software_image_summary.py +37 -0
  111. oci/database/models/autonomous_vm_cluster.py +37 -0
  112. oci/database/models/autonomous_vm_cluster_summary.py +37 -0
  113. oci/database/models/azure_encryption_key_details.py +80 -0
  114. oci/database/models/backup.py +7 -3
  115. oci/database/models/backup_destination.py +37 -0
  116. oci/database/models/backup_destination_configuration_summary.py +7 -3
  117. oci/database/models/backup_destination_details.py +7 -3
  118. oci/database/models/backup_destination_details_summary.py +7 -3
  119. oci/database/models/backup_destination_summary.py +37 -0
  120. oci/database/models/backup_summary.py +7 -3
  121. oci/database/models/change_cloud_autonomous_vm_cluster_subscription_details.py +105 -0
  122. oci/database/models/cloud_autonomous_vm_cluster.py +74 -2
  123. oci/database/models/cloud_autonomous_vm_cluster_summary.py +74 -2
  124. oci/database/models/cloud_vm_cluster.py +80 -2
  125. oci/database/models/cloud_vm_cluster_summary.py +80 -2
  126. oci/database/models/create_cloud_autonomous_vm_cluster_details.py +37 -2
  127. oci/database/models/create_cloud_vm_cluster_details.py +17 -17
  128. oci/database/models/create_database_base.py +1 -1
  129. oci/database/models/create_vm_cluster_details.py +2 -2
  130. oci/database/models/database.py +37 -0
  131. oci/database/models/database_software_image.py +37 -0
  132. oci/database/models/database_software_image_summary.py +37 -0
  133. oci/database/models/database_summary.py +37 -0
  134. oci/database/models/db_home.py +37 -0
  135. oci/database/models/db_home_from_agent_resource_id.py +37 -0
  136. oci/database/models/db_home_summary.py +37 -0
  137. oci/database/models/db_node.py +37 -0
  138. oci/database/models/db_node_summary.py +37 -0
  139. oci/database/models/db_server.py +37 -0
  140. oci/database/models/db_server_summary.py +37 -0
  141. oci/database/models/db_system.py +37 -0
  142. oci/database/models/db_system_summary.py +37 -0
  143. oci/database/models/encryption_key_location_details.py +15 -5
  144. oci/database/models/exadata_infrastructure.py +37 -0
  145. oci/database/models/exadata_infrastructure_summary.py +37 -0
  146. oci/database/models/execution_action.py +39 -2
  147. oci/database/models/execution_action_summary.py +39 -2
  148. oci/database/models/execution_window.py +39 -2
  149. oci/database/models/execution_window_summary.py +39 -2
  150. oci/database/models/external_container_database.py +37 -0
  151. oci/database/models/external_container_database_summary.py +37 -0
  152. oci/database/models/external_database_base.py +37 -0
  153. oci/database/models/external_database_connector.py +37 -0
  154. oci/database/models/external_database_connector_summary.py +37 -0
  155. oci/database/models/external_hsm_encryption_details.py +1 -1
  156. oci/database/models/external_macs_connector.py +7 -0
  157. oci/database/models/external_macs_connector_summary.py +7 -0
  158. oci/database/models/external_non_container_database.py +37 -0
  159. oci/database/models/external_non_container_database_summary.py +37 -0
  160. oci/database/models/external_pluggable_database.py +37 -0
  161. oci/database/models/external_pluggable_database_summary.py +37 -0
  162. oci/database/models/identity_connector_details.py +113 -0
  163. oci/database/models/key_store.py +39 -2
  164. oci/database/models/key_store_summary.py +39 -2
  165. oci/database/models/maintenance_run.py +37 -0
  166. oci/database/models/maintenance_run_history.py +39 -2
  167. oci/database/models/maintenance_run_history_summary.py +39 -2
  168. oci/database/models/maintenance_run_summary.py +37 -0
  169. oci/database/models/oneoff_patch.py +39 -2
  170. oci/database/models/oneoff_patch_summary.py +39 -2
  171. oci/database/models/pluggable_database.py +37 -0
  172. oci/database/models/pluggable_database_summary.py +37 -0
  173. oci/database/models/register_cloud_vm_cluster_pkcs_details.py +86 -0
  174. oci/database/models/resource_pool_member_collection.py +70 -0
  175. oci/database/models/resource_pool_member_summary.py +74 -0
  176. oci/database/models/scheduling_policy.py +39 -2
  177. oci/database/models/scheduling_policy_summary.py +39 -2
  178. oci/database/models/scheduling_window.py +39 -2
  179. oci/database/models/scheduling_window_summary.py +39 -2
  180. oci/database/models/unregister_cloud_vm_cluster_pkcs_details.py +86 -0
  181. oci/database/models/vm_cluster.py +37 -0
  182. oci/database/models/vm_cluster_network.py +39 -2
  183. oci/database/models/vm_cluster_network_summary.py +39 -2
  184. oci/database/models/vm_cluster_summary.py +37 -0
  185. oci/database_management/db_management_client.py +229 -229
  186. oci/database_management/diagnosability_client.py +4 -4
  187. oci/database_management/managed_my_sql_databases_client.py +15 -15
  188. oci/database_management/perfhub_client.py +1 -1
  189. oci/database_management/sql_tuning_client.py +17 -17
  190. oci/database_migration/database_migration_client.py +155 -42
  191. oci/database_migration/database_migration_client_composite_operations.py +42 -0
  192. oci/database_migration/models/__init__.py +4 -0
  193. oci/database_migration/models/collect_traces_data.py +183 -0
  194. oci/database_migration/models/collect_traces_details.py +132 -0
  195. oci/database_migration/models/job.py +27 -0
  196. oci/database_tools/database_tools_client.py +23 -23
  197. oci/dblm/db_life_cycle_management_client.py +14 -14
  198. oci/dbmulticloud/__init__.py +28 -0
  199. oci/dbmulticloud/models/__init__.py +112 -0
  200. oci/dbmulticloud/models/arc_agent_nodes.py +218 -0
  201. oci/dbmulticloud/models/change_multi_cloud_resource_discovery_compartment_details.py +191 -0
  202. oci/dbmulticloud/models/change_oracle_db_azure_blob_container_compartment_details.py +187 -0
  203. oci/dbmulticloud/models/change_oracle_db_azure_blob_mount_compartment_details.py +187 -0
  204. oci/dbmulticloud/models/change_oracle_db_azure_connector_compartment_details.py +187 -0
  205. oci/dbmulticloud/models/change_oracle_db_azure_vault_association_compartment_details.py +191 -0
  206. oci/dbmulticloud/models/change_oracle_db_azure_vault_compartment_details.py +191 -0
  207. oci/dbmulticloud/models/create_multi_cloud_resource_discovery_details.py +253 -0
  208. oci/dbmulticloud/models/create_oracle_db_azure_blob_container_details.py +307 -0
  209. oci/dbmulticloud/models/create_oracle_db_azure_blob_mount_details.py +245 -0
  210. oci/dbmulticloud/models/create_oracle_db_azure_connector_details.py +431 -0
  211. oci/dbmulticloud/models/create_oracle_db_azure_vault_association_details.py +257 -0
  212. oci/dbmulticloud/models/create_oracle_db_azure_vault_details.py +377 -0
  213. oci/dbmulticloud/models/multi_cloud_resource_discovery.py +577 -0
  214. oci/dbmulticloud/models/multi_cloud_resource_discovery_summary.py +517 -0
  215. oci/dbmulticloud/models/multi_cloud_resource_discovery_summary_collection.py +70 -0
  216. oci/dbmulticloud/models/oracle_db_azure_blob_container.py +568 -0
  217. oci/dbmulticloud/models/oracle_db_azure_blob_container_summary.py +536 -0
  218. oci/dbmulticloud/models/oracle_db_azure_blob_container_summary_collection.py +70 -0
  219. oci/dbmulticloud/models/oracle_db_azure_blob_mount.py +537 -0
  220. oci/dbmulticloud/models/oracle_db_azure_blob_mount_summary.py +505 -0
  221. oci/dbmulticloud/models/oracle_db_azure_blob_mount_summary_collection.py +70 -0
  222. oci/dbmulticloud/models/oracle_db_azure_connector.py +739 -0
  223. oci/dbmulticloud/models/oracle_db_azure_connector_summary.py +660 -0
  224. oci/dbmulticloud/models/oracle_db_azure_connector_summary_collection.py +70 -0
  225. oci/dbmulticloud/models/oracle_db_azure_key.py +518 -0
  226. oci/dbmulticloud/models/oracle_db_azure_key_summary.py +486 -0
  227. oci/dbmulticloud/models/oracle_db_azure_key_summary_collection.py +70 -0
  228. oci/dbmulticloud/models/oracle_db_azure_vault.py +642 -0
  229. oci/dbmulticloud/models/oracle_db_azure_vault_association.py +553 -0
  230. oci/dbmulticloud/models/oracle_db_azure_vault_association_summary.py +521 -0
  231. oci/dbmulticloud/models/oracle_db_azure_vault_association_summary_collection.py +70 -0
  232. oci/dbmulticloud/models/oracle_db_azure_vault_summary.py +610 -0
  233. oci/dbmulticloud/models/oracle_db_azure_vault_summary_collection.py +70 -0
  234. oci/dbmulticloud/models/patch_oracle_db_azure_connector_details.py +187 -0
  235. oci/dbmulticloud/models/resources.py +229 -0
  236. oci/dbmulticloud/models/update_multi_cloud_resource_discovery_details.py +253 -0
  237. oci/dbmulticloud/models/update_oracle_db_azure_blob_container_details.py +307 -0
  238. oci/dbmulticloud/models/update_oracle_db_azure_blob_mount_details.py +245 -0
  239. oci/dbmulticloud/models/update_oracle_db_azure_connector_details.py +431 -0
  240. oci/dbmulticloud/models/update_oracle_db_azure_vault_association_details.py +257 -0
  241. oci/dbmulticloud/models/update_oracle_db_azure_vault_details.py +377 -0
  242. oci/dbmulticloud/models/work_request.py +496 -0
  243. oci/dbmulticloud/models/work_request_error.py +134 -0
  244. oci/dbmulticloud/models/work_request_error_collection.py +70 -0
  245. oci/dbmulticloud/models/work_request_log_entry.py +101 -0
  246. oci/dbmulticloud/models/work_request_log_entry_collection.py +70 -0
  247. oci/dbmulticloud/models/work_request_resource.py +232 -0
  248. oci/dbmulticloud/models/work_request_summary.py +496 -0
  249. oci/dbmulticloud/models/work_request_summary_collection.py +70 -0
  250. oci/dbmulticloud/multi_cloud_resource_discovery_client.py +883 -0
  251. oci/dbmulticloud/multi_cloud_resource_discovery_client_composite_operations.py +202 -0
  252. oci/dbmulticloud/oracle_db_azure_blob_container_client.py +864 -0
  253. oci/dbmulticloud/oracle_db_azure_blob_container_client_composite_operations.py +196 -0
  254. oci/dbmulticloud/oracle_db_azure_blob_mount_client.py +865 -0
  255. oci/dbmulticloud/oracle_db_azure_blob_mount_client_composite_operations.py +196 -0
  256. oci/dbmulticloud/oracle_db_azure_connector_client.py +963 -0
  257. oci/dbmulticloud/oracle_db_azure_connector_client_composite_operations.py +239 -0
  258. oci/dbmulticloud/oracle_db_azure_key_client.py +419 -0
  259. oci/dbmulticloud/oracle_db_azure_key_client_composite_operations.py +26 -0
  260. oci/dbmulticloud/oracle_db_azure_vault_association_client.py +979 -0
  261. oci/dbmulticloud/oracle_db_azure_vault_association_client_composite_operations.py +235 -0
  262. oci/dbmulticloud/oracle_db_azure_vault_client.py +979 -0
  263. oci/dbmulticloud/oracle_db_azure_vault_client_composite_operations.py +235 -0
  264. oci/dbmulticloud/work_request_client.py +770 -0
  265. oci/dbmulticloud/work_request_client_composite_operations.py +26 -0
  266. oci/delegate_access_control/delegate_access_control_client.py +26 -26
  267. oci/delegate_access_control/work_request_client.py +4 -4
  268. oci/demand_signal/occ_demand_signal_client.py +7 -7
  269. oci/desktops/desktop_service_client.py +21 -21
  270. oci/devops/devops_client.py +141 -141
  271. oci/disaster_recovery/disaster_recovery_client.py +31 -31
  272. oci/distributed_database/distributed_autonomous_db_service_client.py +18 -18
  273. oci/distributed_database/distributed_db_private_endpoint_service_client.py +7 -7
  274. oci/distributed_database/distributed_db_service_client.py +19 -19
  275. oci/distributed_database/distributed_db_work_request_service_client.py +4 -4
  276. oci/dns/dns_client.py +54 -54
  277. oci/dts/appliance_export_job_client.py +6 -6
  278. oci/dts/shipping_vendors_client.py +1 -1
  279. oci/dts/transfer_appliance_client.py +8 -8
  280. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  281. oci/dts/transfer_device_client.py +5 -5
  282. oci/dts/transfer_job_client.py +6 -6
  283. oci/dts/transfer_package_client.py +7 -7
  284. oci/em_warehouse/em_warehouse_client.py +13 -13
  285. oci/email/email_client.py +31 -31
  286. oci/email_data_plane/email_dp_client.py +1 -1
  287. oci/events/events_client.py +6 -6
  288. oci/file_storage/file_storage_client.py +74 -74
  289. oci/fleet_apps_management/fleet_apps_management_admin_client.py +27 -27
  290. oci/fleet_apps_management/fleet_apps_management_catalog_client.py +7 -7
  291. oci/fleet_apps_management/fleet_apps_management_client.py +32 -32
  292. oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
  293. oci/fleet_apps_management/fleet_apps_management_operations_client.py +29 -29
  294. oci/fleet_apps_management/fleet_apps_management_provision_client.py +6 -6
  295. oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +19 -19
  296. oci/fleet_apps_management/fleet_apps_management_work_request_client.py +4 -4
  297. oci/fleet_software_update/fleet_software_update_client.py +46 -46
  298. oci/fleet_software_update/models/__init__.py +12 -0
  299. oci/fleet_software_update/models/create_fsu_cycle_details.py +11 -3
  300. oci/fleet_software_update/models/create_patch_fsu_cycle.py +1 -1
  301. oci/fleet_software_update/models/create_upgrade_fsu_cycle.py +147 -0
  302. oci/fleet_software_update/models/fsu_cycle.py +11 -3
  303. oci/fleet_software_update/models/fsu_cycle_summary.py +7 -3
  304. oci/fleet_software_update/models/patch_fsu_cycle.py +1 -1
  305. oci/fleet_software_update/models/update_fsu_cycle_details.py +11 -3
  306. oci/fleet_software_update/models/update_patch_fsu_cycle.py +1 -1
  307. oci/fleet_software_update/models/update_upgrade_fsu_cycle.py +118 -0
  308. oci/fleet_software_update/models/upgrade_db_collection_details.py +142 -0
  309. oci/fleet_software_update/models/upgrade_details.py +107 -0
  310. oci/fleet_software_update/models/upgrade_fsu_cycle.py +241 -0
  311. oci/fleet_software_update/models/upgrade_gi_collection_details.py +111 -0
  312. oci/functions/functions_invoke_client.py +1 -1
  313. oci/functions/functions_management_client.py +16 -16
  314. oci/fusion_apps/fusion_applications_client.py +41 -41
  315. oci/generative_ai/generative_ai_client.py +22 -22
  316. oci/generative_ai_agent/generative_ai_agent_client.py +38 -38
  317. oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +6 -6
  318. oci/generative_ai_inference/generative_ai_inference_client.py +6 -6
  319. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  320. oci/globally_distributed_database/sharded_database_service_client.py +30 -30
  321. oci/golden_gate/golden_gate_client.py +89 -89
  322. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  323. oci/governance_rules_control_plane/work_request_client.py +5 -5
  324. oci/healthchecks/health_checks_client.py +17 -17
  325. oci/identity/identity_client.py +145 -145
  326. oci/identity_data_plane/dataplane_client.py +2 -2
  327. oci/identity_domains/identity_domains_client.py +311 -311
  328. oci/integration/integration_instance_client.py +19 -19
  329. oci/jms/java_management_service_client.py +79 -79
  330. oci/jms_java_downloads/java_download_client.py +25 -25
  331. oci/key_management/ekm_client.py +5 -5
  332. oci/key_management/kms_crypto_client.py +6 -6
  333. oci/key_management/kms_hsm_cluster_client.py +12 -12
  334. oci/key_management/kms_management_client.py +21 -21
  335. oci/key_management/kms_vault_client.py +14 -14
  336. oci/license_manager/license_manager_client.py +18 -18
  337. oci/limits/limits_client.py +4 -4
  338. oci/limits/quotas_client.py +7 -7
  339. oci/load_balancer/load_balancer_client.py +61 -61
  340. oci/load_balancer/models/backend.py +4 -4
  341. oci/load_balancer/models/backend_details.py +10 -4
  342. oci/load_balancer/models/backend_set.py +6 -4
  343. oci/load_balancer/models/backend_set_details.py +12 -4
  344. oci/load_balancer/models/create_backend_details.py +10 -4
  345. oci/load_balancer/models/create_backend_set_details.py +12 -4
  346. oci/load_balancer/models/create_listener_details.py +6 -4
  347. oci/load_balancer/models/create_load_balancer_details.py +39 -0
  348. oci/load_balancer/models/listener.py +6 -4
  349. oci/load_balancer/models/listener_details.py +6 -4
  350. oci/load_balancer/models/load_balancer.py +61 -2
  351. oci/load_balancer/models/reserved_ip.py +4 -0
  352. oci/load_balancer/models/update_backend_details.py +10 -4
  353. oci/load_balancer/models/update_backend_set_details.py +12 -4
  354. oci/load_balancer/models/update_listener_details.py +6 -4
  355. oci/load_balancer/models/update_load_balancer_details.py +59 -0
  356. oci/lockbox/lockbox_client.py +24 -24
  357. oci/log_analytics/log_analytics_client.py +200 -200
  358. oci/logging/logging_management_client.py +30 -30
  359. oci/loggingingestion/logging_client.py +1 -1
  360. oci/loggingsearch/log_search_client.py +1 -1
  361. oci/lustre_file_storage/lustre_file_storage_client.py +11 -11
  362. oci/management_agent/management_agent_client.py +28 -28
  363. oci/management_dashboard/dashx_apis_client.py +18 -18
  364. oci/marketplace/account_client.py +2 -2
  365. oci/marketplace/marketplace_client.py +30 -30
  366. oci/marketplace_private_offer/attachment_client.py +5 -5
  367. oci/marketplace_private_offer/offer_client.py +6 -6
  368. oci/marketplace_publisher/attachment_client.py +5 -5
  369. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  370. oci/marketplace_publisher/offer_client.py +6 -6
  371. oci/media_services/media_services_client.py +60 -60
  372. oci/media_services/media_stream_client.py +2 -2
  373. oci/mngdmac/mac_device_client.py +3 -3
  374. oci/mngdmac/mac_order_client.py +11 -11
  375. oci/model_deployment/model_deployment_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 +8 -8
  379. oci/mysql/db_system_client.py +17 -17
  380. oci/mysql/models/__init__.py +2 -0
  381. oci/mysql/models/backup.py +29 -2
  382. oci/mysql/models/backup_summary.py +29 -2
  383. oci/mysql/models/copy_backup_details.py +29 -2
  384. oci/mysql/models/create_db_system_details.py +27 -0
  385. oci/mysql/models/db_system.py +27 -0
  386. oci/mysql/models/db_system_snapshot.py +27 -0
  387. oci/mysql/models/encrypt_data_details.py +117 -0
  388. oci/mysql/models/replica.py +27 -0
  389. oci/mysql/models/update_db_system_details.py +27 -0
  390. oci/mysql/mysqlaas_client.py +7 -7
  391. oci/mysql/replicas_client.py +5 -5
  392. oci/mysql/work_requests_client.py +4 -4
  393. oci/network_firewall/network_firewall_client.py +92 -92
  394. oci/network_load_balancer/network_load_balancer_client.py +35 -35
  395. oci/nosql/models/__init__.py +14 -0
  396. oci/nosql/models/configuration.py +109 -0
  397. oci/nosql/models/hosted_configuration.py +78 -0
  398. oci/nosql/models/kms_key.py +244 -0
  399. oci/nosql/models/multi_tenancy_configuration.py +49 -0
  400. oci/nosql/models/update_configuration_details.py +109 -0
  401. oci/nosql/models/update_hosted_configuration_details.py +78 -0
  402. oci/nosql/models/update_multi_tenancy_configuration_details.py +52 -0
  403. oci/nosql/models/work_request.py +7 -3
  404. oci/nosql/models/work_request_summary.py +7 -3
  405. oci/nosql/nosql_client.py +340 -25
  406. oci/nosql/nosql_client_composite_operations.py +81 -0
  407. oci/object_storage/object_storage_client.py +55 -55
  408. oci/oce/oce_instance_client.py +10 -10
  409. oci/oci_control_center/occ_metrics_client.py +3 -3
  410. oci/ocvp/cluster_client.py +5 -5
  411. oci/ocvp/esxi_host_client.py +8 -8
  412. oci/ocvp/sddc_client.py +14 -14
  413. oci/ocvp/work_request_client.py +4 -4
  414. oci/oda/management_client.py +59 -59
  415. oci/oda/oda_client.py +17 -17
  416. oci/oda/odapackage_client.py +7 -7
  417. oci/onesubscription/billing_schedule_client.py +1 -1
  418. oci/onesubscription/commitment_client.py +2 -2
  419. oci/onesubscription/computed_usage_client.py +3 -3
  420. oci/onesubscription/invoice_summary_client.py +2 -2
  421. oci/onesubscription/organization_subscription_client.py +1 -1
  422. oci/onesubscription/ratecard_client.py +1 -1
  423. oci/onesubscription/subscribed_service_client.py +2 -2
  424. oci/onesubscription/subscription_client.py +1 -1
  425. oci/ons/notification_control_plane_client.py +6 -6
  426. oci/ons/notification_data_plane_client.py +10 -10
  427. oci/opa/opa_instance_client.py +13 -13
  428. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  429. oci/opensearch/opensearch_cluster_client.py +17 -17
  430. oci/opensearch/opensearch_cluster_pipeline_client.py +5 -5
  431. oci/operator_access_control/access_requests_client.py +10 -10
  432. oci/operator_access_control/operator_actions_client.py +2 -2
  433. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  434. oci/operator_access_control/operator_control_client.py +6 -6
  435. oci/opsi/operations_insights_client.py +181 -181
  436. oci/optimizer/optimizer_client.py +26 -26
  437. oci/os_management/event_client.py +8 -8
  438. oci/os_management/os_management_client.py +69 -69
  439. oci/os_management_hub/event_client.py +8 -8
  440. oci/os_management_hub/lifecycle_environment_client.py +13 -13
  441. oci/os_management_hub/managed_instance_client.py +33 -33
  442. oci/os_management_hub/managed_instance_group_client.py +26 -26
  443. oci/os_management_hub/management_station_client.py +10 -10
  444. oci/os_management_hub/onboarding_client.py +13 -13
  445. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  446. oci/os_management_hub/scheduled_job_client.py +7 -7
  447. oci/os_management_hub/software_source_client.py +33 -33
  448. oci/os_management_hub/work_request_client.py +5 -5
  449. oci/osp_gateway/address_rule_service_client.py +1 -1
  450. oci/osp_gateway/address_service_client.py +2 -2
  451. oci/osp_gateway/invoice_service_client.py +5 -5
  452. oci/osp_gateway/subscription_service_client.py +5 -5
  453. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  454. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  455. oci/osub_subscription/commitment_client.py +2 -2
  456. oci/osub_subscription/ratecard_client.py +1 -1
  457. oci/osub_subscription/subscription_client.py +1 -1
  458. oci/osub_usage/computed_usage_client.py +3 -3
  459. oci/psql/postgresql_client.py +34 -34
  460. oci/queue/queue_admin_client.py +11 -11
  461. oci/queue/queue_client.py +8 -8
  462. oci/recovery/database_recovery_client.py +26 -26
  463. oci/redis/oci_cache_user_client.py +7 -7
  464. oci/redis/redis_cluster_client.py +15 -15
  465. oci/redis/redis_identity_client.py +1 -1
  466. oci/resource_manager/resource_manager_client.py +52 -52
  467. oci/resource_scheduler/schedule_client.py +14 -14
  468. oci/resource_search/resource_search_client.py +3 -3
  469. oci/rover/rover_bundle_client.py +8 -8
  470. oci/rover/rover_cluster_client.py +8 -8
  471. oci/rover/rover_entitlement_client.py +6 -6
  472. oci/rover/rover_node_client.py +15 -15
  473. oci/rover/shape_client.py +1 -1
  474. oci/rover/work_requests_client.py +5 -5
  475. oci/sch/connector_plugins_client.py +2 -2
  476. oci/sch/service_connector_client.py +12 -12
  477. oci/secrets/secrets_client.py +3 -3
  478. oci/security_attribute/security_attribute_client.py +18 -18
  479. oci/service_catalog/service_catalog_client.py +26 -26
  480. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  481. oci/service_mesh/service_mesh_client.py +96 -96
  482. oci/stack_monitoring/stack_monitoring_client.py +87 -87
  483. oci/streaming/stream_admin_client.py +18 -18
  484. oci/streaming/stream_client.py +8 -8
  485. oci/tenant_manager_control_plane/domain_client.py +5 -5
  486. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  487. oci/tenant_manager_control_plane/governance_client.py +2 -2
  488. oci/tenant_manager_control_plane/link_client.py +3 -3
  489. oci/tenant_manager_control_plane/orders_client.py +2 -2
  490. oci/tenant_manager_control_plane/organization_client.py +10 -10
  491. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  492. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  493. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  494. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  495. oci/threat_intelligence/threatintel_client.py +5 -5
  496. oci/usage/resources_client.py +2 -2
  497. oci/usage/rewards_client.py +6 -6
  498. oci/usage/usagelimits_client.py +1 -1
  499. oci/usage_api/usageapi_client.py +33 -33
  500. oci/vault/vaults_client.py +13 -13
  501. oci/vbs_inst/vbs_instance_client.py +10 -10
  502. oci/version.py +1 -1
  503. oci/visual_builder/vb_instance_client.py +14 -14
  504. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  505. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  506. oci/waa/waa_client.py +13 -13
  507. oci/waa/work_request_client.py +4 -4
  508. oci/waas/redirect_client.py +6 -6
  509. oci/waas/waas_client.py +66 -66
  510. oci/waf/waf_client.py +24 -24
  511. oci/wlms/weblogic_management_service_client.py +41 -41
  512. oci/wlms/weblogic_management_service_configuration_client.py +2 -2
  513. oci/work_requests/work_request_client.py +4 -4
  514. oci/zpr/zpr_client.py +15 -15
  515. {oci-2.154.2.dist-info → oci-2.155.0.dist-info}/METADATA +1 -1
  516. {oci-2.154.2.dist-info → oci-2.155.0.dist-info}/RECORD +520 -413
  517. {oci-2.154.2.dist-info → oci-2.155.0.dist-info}/LICENSE.txt +0 -0
  518. {oci-2.154.2.dist-info → oci-2.155.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  519. {oci-2.154.2.dist-info → oci-2.155.0.dist-info}/WHEEL +0 -0
  520. {oci-2.154.2.dist-info → oci-2.155.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,979 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2025, 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: 20240501
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 dbmulticloud_type_mapping
20
+ missing = Sentinel("Missing")
21
+
22
+
23
+ class OracleDbAzureVaultAssociationClient(object):
24
+ """
25
+ 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster.
26
+ There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster.
27
+ a. Using Bearer Access Token or
28
+ b. By providing Authentication token
29
+
30
+ 2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details
31
+ and same will be used in multiple ExaCS VMCluster to mount the Azure Container.
32
+
33
+ 3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster
34
+ using Oracle Azure Connector and Oracle Azure Blob Container Resource.
35
+ """
36
+
37
+ def __init__(self, config, **kwargs):
38
+ """
39
+ Creates a new service client
40
+
41
+ :param dict config:
42
+ Configuration keys and values as per `SDK and Tool Configuration <https://docs.cloud.oracle.com/Content/API/Concepts/sdkconfig.htm>`__.
43
+ 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
44
+ the dict using :py:meth:`~oci.config.validate_config`
45
+
46
+ :param str service_endpoint: (optional)
47
+ The endpoint of the service to call using this client. For example ``https://iaas.us-ashburn-1.oraclecloud.com``. If this keyword argument is
48
+ 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
49
+ need to specify a service endpoint.
50
+
51
+ :param timeout: (optional)
52
+ 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
53
+ 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
54
+ a tuple is provided then the first value is used as the connection timeout and the second value as the read timeout.
55
+ :type timeout: float or tuple(float, float)
56
+
57
+ :param signer: (optional)
58
+ 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
59
+ provided in the config parameter.
60
+
61
+ One use case for this parameter is for `Instance Principals authentication <https://docs.cloud.oracle.com/Content/Identity/Tasks/callingservicesfrominstances.htm>`__
62
+ by passing an instance of :py:class:`~oci.auth.signers.InstancePrincipalsSecurityTokenSigner` as the value for this keyword argument
63
+ :type signer: :py:class:`~oci.signer.AbstractBaseSigner`
64
+
65
+ :param obj retry_strategy: (optional)
66
+ 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.
67
+ Retry strategies can also be applied at the operation level by passing a ``retry_strategy`` keyword argument as part of calling the operation.
68
+ Any value provided at the operation level will override whatever is specified at the client level.
69
+
70
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
71
+ 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>`__.
72
+
73
+ :param obj circuit_breaker_strategy: (optional)
74
+ A circuit breaker strategy to apply to all calls made by this service client (i.e. at the client level).
75
+ This client uses :py:data:`~oci.circuit_breaker.DEFAULT_CIRCUIT_BREAKER_STRATEGY` as default if no circuit breaker strategy is provided.
76
+ The specifics of circuit breaker strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/circuit_breakers.html>`__.
77
+
78
+ :param function circuit_breaker_callback: (optional)
79
+ Callback function to receive any exceptions triggerred by the circuit breaker.
80
+
81
+ :param bool client_level_realm_specific_endpoint_template_enabled: (optional)
82
+ 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.
83
+
84
+ :param allow_control_chars: (optional)
85
+ 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
86
+ allow control characters to be in the response object.
87
+ """
88
+ if not OCI_SDK_ENABLED_SERVICES_SET.is_service_enabled("dbmulticloud"):
89
+ 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")
90
+
91
+ validate_config(config, signer=kwargs.get('signer'))
92
+ if 'signer' in kwargs:
93
+ signer = kwargs['signer']
94
+
95
+ elif AUTHENTICATION_TYPE_FIELD_NAME in config:
96
+ signer = get_signer_from_authentication_type(config)
97
+
98
+ else:
99
+ signer = Signer(
100
+ tenancy=config["tenancy"],
101
+ user=config["user"],
102
+ fingerprint=config["fingerprint"],
103
+ private_key_file_location=config.get("key_file"),
104
+ pass_phrase=get_config_value_or_default(config, "pass_phrase"),
105
+ private_key_content=config.get("key_content")
106
+ )
107
+
108
+ base_client_init_kwargs = {
109
+ 'regional_client': True,
110
+ 'service_endpoint': kwargs.get('service_endpoint'),
111
+ 'base_path': '/20240501',
112
+ 'service_endpoint_template': 'https://dbmulticloud.{region}.oci.{secondLevelDomain}',
113
+ 'service_endpoint_template_per_realm': { }, # noqa: E201 E202
114
+ 'skip_deserialization': kwargs.get('skip_deserialization', False),
115
+ 'circuit_breaker_strategy': kwargs.get('circuit_breaker_strategy', circuit_breaker.GLOBAL_CIRCUIT_BREAKER_STRATEGY),
116
+ 'client_level_realm_specific_endpoint_template_enabled': kwargs.get('client_level_realm_specific_endpoint_template_enabled')
117
+ }
118
+ if 'timeout' in kwargs:
119
+ base_client_init_kwargs['timeout'] = kwargs.get('timeout')
120
+ if base_client_init_kwargs.get('circuit_breaker_strategy') is None:
121
+ base_client_init_kwargs['circuit_breaker_strategy'] = circuit_breaker.DEFAULT_CIRCUIT_BREAKER_STRATEGY
122
+ if 'allow_control_chars' in kwargs:
123
+ base_client_init_kwargs['allow_control_chars'] = kwargs.get('allow_control_chars')
124
+ self.base_client = BaseClient("oracle_db_azure_vault_association", config, signer, dbmulticloud_type_mapping, **base_client_init_kwargs)
125
+ self.retry_strategy = kwargs.get('retry_strategy')
126
+ self.circuit_breaker_callback = kwargs.get('circuit_breaker_callback')
127
+
128
+ def cascading_delete_oracle_db_azure_vault_association(self, oracle_db_azure_vault_association_id, **kwargs):
129
+ """
130
+ Delete Oracle DB Azure Vault Association details.
131
+
132
+
133
+ :param str oracle_db_azure_vault_association_id: (required)
134
+ The ID of the Oracle DB Azure Vault Association Resource.
135
+
136
+ :param str opc_retry_token: (optional)
137
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
138
+ server error without risk of executing that same action again. Retry tokens expire after 24
139
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
140
+ has been deleted and purged from the system, then a retry of the original creation request
141
+ might be rejected.
142
+
143
+ :param str if_match: (optional)
144
+ For optimistic concurrency control. In the PUT or DELETE call
145
+ for a resource, set the `if-match` parameter to the value of the
146
+ etag from a previous GET or POST response for that resource.
147
+ The resource will be updated or deleted only if the etag you
148
+ provide matches the resource's current etag value.
149
+
150
+ :param str opc_request_id: (optional)
151
+ The client request ID for tracing.
152
+
153
+ :param obj retry_strategy: (optional)
154
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
155
+
156
+ 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.
157
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
158
+
159
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
160
+
161
+ :param bool allow_control_chars: (optional)
162
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
163
+ By default, the response will not allow control characters in strings
164
+
165
+ :return: A :class:`~oci.response.Response` object with data of type None
166
+ :rtype: :class:`~oci.response.Response`
167
+
168
+ :example:
169
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/dbmulticloud/cascading_delete_oracle_db_azure_vault_association.py.html>`__ to see an example of how to use cascading_delete_oracle_db_azure_vault_association API.
170
+ """
171
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
172
+ required_arguments = ['oracleDbAzureVaultAssociationId']
173
+ resource_path = "/oracleDbAzureVaultAssociation/{oracleDbAzureVaultAssociationId}/actions/cascadingDelete"
174
+ method = "POST"
175
+ operation_name = "cascading_delete_oracle_db_azure_vault_association"
176
+ api_reference_link = ""
177
+
178
+ # Don't accept unknown kwargs
179
+ expected_kwargs = [
180
+ "allow_control_chars",
181
+ "retry_strategy",
182
+ "opc_retry_token",
183
+ "if_match",
184
+ "opc_request_id"
185
+ ]
186
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
187
+ if extra_kwargs:
188
+ raise ValueError(
189
+ f"cascading_delete_oracle_db_azure_vault_association got unknown kwargs: {extra_kwargs!r}")
190
+
191
+ path_params = {
192
+ "oracleDbAzureVaultAssociationId": oracle_db_azure_vault_association_id
193
+ }
194
+
195
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
196
+
197
+ for (k, v) in six.iteritems(path_params):
198
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
199
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
200
+
201
+ header_params = {
202
+ "accept": "application/json",
203
+ "content-type": "application/json",
204
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
205
+ "if-match": kwargs.get("if_match", missing),
206
+ "opc-request-id": kwargs.get("opc_request_id", missing)
207
+ }
208
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
209
+
210
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
211
+ operation_retry_strategy=kwargs.get('retry_strategy'),
212
+ client_retry_strategy=self.retry_strategy
213
+ )
214
+ if retry_strategy is None:
215
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
216
+
217
+ if retry_strategy:
218
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
219
+ self.base_client.add_opc_retry_token_if_needed(header_params)
220
+ self.base_client.add_opc_client_retries_header(header_params)
221
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
222
+ return retry_strategy.make_retrying_call(
223
+ self.base_client.call_api,
224
+ resource_path=resource_path,
225
+ method=method,
226
+ path_params=path_params,
227
+ header_params=header_params,
228
+ allow_control_chars=kwargs.get('allow_control_chars'),
229
+ operation_name=operation_name,
230
+ api_reference_link=api_reference_link,
231
+ required_arguments=required_arguments)
232
+ else:
233
+ return self.base_client.call_api(
234
+ resource_path=resource_path,
235
+ method=method,
236
+ path_params=path_params,
237
+ header_params=header_params,
238
+ allow_control_chars=kwargs.get('allow_control_chars'),
239
+ operation_name=operation_name,
240
+ api_reference_link=api_reference_link,
241
+ required_arguments=required_arguments)
242
+
243
+ def change_oracle_db_azure_vault_association_compartment(self, oracle_db_azure_vault_association_id, change_oracle_db_azure_vault_association_compartment_details, **kwargs):
244
+ """
245
+ Moves the Oracle DB Azure Vault Association resource into a different compartment. When provided, 'If-Match' is checked against 'ETag' values of the resource.
246
+
247
+
248
+ :param str oracle_db_azure_vault_association_id: (required)
249
+ The ID of the Oracle DB Azure Vault Association Resource.
250
+
251
+ :param oci.dbmulticloud.models.ChangeOracleDbAzureVaultAssociationCompartmentDetails change_oracle_db_azure_vault_association_compartment_details: (required)
252
+ Moves the Oracle DB Azure Vault Association resource into a different compartment.
253
+
254
+ :param str opc_retry_token: (optional)
255
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
256
+ server error without risk of executing that same action again. Retry tokens expire after 24
257
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
258
+ has been deleted and purged from the system, then a retry of the original creation request
259
+ might be rejected.
260
+
261
+ :param str if_match: (optional)
262
+ For optimistic concurrency control. In the PUT or DELETE call
263
+ for a resource, set the `if-match` parameter to the value of the
264
+ etag from a previous GET or POST response for that resource.
265
+ The resource will be updated or deleted only if the etag you
266
+ provide matches the resource's current etag value.
267
+
268
+ :param str opc_request_id: (optional)
269
+ The client request ID for tracing.
270
+
271
+ :param obj retry_strategy: (optional)
272
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
273
+
274
+ 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.
275
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
276
+
277
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
278
+
279
+ :param bool allow_control_chars: (optional)
280
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
281
+ By default, the response will not allow control characters in strings
282
+
283
+ :return: A :class:`~oci.response.Response` object with data of type None
284
+ :rtype: :class:`~oci.response.Response`
285
+
286
+ :example:
287
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/dbmulticloud/change_oracle_db_azure_vault_association_compartment.py.html>`__ to see an example of how to use change_oracle_db_azure_vault_association_compartment API.
288
+ """
289
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
290
+ required_arguments = ['oracleDbAzureVaultAssociationId']
291
+ resource_path = "/oracleDbAzureVaultAssociation/{oracleDbAzureVaultAssociationId}/actions/changeCompartment"
292
+ method = "POST"
293
+ operation_name = "change_oracle_db_azure_vault_association_compartment"
294
+ api_reference_link = ""
295
+
296
+ # Don't accept unknown kwargs
297
+ expected_kwargs = [
298
+ "allow_control_chars",
299
+ "retry_strategy",
300
+ "opc_retry_token",
301
+ "if_match",
302
+ "opc_request_id"
303
+ ]
304
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
305
+ if extra_kwargs:
306
+ raise ValueError(
307
+ f"change_oracle_db_azure_vault_association_compartment got unknown kwargs: {extra_kwargs!r}")
308
+
309
+ path_params = {
310
+ "oracleDbAzureVaultAssociationId": oracle_db_azure_vault_association_id
311
+ }
312
+
313
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
314
+
315
+ for (k, v) in six.iteritems(path_params):
316
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
317
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
318
+
319
+ header_params = {
320
+ "accept": "application/json",
321
+ "content-type": "application/json",
322
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
323
+ "if-match": kwargs.get("if_match", missing),
324
+ "opc-request-id": kwargs.get("opc_request_id", missing)
325
+ }
326
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
327
+
328
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
329
+ operation_retry_strategy=kwargs.get('retry_strategy'),
330
+ client_retry_strategy=self.retry_strategy
331
+ )
332
+ if retry_strategy is None:
333
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
334
+
335
+ if retry_strategy:
336
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
337
+ self.base_client.add_opc_retry_token_if_needed(header_params)
338
+ self.base_client.add_opc_client_retries_header(header_params)
339
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
340
+ return retry_strategy.make_retrying_call(
341
+ self.base_client.call_api,
342
+ resource_path=resource_path,
343
+ method=method,
344
+ path_params=path_params,
345
+ header_params=header_params,
346
+ body=change_oracle_db_azure_vault_association_compartment_details,
347
+ allow_control_chars=kwargs.get('allow_control_chars'),
348
+ operation_name=operation_name,
349
+ api_reference_link=api_reference_link,
350
+ required_arguments=required_arguments)
351
+ else:
352
+ return self.base_client.call_api(
353
+ resource_path=resource_path,
354
+ method=method,
355
+ path_params=path_params,
356
+ header_params=header_params,
357
+ body=change_oracle_db_azure_vault_association_compartment_details,
358
+ allow_control_chars=kwargs.get('allow_control_chars'),
359
+ operation_name=operation_name,
360
+ api_reference_link=api_reference_link,
361
+ required_arguments=required_arguments)
362
+
363
+ def create_oracle_db_azure_vault_association(self, create_oracle_db_azure_vault_association_details, **kwargs):
364
+ """
365
+ Create Oracle DB Azure Vault Association based on the provided information.
366
+
367
+
368
+ :param oci.dbmulticloud.models.CreateOracleDbAzureVaultAssociationDetails create_oracle_db_azure_vault_association_details: (required)
369
+ Details for to Create Oracle DB Azure Vault Association Details.
370
+
371
+ :param str opc_retry_token: (optional)
372
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
373
+ server error without risk of executing that same action again. Retry tokens expire after 24
374
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
375
+ has been deleted and purged from the system, then a retry of the original creation request
376
+ might be rejected.
377
+
378
+ :param str if_match: (optional)
379
+ For optimistic concurrency control. In the PUT or DELETE call
380
+ for a resource, set the `if-match` parameter to the value of the
381
+ etag from a previous GET or POST response for that resource.
382
+ The resource will be updated or deleted only if the etag you
383
+ provide matches the resource's current etag value.
384
+
385
+ :param str opc_request_id: (optional)
386
+ The client request ID for tracing.
387
+
388
+ :param obj retry_strategy: (optional)
389
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
390
+
391
+ 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.
392
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
393
+
394
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
395
+
396
+ :param bool allow_control_chars: (optional)
397
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
398
+ By default, the response will not allow control characters in strings
399
+
400
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dbmulticloud.models.OracleDbAzureVaultAssociation`
401
+ :rtype: :class:`~oci.response.Response`
402
+
403
+ :example:
404
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/dbmulticloud/create_oracle_db_azure_vault_association.py.html>`__ to see an example of how to use create_oracle_db_azure_vault_association API.
405
+ """
406
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
407
+ required_arguments = []
408
+ resource_path = "/oracleDbAzureVaultAssociation"
409
+ method = "POST"
410
+ operation_name = "create_oracle_db_azure_vault_association"
411
+ api_reference_link = ""
412
+
413
+ # Don't accept unknown kwargs
414
+ expected_kwargs = [
415
+ "allow_control_chars",
416
+ "retry_strategy",
417
+ "opc_retry_token",
418
+ "if_match",
419
+ "opc_request_id"
420
+ ]
421
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
422
+ if extra_kwargs:
423
+ raise ValueError(
424
+ f"create_oracle_db_azure_vault_association got unknown kwargs: {extra_kwargs!r}")
425
+
426
+ header_params = {
427
+ "accept": "application/json",
428
+ "content-type": "application/json",
429
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
430
+ "if-match": kwargs.get("if_match", missing),
431
+ "opc-request-id": kwargs.get("opc_request_id", missing)
432
+ }
433
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
434
+
435
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
436
+ operation_retry_strategy=kwargs.get('retry_strategy'),
437
+ client_retry_strategy=self.retry_strategy
438
+ )
439
+ if retry_strategy is None:
440
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
441
+
442
+ if retry_strategy:
443
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
444
+ self.base_client.add_opc_retry_token_if_needed(header_params)
445
+ self.base_client.add_opc_client_retries_header(header_params)
446
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
447
+ return retry_strategy.make_retrying_call(
448
+ self.base_client.call_api,
449
+ resource_path=resource_path,
450
+ method=method,
451
+ header_params=header_params,
452
+ body=create_oracle_db_azure_vault_association_details,
453
+ response_type="OracleDbAzureVaultAssociation",
454
+ allow_control_chars=kwargs.get('allow_control_chars'),
455
+ operation_name=operation_name,
456
+ api_reference_link=api_reference_link,
457
+ required_arguments=required_arguments)
458
+ else:
459
+ return self.base_client.call_api(
460
+ resource_path=resource_path,
461
+ method=method,
462
+ header_params=header_params,
463
+ body=create_oracle_db_azure_vault_association_details,
464
+ response_type="OracleDbAzureVaultAssociation",
465
+ allow_control_chars=kwargs.get('allow_control_chars'),
466
+ operation_name=operation_name,
467
+ api_reference_link=api_reference_link,
468
+ required_arguments=required_arguments)
469
+
470
+ def delete_oracle_db_azure_vault_association(self, oracle_db_azure_vault_association_id, **kwargs):
471
+ """
472
+ Delete Oracle DB Azure Vault Association details.
473
+
474
+
475
+ :param str oracle_db_azure_vault_association_id: (required)
476
+ The ID of the Oracle DB Azure Vault Association Resource.
477
+
478
+ :param str if_match: (optional)
479
+ For optimistic concurrency control. In the PUT or DELETE call
480
+ for a resource, set the `if-match` parameter to the value of the
481
+ etag from a previous GET or POST response for that resource.
482
+ The resource will be updated or deleted only if the etag you
483
+ provide matches the resource's current etag value.
484
+
485
+ :param str opc_request_id: (optional)
486
+ The client request ID for tracing.
487
+
488
+ :param obj retry_strategy: (optional)
489
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
490
+
491
+ 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.
492
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
493
+
494
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
495
+
496
+ :param bool allow_control_chars: (optional)
497
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
498
+ By default, the response will not allow control characters in strings
499
+
500
+ :return: A :class:`~oci.response.Response` object with data of type None
501
+ :rtype: :class:`~oci.response.Response`
502
+
503
+ :example:
504
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/dbmulticloud/delete_oracle_db_azure_vault_association.py.html>`__ to see an example of how to use delete_oracle_db_azure_vault_association API.
505
+ """
506
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
507
+ required_arguments = ['oracleDbAzureVaultAssociationId']
508
+ resource_path = "/oracleDbAzureVaultAssociation/{oracleDbAzureVaultAssociationId}"
509
+ method = "DELETE"
510
+ operation_name = "delete_oracle_db_azure_vault_association"
511
+ api_reference_link = ""
512
+
513
+ # Don't accept unknown kwargs
514
+ expected_kwargs = [
515
+ "allow_control_chars",
516
+ "retry_strategy",
517
+ "if_match",
518
+ "opc_request_id"
519
+ ]
520
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
521
+ if extra_kwargs:
522
+ raise ValueError(
523
+ f"delete_oracle_db_azure_vault_association got unknown kwargs: {extra_kwargs!r}")
524
+
525
+ path_params = {
526
+ "oracleDbAzureVaultAssociationId": oracle_db_azure_vault_association_id
527
+ }
528
+
529
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
530
+
531
+ for (k, v) in six.iteritems(path_params):
532
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
533
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
534
+
535
+ header_params = {
536
+ "accept": "application/json",
537
+ "content-type": "application/json",
538
+ "if-match": kwargs.get("if_match", missing),
539
+ "opc-request-id": kwargs.get("opc_request_id", missing)
540
+ }
541
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
542
+
543
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
544
+ operation_retry_strategy=kwargs.get('retry_strategy'),
545
+ client_retry_strategy=self.retry_strategy
546
+ )
547
+ if retry_strategy is None:
548
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
549
+
550
+ if retry_strategy:
551
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
552
+ self.base_client.add_opc_client_retries_header(header_params)
553
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
554
+ return retry_strategy.make_retrying_call(
555
+ self.base_client.call_api,
556
+ resource_path=resource_path,
557
+ method=method,
558
+ path_params=path_params,
559
+ header_params=header_params,
560
+ allow_control_chars=kwargs.get('allow_control_chars'),
561
+ operation_name=operation_name,
562
+ api_reference_link=api_reference_link,
563
+ required_arguments=required_arguments)
564
+ else:
565
+ return self.base_client.call_api(
566
+ resource_path=resource_path,
567
+ method=method,
568
+ path_params=path_params,
569
+ header_params=header_params,
570
+ allow_control_chars=kwargs.get('allow_control_chars'),
571
+ operation_name=operation_name,
572
+ api_reference_link=api_reference_link,
573
+ required_arguments=required_arguments)
574
+
575
+ def get_oracle_db_azure_vault_association(self, oracle_db_azure_vault_association_id, **kwargs):
576
+ """
577
+ Get Oracle DB Azure Vault Details Association form a particular Container Resource ID.
578
+
579
+
580
+ :param str oracle_db_azure_vault_association_id: (required)
581
+ The ID of the Oracle DB Azure Vault Association Resource.
582
+
583
+ :param int limit: (optional)
584
+ The maximum number of items to return.
585
+
586
+ :param str page: (optional)
587
+ The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
588
+
589
+ :param str sort_order: (optional)
590
+ The sort order to use, either 'asc' or 'desc'.
591
+
592
+ Allowed values are: "ASC", "DESC"
593
+
594
+ :param str opc_request_id: (optional)
595
+ The client request ID for tracing.
596
+
597
+ :param obj retry_strategy: (optional)
598
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
599
+
600
+ 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.
601
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
602
+
603
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
604
+
605
+ :param bool allow_control_chars: (optional)
606
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
607
+ By default, the response will not allow control characters in strings
608
+
609
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dbmulticloud.models.OracleDbAzureVaultAssociation`
610
+ :rtype: :class:`~oci.response.Response`
611
+
612
+ :example:
613
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/dbmulticloud/get_oracle_db_azure_vault_association.py.html>`__ to see an example of how to use get_oracle_db_azure_vault_association API.
614
+ """
615
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
616
+ required_arguments = ['oracleDbAzureVaultAssociationId']
617
+ resource_path = "/oracleDbAzureVaultAssociation/{oracleDbAzureVaultAssociationId}"
618
+ method = "GET"
619
+ operation_name = "get_oracle_db_azure_vault_association"
620
+ api_reference_link = ""
621
+
622
+ # Don't accept unknown kwargs
623
+ expected_kwargs = [
624
+ "allow_control_chars",
625
+ "retry_strategy",
626
+ "limit",
627
+ "page",
628
+ "sort_order",
629
+ "opc_request_id"
630
+ ]
631
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
632
+ if extra_kwargs:
633
+ raise ValueError(
634
+ f"get_oracle_db_azure_vault_association got unknown kwargs: {extra_kwargs!r}")
635
+
636
+ path_params = {
637
+ "oracleDbAzureVaultAssociationId": oracle_db_azure_vault_association_id
638
+ }
639
+
640
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
641
+
642
+ for (k, v) in six.iteritems(path_params):
643
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
644
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
645
+
646
+ if 'sort_order' in kwargs:
647
+ sort_order_allowed_values = ["ASC", "DESC"]
648
+ if kwargs['sort_order'] not in sort_order_allowed_values:
649
+ raise ValueError(
650
+ f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
651
+ )
652
+
653
+ query_params = {
654
+ "limit": kwargs.get("limit", missing),
655
+ "page": kwargs.get("page", missing),
656
+ "sortOrder": kwargs.get("sort_order", missing)
657
+ }
658
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
659
+
660
+ header_params = {
661
+ "accept": "application/json",
662
+ "content-type": "application/json",
663
+ "opc-request-id": kwargs.get("opc_request_id", missing)
664
+ }
665
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
666
+
667
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
668
+ operation_retry_strategy=kwargs.get('retry_strategy'),
669
+ client_retry_strategy=self.retry_strategy
670
+ )
671
+ if retry_strategy is None:
672
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
673
+
674
+ if retry_strategy:
675
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
676
+ self.base_client.add_opc_client_retries_header(header_params)
677
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
678
+ return retry_strategy.make_retrying_call(
679
+ self.base_client.call_api,
680
+ resource_path=resource_path,
681
+ method=method,
682
+ path_params=path_params,
683
+ query_params=query_params,
684
+ header_params=header_params,
685
+ response_type="OracleDbAzureVaultAssociation",
686
+ allow_control_chars=kwargs.get('allow_control_chars'),
687
+ operation_name=operation_name,
688
+ api_reference_link=api_reference_link,
689
+ required_arguments=required_arguments)
690
+ else:
691
+ return self.base_client.call_api(
692
+ resource_path=resource_path,
693
+ method=method,
694
+ path_params=path_params,
695
+ query_params=query_params,
696
+ header_params=header_params,
697
+ response_type="OracleDbAzureVaultAssociation",
698
+ allow_control_chars=kwargs.get('allow_control_chars'),
699
+ operation_name=operation_name,
700
+ api_reference_link=api_reference_link,
701
+ required_arguments=required_arguments)
702
+
703
+ def list_oracle_db_azure_vault_associations(self, compartment_id, **kwargs):
704
+ """
705
+ Lists the all Oracle DB Azure Associations based on filters.
706
+
707
+
708
+ :param str compartment_id: (required)
709
+ The `ID`__ of the compartment.
710
+
711
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
712
+
713
+ :param str oracle_db_azure_vault_id: (optional)
714
+ A filter to return Oracle DB Azure Vault Resources.
715
+
716
+ :param str display_name: (optional)
717
+ A filter to return Azure Vault Association.
718
+
719
+ :param str oracle_db_azure_vault_association_id: (optional)
720
+ A filter to return Oracle DB Azure Vault Association Resources.
721
+
722
+ :param str lifecycle_state: (optional)
723
+ A filter to return only resources that match the given lifecycle state. The
724
+ state value is case-insensitive.
725
+
726
+ Allowed values are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED"
727
+
728
+ :param str oracle_db_azure_connector_id: (optional)
729
+ A filter to return Oracle DB Azure Blob Mount Resources.
730
+
731
+ :param int limit: (optional)
732
+ The maximum number of items to return.
733
+
734
+ :param str page: (optional)
735
+ The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
736
+
737
+ :param str sort_order: (optional)
738
+ The sort order to use, either 'asc' or 'desc'.
739
+
740
+ Allowed values are: "ASC", "DESC"
741
+
742
+ :param str sort_by: (optional)
743
+ The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified, default is timeCreated.
744
+
745
+ Allowed values are: "timeCreated", "displayName"
746
+
747
+ :param str opc_request_id: (optional)
748
+ The client request ID for tracing.
749
+
750
+ :param obj retry_strategy: (optional)
751
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
752
+
753
+ 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.
754
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
755
+
756
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
757
+
758
+ :param bool allow_control_chars: (optional)
759
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
760
+ By default, the response will not allow control characters in strings
761
+
762
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dbmulticloud.models.OracleDbAzureVaultAssociationSummaryCollection`
763
+ :rtype: :class:`~oci.response.Response`
764
+
765
+ :example:
766
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/dbmulticloud/list_oracle_db_azure_vault_associations.py.html>`__ to see an example of how to use list_oracle_db_azure_vault_associations API.
767
+ """
768
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
769
+ required_arguments = ['compartmentId']
770
+ resource_path = "/oracleDbAzureVaultAssociation"
771
+ method = "GET"
772
+ operation_name = "list_oracle_db_azure_vault_associations"
773
+ api_reference_link = ""
774
+
775
+ # Don't accept unknown kwargs
776
+ expected_kwargs = [
777
+ "allow_control_chars",
778
+ "retry_strategy",
779
+ "oracle_db_azure_vault_id",
780
+ "display_name",
781
+ "oracle_db_azure_vault_association_id",
782
+ "lifecycle_state",
783
+ "oracle_db_azure_connector_id",
784
+ "limit",
785
+ "page",
786
+ "sort_order",
787
+ "sort_by",
788
+ "opc_request_id"
789
+ ]
790
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
791
+ if extra_kwargs:
792
+ raise ValueError(
793
+ f"list_oracle_db_azure_vault_associations got unknown kwargs: {extra_kwargs!r}")
794
+
795
+ if 'lifecycle_state' in kwargs:
796
+ lifecycle_state_allowed_values = ["CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED"]
797
+ if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
798
+ raise ValueError(
799
+ f"Invalid value for `lifecycle_state`, must be one of { lifecycle_state_allowed_values }"
800
+ )
801
+
802
+ if 'sort_order' in kwargs:
803
+ sort_order_allowed_values = ["ASC", "DESC"]
804
+ if kwargs['sort_order'] not in sort_order_allowed_values:
805
+ raise ValueError(
806
+ f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
807
+ )
808
+
809
+ if 'sort_by' in kwargs:
810
+ sort_by_allowed_values = ["timeCreated", "displayName"]
811
+ if kwargs['sort_by'] not in sort_by_allowed_values:
812
+ raise ValueError(
813
+ f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
814
+ )
815
+
816
+ query_params = {
817
+ "compartmentId": compartment_id,
818
+ "oracleDbAzureVaultId": kwargs.get("oracle_db_azure_vault_id", missing),
819
+ "displayName": kwargs.get("display_name", missing),
820
+ "oracleDbAzureVaultAssociationId": kwargs.get("oracle_db_azure_vault_association_id", missing),
821
+ "lifecycleState": kwargs.get("lifecycle_state", missing),
822
+ "oracleDbAzureConnectorId": kwargs.get("oracle_db_azure_connector_id", missing),
823
+ "limit": kwargs.get("limit", missing),
824
+ "page": kwargs.get("page", missing),
825
+ "sortOrder": kwargs.get("sort_order", missing),
826
+ "sortBy": kwargs.get("sort_by", missing)
827
+ }
828
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
829
+
830
+ header_params = {
831
+ "accept": "application/json",
832
+ "content-type": "application/json",
833
+ "opc-request-id": kwargs.get("opc_request_id", missing)
834
+ }
835
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
836
+
837
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
838
+ operation_retry_strategy=kwargs.get('retry_strategy'),
839
+ client_retry_strategy=self.retry_strategy
840
+ )
841
+ if retry_strategy is None:
842
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
843
+
844
+ if retry_strategy:
845
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
846
+ self.base_client.add_opc_client_retries_header(header_params)
847
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
848
+ return retry_strategy.make_retrying_call(
849
+ self.base_client.call_api,
850
+ resource_path=resource_path,
851
+ method=method,
852
+ query_params=query_params,
853
+ header_params=header_params,
854
+ response_type="OracleDbAzureVaultAssociationSummaryCollection",
855
+ allow_control_chars=kwargs.get('allow_control_chars'),
856
+ operation_name=operation_name,
857
+ api_reference_link=api_reference_link,
858
+ required_arguments=required_arguments)
859
+ else:
860
+ return self.base_client.call_api(
861
+ resource_path=resource_path,
862
+ method=method,
863
+ query_params=query_params,
864
+ header_params=header_params,
865
+ response_type="OracleDbAzureVaultAssociationSummaryCollection",
866
+ allow_control_chars=kwargs.get('allow_control_chars'),
867
+ operation_name=operation_name,
868
+ api_reference_link=api_reference_link,
869
+ required_arguments=required_arguments)
870
+
871
+ def update_oracle_db_azure_vault_association(self, oracle_db_azure_vault_association_id, update_oracle_db_azure_vault_association_details, **kwargs):
872
+ """
873
+ Modifies the existing Oracle DB Azure Vault Association Details for a given ID.
874
+
875
+
876
+ :param str oracle_db_azure_vault_association_id: (required)
877
+ The ID of the Oracle DB Azure Vault Association Resource.
878
+
879
+ :param oci.dbmulticloud.models.UpdateOracleDbAzureVaultAssociationDetails update_oracle_db_azure_vault_association_details: (required)
880
+ Details for to update OracleDbAzureVaultAssociation.
881
+
882
+ :param str if_match: (optional)
883
+ For optimistic concurrency control. In the PUT or DELETE call
884
+ for a resource, set the `if-match` parameter to the value of the
885
+ etag from a previous GET or POST response for that resource.
886
+ The resource will be updated or deleted only if the etag you
887
+ provide matches the resource's current etag value.
888
+
889
+ :param str opc_request_id: (optional)
890
+ The client request ID for tracing.
891
+
892
+ :param obj retry_strategy: (optional)
893
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
894
+
895
+ 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.
896
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
897
+
898
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
899
+
900
+ :param bool allow_control_chars: (optional)
901
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
902
+ By default, the response will not allow control characters in strings
903
+
904
+ :return: A :class:`~oci.response.Response` object with data of type None
905
+ :rtype: :class:`~oci.response.Response`
906
+
907
+ :example:
908
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/dbmulticloud/update_oracle_db_azure_vault_association.py.html>`__ to see an example of how to use update_oracle_db_azure_vault_association API.
909
+ """
910
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
911
+ required_arguments = ['oracleDbAzureVaultAssociationId']
912
+ resource_path = "/oracleDbAzureVaultAssociation/{oracleDbAzureVaultAssociationId}"
913
+ method = "PUT"
914
+ operation_name = "update_oracle_db_azure_vault_association"
915
+ api_reference_link = ""
916
+
917
+ # Don't accept unknown kwargs
918
+ expected_kwargs = [
919
+ "allow_control_chars",
920
+ "retry_strategy",
921
+ "if_match",
922
+ "opc_request_id"
923
+ ]
924
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
925
+ if extra_kwargs:
926
+ raise ValueError(
927
+ f"update_oracle_db_azure_vault_association got unknown kwargs: {extra_kwargs!r}")
928
+
929
+ path_params = {
930
+ "oracleDbAzureVaultAssociationId": oracle_db_azure_vault_association_id
931
+ }
932
+
933
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
934
+
935
+ for (k, v) in six.iteritems(path_params):
936
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
937
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
938
+
939
+ header_params = {
940
+ "accept": "application/json",
941
+ "content-type": "application/json",
942
+ "if-match": kwargs.get("if_match", missing),
943
+ "opc-request-id": kwargs.get("opc_request_id", missing)
944
+ }
945
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
946
+
947
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
948
+ operation_retry_strategy=kwargs.get('retry_strategy'),
949
+ client_retry_strategy=self.retry_strategy
950
+ )
951
+ if retry_strategy is None:
952
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
953
+
954
+ if retry_strategy:
955
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
956
+ self.base_client.add_opc_client_retries_header(header_params)
957
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
958
+ return retry_strategy.make_retrying_call(
959
+ self.base_client.call_api,
960
+ resource_path=resource_path,
961
+ method=method,
962
+ path_params=path_params,
963
+ header_params=header_params,
964
+ body=update_oracle_db_azure_vault_association_details,
965
+ allow_control_chars=kwargs.get('allow_control_chars'),
966
+ operation_name=operation_name,
967
+ api_reference_link=api_reference_link,
968
+ required_arguments=required_arguments)
969
+ else:
970
+ return self.base_client.call_api(
971
+ resource_path=resource_path,
972
+ method=method,
973
+ path_params=path_params,
974
+ header_params=header_params,
975
+ body=update_oracle_db_azure_vault_association_details,
976
+ allow_control_chars=kwargs.get('allow_control_chars'),
977
+ operation_name=operation_name,
978
+ api_reference_link=api_reference_link,
979
+ required_arguments=required_arguments)