oci 2.139.0__py3-none-any.whl → 2.141.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 (597) hide show
  1. oci/access_governance_cp/access_governance_cp_client.py +8 -8
  2. oci/adm/application_dependency_management_client.py +36 -36
  3. oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
  4. oci/ai_document/ai_service_document_client.py +26 -26
  5. oci/ai_language/ai_service_language_client.py +44 -44
  6. oci/ai_language/models/__init__.py +6 -0
  7. oci/ai_language/models/batch_detect_dominant_language_details.py +31 -0
  8. oci/ai_language/models/batch_detect_health_entity_details.py +31 -0
  9. oci/ai_language/models/batch_detect_language_entities_details.py +31 -0
  10. oci/ai_language/models/batch_detect_language_key_phrases_details.py +31 -0
  11. oci/ai_language/models/batch_detect_language_pii_entities_details.py +31 -0
  12. oci/ai_language/models/batch_detect_language_sentiments_details.py +31 -0
  13. oci/ai_language/models/batch_detect_language_text_classification_details.py +31 -0
  14. oci/ai_language/models/batch_language_translation_details.py +93 -0
  15. oci/ai_language/models/create_endpoint_details.py +78 -0
  16. oci/ai_language/models/endpoint.py +78 -0
  17. oci/ai_language/models/endpoint_summary.py +78 -0
  18. oci/ai_language/models/health_nlu_model_details.py +91 -0
  19. oci/ai_language/models/hierarchical_entity.py +27 -0
  20. oci/ai_language/models/meta_info.py +196 -0
  21. oci/ai_language/models/model_details.py +35 -23
  22. oci/ai_language/models/named_entity_recognition_model_details.py +1 -1
  23. oci/ai_language/models/pii_entity_mask.py +14 -0
  24. oci/ai_language/models/pii_entity_masking.py +64 -2
  25. oci/ai_language/models/pii_entity_remove.py +16 -2
  26. oci/ai_language/models/pii_entity_replace.py +14 -0
  27. oci/ai_language/models/pii_model_details.py +1 -1
  28. oci/ai_language/models/pre_trained_health_nlu_model_details.py +1 -1
  29. oci/ai_language/models/pre_trained_key_phrase_extraction_model_details.py +1 -1
  30. oci/ai_language/models/pre_trained_language_detection_model_details.py +1 -1
  31. oci/ai_language/models/pre_trained_named_entity_recognition_model_details.py +1 -1
  32. oci/ai_language/models/pre_trained_pii_model_details.py +1 -1
  33. oci/ai_language/models/pre_trained_sentiment_analysis_model_details.py +1 -1
  34. oci/ai_language/models/pre_trained_summarization.py +1 -1
  35. oci/ai_language/models/pre_trained_text_classification_model_details.py +1 -1
  36. oci/ai_language/models/pre_trained_translation_model_details.py +91 -0
  37. oci/ai_language/models/pre_trained_universal_model.py +1 -1
  38. oci/ai_language/models/text_classification_model_details.py +1 -1
  39. oci/ai_language/models/update_endpoint_details.py +31 -0
  40. oci/ai_speech/ai_service_speech_client.py +19 -19
  41. oci/ai_vision/ai_service_vision_client.py +320 -25
  42. oci/ai_vision/ai_service_vision_client_composite_operations.py +42 -0
  43. oci/ai_vision/models/__init__.py +54 -0
  44. oci/ai_vision/models/analyze_video_result.py +440 -0
  45. oci/ai_vision/models/create_video_job_details.py +254 -0
  46. oci/ai_vision/models/object_property.py +130 -0
  47. oci/ai_vision/models/video_face.py +72 -0
  48. oci/ai_vision/models/video_face_detection_feature.py +146 -0
  49. oci/ai_vision/models/video_face_frame.py +192 -0
  50. oci/ai_vision/models/video_face_segment.py +130 -0
  51. oci/ai_vision/models/video_feature.py +145 -0
  52. oci/ai_vision/models/video_job.py +552 -0
  53. oci/ai_vision/models/video_label.py +103 -0
  54. oci/ai_vision/models/video_label_detection_feature.py +146 -0
  55. oci/ai_vision/models/video_label_segment.py +99 -0
  56. oci/ai_vision/models/video_metadata.py +165 -0
  57. oci/ai_vision/models/video_object.py +103 -0
  58. oci/ai_vision/models/video_object_detection_feature.py +146 -0
  59. oci/ai_vision/models/video_object_frame.py +130 -0
  60. oci/ai_vision/models/video_object_segment.py +130 -0
  61. oci/ai_vision/models/video_object_tracking_feature.py +146 -0
  62. oci/ai_vision/models/video_segment.py +103 -0
  63. oci/ai_vision/models/video_text.py +103 -0
  64. oci/ai_vision/models/video_text_detection_feature.py +84 -0
  65. oci/ai_vision/models/video_text_frame.py +130 -0
  66. oci/ai_vision/models/video_text_segment.py +130 -0
  67. oci/ai_vision/models/video_tracked_object.py +161 -0
  68. oci/ai_vision/models/video_tracked_object_properties.py +72 -0
  69. oci/ai_vision/models/video_tracked_object_segment.py +130 -0
  70. oci/ai_vision/models/video_tracking_frame.py +161 -0
  71. oci/analytics/analytics_client.py +24 -24
  72. oci/announcements_service/announcement_client.py +5 -5
  73. oci/announcements_service/announcement_subscription_client.py +9 -9
  74. oci/announcements_service/announcements_preferences_client.py +4 -4
  75. oci/announcements_service/service_client.py +1 -1
  76. oci/apigateway/api_gateway_client.py +21 -21
  77. oci/apigateway/deployment_client.py +6 -6
  78. oci/apigateway/gateway_client.py +6 -6
  79. oci/apigateway/subscribers_client.py +6 -6
  80. oci/apigateway/usage_plans_client.py +6 -6
  81. oci/apigateway/work_requests_client.py +5 -5
  82. oci/apm_config/config_client.py +9 -9
  83. oci/apm_control_plane/apm_domain_client.py +14 -14
  84. oci/apm_synthetics/apm_synthetic_client.py +28 -28
  85. oci/apm_traces/attributes_client.py +8 -8
  86. oci/apm_traces/query_client.py +2 -2
  87. oci/apm_traces/trace_client.py +4 -4
  88. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  89. oci/artifacts/artifacts_client.py +32 -32
  90. oci/audit/audit_client.py +3 -3
  91. oci/auth/certificate_retriever.py +2 -5
  92. oci/auth/signers/instance_principals_security_token_signer.py +32 -29
  93. oci/auth/signers/oke_workload_identity_resource_principal_signer.py +12 -5
  94. oci/autoscaling/auto_scaling_client.py +11 -11
  95. oci/bastion/bastion_client.py +15 -15
  96. oci/bds/bds_client.py +2516 -1014
  97. oci/bds/bds_client_composite_operations.py +407 -0
  98. oci/bds/models/__init__.py +34 -0
  99. oci/bds/models/activate_iam_user_sync_configuration_details.py +103 -0
  100. oci/bds/models/activate_upst_configuration_details.py +134 -0
  101. oci/bds/models/batching_based_odh_patching_config.py +33 -2
  102. oci/bds/models/bds_api_key.py +33 -2
  103. oci/bds/models/bds_cluster_version_summary.py +103 -0
  104. oci/bds/models/bds_instance.py +29 -2
  105. oci/bds/models/create_bds_api_key_details.py +33 -2
  106. oci/bds/models/create_bds_instance_details.py +29 -2
  107. oci/bds/models/create_identity_configuration_details.py +219 -0
  108. oci/bds/models/deactivate_iam_user_sync_configuration_details.py +72 -0
  109. oci/bds/models/deactivate_upst_configuration_details.py +72 -0
  110. oci/bds/models/domain_based_odh_patching_config.py +33 -2
  111. oci/bds/models/iam_user_sync_configuration.py +197 -0
  112. oci/bds/models/iam_user_sync_configuration_details.py +72 -0
  113. oci/bds/models/identity_configuration.py +328 -0
  114. oci/bds/models/identity_configuration_summary.py +134 -0
  115. oci/bds/models/node_type_shape_config.py +105 -0
  116. oci/bds/models/refresh_confidential_application_details.py +72 -0
  117. oci/bds/models/refresh_upst_token_exchange_keytab_details.py +72 -0
  118. oci/bds/models/start_bds_instance_details.py +29 -2
  119. oci/bds/models/start_cluster_shape_configs.py +72 -0
  120. oci/bds/models/update_bds_instance_details.py +29 -2
  121. oci/bds/models/update_identity_configuration_details.py +126 -0
  122. oci/bds/models/upst_configuration.py +352 -0
  123. oci/bds/models/upst_configuration_details.py +103 -0
  124. oci/bds/models/work_request.py +39 -3
  125. oci/blockchain/blockchain_platform_client.py +27 -27
  126. oci/blockchain/models/blockchain_platform.py +17 -5
  127. oci/blockchain/models/work_request.py +7 -3
  128. oci/blockchain/models/work_request_summary.py +7 -3
  129. oci/budget/budget_client.py +10 -10
  130. oci/capacity_management/capacity_management_client.py +32 -32
  131. oci/certificates/certificates_client.py +5 -5
  132. oci/certificates_management/certificates_management_client.py +32 -32
  133. oci/cims/incident_client.py +6 -6
  134. oci/cloud_bridge/common_client.py +5 -5
  135. oci/cloud_bridge/discovery_client.py +15 -15
  136. oci/cloud_bridge/inventory_client.py +16 -16
  137. oci/cloud_bridge/models/__init__.py +6 -0
  138. oci/cloud_bridge/models/asset_source_credentials.py +2 -2
  139. oci/cloud_bridge/models/aws_ebs_asset_details.py +68 -0
  140. oci/cloud_bridge/models/aws_ec2_asset_details.py +176 -0
  141. oci/cloud_bridge/models/disk.py +33 -2
  142. oci/cloud_bridge/models/monthly_cost_summary.py +2 -2
  143. oci/cloud_bridge/models/update_plugin_details.py +72 -0
  144. oci/cloud_bridge/models/work_request.py +7 -3
  145. oci/cloud_bridge/models/work_request_summary.py +7 -3
  146. oci/cloud_bridge/ocb_agent_svc_client.py +136 -22
  147. oci/cloud_bridge/ocb_agent_svc_client_composite_operations.py +45 -0
  148. oci/cloud_guard/cloud_guard_client.py +155 -155
  149. oci/cloud_migrations/migration_client.py +43 -43
  150. oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
  151. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  152. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  153. oci/compute_instance_agent/plugin_client.py +2 -2
  154. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  155. oci/container_engine/container_engine_client.py +44 -44
  156. oci/container_instances/container_instance_client.py +18 -18
  157. oci/core/blockstorage_client.py +60 -60
  158. oci/core/compute_client.py +102 -102
  159. oci/core/compute_management_client.py +32 -32
  160. oci/core/models/__init__.py +10 -0
  161. oci/core/models/instance.py +33 -2
  162. oci/core/models/instance_configuration_launch_instance_details.py +33 -2
  163. oci/core/models/launch_instance_details.py +33 -2
  164. oci/core/models/launch_instance_licensing_config.py +152 -0
  165. oci/core/models/launch_instance_windows_licensing_config.py +59 -0
  166. oci/core/models/licensing_config.py +166 -0
  167. oci/core/models/update_instance_details.py +33 -2
  168. oci/core/models/update_instance_licensing_config.py +152 -0
  169. oci/core/models/update_instance_windows_licensing_config.py +59 -0
  170. oci/core/virtual_network_client.py +247 -247
  171. oci/dashboard_service/dashboard_client.py +6 -6
  172. oci/dashboard_service/dashboard_group_client.py +6 -6
  173. oci/data_catalog/data_catalog_client.py +149 -149
  174. oci/data_flow/data_flow_client.py +146 -44
  175. oci/data_flow/data_flow_client_composite_operations.py +39 -0
  176. oci/data_flow/models/application.py +7 -3
  177. oci/data_flow/models/application_summary.py +7 -3
  178. oci/data_integration/data_integration_client.py +163 -163
  179. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  180. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  181. oci/data_safe/data_safe_client.py +292 -292
  182. oci/data_science/data_science_client.py +94 -94
  183. oci/data_science/models/create_data_science_private_endpoint_details.py +7 -3
  184. oci/data_science/models/create_job_run_details.py +4 -4
  185. oci/data_science/models/data_science_private_endpoint.py +7 -3
  186. oci/data_science/models/data_science_private_endpoint_summary.py +7 -3
  187. oci/data_science/models/instance_configuration.py +33 -2
  188. oci/data_science/models/job_run.py +6 -6
  189. oci/data_science/models/job_run_summary.py +9 -9
  190. oci/data_science/models/job_summary.py +1 -1
  191. oci/data_science/models/metadata.py +4 -4
  192. oci/database/database_client.py +411 -399
  193. oci/database/models/__init__.py +4 -0
  194. oci/database/models/autonomous_database.py +31 -0
  195. oci/database/models/autonomous_database_summary.py +31 -0
  196. oci/database/models/create_autonomous_database_base.py +31 -0
  197. oci/database/models/create_autonomous_database_clone_details.py +7 -0
  198. oci/database/models/create_autonomous_database_details.py +7 -0
  199. oci/database/models/create_autonomous_database_from_backup_details.py +7 -0
  200. oci/database/models/create_autonomous_database_from_backup_timestamp_details.py +7 -0
  201. oci/database/models/create_cross_region_autonomous_database_data_guard_details.py +7 -0
  202. oci/database/models/create_cross_region_disaster_recovery_details.py +7 -0
  203. oci/database/models/create_cross_tenancy_disaster_recovery_details.py +7 -0
  204. oci/database/models/create_refreshable_autonomous_database_clone_details.py +7 -0
  205. oci/database/models/rotate_autonomous_container_database_encryption_key_details.py +76 -0
  206. oci/database/models/rotate_autonomous_database_encryption_key_details.py +76 -0
  207. oci/database/models/undelete_autonomous_database_details.py +7 -0
  208. oci/database/models/update_autonomous_database_details.py +31 -0
  209. oci/database_management/db_management_client.py +211 -211
  210. oci/database_management/diagnosability_client.py +4 -4
  211. oci/database_management/managed_my_sql_databases_client.py +7 -7
  212. oci/database_management/perfhub_client.py +1 -1
  213. oci/database_management/sql_tuning_client.py +17 -17
  214. oci/database_migration/database_migration_client.py +42 -42
  215. oci/database_tools/database_tools_client.py +23 -23
  216. oci/delegate_access_control/delegate_access_control_client.py +26 -26
  217. oci/delegate_access_control/work_request_client.py +4 -4
  218. oci/demand_signal/occ_demand_signal_client.py +7 -7
  219. oci/desktops/desktop_service_client.py +21 -21
  220. oci/devops/devops_client.py +141 -141
  221. oci/disaster_recovery/disaster_recovery_client.py +289 -31
  222. oci/disaster_recovery/disaster_recovery_client_composite_operations.py +88 -0
  223. oci/disaster_recovery/models/__init__.py +8 -0
  224. oci/disaster_recovery/models/create_dr_plan_details.py +35 -0
  225. oci/disaster_recovery/models/dr_plan.py +92 -0
  226. oci/disaster_recovery/models/dr_plan_group.py +55 -0
  227. oci/disaster_recovery/models/dr_plan_step.py +51 -0
  228. oci/disaster_recovery/models/dr_plan_summary.py +59 -0
  229. oci/disaster_recovery/models/refresh_dr_plan_default_details.py +51 -0
  230. oci/disaster_recovery/models/refresh_dr_plan_details.py +101 -0
  231. oci/disaster_recovery/models/verify_dr_plan_default_details.py +51 -0
  232. oci/disaster_recovery/models/verify_dr_plan_details.py +101 -0
  233. oci/disaster_recovery/models/work_request.py +11 -3
  234. oci/disaster_recovery/models/work_request_summary.py +11 -3
  235. oci/dns/dns_client.py +54 -54
  236. oci/dts/appliance_export_job_client.py +6 -6
  237. oci/dts/shipping_vendors_client.py +1 -1
  238. oci/dts/transfer_appliance_client.py +8 -8
  239. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  240. oci/dts/transfer_device_client.py +5 -5
  241. oci/dts/transfer_job_client.py +6 -6
  242. oci/dts/transfer_package_client.py +7 -7
  243. oci/em_warehouse/em_warehouse_client.py +13 -13
  244. oci/email/email_client.py +31 -31
  245. oci/email_data_plane/email_dp_client.py +1 -1
  246. oci/events/events_client.py +6 -6
  247. oci/file_storage/file_storage_client.py +68 -68
  248. oci/fleet_apps_management/fleet_apps_management_admin_client.py +25 -25
  249. oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
  250. oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
  251. oci/fleet_apps_management/fleet_apps_management_operations_client.py +26 -26
  252. oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +12 -12
  253. oci/fleet_software_update/fleet_software_update_client.py +48 -48
  254. oci/fleet_software_update/models/__init__.py +12 -0
  255. oci/fleet_software_update/models/apply_action.py +1 -1
  256. oci/fleet_software_update/models/apply_action_summary.py +1 -1
  257. oci/fleet_software_update/models/apply_fsu_job.py +1 -1
  258. oci/fleet_software_update/models/apply_fsu_job_summary.py +1 -1
  259. oci/fleet_software_update/models/cleanup_action.py +1 -1
  260. oci/fleet_software_update/models/cleanup_action_summary.py +1 -1
  261. oci/fleet_software_update/models/cleanup_fsu_job.py +1 -1
  262. oci/fleet_software_update/models/cleanup_fsu_job_summary.py +1 -1
  263. oci/fleet_software_update/models/create_apply_action_details.py +1 -1
  264. oci/fleet_software_update/models/create_cleanup_action_details.py +1 -1
  265. oci/fleet_software_update/models/create_fsu_action_details.py +11 -3
  266. oci/fleet_software_update/models/create_precheck_action_details.py +1 -1
  267. oci/fleet_software_update/models/create_rollback_action_details.py +1 -1
  268. oci/fleet_software_update/models/create_rollback_cycle_apply_action_details.py +111 -0
  269. oci/fleet_software_update/models/create_stage_action_details.py +1 -1
  270. oci/fleet_software_update/models/db_collection.py +7 -0
  271. oci/fleet_software_update/models/db_fsu_collection_summary.py +7 -0
  272. oci/fleet_software_update/models/fsu_action.py +11 -3
  273. oci/fleet_software_update/models/fsu_action_summary.py +11 -3
  274. oci/fleet_software_update/models/fsu_collection.py +35 -0
  275. oci/fleet_software_update/models/fsu_collection_summary.py +35 -0
  276. oci/fleet_software_update/models/fsu_cycle.py +105 -3
  277. oci/fleet_software_update/models/fsu_cycle_summary.py +101 -3
  278. oci/fleet_software_update/models/fsu_job.py +11 -3
  279. oci/fleet_software_update/models/fsu_job_summary.py +11 -3
  280. oci/fleet_software_update/models/gi_collection.py +7 -0
  281. oci/fleet_software_update/models/gi_fsu_collection_summary.py +7 -0
  282. oci/fleet_software_update/models/next_action_to_execute_details.py +7 -3
  283. oci/fleet_software_update/models/patch_fsu_cycle.py +16 -1
  284. oci/fleet_software_update/models/precheck_action.py +1 -1
  285. oci/fleet_software_update/models/precheck_action_summary.py +1 -1
  286. oci/fleet_software_update/models/precheck_fsu_job.py +1 -1
  287. oci/fleet_software_update/models/precheck_fsu_job_summary.py +1 -1
  288. oci/fleet_software_update/models/rollback_action.py +1 -1
  289. oci/fleet_software_update/models/rollback_action_summary.py +1 -1
  290. oci/fleet_software_update/models/rollback_cycle_action.py +226 -0
  291. oci/fleet_software_update/models/rollback_cycle_action_summary.py +225 -0
  292. oci/fleet_software_update/models/rollback_cycle_fsu_job.py +278 -0
  293. oci/fleet_software_update/models/rollback_cycle_fsu_job_summary.py +251 -0
  294. oci/fleet_software_update/models/rollback_fsu_job.py +1 -1
  295. oci/fleet_software_update/models/rollback_fsu_job_summary.py +1 -1
  296. oci/fleet_software_update/models/stage_action.py +1 -1
  297. oci/fleet_software_update/models/stage_action_summary.py +1 -1
  298. oci/fleet_software_update/models/stage_fsu_job.py +1 -1
  299. oci/fleet_software_update/models/stage_fsu_job_summary.py +1 -1
  300. oci/fleet_software_update/models/update_apply_action_details.py +1 -1
  301. oci/fleet_software_update/models/update_cleanup_action_details.py +1 -1
  302. oci/fleet_software_update/models/update_fsu_action_details.py +11 -3
  303. oci/fleet_software_update/models/update_precheck_action_details.py +1 -1
  304. oci/fleet_software_update/models/update_rollback_action_details.py +1 -1
  305. oci/fleet_software_update/models/update_rollback_cycle_action_details.py +72 -0
  306. oci/fleet_software_update/models/update_stage_action_details.py +1 -1
  307. oci/fleet_software_update/models/work_request.py +7 -3
  308. oci/fleet_software_update/models/work_request_summary.py +7 -3
  309. oci/functions/functions_invoke_client.py +1 -1
  310. oci/functions/functions_management_client.py +16 -16
  311. oci/fusion_apps/fusion_applications_client.py +41 -41
  312. oci/generative_ai/generative_ai_client.py +22 -22
  313. oci/generative_ai_agent/generative_ai_agent_client.py +33 -102
  314. oci/generative_ai_agent/models/__init__.py +2 -0
  315. oci/generative_ai_agent/models/agent.py +0 -2
  316. oci/generative_ai_agent/models/agent_collection.py +0 -2
  317. oci/generative_ai_agent/models/agent_endpoint.py +0 -2
  318. oci/generative_ai_agent/models/agent_endpoint_collection.py +0 -2
  319. oci/generative_ai_agent/models/agent_endpoint_summary.py +0 -2
  320. oci/generative_ai_agent/models/agent_summary.py +0 -2
  321. oci/generative_ai_agent/models/basic_auth_secret.py +0 -2
  322. oci/generative_ai_agent/models/change_agent_compartment_details.py +0 -2
  323. oci/generative_ai_agent/models/change_agent_endpoint_compartment_details.py +0 -2
  324. oci/generative_ai_agent/models/change_knowledge_base_compartment_details.py +0 -2
  325. oci/generative_ai_agent/models/create_agent_details.py +0 -2
  326. oci/generative_ai_agent/models/create_agent_endpoint_details.py +0 -2
  327. oci/generative_ai_agent/models/create_data_ingestion_job_details.py +0 -2
  328. oci/generative_ai_agent/models/create_data_source_details.py +0 -2
  329. oci/generative_ai_agent/models/create_knowledge_base_details.py +0 -2
  330. oci/generative_ai_agent/models/data_ingestion_job.py +35 -2
  331. oci/generative_ai_agent/models/data_ingestion_job_collection.py +0 -2
  332. oci/generative_ai_agent/models/data_ingestion_job_statistics.py +0 -2
  333. oci/generative_ai_agent/models/data_ingestion_job_summary.py +0 -2
  334. oci/generative_ai_agent/models/data_source.py +0 -2
  335. oci/generative_ai_agent/models/data_source_collection.py +0 -2
  336. oci/generative_ai_agent/models/data_source_config.py +31 -2
  337. oci/generative_ai_agent/models/data_source_summary.py +0 -2
  338. oci/generative_ai_agent/models/database_connection.py +0 -2
  339. oci/generative_ai_agent/models/database_function.py +0 -2
  340. oci/generative_ai_agent/models/database_tool_connection.py +0 -2
  341. oci/generative_ai_agent/models/default_index_config.py +0 -2
  342. oci/generative_ai_agent/models/idcs_secret.py +0 -2
  343. oci/generative_ai_agent/models/index.py +0 -2
  344. oci/generative_ai_agent/models/index_config.py +0 -2
  345. oci/generative_ai_agent/models/index_schema.py +0 -2
  346. oci/generative_ai_agent/models/knowledge_base.py +27 -2
  347. oci/generative_ai_agent/models/knowledge_base_collection.py +0 -2
  348. oci/generative_ai_agent/models/knowledge_base_statistics.py +72 -0
  349. oci/generative_ai_agent/models/knowledge_base_summary.py +0 -2
  350. oci/generative_ai_agent/models/object_storage_prefix.py +0 -2
  351. oci/generative_ai_agent/models/oci_database_config.py +0 -2
  352. oci/generative_ai_agent/models/oci_object_storage_data_source_config.py +8 -3
  353. oci/generative_ai_agent/models/oci_open_search_index_config.py +0 -2
  354. oci/generative_ai_agent/models/secret_detail.py +0 -2
  355. oci/generative_ai_agent/models/session_config.py +0 -2
  356. oci/generative_ai_agent/models/update_agent_details.py +0 -2
  357. oci/generative_ai_agent/models/update_agent_endpoint_details.py +0 -2
  358. oci/generative_ai_agent/models/update_data_source_details.py +0 -2
  359. oci/generative_ai_agent/models/update_knowledge_base_details.py +0 -2
  360. oci/generative_ai_agent/models/work_request.py +15 -5
  361. oci/generative_ai_agent/models/work_request_error.py +0 -2
  362. oci/generative_ai_agent/models/work_request_error_collection.py +0 -2
  363. oci/generative_ai_agent/models/work_request_log_entry.py +0 -2
  364. oci/generative_ai_agent/models/work_request_log_entry_collection.py +0 -2
  365. oci/generative_ai_agent/models/work_request_resource.py +0 -2
  366. oci/generative_ai_agent/models/work_request_summary.py +15 -5
  367. oci/generative_ai_agent/models/work_request_summary_collection.py +0 -2
  368. oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +6 -6
  369. oci/generative_ai_agent_runtime/models/chat_details.py +1 -1
  370. oci/generative_ai_agent_runtime/models/citation.py +95 -2
  371. oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
  372. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  373. oci/globally_distributed_database/sharded_database_service_client.py +30 -30
  374. oci/golden_gate/golden_gate_client.py +2343 -499
  375. oci/golden_gate/golden_gate_client_composite_operations.py +264 -0
  376. oci/golden_gate/models/__init__.py +71 -1
  377. oci/golden_gate/models/change_pipeline_compartment_details.py +76 -0
  378. oci/golden_gate/models/create_mysql_connection_details.py +2 -2
  379. oci/golden_gate/models/create_pipeline_details.py +402 -0
  380. oci/golden_gate/models/create_zero_etl_pipeline_details.py +142 -0
  381. oci/golden_gate/models/default_start_pipeline_details.py +51 -0
  382. oci/golden_gate/models/default_stop_pipeline_details.py +51 -0
  383. oci/golden_gate/models/default_test_pipeline_connection_details.py +88 -0
  384. oci/golden_gate/models/initial_data_load.py +143 -0
  385. oci/golden_gate/models/mapping_rule.py +152 -0
  386. oci/golden_gate/models/pipeline.py +775 -0
  387. oci/golden_gate/models/pipeline_collection.py +72 -0
  388. oci/golden_gate/models/pipeline_initialization_step.py +263 -0
  389. oci/golden_gate/models/pipeline_initialization_steps.py +72 -0
  390. oci/golden_gate/models/pipeline_running_process_collection.py +72 -0
  391. oci/golden_gate/models/pipeline_running_process_summary.py +238 -0
  392. oci/golden_gate/models/pipeline_schema_collection.py +72 -0
  393. oci/golden_gate/models/pipeline_schema_summary.py +105 -0
  394. oci/golden_gate/models/pipeline_schema_table_collection.py +134 -0
  395. oci/golden_gate/models/pipeline_schema_table_summary.py +105 -0
  396. oci/golden_gate/models/pipeline_summary.py +739 -0
  397. oci/golden_gate/models/process_options.py +142 -0
  398. oci/golden_gate/models/recipe_summary.py +239 -0
  399. oci/golden_gate/models/recipe_summary_collection.py +72 -0
  400. oci/golden_gate/models/replicate_schema_change.py +190 -0
  401. oci/golden_gate/models/source_pipeline_connection_details.py +78 -0
  402. oci/golden_gate/models/start_pipeline_details.py +101 -0
  403. oci/golden_gate/models/step_message.py +197 -0
  404. oci/golden_gate/models/stop_pipeline_details.py +101 -0
  405. oci/golden_gate/models/target_pipeline_connection_details.py +78 -0
  406. oci/golden_gate/models/test_pipeline_connection_details.py +101 -0
  407. oci/golden_gate/models/test_pipeline_connection_error.py +165 -0
  408. oci/golden_gate/models/test_pipeline_connection_result.py +119 -0
  409. oci/golden_gate/models/update_mysql_connection_details.py +2 -2
  410. oci/golden_gate/models/update_pipeline_details.py +282 -0
  411. oci/golden_gate/models/update_zero_etl_pipeline_details.py +145 -0
  412. oci/golden_gate/models/work_request.py +27 -3
  413. oci/golden_gate/models/zero_etl_pipeline.py +275 -0
  414. oci/golden_gate/models/zero_etl_pipeline_summary.py +243 -0
  415. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  416. oci/governance_rules_control_plane/work_request_client.py +5 -5
  417. oci/healthchecks/health_checks_client.py +17 -17
  418. oci/identity/identity_client.py +145 -145
  419. oci/identity_data_plane/dataplane_client.py +2 -2
  420. oci/identity_domains/identity_domains_client.py +311 -311
  421. oci/integration/integration_instance_client.py +19 -19
  422. oci/jms/java_management_service_client.py +75 -75
  423. oci/jms_java_downloads/java_download_client.py +25 -25
  424. oci/key_management/ekm_client.py +5 -5
  425. oci/key_management/kms_crypto_client.py +6 -6
  426. oci/key_management/kms_hsm_cluster_client.py +12 -12
  427. oci/key_management/kms_management_client.py +21 -21
  428. oci/key_management/kms_vault_client.py +14 -14
  429. oci/license_manager/license_manager_client.py +18 -18
  430. oci/limits/limits_client.py +4 -4
  431. oci/limits/quotas_client.py +7 -7
  432. oci/load_balancer/load_balancer_client.py +61 -61
  433. oci/lockbox/lockbox_client.py +24 -24
  434. oci/log_analytics/log_analytics_client.py +193 -193
  435. oci/logging/logging_management_client.py +30 -30
  436. oci/loggingingestion/logging_client.py +1 -1
  437. oci/loggingsearch/log_search_client.py +1 -1
  438. oci/management_agent/management_agent_client.py +28 -28
  439. oci/management_dashboard/dashx_apis_client.py +14 -14
  440. oci/marketplace/account_client.py +2 -2
  441. oci/marketplace/marketplace_client.py +30 -30
  442. oci/marketplace_private_offer/attachment_client.py +5 -5
  443. oci/marketplace_private_offer/offer_client.py +6 -6
  444. oci/marketplace_publisher/attachment_client.py +5 -5
  445. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  446. oci/marketplace_publisher/offer_client.py +6 -6
  447. oci/media_services/media_services_client.py +60 -60
  448. oci/media_services/media_stream_client.py +2 -2
  449. oci/monitoring/monitoring_client.py +18 -18
  450. oci/mysql/channels_client.py +7 -7
  451. oci/mysql/db_backups_client.py +7 -7
  452. oci/mysql/db_system_client.py +17 -17
  453. oci/mysql/mysqlaas_client.py +7 -7
  454. oci/mysql/replicas_client.py +5 -5
  455. oci/mysql/work_requests_client.py +4 -4
  456. oci/network_firewall/network_firewall_client.py +86 -86
  457. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  458. oci/nosql/nosql_client.py +24 -24
  459. oci/object_storage/object_storage_client.py +55 -55
  460. oci/object_storage/transfer/internal/multipart_object_assembler.py +15 -0
  461. oci/oce/oce_instance_client.py +10 -10
  462. oci/oci_control_center/occ_metrics_client.py +3 -3
  463. oci/ocvp/cluster_client.py +5 -5
  464. oci/ocvp/esxi_host_client.py +8 -8
  465. oci/ocvp/sddc_client.py +14 -14
  466. oci/ocvp/work_request_client.py +4 -4
  467. oci/oda/management_client.py +59 -59
  468. oci/oda/oda_client.py +17 -17
  469. oci/oda/odapackage_client.py +7 -7
  470. oci/onesubscription/billing_schedule_client.py +1 -1
  471. oci/onesubscription/commitment_client.py +2 -2
  472. oci/onesubscription/computed_usage_client.py +3 -3
  473. oci/onesubscription/invoice_summary_client.py +2 -2
  474. oci/onesubscription/organization_subscription_client.py +1 -1
  475. oci/onesubscription/ratecard_client.py +1 -1
  476. oci/onesubscription/subscribed_service_client.py +2 -2
  477. oci/onesubscription/subscription_client.py +1 -1
  478. oci/ons/notification_control_plane_client.py +6 -6
  479. oci/ons/notification_data_plane_client.py +10 -10
  480. oci/opa/opa_instance_client.py +13 -13
  481. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  482. oci/opensearch/opensearch_cluster_client.py +14 -14
  483. oci/operator_access_control/access_requests_client.py +10 -10
  484. oci/operator_access_control/operator_actions_client.py +2 -2
  485. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  486. oci/operator_access_control/operator_control_client.py +6 -6
  487. oci/opsi/operations_insights_client.py +180 -180
  488. oci/optimizer/optimizer_client.py +26 -26
  489. oci/os_management/event_client.py +8 -8
  490. oci/os_management/os_management_client.py +69 -69
  491. oci/os_management_hub/event_client.py +8 -8
  492. oci/os_management_hub/lifecycle_environment_client.py +12 -12
  493. oci/os_management_hub/managed_instance_client.py +31 -31
  494. oci/os_management_hub/managed_instance_group_client.py +25 -25
  495. oci/os_management_hub/management_station_client.py +10 -10
  496. oci/os_management_hub/onboarding_client.py +6 -6
  497. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  498. oci/os_management_hub/scheduled_job_client.py +7 -7
  499. oci/os_management_hub/software_source_client.py +27 -27
  500. oci/os_management_hub/work_request_client.py +4 -4
  501. oci/osp_gateway/address_rule_service_client.py +1 -1
  502. oci/osp_gateway/address_service_client.py +2 -2
  503. oci/osp_gateway/invoice_service_client.py +5 -5
  504. oci/osp_gateway/subscription_service_client.py +5 -5
  505. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  506. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  507. oci/osub_subscription/commitment_client.py +2 -2
  508. oci/osub_subscription/ratecard_client.py +1 -1
  509. oci/osub_subscription/subscription_client.py +1 -1
  510. oci/osub_usage/computed_usage_client.py +3 -3
  511. oci/psql/postgresql_client.py +33 -33
  512. oci/queue/queue_admin_client.py +11 -11
  513. oci/queue/queue_client.py +8 -8
  514. oci/recovery/database_recovery_client.py +26 -26
  515. oci/redis/redis_cluster_client.py +12 -12
  516. oci/resource_manager/resource_manager_client.py +52 -52
  517. oci/resource_scheduler/schedule_client.py +13 -13
  518. oci/resource_search/resource_search_client.py +3 -3
  519. oci/retry/__init__.py +0 -1
  520. oci/rover/rover_bundle_client.py +8 -8
  521. oci/rover/rover_cluster_client.py +8 -8
  522. oci/rover/rover_entitlement_client.py +6 -6
  523. oci/rover/rover_node_client.py +15 -15
  524. oci/rover/shape_client.py +1 -1
  525. oci/rover/work_requests_client.py +5 -5
  526. oci/sch/connector_plugins_client.py +2 -2
  527. oci/sch/service_connector_client.py +12 -12
  528. oci/secrets/secrets_client.py +3 -3
  529. oci/security_attribute/security_attribute_client.py +18 -18
  530. oci/service_catalog/service_catalog_client.py +26 -26
  531. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  532. oci/service_mesh/service_mesh_client.py +48 -48
  533. oci/stack_monitoring/models/__init__.py +8 -0
  534. oci/stack_monitoring/models/http_query_properties.py +212 -0
  535. oci/stack_monitoring/models/http_script_file_details.py +103 -0
  536. oci/stack_monitoring/models/http_update_query_properties.py +211 -0
  537. oci/stack_monitoring/models/jmx_query_properties.py +1 -1
  538. oci/stack_monitoring/models/jmx_update_query_properties.py +1 -1
  539. oci/stack_monitoring/models/metric_extension_query_properties.py +11 -3
  540. oci/stack_monitoring/models/metric_extension_summary.py +7 -3
  541. oci/stack_monitoring/models/metric_extension_update_query_properties.py +11 -3
  542. oci/stack_monitoring/models/os_command_query_properties.py +1 -1
  543. oci/stack_monitoring/models/os_command_update_query_properties.py +1 -1
  544. oci/stack_monitoring/models/script_file_details.py +1 -1
  545. oci/stack_monitoring/models/sql_out_param_details.py +44 -9
  546. oci/stack_monitoring/models/sql_query_properties.py +1 -1
  547. oci/stack_monitoring/models/sql_update_query_properties.py +1 -1
  548. oci/stack_monitoring/models/update_http_script_file_details.py +103 -0
  549. oci/stack_monitoring/stack_monitoring_client.py +86 -80
  550. oci/streaming/stream_admin_client.py +18 -18
  551. oci/streaming/stream_client.py +8 -8
  552. oci/tenant_manager_control_plane/domain_client.py +5 -5
  553. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  554. oci/tenant_manager_control_plane/governance_client.py +2 -2
  555. oci/tenant_manager_control_plane/link_client.py +3 -3
  556. oci/tenant_manager_control_plane/orders_client.py +2 -2
  557. oci/tenant_manager_control_plane/organization_client.py +10 -10
  558. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  559. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  560. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  561. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  562. oci/threat_intelligence/threatintel_client.py +5 -5
  563. oci/usage/resources_client.py +2 -2
  564. oci/usage/rewards_client.py +6 -6
  565. oci/usage/usagelimits_client.py +1 -1
  566. oci/usage_api/usageapi_client.py +33 -33
  567. oci/vault/vaults_client.py +13 -13
  568. oci/vbs_inst/vbs_instance_client.py +10 -10
  569. oci/version.py +1 -1
  570. oci/visual_builder/models/__init__.py +8 -4
  571. oci/visual_builder/models/create_vb_instance_details.py +29 -2
  572. oci/visual_builder/models/network_endpoint_details.py +102 -0
  573. oci/visual_builder/models/private_endpoint_details.py +144 -0
  574. oci/visual_builder/models/update_network_endpoint_details.py +102 -0
  575. oci/visual_builder/models/update_private_endpoint_details.py +113 -0
  576. oci/visual_builder/models/update_vb_instance_details.py +29 -2
  577. oci/visual_builder/models/vb_instance.py +29 -60
  578. oci/visual_builder/models/vb_instance_summary.py +29 -2
  579. oci/visual_builder/vb_instance_client.py +129 -13
  580. oci/visual_builder/vb_instance_client_composite_operations.py +39 -0
  581. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  582. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  583. oci/waa/waa_client.py +13 -13
  584. oci/waa/work_request_client.py +4 -4
  585. oci/waas/redirect_client.py +6 -6
  586. oci/waas/waas_client.py +66 -66
  587. oci/waf/waf_client.py +24 -24
  588. oci/work_requests/work_request_client.py +4 -4
  589. oci/zpr/zpr_client.py +15 -15
  590. {oci-2.139.0.dist-info → oci-2.141.0.dist-info}/METADATA +1 -1
  591. {oci-2.139.0.dist-info → oci-2.141.0.dist-info}/RECORD +595 -486
  592. oci/visual_builder/models/attachment_details.py +0 -218
  593. oci/visual_builder/models/idcs_info_details.py +0 -198
  594. {oci-2.139.0.dist-info → oci-2.141.0.dist-info}/LICENSE.txt +0 -0
  595. {oci-2.139.0.dist-info → oci-2.141.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  596. {oci-2.139.0.dist-info → oci-2.141.0.dist-info}/WHEEL +0 -0
  597. {oci-2.139.0.dist-info → oci-2.141.0.dist-info}/top_level.txt +0 -0
@@ -168,7 +168,7 @@ class ArtifactsClient(object):
168
168
  :rtype: :class:`~oci.response.Response`
169
169
 
170
170
  :example:
171
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/artifacts/change_container_repository_compartment.py.html>`__ to see an example of how to use change_container_repository_compartment API.
171
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/change_container_repository_compartment.py.html>`__ to see an example of how to use change_container_repository_compartment API.
172
172
  """
173
173
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
174
174
  required_arguments = ['repositoryId']
@@ -295,7 +295,7 @@ class ArtifactsClient(object):
295
295
  :rtype: :class:`~oci.response.Response`
296
296
 
297
297
  :example:
298
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/artifacts/change_repository_compartment.py.html>`__ to see an example of how to use change_repository_compartment API.
298
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/change_repository_compartment.py.html>`__ to see an example of how to use change_repository_compartment API.
299
299
  """
300
300
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
301
301
  required_arguments = ['repositoryId']
@@ -411,7 +411,7 @@ class ArtifactsClient(object):
411
411
  :rtype: :class:`~oci.response.Response`
412
412
 
413
413
  :example:
414
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/artifacts/create_container_image_signature.py.html>`__ to see an example of how to use create_container_image_signature API.
414
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/create_container_image_signature.py.html>`__ to see an example of how to use create_container_image_signature API.
415
415
  """
416
416
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
417
417
  required_arguments = []
@@ -512,7 +512,7 @@ class ArtifactsClient(object):
512
512
  :rtype: :class:`~oci.response.Response`
513
513
 
514
514
  :example:
515
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/artifacts/create_container_repository.py.html>`__ to see an example of how to use create_container_repository API.
515
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/create_container_repository.py.html>`__ to see an example of how to use create_container_repository API.
516
516
  """
517
517
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
518
518
  required_arguments = []
@@ -611,7 +611,7 @@ class ArtifactsClient(object):
611
611
  :rtype: :class:`~oci.response.Response`
612
612
 
613
613
  :example:
614
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/artifacts/create_repository.py.html>`__ to see an example of how to use create_repository API.
614
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/create_repository.py.html>`__ to see an example of how to use create_repository API.
615
615
  """
616
616
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
617
617
  required_arguments = []
@@ -710,7 +710,7 @@ class ArtifactsClient(object):
710
710
  :rtype: :class:`~oci.response.Response`
711
711
 
712
712
  :example:
713
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/artifacts/delete_container_image.py.html>`__ to see an example of how to use delete_container_image API.
713
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/delete_container_image.py.html>`__ to see an example of how to use delete_container_image API.
714
714
  """
715
715
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
716
716
  required_arguments = ['imageId']
@@ -818,7 +818,7 @@ class ArtifactsClient(object):
818
818
  :rtype: :class:`~oci.response.Response`
819
819
 
820
820
  :example:
821
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/artifacts/delete_container_image_signature.py.html>`__ to see an example of how to use delete_container_image_signature API.
821
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/delete_container_image_signature.py.html>`__ to see an example of how to use delete_container_image_signature API.
822
822
  """
823
823
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
824
824
  required_arguments = ['imageSignatureId']
@@ -926,7 +926,7 @@ class ArtifactsClient(object):
926
926
  :rtype: :class:`~oci.response.Response`
927
927
 
928
928
  :example:
929
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/artifacts/delete_container_repository.py.html>`__ to see an example of how to use delete_container_repository API.
929
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/delete_container_repository.py.html>`__ to see an example of how to use delete_container_repository API.
930
930
  """
931
931
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
932
932
  required_arguments = ['repositoryId']
@@ -1036,7 +1036,7 @@ class ArtifactsClient(object):
1036
1036
  :rtype: :class:`~oci.response.Response`
1037
1037
 
1038
1038
  :example:
1039
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/artifacts/delete_generic_artifact.py.html>`__ to see an example of how to use delete_generic_artifact API.
1039
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/delete_generic_artifact.py.html>`__ to see an example of how to use delete_generic_artifact API.
1040
1040
  """
1041
1041
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1042
1042
  required_arguments = ['artifactId']
@@ -1154,7 +1154,7 @@ class ArtifactsClient(object):
1154
1154
  :rtype: :class:`~oci.response.Response`
1155
1155
 
1156
1156
  :example:
1157
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/artifacts/delete_generic_artifact_by_path.py.html>`__ to see an example of how to use delete_generic_artifact_by_path API.
1157
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/delete_generic_artifact_by_path.py.html>`__ to see an example of how to use delete_generic_artifact_by_path API.
1158
1158
  """
1159
1159
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1160
1160
  required_arguments = ['repositoryId', 'artifactPath', 'version']
@@ -1264,7 +1264,7 @@ class ArtifactsClient(object):
1264
1264
  :rtype: :class:`~oci.response.Response`
1265
1265
 
1266
1266
  :example:
1267
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/artifacts/delete_repository.py.html>`__ to see an example of how to use delete_repository API.
1267
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/delete_repository.py.html>`__ to see an example of how to use delete_repository API.
1268
1268
  """
1269
1269
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1270
1270
  required_arguments = ['repositoryId']
@@ -1365,7 +1365,7 @@ class ArtifactsClient(object):
1365
1365
  :rtype: :class:`~oci.response.Response`
1366
1366
 
1367
1367
  :example:
1368
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/artifacts/get_container_configuration.py.html>`__ to see an example of how to use get_container_configuration API.
1368
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/get_container_configuration.py.html>`__ to see an example of how to use get_container_configuration API.
1369
1369
  """
1370
1370
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1371
1371
  required_arguments = ['compartmentId']
@@ -1463,7 +1463,7 @@ class ArtifactsClient(object):
1463
1463
  :rtype: :class:`~oci.response.Response`
1464
1464
 
1465
1465
  :example:
1466
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/artifacts/get_container_image.py.html>`__ to see an example of how to use get_container_image API.
1466
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/get_container_image.py.html>`__ to see an example of how to use get_container_image API.
1467
1467
  """
1468
1468
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1469
1469
  required_arguments = ['imageId']
@@ -1566,7 +1566,7 @@ class ArtifactsClient(object):
1566
1566
  :rtype: :class:`~oci.response.Response`
1567
1567
 
1568
1568
  :example:
1569
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/artifacts/get_container_image_signature.py.html>`__ to see an example of how to use get_container_image_signature API.
1569
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/get_container_image_signature.py.html>`__ to see an example of how to use get_container_image_signature API.
1570
1570
  """
1571
1571
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1572
1572
  required_arguments = ['imageSignatureId']
@@ -1669,7 +1669,7 @@ class ArtifactsClient(object):
1669
1669
  :rtype: :class:`~oci.response.Response`
1670
1670
 
1671
1671
  :example:
1672
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/artifacts/get_container_repository.py.html>`__ to see an example of how to use get_container_repository API.
1672
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/get_container_repository.py.html>`__ to see an example of how to use get_container_repository API.
1673
1673
  """
1674
1674
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1675
1675
  required_arguments = ['repositoryId']
@@ -1774,7 +1774,7 @@ class ArtifactsClient(object):
1774
1774
  :rtype: :class:`~oci.response.Response`
1775
1775
 
1776
1776
  :example:
1777
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/artifacts/get_generic_artifact.py.html>`__ to see an example of how to use get_generic_artifact API.
1777
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/get_generic_artifact.py.html>`__ to see an example of how to use get_generic_artifact API.
1778
1778
  """
1779
1779
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1780
1780
  required_arguments = ['artifactId']
@@ -1887,7 +1887,7 @@ class ArtifactsClient(object):
1887
1887
  :rtype: :class:`~oci.response.Response`
1888
1888
 
1889
1889
  :example:
1890
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/artifacts/get_generic_artifact_by_path.py.html>`__ to see an example of how to use get_generic_artifact_by_path API.
1890
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/get_generic_artifact_by_path.py.html>`__ to see an example of how to use get_generic_artifact_by_path API.
1891
1891
  """
1892
1892
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1893
1893
  required_arguments = ['repositoryId', 'artifactPath', 'version']
@@ -1992,7 +1992,7 @@ class ArtifactsClient(object):
1992
1992
  :rtype: :class:`~oci.response.Response`
1993
1993
 
1994
1994
  :example:
1995
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/artifacts/get_repository.py.html>`__ to see an example of how to use get_repository API.
1995
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/get_repository.py.html>`__ to see an example of how to use get_repository API.
1996
1996
  """
1997
1997
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1998
1998
  required_arguments = ['repositoryId']
@@ -2172,7 +2172,7 @@ class ArtifactsClient(object):
2172
2172
  :rtype: :class:`~oci.response.Response`
2173
2173
 
2174
2174
  :example:
2175
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/artifacts/list_container_image_signatures.py.html>`__ to see an example of how to use list_container_image_signatures API.
2175
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/list_container_image_signatures.py.html>`__ to see an example of how to use list_container_image_signatures API.
2176
2176
  """
2177
2177
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2178
2178
  required_arguments = ['compartmentId']
@@ -2381,7 +2381,7 @@ class ArtifactsClient(object):
2381
2381
  :rtype: :class:`~oci.response.Response`
2382
2382
 
2383
2383
  :example:
2384
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/artifacts/list_container_images.py.html>`__ to see an example of how to use list_container_images API.
2384
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/list_container_images.py.html>`__ to see an example of how to use list_container_images API.
2385
2385
  """
2386
2386
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2387
2387
  required_arguments = ['compartmentId']
@@ -2568,7 +2568,7 @@ class ArtifactsClient(object):
2568
2568
  :rtype: :class:`~oci.response.Response`
2569
2569
 
2570
2570
  :example:
2571
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/artifacts/list_container_repositories.py.html>`__ to see an example of how to use list_container_repositories API.
2571
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/list_container_repositories.py.html>`__ to see an example of how to use list_container_repositories API.
2572
2572
  """
2573
2573
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2574
2574
  required_arguments = ['compartmentId']
@@ -2751,7 +2751,7 @@ class ArtifactsClient(object):
2751
2751
  :rtype: :class:`~oci.response.Response`
2752
2752
 
2753
2753
  :example:
2754
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/artifacts/list_generic_artifacts.py.html>`__ to see an example of how to use list_generic_artifacts API.
2754
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/list_generic_artifacts.py.html>`__ to see an example of how to use list_generic_artifacts API.
2755
2755
  """
2756
2756
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2757
2757
  required_arguments = ['compartmentId', 'repositoryId']
@@ -2928,7 +2928,7 @@ class ArtifactsClient(object):
2928
2928
  :rtype: :class:`~oci.response.Response`
2929
2929
 
2930
2930
  :example:
2931
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/artifacts/list_repositories.py.html>`__ to see an example of how to use list_repositories API.
2931
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/list_repositories.py.html>`__ to see an example of how to use list_repositories API.
2932
2932
  """
2933
2933
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2934
2934
  required_arguments = ['compartmentId']
@@ -3071,7 +3071,7 @@ class ArtifactsClient(object):
3071
3071
  :rtype: :class:`~oci.response.Response`
3072
3072
 
3073
3073
  :example:
3074
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/artifacts/remove_container_version.py.html>`__ to see an example of how to use remove_container_version API.
3074
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/remove_container_version.py.html>`__ to see an example of how to use remove_container_version API.
3075
3075
  """
3076
3076
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3077
3077
  required_arguments = ['imageId']
@@ -3196,7 +3196,7 @@ class ArtifactsClient(object):
3196
3196
  :rtype: :class:`~oci.response.Response`
3197
3197
 
3198
3198
  :example:
3199
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/artifacts/restore_container_image.py.html>`__ to see an example of how to use restore_container_image API.
3199
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/restore_container_image.py.html>`__ to see an example of how to use restore_container_image API.
3200
3200
  """
3201
3201
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3202
3202
  required_arguments = ['imageId']
@@ -3312,7 +3312,7 @@ class ArtifactsClient(object):
3312
3312
  :rtype: :class:`~oci.response.Response`
3313
3313
 
3314
3314
  :example:
3315
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/artifacts/update_container_configuration.py.html>`__ to see an example of how to use update_container_configuration API.
3315
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/update_container_configuration.py.html>`__ to see an example of how to use update_container_configuration API.
3316
3316
  """
3317
3317
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3318
3318
  required_arguments = ['compartmentId']
@@ -3422,7 +3422,7 @@ class ArtifactsClient(object):
3422
3422
  :rtype: :class:`~oci.response.Response`
3423
3423
 
3424
3424
  :example:
3425
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/artifacts/update_container_image.py.html>`__ to see an example of how to use update_container_image API.
3425
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/update_container_image.py.html>`__ to see an example of how to use update_container_image API.
3426
3426
  """
3427
3427
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3428
3428
  required_arguments = ['imageId']
@@ -3537,7 +3537,7 @@ class ArtifactsClient(object):
3537
3537
  :rtype: :class:`~oci.response.Response`
3538
3538
 
3539
3539
  :example:
3540
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/artifacts/update_container_image_signature.py.html>`__ to see an example of how to use update_container_image_signature API.
3540
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/update_container_image_signature.py.html>`__ to see an example of how to use update_container_image_signature API.
3541
3541
  """
3542
3542
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3543
3543
  required_arguments = ['imageSignatureId']
@@ -3652,7 +3652,7 @@ class ArtifactsClient(object):
3652
3652
  :rtype: :class:`~oci.response.Response`
3653
3653
 
3654
3654
  :example:
3655
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/artifacts/update_container_repository.py.html>`__ to see an example of how to use update_container_repository API.
3655
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/update_container_repository.py.html>`__ to see an example of how to use update_container_repository API.
3656
3656
  """
3657
3657
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3658
3658
  required_arguments = ['repositoryId']
@@ -3771,7 +3771,7 @@ class ArtifactsClient(object):
3771
3771
  :rtype: :class:`~oci.response.Response`
3772
3772
 
3773
3773
  :example:
3774
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/artifacts/update_generic_artifact.py.html>`__ to see an example of how to use update_generic_artifact API.
3774
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/update_generic_artifact.py.html>`__ to see an example of how to use update_generic_artifact API.
3775
3775
  """
3776
3776
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3777
3777
  required_arguments = ['artifactId']
@@ -3896,7 +3896,7 @@ class ArtifactsClient(object):
3896
3896
  :rtype: :class:`~oci.response.Response`
3897
3897
 
3898
3898
  :example:
3899
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/artifacts/update_generic_artifact_by_path.py.html>`__ to see an example of how to use update_generic_artifact_by_path API.
3899
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/update_generic_artifact_by_path.py.html>`__ to see an example of how to use update_generic_artifact_by_path API.
3900
3900
  """
3901
3901
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3902
3902
  required_arguments = ['repositoryId', 'artifactPath', 'version']
@@ -4013,7 +4013,7 @@ class ArtifactsClient(object):
4013
4013
  :rtype: :class:`~oci.response.Response`
4014
4014
 
4015
4015
  :example:
4016
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/artifacts/update_repository.py.html>`__ to see an example of how to use update_repository API.
4016
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/artifacts/update_repository.py.html>`__ to see an example of how to use update_repository API.
4017
4017
  """
4018
4018
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4019
4019
  required_arguments = ['repositoryId']
oci/audit/audit_client.py CHANGED
@@ -143,7 +143,7 @@ class AuditClient(object):
143
143
  :rtype: :class:`~oci.response.Response`
144
144
 
145
145
  :example:
146
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/audit/get_configuration.py.html>`__ to see an example of how to use get_configuration API.
146
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/audit/get_configuration.py.html>`__ to see an example of how to use get_configuration API.
147
147
  """
148
148
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
149
149
  required_arguments = ['compartmentId']
@@ -260,7 +260,7 @@ class AuditClient(object):
260
260
  :rtype: :class:`~oci.response.Response`
261
261
 
262
262
  :example:
263
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/audit/list_events.py.html>`__ to see an example of how to use list_events API.
263
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/audit/list_events.py.html>`__ to see an example of how to use list_events API.
264
264
  """
265
265
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
266
266
  required_arguments = ['compartmentId', 'startTime', 'endTime']
@@ -355,7 +355,7 @@ class AuditClient(object):
355
355
  :rtype: :class:`~oci.response.Response`
356
356
 
357
357
  :example:
358
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/audit/update_configuration.py.html>`__ to see an example of how to use update_configuration API.
358
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/audit/update_configuration.py.html>`__ to see an example of how to use update_configuration API.
359
359
  """
360
360
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
361
361
  required_arguments = ['compartmentId']
@@ -17,17 +17,14 @@ import pprint
17
17
 
18
18
  # A retry strategy for use when calling the metadata endpoint on an instance to retrieve certificates.
19
19
  # This retry strategy will retry on 404, 429 and 5xx exceptions (the metadata endpoint does not throw errors like an
20
- # OCI service) up to 3 times with ~30-31 seconds wait, for a max of 3 minutes
20
+ # OCI service) up to 8 times with exponential backoff and jitter, for a max of 3 minutes
21
21
  INSTANCE_METADATA_URL_CERTIFICATE_RETRIEVER_RETRY_STRATEGY = (
22
22
  oci.retry.RetryStrategyBuilder(service_error_check=True,
23
23
  service_error_retry_config={-1: [], 429: [], 404: []},
24
24
  service_error_retry_on_any_5xx=True,
25
- retry_max_wait_between_calls_seconds=31,
26
- retry_base_sleep_time_seconds=30,
27
- retry_exponential_growth_factor=1,
28
25
  total_elapsed_time_seconds=180
29
26
  )
30
- .add_max_attempts(3).add_total_elapsed_time().get_retry_strategy())
27
+ .add_max_attempts(8).add_total_elapsed_time().get_retry_strategy())
31
28
 
32
29
 
33
30
  # An abstract class which defines the interface via which certificates (and their corresponding private key) can be retrieved.
@@ -12,6 +12,7 @@ from oci._vendor.requests.exceptions import HTTPError
12
12
  from oci._vendor.requests.exceptions import ConnectTimeout
13
13
 
14
14
  import oci.regions
15
+ import os
15
16
  import logging
16
17
 
17
18
 
@@ -24,6 +25,7 @@ class InstancePrincipalsSecurityTokenSigner(X509FederationClientBasedSecurityTok
24
25
  the token:
25
26
 
26
27
  * Using the metadata endpoint for the instance (http://169.254.169.254/opc/v2) we can discover the region the instance is in, its leaf certificate and any intermediate certificates (for requesting the token) and the tenancy (as) that is in the leaf certificate.
28
+ * You can override the metadata endpoint by overriding the environment variable OCI_METADATA_BASE_URL with an endpoint of your choice
27
29
  * The signer leverages X509FederationClient so it can refresh the security token and also get the private key needed to sign requests (via the client's session_key_supplier)
28
30
 
29
31
  This signer can be used as follows:
@@ -47,7 +49,7 @@ class InstancePrincipalsSecurityTokenSigner(X509FederationClientBasedSecurityTok
47
49
 
48
50
  :param obj federation_client_retry_strategy: (optional):
49
51
  A retry strategy to apply to calls made by the X509FederationClient used by this class. This should be one of the strategies available in
50
- the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` is also available and
52
+ the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_FEDERATION_CLIENT_RETRY_STRATEGY` is also available and
51
53
  will be used by the X509FederationClient if no explicit retry strategy is specified.
52
54
 
53
55
  The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
@@ -59,15 +61,16 @@ class InstancePrincipalsSecurityTokenSigner(X509FederationClientBasedSecurityTok
59
61
  the certificate & corresponding private key (if there is one defined for this retriever) from UrlBasedCertificateRetriever,
60
62
  region, federation endpoint, and the response for receiving the token from the federation endpoint
61
63
  """
62
-
63
- METADATA_URL_BASE = 'http://169.254.169.254/opc/v2'
64
- GET_REGION_URL = '{}/instance/region'.format(METADATA_URL_BASE)
65
- LEAF_CERTIFICATE_URL = '{}/identity/cert.pem'.format(METADATA_URL_BASE)
66
- LEAF_CERTIFICATE_PRIVATE_KEY_URL = '{}/identity/key.pem'.format(METADATA_URL_BASE)
67
- INTERMEDIATE_CERTIFICATE_URL = '{}/identity/intermediate.pem'.format(METADATA_URL_BASE)
68
- METADATA_AUTH_HEADERS = {'Authorization': 'Bearer Oracle'}
69
-
70
64
  def __init__(self, **kwargs):
65
+ self.METADATA_URL_BASE_ENV_VAR = 'OCI_METADATA_BASE_URL'
66
+ self.DEFAULT_METADATA_URL_BASE = 'http://169.254.169.254/opc/v2'
67
+ self.METADATA_URL_BASE = os.environ.get(self.METADATA_URL_BASE_ENV_VAR, self.DEFAULT_METADATA_URL_BASE)
68
+ self.GET_REGION_URL = '{}/instance/region'.format(self.METADATA_URL_BASE)
69
+ self.LEAF_CERTIFICATE_URL = '{}/identity/cert.pem'.format(self.METADATA_URL_BASE)
70
+ self.LEAF_CERTIFICATE_PRIVATE_KEY_URL = '{}/identity/key.pem'.format(self.METADATA_URL_BASE)
71
+ self.INTERMEDIATE_CERTIFICATE_URL = '{}/identity/intermediate.pem'.format(self.METADATA_URL_BASE)
72
+ self.METADATA_AUTH_HEADERS = {'Authorization': 'Bearer Oracle'}
73
+
71
74
  self.logger = logging.getLogger("{}.{}".format(__name__, id(self)))
72
75
  self.logger.addHandler(logging.NullHandler())
73
76
  if kwargs.get('log_requests'):
@@ -90,22 +93,10 @@ class InstancePrincipalsSecurityTokenSigner(X509FederationClientBasedSecurityTok
90
93
  headers=self.METADATA_AUTH_HEADERS,
91
94
  log_requests=kwargs.get('log_requests'))
92
95
  except (HTTPError, ConnectTimeout, oci.exceptions.ServiceError) as e:
93
- if e.response and e.response.status_code == 404:
94
- InstancePrincipalsSecurityTokenSigner.METADATA_URL_BASE = 'http://169.254.169.254/opc/v1'
95
- InstancePrincipalsSecurityTokenSigner.GET_REGION_URL = '{}/instance/region'.format(InstancePrincipalsSecurityTokenSigner.METADATA_URL_BASE)
96
- InstancePrincipalsSecurityTokenSigner.LEAF_CERTIFICATE_URL = '{}/identity/cert.pem'.format(InstancePrincipalsSecurityTokenSigner.METADATA_URL_BASE)
97
- InstancePrincipalsSecurityTokenSigner.LEAF_CERTIFICATE_PRIVATE_KEY_URL = '{}/identity/key.pem'.format(InstancePrincipalsSecurityTokenSigner.METADATA_URL_BASE)
98
- InstancePrincipalsSecurityTokenSigner.INTERMEDIATE_CERTIFICATE_URL = '{}/identity/intermediate.pem'.format(InstancePrincipalsSecurityTokenSigner.METADATA_URL_BASE)
99
- self.leaf_certificate_retriever = UrlBasedCertificateRetriever(
100
- certificate_url=self.LEAF_CERTIFICATE_URL,
101
- private_key_url=self.LEAF_CERTIFICATE_PRIVATE_KEY_URL,
102
- retry_strategy=self.retry_strategy,
103
- headers=self.METADATA_AUTH_HEADERS)
104
- else:
105
- if not e.args:
106
- e.args = ('',)
107
- e.args = e.args + ("Instance principals authentication can only be used on OCI compute instances. Please confirm this code is running on an OCI compute instance. See https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/callingservicesfrominstances.htm for more info.",)
108
- raise e
96
+ if not e.args:
97
+ e.args = ('',)
98
+ e.args = e.args + ("Instance principals authentication can only be used on OCI compute instances. Please confirm this code is running on an OCI compute instance. See https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/callingservicesfrominstances.htm for more info.",)
99
+ raise e
109
100
 
110
101
  self.intermediate_certificate_retriever = UrlBasedCertificateRetriever(
111
102
  certificate_url=self.INTERMEDIATE_CERTIFICATE_URL,
@@ -143,8 +134,23 @@ class InstancePrincipalsSecurityTokenSigner(X509FederationClientBasedSecurityTok
143
134
  if hasattr(self, 'region'):
144
135
  return self.region
145
136
 
146
- self.logger.debug("Requesting region information from : %s " % (self.GET_REGION_URL))
137
+ if self.retry_strategy:
138
+ self.retry_strategy.make_retrying_call(self._set_region_from_imds)
139
+ else:
140
+ self._set_region_from_imds()
141
+
142
+ self.logger.debug(f"Region is set to: {self.region}")
143
+ return self.region
144
+
145
+ def _set_region_from_imds(self):
146
+ self.logger.debug(f"Requesting region information from IMDS: {self.GET_REGION_URL}")
147
147
  response = requests.get(self.GET_REGION_URL, timeout=(10, 60), headers=self.METADATA_AUTH_HEADERS)
148
+
149
+ try:
150
+ response.raise_for_status()
151
+ except HTTPError as e:
152
+ raise oci.exceptions.ServiceError(e.response.status_code, e.errno, e.response.headers, str(e))
153
+
148
154
  region_raw = response.text.strip().lower()
149
155
 
150
156
  # The region can be something like "phx" but internally we expect "us-phoenix-1", "us-ashburn-1" etc.
@@ -152,6 +158,3 @@ class InstancePrincipalsSecurityTokenSigner(X509FederationClientBasedSecurityTok
152
158
  self.region = oci.regions.REGIONS_SHORT_NAMES[region_raw]
153
159
  else:
154
160
  self.region = region_raw
155
-
156
- self.logger.debug("Region is set to : %s " % (self.region))
157
- return self.region
@@ -134,11 +134,18 @@ class OkeWorkloadIdentityResourcePrincipalSigner(SecurityTokenSigner):
134
134
  "reason": response.reason}, indent=2)))
135
135
 
136
136
  if not response.ok:
137
- raise oci.exceptions.ServiceError(
138
- response.status_code,
139
- response.reason,
140
- response.headers,
141
- "Failed to get RPST token from proxymux")
137
+ if response.status_code == 403:
138
+ raise oci.exceptions.ServiceError(
139
+ response.status_code,
140
+ response.reason,
141
+ response.headers,
142
+ "Please ensure the cluster type is enhanced")
143
+ else:
144
+ raise oci.exceptions.ServiceError(
145
+ response.status_code,
146
+ response.reason,
147
+ response.headers,
148
+ "Failed to get RPST token from proxymux")
142
149
 
143
150
  try:
144
151
  decoded_response = base64.b64decode(response.content).decode("UTF-8")
@@ -171,7 +171,7 @@ class AutoScalingClient(object):
171
171
  :rtype: :class:`~oci.response.Response`
172
172
 
173
173
  :example:
174
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/autoscaling/change_auto_scaling_configuration_compartment.py.html>`__ to see an example of how to use change_auto_scaling_configuration_compartment API.
174
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/autoscaling/change_auto_scaling_configuration_compartment.py.html>`__ to see an example of how to use change_auto_scaling_configuration_compartment API.
175
175
  """
176
176
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
177
177
  required_arguments = ['autoScalingConfigurationId']
@@ -278,7 +278,7 @@ class AutoScalingClient(object):
278
278
  :rtype: :class:`~oci.response.Response`
279
279
 
280
280
  :example:
281
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/autoscaling/create_auto_scaling_configuration.py.html>`__ to see an example of how to use create_auto_scaling_configuration API.
281
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/autoscaling/create_auto_scaling_configuration.py.html>`__ to see an example of how to use create_auto_scaling_configuration API.
282
282
  """
283
283
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
284
284
  required_arguments = []
@@ -386,7 +386,7 @@ class AutoScalingClient(object):
386
386
  :rtype: :class:`~oci.response.Response`
387
387
 
388
388
  :example:
389
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/autoscaling/create_auto_scaling_policy.py.html>`__ to see an example of how to use create_auto_scaling_policy API.
389
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/autoscaling/create_auto_scaling_policy.py.html>`__ to see an example of how to use create_auto_scaling_policy API.
390
390
  """
391
391
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
392
392
  required_arguments = ['autoScalingConfigurationId']
@@ -493,7 +493,7 @@ class AutoScalingClient(object):
493
493
  :rtype: :class:`~oci.response.Response`
494
494
 
495
495
  :example:
496
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/autoscaling/delete_auto_scaling_configuration.py.html>`__ to see an example of how to use delete_auto_scaling_configuration API.
496
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/autoscaling/delete_auto_scaling_configuration.py.html>`__ to see an example of how to use delete_auto_scaling_configuration API.
497
497
  """
498
498
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
499
499
  required_arguments = ['autoScalingConfigurationId']
@@ -598,7 +598,7 @@ class AutoScalingClient(object):
598
598
  :rtype: :class:`~oci.response.Response`
599
599
 
600
600
  :example:
601
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/autoscaling/delete_auto_scaling_policy.py.html>`__ to see an example of how to use delete_auto_scaling_policy API.
601
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/autoscaling/delete_auto_scaling_policy.py.html>`__ to see an example of how to use delete_auto_scaling_policy API.
602
602
  """
603
603
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
604
604
  required_arguments = ['autoScalingConfigurationId', 'autoScalingPolicyId']
@@ -696,7 +696,7 @@ class AutoScalingClient(object):
696
696
  :rtype: :class:`~oci.response.Response`
697
697
 
698
698
  :example:
699
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/autoscaling/get_auto_scaling_configuration.py.html>`__ to see an example of how to use get_auto_scaling_configuration API.
699
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/autoscaling/get_auto_scaling_configuration.py.html>`__ to see an example of how to use get_auto_scaling_configuration API.
700
700
  """
701
701
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
702
702
  required_arguments = ['autoScalingConfigurationId']
@@ -796,7 +796,7 @@ class AutoScalingClient(object):
796
796
  :rtype: :class:`~oci.response.Response`
797
797
 
798
798
  :example:
799
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/autoscaling/get_auto_scaling_policy.py.html>`__ to see an example of how to use get_auto_scaling_policy API.
799
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/autoscaling/get_auto_scaling_policy.py.html>`__ to see an example of how to use get_auto_scaling_policy API.
800
800
  """
801
801
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
802
802
  required_arguments = ['autoScalingConfigurationId', 'autoScalingPolicyId']
@@ -924,7 +924,7 @@ class AutoScalingClient(object):
924
924
  :rtype: :class:`~oci.response.Response`
925
925
 
926
926
  :example:
927
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/autoscaling/list_auto_scaling_configurations.py.html>`__ to see an example of how to use list_auto_scaling_configurations API.
927
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/autoscaling/list_auto_scaling_configurations.py.html>`__ to see an example of how to use list_auto_scaling_configurations API.
928
928
  """
929
929
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
930
930
  required_arguments = ['compartmentId']
@@ -1068,7 +1068,7 @@ class AutoScalingClient(object):
1068
1068
  :rtype: :class:`~oci.response.Response`
1069
1069
 
1070
1070
  :example:
1071
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/autoscaling/list_auto_scaling_policies.py.html>`__ to see an example of how to use list_auto_scaling_policies API.
1071
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/autoscaling/list_auto_scaling_policies.py.html>`__ to see an example of how to use list_auto_scaling_policies API.
1072
1072
  """
1073
1073
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1074
1074
  required_arguments = ['autoScalingConfigurationId']
@@ -1211,7 +1211,7 @@ class AutoScalingClient(object):
1211
1211
  :rtype: :class:`~oci.response.Response`
1212
1212
 
1213
1213
  :example:
1214
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/autoscaling/update_auto_scaling_configuration.py.html>`__ to see an example of how to use update_auto_scaling_configuration API.
1214
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/autoscaling/update_auto_scaling_configuration.py.html>`__ to see an example of how to use update_auto_scaling_configuration API.
1215
1215
  """
1216
1216
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1217
1217
  required_arguments = ['autoScalingConfigurationId']
@@ -1333,7 +1333,7 @@ class AutoScalingClient(object):
1333
1333
  :rtype: :class:`~oci.response.Response`
1334
1334
 
1335
1335
  :example:
1336
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.139.0/autoscaling/update_auto_scaling_policy.py.html>`__ to see an example of how to use update_auto_scaling_policy API.
1336
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/autoscaling/update_auto_scaling_policy.py.html>`__ to see an example of how to use update_auto_scaling_policy API.
1337
1337
  """
1338
1338
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1339
1339
  required_arguments = ['autoScalingConfigurationId', 'autoScalingPolicyId']