oci 2.129.3__py3-none-any.whl → 2.130.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 (507) 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 +22 -22
  5. oci/ai_language/ai_service_language_client.py +44 -44
  6. oci/ai_speech/ai_service_speech_client.py +870 -87
  7. oci/ai_speech/ai_service_speech_client_composite_operations.py +146 -0
  8. oci/ai_speech/models/__init__.py +70 -0
  9. oci/ai_speech/models/change_customization_compartment_details.py +78 -0
  10. oci/ai_speech/models/create_customization_details.py +289 -0
  11. oci/ai_speech/models/create_realtime_session_token_details.py +142 -0
  12. oci/ai_speech/models/customization.py +544 -0
  13. oci/ai_speech/models/customization_collection.py +72 -0
  14. oci/ai_speech/models/customization_dataset_details.py +109 -0
  15. oci/ai_speech/models/customization_inference.py +173 -0
  16. oci/ai_speech/models/customization_inference_entity.py +138 -0
  17. oci/ai_speech/models/customization_model_details.py +139 -0
  18. oci/ai_speech/models/customization_referenced_entities.py +134 -0
  19. oci/ai_speech/models/customization_summary.py +396 -0
  20. oci/ai_speech/models/entity.py +134 -0
  21. oci/ai_speech/models/entity_list.py +166 -0
  22. oci/ai_speech/models/entity_list_dataset.py +115 -0
  23. oci/ai_speech/models/location_details.py +101 -0
  24. oci/ai_speech/models/object_list_dataset.py +144 -0
  25. oci/ai_speech/models/object_storage_dataset.py +109 -0
  26. oci/ai_speech/models/pronunciation.py +99 -0
  27. oci/ai_speech/models/realtime_message.py +168 -0
  28. oci/ai_speech/models/realtime_message_ack_audio.py +85 -0
  29. oci/ai_speech/models/realtime_message_ack_audio_details.py +134 -0
  30. oci/ai_speech/models/realtime_message_authentication.py +140 -0
  31. oci/ai_speech/models/realtime_message_authentication_credentials.py +89 -0
  32. oci/ai_speech/models/realtime_message_authentication_token.py +89 -0
  33. oci/ai_speech/models/realtime_message_connect.py +58 -0
  34. oci/ai_speech/models/realtime_message_error.py +120 -0
  35. oci/ai_speech/models/realtime_message_out.py +103 -0
  36. oci/ai_speech/models/realtime_message_result.py +89 -0
  37. oci/ai_speech/models/realtime_message_result_transcription.py +258 -0
  38. oci/ai_speech/models/realtime_message_result_transcription_token.py +212 -0
  39. oci/ai_speech/models/realtime_message_send_final_result.py +51 -0
  40. oci/ai_speech/models/realtime_model_details.py +139 -0
  41. oci/ai_speech/models/realtime_parameters.py +390 -0
  42. oci/ai_speech/models/realtime_session_token.py +200 -0
  43. oci/ai_speech/models/update_customization_details.py +254 -0
  44. oci/ai_vision/ai_service_vision_client.py +25 -25
  45. oci/analytics/analytics_client.py +23 -23
  46. oci/announcements_service/announcement_client.py +4 -4
  47. oci/announcements_service/announcement_subscription_client.py +9 -9
  48. oci/announcements_service/announcements_preferences_client.py +4 -4
  49. oci/apigateway/api_gateway_client.py +21 -21
  50. oci/apigateway/deployment_client.py +6 -6
  51. oci/apigateway/gateway_client.py +6 -6
  52. oci/apigateway/subscribers_client.py +6 -6
  53. oci/apigateway/usage_plans_client.py +6 -6
  54. oci/apigateway/work_requests_client.py +5 -5
  55. oci/apm_config/config_client.py +9 -9
  56. oci/apm_control_plane/apm_domain_client.py +14 -14
  57. oci/apm_synthetics/apm_synthetic_client.py +29 -29
  58. oci/apm_synthetics/models/__init__.py +14 -0
  59. oci/apm_synthetics/models/basic_authentication_details.py +99 -0
  60. oci/apm_synthetics/models/browser_monitor_configuration.py +1 -1
  61. oci/apm_synthetics/models/create_monitor_details.py +48 -9
  62. oci/apm_synthetics/models/database_wallet_details.py +103 -0
  63. oci/apm_synthetics/models/dns_sec_monitor_configuration.py +1 -1
  64. oci/apm_synthetics/models/dns_server_monitor_configuration.py +1 -1
  65. oci/apm_synthetics/models/dns_trace_monitor_configuration.py +1 -1
  66. oci/apm_synthetics/models/ftp_monitor_configuration.py +379 -0
  67. oci/apm_synthetics/models/monitor.py +112 -11
  68. oci/apm_synthetics/models/monitor_configuration.py +19 -3
  69. oci/apm_synthetics/models/monitor_summary.py +112 -11
  70. oci/apm_synthetics/models/network_monitor_configuration.py +1 -1
  71. oci/apm_synthetics/models/password.py +109 -0
  72. oci/apm_synthetics/models/password_in_text.py +82 -0
  73. oci/apm_synthetics/models/password_in_vault.py +83 -0
  74. oci/apm_synthetics/models/rest_monitor_configuration.py +1 -1
  75. oci/apm_synthetics/models/scripted_browser_monitor_configuration.py +1 -1
  76. oci/apm_synthetics/models/scripted_rest_monitor_configuration.py +1 -1
  77. oci/apm_synthetics/models/sql_monitor_configuration.py +307 -0
  78. oci/apm_synthetics/models/update_monitor_details.py +37 -6
  79. oci/apm_synthetics/models/vantage_point_info.py +33 -2
  80. oci/apm_synthetics/models/worker_monitor_list.py +11 -3
  81. oci/apm_traces/attributes_client.py +8 -8
  82. oci/apm_traces/query_client.py +2 -2
  83. oci/apm_traces/trace_client.py +4 -4
  84. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  85. oci/artifacts/artifacts_client.py +32 -32
  86. oci/audit/audit_client.py +3 -3
  87. oci/auth/certificate_retriever.py +13 -6
  88. oci/auth/signers/ephemeral_resource_principals_v21_signer.py +38 -5
  89. oci/auth/signers/instance_principals_security_token_signer.py +1 -1
  90. oci/auth/signers/key_pair_signer.py +2 -2
  91. oci/auth/signers/resource_principals_signer.py +17 -5
  92. oci/autoscaling/auto_scaling_client.py +11 -11
  93. oci/bastion/bastion_client.py +15 -15
  94. oci/bds/bds_client.py +66 -66
  95. oci/blockchain/blockchain_platform_client.py +27 -27
  96. oci/budget/budget_client.py +10 -10
  97. oci/capacity_management/capacity_management_client.py +22 -22
  98. oci/certificates/certificates_client.py +5 -5
  99. oci/certificates_management/certificates_management_client.py +32 -32
  100. oci/cims/incident_client.py +8 -8
  101. oci/cims/user_client.py +1 -1
  102. oci/cloud_bridge/common_client.py +5 -5
  103. oci/cloud_bridge/discovery_client.py +14 -14
  104. oci/cloud_bridge/inventory_client.py +16 -16
  105. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  106. oci/cloud_guard/cloud_guard_client.py +155 -155
  107. oci/cloud_migrations/migration_client.py +43 -43
  108. oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
  109. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  110. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  111. oci/compute_instance_agent/plugin_client.py +2 -2
  112. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  113. oci/container_engine/container_engine_client.py +44 -44
  114. oci/container_instances/container_instance_client.py +18 -18
  115. oci/core/blockstorage_client.py +60 -60
  116. oci/core/compute_client.py +508 -99
  117. oci/core/compute_client_composite_operations.py +39 -0
  118. oci/core/compute_management_client.py +32 -32
  119. oci/core/models/__init__.py +6 -0
  120. oci/core/models/instance_maintenance_event.py +1022 -0
  121. oci/core/models/instance_maintenance_event_summary.py +795 -0
  122. oci/core/models/update_instance_maintenance_event_details.py +281 -0
  123. oci/core/virtual_network_client.py +247 -247
  124. oci/dashboard_service/dashboard_client.py +6 -6
  125. oci/dashboard_service/dashboard_group_client.py +6 -6
  126. oci/data_catalog/data_catalog_client.py +149 -149
  127. oci/data_flow/data_flow_client.py +42 -42
  128. oci/data_integration/data_integration_client.py +163 -163
  129. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  130. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  131. oci/data_safe/data_safe_client.py +3762 -2702
  132. oci/data_safe/data_safe_client_composite_operations.py +307 -0
  133. oci/data_safe/models/__init__.py +14 -0
  134. oci/data_safe/models/alert.py +62 -0
  135. oci/data_safe/models/alert_policy.py +31 -0
  136. oci/data_safe/models/alert_policy_rule.py +127 -2
  137. oci/data_safe/models/alert_policy_rule_summary.py +127 -2
  138. oci/data_safe/models/alert_policy_summary.py +31 -0
  139. oci/data_safe/models/alert_summary.py +62 -0
  140. oci/data_safe/models/audit_event_summary.py +62 -0
  141. oci/data_safe/models/create_alert_policy_details.py +31 -0
  142. oci/data_safe/models/create_alert_policy_rule_details.py +33 -2
  143. oci/data_safe/models/create_discovery_job_details.py +33 -0
  144. oci/data_safe/models/create_security_assessment_details.py +31 -0
  145. oci/data_safe/models/create_sensitive_data_model_details.py +35 -0
  146. oci/data_safe/models/create_user_assessment_details.py +31 -0
  147. oci/data_safe/models/discovery_job.py +31 -0
  148. oci/data_safe/models/finding_summary.py +31 -0
  149. oci/data_safe/models/generate_report_details.py +2 -2
  150. oci/data_safe/models/references.py +34 -3
  151. oci/data_safe/models/report.py +44 -5
  152. oci/data_safe/models/report_definition.py +40 -5
  153. oci/data_safe/models/report_definition_summary.py +7 -3
  154. oci/data_safe/models/report_summary.py +13 -5
  155. oci/data_safe/models/schedule_report_details.py +2 -2
  156. oci/data_safe/models/security_assessment.py +31 -0
  157. oci/data_safe/models/sensitive_data_model.py +35 -0
  158. oci/data_safe/models/sensitive_data_model_sensitive_type_collection.py +72 -0
  159. oci/data_safe/models/sensitive_data_model_sensitive_type_summary.py +103 -0
  160. oci/data_safe/models/sql_firewall_allowed_sql.py +626 -0
  161. oci/data_safe/models/sql_firewall_allowed_sql_dimensions.py +7 -3
  162. oci/data_safe/models/sql_firewall_allowed_sql_summary.py +7 -3
  163. oci/data_safe/models/tables_for_discovery.py +103 -0
  164. oci/data_safe/models/target_alert_policy_association.py +31 -0
  165. oci/data_safe/models/target_alert_policy_association_summary.py +31 -0
  166. oci/data_safe/models/unset_security_assessment_baseline_details.py +72 -0
  167. oci/data_safe/models/unset_user_assessment_baseline_details.py +72 -0
  168. oci/data_safe/models/update_alert_policy_details.py +240 -0
  169. oci/data_safe/models/update_alert_policy_rule_details.py +33 -2
  170. oci/data_safe/models/update_security_assessment_details.py +31 -0
  171. oci/data_safe/models/update_sensitive_data_model_details.py +35 -0
  172. oci/data_safe/models/update_user_assessment_details.py +31 -0
  173. oci/data_safe/models/user_assessment.py +31 -0
  174. oci/data_safe/models/user_assessment_summary.py +31 -0
  175. oci/data_safe/models/work_request.py +39 -3
  176. oci/data_safe/models/work_request_summary.py +39 -3
  177. oci/data_science/data_science_client.py +91 -91
  178. oci/database/database_client.py +707 -353
  179. oci/database/database_client_composite_operations.py +123 -0
  180. oci/database/models/__init__.py +8 -0
  181. oci/database/models/autonomous_database.py +103 -2
  182. oci/database/models/autonomous_database_summary.py +103 -2
  183. oci/database/models/change_autonomous_database_subscription_details.py +107 -0
  184. oci/database/models/change_cloud_exadata_infrastructure_subscription_details.py +107 -0
  185. oci/database/models/change_cloud_vm_cluster_subscription_details.py +107 -0
  186. oci/database/models/change_subscription_details.py +107 -0
  187. oci/database/models/cloud_exadata_infrastructure.py +35 -0
  188. oci/database/models/cloud_exadata_infrastructure_summary.py +35 -0
  189. oci/database/models/cloud_vm_cluster.py +35 -0
  190. oci/database/models/cloud_vm_cluster_summary.py +35 -0
  191. oci/database/models/create_autonomous_database_base.py +66 -0
  192. oci/database/models/create_autonomous_database_clone_details.py +14 -0
  193. oci/database/models/create_autonomous_database_details.py +14 -0
  194. oci/database/models/create_autonomous_database_from_backup_details.py +14 -0
  195. oci/database/models/create_autonomous_database_from_backup_timestamp_details.py +14 -0
  196. oci/database/models/create_cloud_exadata_infrastructure_details.py +35 -0
  197. oci/database/models/create_cloud_vm_cluster_details.py +35 -0
  198. oci/database/models/create_cross_region_autonomous_database_data_guard_details.py +14 -0
  199. oci/database/models/create_cross_region_disaster_recovery_details.py +14 -0
  200. oci/database/models/create_cross_tenancy_disaster_recovery_details.py +14 -0
  201. oci/database/models/create_refreshable_autonomous_database_clone_details.py +14 -0
  202. oci/database/models/update_autonomous_database_details.py +31 -0
  203. oci/database_management/db_management_client.py +208 -208
  204. oci/database_management/diagnosability_client.py +4 -4
  205. oci/database_management/managed_my_sql_databases_client.py +7 -7
  206. oci/database_management/perfhub_client.py +1 -1
  207. oci/database_management/sql_tuning_client.py +17 -17
  208. oci/database_migration/database_migration_client.py +792 -66
  209. oci/database_migration/database_migration_client_composite_operations.py +179 -0
  210. oci/database_migration/models/__init__.py +8 -0
  211. oci/database_migration/models/adb_dedicated_auto_create_tablespace_details.py +11 -3
  212. oci/database_migration/models/create_adb_dedicated_auto_create_tablespace_details.py +11 -3
  213. oci/database_migration/models/create_non_adb_auto_create_tablespace_details.py +11 -3
  214. oci/database_migration/models/create_parameter_file_version_details.py +181 -0
  215. oci/database_migration/models/job.py +31 -0
  216. oci/database_migration/models/non_adb_auto_create_tablespace_details.py +11 -3
  217. oci/database_migration/models/parameter_file_version.py +274 -0
  218. oci/database_migration/models/parameter_file_version_collection.py +72 -0
  219. oci/database_migration/models/parameter_file_version_summary.py +342 -0
  220. oci/database_migration/models/phase_status.py +80 -2
  221. oci/database_migration/models/update_adb_dedicated_auto_create_tablespace_details.py +11 -3
  222. oci/database_migration/models/update_non_adb_auto_create_tablespace_details.py +11 -3
  223. oci/database_tools/database_tools_client.py +23 -23
  224. oci/demand_signal/occ_demand_signal_client.py +7 -7
  225. oci/desktops/desktop_service_client.py +21 -21
  226. oci/devops/devops_client.py +89 -89
  227. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  228. oci/dns/dns_client.py +52 -52
  229. oci/dts/appliance_export_job_client.py +6 -6
  230. oci/dts/shipping_vendors_client.py +1 -1
  231. oci/dts/transfer_appliance_client.py +8 -8
  232. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  233. oci/dts/transfer_device_client.py +5 -5
  234. oci/dts/transfer_job_client.py +6 -6
  235. oci/dts/transfer_package_client.py +7 -7
  236. oci/em_warehouse/em_data_lake_client.py +13 -13
  237. oci/em_warehouse/em_warehouse_client.py +13 -13
  238. oci/email/email_client.py +31 -31
  239. oci/email_data_plane/email_dp_client.py +1 -1
  240. oci/events/events_client.py +6 -6
  241. oci/file_storage/file_storage_client.py +51 -51
  242. oci/fleet_software_update/fleet_software_update_client.py +259 -45
  243. oci/fleet_software_update/fleet_software_update_client_composite_operations.py +52 -1
  244. oci/fleet_software_update/models/__init__.py +4 -0
  245. oci/fleet_software_update/models/cloud_vm_cluster_target_summary.py +33 -2
  246. oci/fleet_software_update/models/create_fsu_cycle_details.py +27 -0
  247. oci/fleet_software_update/models/create_patch_fsu_cycle.py +7 -0
  248. oci/fleet_software_update/models/diagnostics_collection_details.py +94 -0
  249. oci/fleet_software_update/models/fsu_collection_target.py +239 -0
  250. oci/fleet_software_update/models/fsu_cycle.py +27 -0
  251. oci/fleet_software_update/models/fsu_cycle_summary.py +27 -0
  252. oci/fleet_software_update/models/gi_resource_id_filter.py +7 -3
  253. oci/fleet_software_update/models/image_id_fsu_target_details.py +4 -1
  254. oci/fleet_software_update/models/patch_fsu_cycle.py +7 -0
  255. oci/fleet_software_update/models/update_fsu_cycle_details.py +27 -0
  256. oci/fleet_software_update/models/update_patch_fsu_cycle.py +7 -0
  257. oci/fleet_software_update/models/vm_cluster_target_summary.py +33 -2
  258. oci/functions/functions_invoke_client.py +1 -1
  259. oci/functions/functions_management_client.py +16 -16
  260. oci/fusion_apps/data_masking_activity_client.py +3 -3
  261. oci/fusion_apps/fusion_applications_client.py +41 -41
  262. oci/fusion_apps/fusion_environment_client.py +15 -15
  263. oci/fusion_apps/fusion_environment_family_client.py +8 -8
  264. oci/fusion_apps/refresh_activity_client.py +4 -4
  265. oci/fusion_apps/scheduled_activity_client.py +2 -2
  266. oci/fusion_apps/service_attachment_client.py +2 -2
  267. oci/generative_ai/generative_ai_client.py +22 -22
  268. oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
  269. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  270. oci/globally_distributed_database/sharded_database_service_client.py +30 -30
  271. oci/golden_gate/golden_gate_client.py +68 -68
  272. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  273. oci/governance_rules_control_plane/work_request_client.py +5 -5
  274. oci/healthchecks/health_checks_client.py +17 -17
  275. oci/identity/identity_client.py +145 -145
  276. oci/identity_data_plane/dataplane_client.py +2 -2
  277. oci/identity_domains/identity_domains_client.py +1525 -662
  278. oci/identity_domains/models/__init__.py +12 -0
  279. oci/identity_domains/models/extension_social_identity_provider.py +220 -0
  280. oci/identity_domains/models/identity_propagation_trust.py +0 -49
  281. oci/identity_domains/models/identity_provider_jit_prov_assigned_groups.py +214 -0
  282. oci/identity_domains/models/social_identity_provider.py +2083 -0
  283. oci/identity_domains/models/social_identity_provider_jit_prov_assigned_groups.py +202 -0
  284. oci/identity_domains/models/social_identity_provider_relay_idp_param_mappings.py +147 -0
  285. oci/identity_domains/models/social_identity_provider_search_request.py +364 -0
  286. oci/identity_domains/models/social_identity_providers.py +196 -0
  287. oci/integration/integration_instance_client.py +15 -15
  288. oci/jms/java_management_service_client.py +66 -66
  289. oci/jms_java_downloads/java_download_client.py +25 -25
  290. oci/key_management/ekm_client.py +5 -5
  291. oci/key_management/kms_crypto_client.py +6 -6
  292. oci/key_management/kms_hsm_cluster_client.py +12 -12
  293. oci/key_management/kms_management_client.py +21 -21
  294. oci/key_management/kms_vault_client.py +14 -14
  295. oci/license_manager/license_manager_client.py +18 -18
  296. oci/limits/limits_client.py +4 -4
  297. oci/limits/quotas_client.py +7 -7
  298. oci/load_balancer/load_balancer_client.py +61 -61
  299. oci/lockbox/lockbox_client.py +24 -24
  300. oci/log_analytics/log_analytics_client.py +193 -193
  301. oci/logging/logging_management_client.py +30 -30
  302. oci/loggingingestion/logging_client.py +1 -1
  303. oci/loggingsearch/log_search_client.py +1 -1
  304. oci/management_agent/management_agent_client.py +28 -28
  305. oci/management_dashboard/dashx_apis_client.py +14 -14
  306. oci/marketplace/account_client.py +2 -2
  307. oci/marketplace/marketplace_client.py +30 -30
  308. oci/marketplace_private_offer/attachment_client.py +5 -5
  309. oci/marketplace_private_offer/offer_client.py +6 -6
  310. oci/marketplace_publisher/attachment_client.py +5 -5
  311. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  312. oci/marketplace_publisher/offer_client.py +6 -6
  313. oci/media_services/media_services_client.py +60 -60
  314. oci/media_services/media_stream_client.py +2 -2
  315. oci/monitoring/monitoring_client.py +18 -18
  316. oci/mysql/channels_client.py +7 -7
  317. oci/mysql/db_backups_client.py +7 -7
  318. oci/mysql/db_system_client.py +17 -17
  319. oci/mysql/mysqlaas_client.py +7 -7
  320. oci/mysql/replicas_client.py +5 -5
  321. oci/mysql/work_requests_client.py +4 -4
  322. oci/network_firewall/models/__init__.py +22 -0
  323. oci/network_firewall/models/create_tunnel_inspection_rule_details.py +218 -0
  324. oci/network_firewall/models/create_vxlan_inspection_rule_details.py +127 -0
  325. oci/network_firewall/models/tunnel_inspection_rule.py +280 -0
  326. oci/network_firewall/models/tunnel_inspection_rule_summary.py +253 -0
  327. oci/network_firewall/models/tunnel_inspection_rule_summary_collection.py +72 -0
  328. oci/network_firewall/models/update_tunnel_inspection_rule_details.py +187 -0
  329. oci/network_firewall/models/update_vxlan_inspection_rule_details.py +120 -0
  330. oci/network_firewall/models/vxlan_inspection_rule.py +141 -0
  331. oci/network_firewall/models/vxlan_inspection_rule_match_criteria.py +104 -0
  332. oci/network_firewall/models/vxlan_inspection_rule_profile.py +72 -0
  333. oci/network_firewall/models/vxlan_inspection_rule_summary.py +134 -0
  334. oci/network_firewall/network_firewall_client.py +837 -97
  335. oci/network_firewall/network_firewall_client_composite_operations.py +42 -0
  336. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  337. oci/nosql/nosql_client.py +24 -24
  338. oci/object_storage/object_storage_client.py +50 -50
  339. oci/object_storage/transfer/internal/download/__init__.py +1 -1
  340. oci/oce/oce_instance_client.py +10 -10
  341. oci/oci_control_center/occ_metrics_client.py +3 -3
  342. oci/ocvp/cluster_client.py +5 -5
  343. oci/ocvp/esxi_host_client.py +8 -8
  344. oci/ocvp/sddc_client.py +14 -14
  345. oci/ocvp/work_request_client.py +4 -4
  346. oci/oda/management_client.py +59 -59
  347. oci/oda/oda_client.py +17 -17
  348. oci/oda/odapackage_client.py +7 -7
  349. oci/onesubscription/billing_schedule_client.py +1 -1
  350. oci/onesubscription/commitment_client.py +2 -2
  351. oci/onesubscription/computed_usage_client.py +3 -3
  352. oci/onesubscription/invoice_summary_client.py +2 -2
  353. oci/onesubscription/organization_subscription_client.py +1 -1
  354. oci/onesubscription/ratecard_client.py +1 -1
  355. oci/onesubscription/subscribed_service_client.py +2 -2
  356. oci/onesubscription/subscription_client.py +1 -1
  357. oci/ons/notification_control_plane_client.py +6 -6
  358. oci/ons/notification_data_plane_client.py +10 -10
  359. oci/opa/opa_instance_client.py +13 -13
  360. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  361. oci/opensearch/opensearch_cluster_client.py +14 -14
  362. oci/operator_access_control/access_requests_client.py +10 -10
  363. oci/operator_access_control/operator_actions_client.py +2 -2
  364. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  365. oci/operator_access_control/operator_control_client.py +6 -6
  366. oci/opsi/models/__init__.py +22 -0
  367. oci/opsi/models/autonomous_database_configuration_summary.py +1 -1
  368. oci/opsi/models/autonomous_database_insight.py +1 -1
  369. oci/opsi/models/autonomous_database_insight_summary.py +1 -1
  370. oci/opsi/models/create_database_insight_details.py +11 -3
  371. oci/opsi/models/create_em_managed_external_database_insight_details.py +1 -1
  372. oci/opsi/models/create_mds_my_sql_database_insight_details.py +107 -0
  373. oci/opsi/models/create_pe_comanaged_database_insight_details.py +1 -1
  374. oci/opsi/models/database_configuration_summary.py +11 -3
  375. oci/opsi/models/database_insight.py +11 -3
  376. oci/opsi/models/database_insight_summary.py +11 -3
  377. oci/opsi/models/em_managed_external_database_configuration_summary.py +1 -1
  378. oci/opsi/models/em_managed_external_database_insight.py +1 -1
  379. oci/opsi/models/em_managed_external_database_insight_summary.py +1 -1
  380. oci/opsi/models/enable_database_insight_details.py +11 -3
  381. oci/opsi/models/enable_em_managed_external_database_insight_details.py +1 -1
  382. oci/opsi/models/enable_mds_my_sql_database_insight_details.py +51 -0
  383. oci/opsi/models/enable_pe_comanaged_database_insight_details.py +1 -1
  384. oci/opsi/models/host_containers.py +182 -0
  385. oci/opsi/models/host_cpu_usage.py +1 -1
  386. oci/opsi/models/host_filesystem_usage.py +30 -3
  387. oci/opsi/models/host_gpu_processes.py +1 -1
  388. oci/opsi/models/host_gpu_usage.py +1 -1
  389. oci/opsi/models/host_io_usage.py +244 -0
  390. oci/opsi/models/host_memory_usage.py +1 -1
  391. oci/opsi/models/host_network_activity_summary.py +1 -1
  392. oci/opsi/models/host_performance_metric_group.py +19 -3
  393. oci/opsi/models/host_top_processes.py +158 -3
  394. oci/opsi/models/ingest_my_sql_sql_stats_details.py +72 -0
  395. oci/opsi/models/ingest_my_sql_sql_stats_response_details.py +72 -0
  396. oci/opsi/models/macs_managed_external_database_configuration_summary.py +1 -1
  397. oci/opsi/models/macs_managed_external_database_insight.py +1 -1
  398. oci/opsi/models/macs_managed_external_database_insight_summary.py +1 -1
  399. oci/opsi/models/mds_my_sql_database_insight.py +374 -0
  400. oci/opsi/models/mds_my_sql_database_insight_summary.py +210 -0
  401. oci/opsi/models/mds_mysql_database_configuration_summary.py +251 -0
  402. oci/opsi/models/my_sql_sql_stats.py +1074 -0
  403. oci/opsi/models/pe_comanaged_database_insight.py +1 -1
  404. oci/opsi/models/pe_comanaged_database_insight_summary.py +1 -1
  405. oci/opsi/models/pe_comanaged_managed_external_database_configuration_summary.py +1 -1
  406. oci/opsi/models/resource_statistics.py +64 -2
  407. oci/opsi/models/summarize_host_insight_host_recommendation_aggregation.py +11 -3
  408. oci/opsi/models/summarize_host_insight_resource_capacity_trend_aggregation_collection.py +11 -3
  409. oci/opsi/models/summarize_host_insight_resource_forecast_trend_aggregation.py +11 -3
  410. oci/opsi/models/summarize_host_insight_resource_statistics_aggregation_collection.py +11 -3
  411. oci/opsi/models/summarize_host_insight_resource_usage_aggregation.py +11 -3
  412. oci/opsi/models/summarize_host_insight_resource_usage_trend_aggregation_collection.py +11 -3
  413. oci/opsi/models/summarize_host_insight_resource_utilization_insight_aggregation.py +11 -3
  414. oci/opsi/models/update_autonomous_database_insight_details.py +1 -1
  415. oci/opsi/models/update_database_insight_details.py +11 -3
  416. oci/opsi/models/update_em_managed_external_database_insight_details.py +1 -1
  417. oci/opsi/models/update_macs_managed_external_database_insight_details.py +2 -2
  418. oci/opsi/models/update_mds_my_sql_database_insight.py +65 -0
  419. oci/opsi/models/update_pe_comanaged_database_insight_details.py +2 -2
  420. oci/opsi/operations_insights_client.py +464 -195
  421. oci/optimizer/optimizer_client.py +26 -26
  422. oci/os_management/event_client.py +8 -8
  423. oci/os_management/os_management_client.py +69 -69
  424. oci/os_management_hub/event_client.py +8 -8
  425. oci/os_management_hub/lifecycle_environment_client.py +12 -12
  426. oci/os_management_hub/managed_instance_client.py +31 -31
  427. oci/os_management_hub/managed_instance_group_client.py +25 -25
  428. oci/os_management_hub/management_station_client.py +10 -10
  429. oci/os_management_hub/onboarding_client.py +6 -6
  430. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  431. oci/os_management_hub/scheduled_job_client.py +7 -7
  432. oci/os_management_hub/software_source_client.py +27 -27
  433. oci/os_management_hub/work_request_client.py +4 -4
  434. oci/osp_gateway/address_rule_service_client.py +1 -1
  435. oci/osp_gateway/address_service_client.py +2 -2
  436. oci/osp_gateway/invoice_service_client.py +5 -5
  437. oci/osp_gateway/subscription_service_client.py +5 -5
  438. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  439. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  440. oci/osub_subscription/commitment_client.py +2 -2
  441. oci/osub_subscription/ratecard_client.py +1 -1
  442. oci/osub_subscription/subscription_client.py +1 -1
  443. oci/osub_usage/computed_usage_client.py +3 -3
  444. oci/psql/postgresql_client.py +33 -33
  445. oci/queue/queue_admin_client.py +11 -11
  446. oci/queue/queue_client.py +8 -8
  447. oci/recovery/database_recovery_client.py +25 -25
  448. oci/redis/models/create_redis_cluster_details.py +12 -2
  449. oci/redis/models/redis_cluster.py +19 -5
  450. oci/redis/models/redis_cluster_summary.py +12 -2
  451. oci/redis/models/update_redis_cluster_details.py +12 -2
  452. oci/redis/redis_cluster_client.py +11 -11
  453. oci/resource_manager/resource_manager_client.py +52 -52
  454. oci/resource_scheduler/schedule_client.py +13 -13
  455. oci/resource_search/resource_search_client.py +3 -3
  456. oci/rover/rover_bundle_client.py +8 -8
  457. oci/rover/rover_cluster_client.py +8 -8
  458. oci/rover/rover_entitlement_client.py +6 -6
  459. oci/rover/rover_node_client.py +15 -15
  460. oci/rover/shape_client.py +1 -1
  461. oci/rover/work_requests_client.py +5 -5
  462. oci/sch/connector_plugins_client.py +2 -2
  463. oci/sch/service_connector_client.py +12 -12
  464. oci/secrets/secrets_client.py +3 -3
  465. oci/service_catalog/service_catalog_client.py +26 -26
  466. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  467. oci/service_mesh/service_mesh_client.py +48 -48
  468. oci/stack_monitoring/models/baselineable_metric.py +155 -124
  469. oci/stack_monitoring/models/baselineable_metric_summary.py +31 -0
  470. oci/stack_monitoring/models/create_baselineable_metric_details.py +35 -4
  471. oci/stack_monitoring/models/update_baselineable_metric_details.py +31 -0
  472. oci/stack_monitoring/stack_monitoring_client.py +74 -64
  473. oci/streaming/stream_admin_client.py +18 -18
  474. oci/streaming/stream_client.py +8 -8
  475. oci/tenant_manager_control_plane/domain_client.py +5 -5
  476. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  477. oci/tenant_manager_control_plane/governance_client.py +2 -2
  478. oci/tenant_manager_control_plane/link_client.py +3 -3
  479. oci/tenant_manager_control_plane/orders_client.py +2 -2
  480. oci/tenant_manager_control_plane/organization_client.py +10 -10
  481. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  482. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  483. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  484. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  485. oci/threat_intelligence/threatintel_client.py +5 -5
  486. oci/usage/resources_client.py +2 -2
  487. oci/usage/rewards_client.py +6 -6
  488. oci/usage/usagelimits_client.py +1 -1
  489. oci/usage_api/usageapi_client.py +33 -33
  490. oci/vault/vaults_client.py +13 -13
  491. oci/vbs_inst/vbs_instance_client.py +10 -10
  492. oci/version.py +1 -1
  493. oci/visual_builder/vb_instance_client.py +13 -13
  494. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  495. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  496. oci/waa/waa_client.py +13 -13
  497. oci/waa/work_request_client.py +4 -4
  498. oci/waas/redirect_client.py +6 -6
  499. oci/waas/waas_client.py +66 -66
  500. oci/waf/waf_client.py +24 -24
  501. oci/work_requests/work_request_client.py +4 -4
  502. {oci-2.129.3.dist-info → oci-2.130.0.dist-info}/METADATA +1 -1
  503. {oci-2.129.3.dist-info → oci-2.130.0.dist-info}/RECORD +507 -417
  504. {oci-2.129.3.dist-info → oci-2.130.0.dist-info}/LICENSE.txt +0 -0
  505. {oci-2.129.3.dist-info → oci-2.130.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  506. {oci-2.129.3.dist-info → oci-2.130.0.dist-info}/WHEEL +0 -0
  507. {oci-2.129.3.dist-info → oci-2.130.0.dist-info}/top_level.txt +0 -0
@@ -41,7 +41,9 @@ class EphemeralResourcePrincipalV21Signer(SecurityTokenSigner):
41
41
  if private_key is None:
42
42
  raise ValueError("private_key should be provided")
43
43
 
44
- if kwargs.get("rp_version") == "2.1.1" and tenancy_id is None:
44
+ self.rp_version = rp_version
45
+
46
+ if self.rp_version in ["2.1.1", "2.1.2"] and tenancy_id is None:
45
47
  raise ValueError("tenancy_id should be provided")
46
48
 
47
49
  self._reset_signers_lock = threading.Lock()
@@ -52,8 +54,13 @@ class EphemeralResourcePrincipalV21Signer(SecurityTokenSigner):
52
54
  else:
53
55
  self.retry_strategy = oci.retry.DEFAULT_RETRY_STRATEGY
54
56
 
55
- # Hard coded Path for RPT
56
- self.resource_principal_token_path = f"/20180711/resourcePrincipalTokenV2/{resource_id}"
57
+ if kwargs.get("security_context"):
58
+ self.security_context = kwargs.get("security_context")
59
+
60
+ if self.rp_version == "2.1.2":
61
+ self.resource_principal_token_path = self.build_rpt_path_for_rpv212(resource_principal_token_path=kwargs.get("resource_principal_token_path"), resource_id=resource_id)
62
+ else:
63
+ self.resource_principal_token_path = f"/20180711/resourcePrincipalTokenV2/{resource_id}"
57
64
 
58
65
  # Holders for the tokens needed.
59
66
  self.rpt = None
@@ -84,7 +91,8 @@ class EphemeralResourcePrincipalV21Signer(SecurityTokenSigner):
84
91
  super(EphemeralResourcePrincipalV21Signer, self).__init__(self.security_token.security_token,
85
92
  self.session_key_supplier.get_key_pair()['private'])
86
93
 
87
- def construct_session_key_supplier(self, private_key=None, private_key_passphrase=None):
94
+ @staticmethod
95
+ def construct_session_key_supplier(private_key=None, private_key_passphrase=None):
88
96
  if private_key is None:
89
97
  raise ValueError("private_key must be provided")
90
98
  passphrase = private_key_passphrase
@@ -93,6 +101,23 @@ class EphemeralResourcePrincipalV21Signer(SecurityTokenSigner):
93
101
  else:
94
102
  return FixedSessionKeySupplier(oci.signer.load_private_key(private_key, passphrase))
95
103
 
104
+ @staticmethod
105
+ def build_rpt_path_for_rpv212(resource_principal_token_path, resource_id):
106
+ # For RPv2.1.2 if the resource_principal_token_path is set then use that path else use default hard coded path
107
+ if resource_principal_token_path:
108
+ if resource_principal_token_path.endswith("{}"):
109
+ # if build RPT has a {} in it replace it with resource_id
110
+ resource_principal_token_path = resource_principal_token_path.replace("{}", resource_id)
111
+ else:
112
+ # Append resource id at the end
113
+ if resource_principal_token_path[-1] != '/':
114
+ resource_principal_token_path = f"{resource_principal_token_path}/"
115
+ resource_principal_token_path = f"{resource_principal_token_path}{resource_id}"
116
+ else:
117
+ # Hard coded path for RPv2.1.2
118
+ resource_principal_token_path = f"/20180711/resourcePrincipalTokenV212/{resource_id}"
119
+ return resource_principal_token_path
120
+
96
121
  def get_security_token(self):
97
122
  """
98
123
  Returns the security token. If it is expired, refresh the token.
@@ -145,7 +170,15 @@ class EphemeralResourcePrincipalV21Signer(SecurityTokenSigner):
145
170
  method = "get"
146
171
  self.base_client.endpoint = self.resource_principal_token_endpoint
147
172
 
148
- response = self.make_call(method, self.resource_principal_token_path)
173
+ if self.rp_version == "2.1.2" and self.security_context:
174
+ # For RPv2.1.2 with security context, pass security context in request header
175
+ # else just do a Get similar to 2.1/2.1.1
176
+ header_params = {'security-context': self.security_context}
177
+ response = self.make_call(method, self.resource_principal_token_path, header_params=header_params)
178
+
179
+ else:
180
+ response = self.make_call(method, self.resource_principal_token_path)
181
+
149
182
  parsed_response = json.loads(response.data.decode('UTF-8'))
150
183
  return parsed_response['resourcePrincipalToken'], parsed_response['servicePrincipalSessionToken']
151
184
 
@@ -89,7 +89,7 @@ class InstancePrincipalsSecurityTokenSigner(X509FederationClientBasedSecurityTok
89
89
  retry_strategy=self.retry_strategy,
90
90
  headers=self.METADATA_AUTH_HEADERS,
91
91
  log_requests=kwargs.get('log_requests'))
92
- except (HTTPError, ConnectTimeout) as e:
92
+ except (HTTPError, ConnectTimeout, oci.exceptions.ServiceError) as e:
93
93
  if e.response and e.response.status_code == 404:
94
94
  InstancePrincipalsSecurityTokenSigner.METADATA_URL_BASE = 'http://169.254.169.254/opc/v1'
95
95
  InstancePrincipalsSecurityTokenSigner.GET_REGION_URL = '{}/instance/region'.format(InstancePrincipalsSecurityTokenSigner.METADATA_URL_BASE)
@@ -17,8 +17,8 @@ class KeyPairSigner(oci.signer.AbstractBaseSigner):
17
17
  def __init__(self, rp_version, resource_id, tenancy_id, private_key_content, pass_phrase=None,
18
18
  generic_headers=["date", "(request-target)", "host"],
19
19
  body_headers=["content-length", "content-type", "x-content-sha256"]):
20
- if rp_version == "2.1.1" and tenancy_id and resource_id:
21
- self.api_key = "resource/v2.1.1/" + tenancy_id + "/" + resource_id
20
+ if (rp_version == "2.1.1" or rp_version == "2.1.2") and tenancy_id and resource_id:
21
+ self.api_key = f"resource/v{rp_version}/{tenancy_id}/{resource_id}"
22
22
  elif rp_version == "2.1" and resource_id:
23
23
  self.api_key = "resource/v2.1/" + resource_id
24
24
  else:
@@ -21,6 +21,8 @@ OCI_RESOURCE_PRINCIPAL_RPT_ENDPOINT = "OCI_RESOURCE_PRINCIPAL_RPT_ENDPOINT"
21
21
  OCI_RESOURCE_PRINCIPAL_RPST_ENDPOINT = "OCI_RESOURCE_PRINCIPAL_RPST_ENDPOINT"
22
22
  OCI_RESOURCE_PRINCIPAL_RESOURCE_ID = "OCI_RESOURCE_PRINCIPAL_RESOURCE_ID"
23
23
  OCI_RESOURCE_PRINCIPAL_TENANCY_ID = "OCI_RESOURCE_PRINCIPAL_TENANCY_ID"
24
+ OCI_RESOURCE_PRINCIPAL_SECURITY_CONTEXT = "OCI_RESOURCE_PRINCIPAL_SECURITY_CONTEXT"
25
+ OCI_RESOURCE_PRINCIPAL_RPT_PATH = "OCI_RESOURCE_PRINCIPAL_RPT_PATH"
24
26
 
25
27
  # Resource Principal v3.0
26
28
  OCI_RESOURCE_PRINCIPAL_VERSION_FOR_LEAF_RESOURCE = "OCI_RESOURCE_PRINCIPAL_VERSION_FOR_LEAF_RESOURCE"
@@ -32,9 +34,11 @@ OCI_RESOURCE_PRINCIPAL_RPST_FOR_LEAF_RESOURCE = "OCI_RESOURCE_PRINCIPAL_RPST_FOR
32
34
  OCI_RESOURCE_PRINCIPAL_PRIVATE_PEM_FOR_LEAF_RESOURCE = "OCI_RESOURCE_PRINCIPAL_PRIVATE_PEM_FOR_LEAF_RESOURCE"
33
35
  OCI_RESOURCE_PRINCIPAL_PRIVATE_PEM_PASSPHRASE_FOR_LEAF_RESOURCE = "OCI_RESOURCE_PRINCIPAL_PRIVATE_PEM_PASSPHRASE_FOR_LEAF_RESOURCE"
34
36
  OCI_RESOURCE_PRINCIPAL_REGION_FOR_LEAF_RESOURCE = "OCI_RESOURCE_PRINCIPAL_REGION_FOR_LEAF_RESOURCE"
35
- # For 2.1/2.1.1 LEAF-resource
37
+ # For 2.1/2.1.1/2.1.2 LEAF-resource
36
38
  OCI_RESOURCE_PRINCIPAL_RESOURCE_ID_FOR_LEAF_RESOURCE = "OCI_RESOURCE_PRINCIPAL_RESOURCE_ID_FOR_LEAF_RESOURCE"
37
39
  OCI_RESOURCE_PRINCIPAL_TENANCY_ID_FOR_LEAF_RESOURCE = "OCI_RESOURCE_PRINCIPAL_TENANCY_ID_FOR_LEAF_RESOURCE"
40
+ OCI_RESOURCE_PRINCIPAL_SECURITY_CONTEXT_FOR_LEAF_RESOURCE = "OCI_RESOURCE_PRINCIPAL_SECURITY_CONTEXT_FOR_LEAF_RESOURCE"
41
+ OCI_RESOURCE_PRINCIPAL_RPT_PATH_FOR_LEAF_RESOURCE = "OCI_RESOURCE_PRINCIPAL_RPT_PATH_FOR_LEAF_RESOURCE"
38
42
  # For Parent Resource
39
43
  OCI_RESOURCE_PRINCIPAL_RPT_URL_FOR_PARENT_RESOURCE = "OCI_RESOURCE_PRINCIPAL_RPT_URL_FOR_PARENT_RESOURCE"
40
44
  OCI_RESOURCE_PRINCIPAL_RPT_ENDPOINT_FOR_PARENT_RESOURCE = "OCI_RESOURCE_PRINCIPAL_RPT_ENDPOINT_FOR_PARENT_RESOURCE"
@@ -100,7 +104,7 @@ def get_resource_principals_signer(resource_principal_token_path_provider=None):
100
104
  private_key=private_key_for_leaf_resource,
101
105
  private_key_passphrase=private_key_passphrase_for_leaf_resource,
102
106
  region=region_for_leaf_resource)
103
- elif resource_principal_version_for_leaf_resource in ["2.1", "2.1.1"]:
107
+ elif resource_principal_version_for_leaf_resource in ["2.1", "2.1.1", "2.1.2"]:
104
108
  resource_principal_token_endpoint_for_leaf_resource = os.environ.get(OCI_RESOURCE_PRINCIPAL_RPT_ENDPOINT_FOR_LEAF_RESOURCE)
105
109
  resource_principal_session_token_endpoint_for_leaf_resource = os.environ.get(OCI_RESOURCE_PRINCIPAL_RPST_ENDPOINT_FOR_LEAF_RESOURCE)
106
110
  resource_id_for_leaf_resource = os.environ.get(OCI_RESOURCE_PRINCIPAL_RESOURCE_ID_FOR_LEAF_RESOURCE)
@@ -108,6 +112,8 @@ def get_resource_principals_signer(resource_principal_token_path_provider=None):
108
112
  private_key_for_leaf_resource = os.environ.get(OCI_RESOURCE_PRINCIPAL_PRIVATE_PEM_FOR_LEAF_RESOURCE)
109
113
  private_key_passphrase_for_leaf_resource = os.environ.get(OCI_RESOURCE_PRINCIPAL_PRIVATE_PEM_PASSPHRASE_FOR_LEAF_RESOURCE)
110
114
  region_for_leaf_resource = os.environ.get(OCI_RESOURCE_PRINCIPAL_REGION_FOR_LEAF_RESOURCE)
115
+ security_context = os.environ.get(OCI_RESOURCE_PRINCIPAL_SECURITY_CONTEXT_FOR_LEAF_RESOURCE)
116
+ resource_principal_token_path = os.environ.get(OCI_RESOURCE_PRINCIPAL_RPT_PATH_FOR_LEAF_RESOURCE)
111
117
 
112
118
  leaf_resource_rp_signer = EphemeralResourcePrincipalV21Signer(resource_principal_token_endpoint=resource_principal_token_endpoint_for_leaf_resource,
113
119
  resource_principal_session_token_endpoint=resource_principal_session_token_endpoint_for_leaf_resource,
@@ -116,7 +122,9 @@ def get_resource_principals_signer(resource_principal_token_path_provider=None):
116
122
  private_key=private_key_for_leaf_resource,
117
123
  private_key_passphrase=private_key_passphrase_for_leaf_resource,
118
124
  rp_version=rp_version,
119
- region=region_for_leaf_resource)
125
+ region=region_for_leaf_resource,
126
+ security_context=security_context,
127
+ resource_principal_token_path=resource_principal_token_path)
120
128
  elif resource_principal_version_for_leaf_resource == "1.1":
121
129
  resource_principal_token_endpoint_for_leaf_resource = os.environ.get(OCI_RESOURCE_PRINCIPAL_RPT_ENDPOINT_FOR_LEAF_RESOURCE)
122
130
  resource_principal_session_token_endpoint_for_leaf_resource = os.environ.get(OCI_RESOURCE_PRINCIPAL_RPST_ENDPOINT_FOR_LEAF_RESOURCE)
@@ -180,7 +188,7 @@ def get_resource_principals_signer(resource_principal_token_path_provider=None):
180
188
  private_key_passphrase=private_key_passphrase,
181
189
  region=region)
182
190
 
183
- elif rp_version in ["2.1", "2.1.1"]:
191
+ elif rp_version in ["2.1", "2.1.1", "2.1.2"]:
184
192
  """
185
193
  This signer takes its configuration from the following environment variables.
186
194
  - OCI_RESOURCE_PRINCIPAL_RPT_ENDPOINT: The endpoint for retrieving the Resource Principal Token
@@ -198,6 +206,8 @@ def get_resource_principals_signer(resource_principal_token_path_provider=None):
198
206
  private_key = os.environ.get(OCI_RESOURCE_PRINCIPAL_PRIVATE_PEM)
199
207
  private_key_passphrase = os.environ.get(OCI_RESOURCE_PRINCIPAL_PRIVATE_PEM_PASSPHRASE)
200
208
  region = os.environ.get(OCI_RESOURCE_PRINCIPAL_REGION)
209
+ security_context = os.environ.get(OCI_RESOURCE_PRINCIPAL_SECURITY_CONTEXT)
210
+ resource_principal_token_path = os.environ.get(OCI_RESOURCE_PRINCIPAL_RPT_PATH)
201
211
 
202
212
  return EphemeralResourcePrincipalV21Signer(resource_principal_token_endpoint=resource_principal_token_endpoint,
203
213
  resource_principal_session_token_endpoint=resource_principal_session_token_endpoint,
@@ -206,7 +216,9 @@ def get_resource_principals_signer(resource_principal_token_path_provider=None):
206
216
  private_key=private_key,
207
217
  private_key_passphrase=private_key_passphrase,
208
218
  rp_version=rp_version,
209
- region=region)
219
+ region=region,
220
+ security_context=security_context,
221
+ resource_principal_token_path=resource_principal_token_path)
210
222
 
211
223
  elif rp_version == "1.1":
212
224
  """
@@ -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.129.3/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.130.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.129.3/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.130.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.129.3/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.130.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.129.3/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.130.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.129.3/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.130.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.129.3/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.130.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.129.3/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.130.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.129.3/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.130.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.129.3/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.130.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.129.3/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.130.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.129.3/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.130.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']
@@ -153,7 +153,7 @@ class BastionClient(object):
153
153
  :rtype: :class:`~oci.response.Response`
154
154
 
155
155
  :example:
156
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/bastion/change_bastion_compartment.py.html>`__ to see an example of how to use change_bastion_compartment API.
156
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/bastion/change_bastion_compartment.py.html>`__ to see an example of how to use change_bastion_compartment API.
157
157
  """
158
158
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
159
159
  required_arguments = ['bastionId']
@@ -258,7 +258,7 @@ class BastionClient(object):
258
258
  :rtype: :class:`~oci.response.Response`
259
259
 
260
260
  :example:
261
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/bastion/create_bastion.py.html>`__ to see an example of how to use create_bastion API.
261
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/bastion/create_bastion.py.html>`__ to see an example of how to use create_bastion API.
262
262
  """
263
263
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
264
264
  required_arguments = []
@@ -354,7 +354,7 @@ class BastionClient(object):
354
354
  :rtype: :class:`~oci.response.Response`
355
355
 
356
356
  :example:
357
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/bastion/create_session.py.html>`__ to see an example of how to use create_session API.
357
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/bastion/create_session.py.html>`__ to see an example of how to use create_session API.
358
358
  """
359
359
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
360
360
  required_arguments = []
@@ -450,7 +450,7 @@ class BastionClient(object):
450
450
  :rtype: :class:`~oci.response.Response`
451
451
 
452
452
  :example:
453
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/bastion/delete_bastion.py.html>`__ to see an example of how to use delete_bastion API.
453
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/bastion/delete_bastion.py.html>`__ to see an example of how to use delete_bastion API.
454
454
  """
455
455
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
456
456
  required_arguments = ['bastionId']
@@ -553,7 +553,7 @@ class BastionClient(object):
553
553
  :rtype: :class:`~oci.response.Response`
554
554
 
555
555
  :example:
556
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/bastion/delete_session.py.html>`__ to see an example of how to use delete_session API.
556
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/bastion/delete_session.py.html>`__ to see an example of how to use delete_session API.
557
557
  """
558
558
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
559
559
  required_arguments = ['sessionId']
@@ -649,7 +649,7 @@ class BastionClient(object):
649
649
  :rtype: :class:`~oci.response.Response`
650
650
 
651
651
  :example:
652
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/bastion/get_bastion.py.html>`__ to see an example of how to use get_bastion API.
652
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/bastion/get_bastion.py.html>`__ to see an example of how to use get_bastion API.
653
653
  """
654
654
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
655
655
  required_arguments = ['bastionId']
@@ -747,7 +747,7 @@ class BastionClient(object):
747
747
  :rtype: :class:`~oci.response.Response`
748
748
 
749
749
  :example:
750
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/bastion/get_session.py.html>`__ to see an example of how to use get_session API.
750
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/bastion/get_session.py.html>`__ to see an example of how to use get_session API.
751
751
  """
752
752
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
753
753
  required_arguments = ['sessionId']
@@ -845,7 +845,7 @@ class BastionClient(object):
845
845
  :rtype: :class:`~oci.response.Response`
846
846
 
847
847
  :example:
848
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/bastion/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
848
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/bastion/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
849
849
  """
850
850
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
851
851
  required_arguments = ['workRequestId']
@@ -968,7 +968,7 @@ class BastionClient(object):
968
968
  :rtype: :class:`~oci.response.Response`
969
969
 
970
970
  :example:
971
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/bastion/list_bastions.py.html>`__ to see an example of how to use list_bastions API.
971
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/bastion/list_bastions.py.html>`__ to see an example of how to use list_bastions API.
972
972
  """
973
973
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
974
974
  required_arguments = ['compartmentId']
@@ -1121,7 +1121,7 @@ class BastionClient(object):
1121
1121
  :rtype: :class:`~oci.response.Response`
1122
1122
 
1123
1123
  :example:
1124
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/bastion/list_sessions.py.html>`__ to see an example of how to use list_sessions API.
1124
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/bastion/list_sessions.py.html>`__ to see an example of how to use list_sessions API.
1125
1125
  """
1126
1126
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1127
1127
  required_arguments = ['bastionId']
@@ -1253,7 +1253,7 @@ class BastionClient(object):
1253
1253
  :rtype: :class:`~oci.response.Response`
1254
1254
 
1255
1255
  :example:
1256
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/bastion/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
1256
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/bastion/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
1257
1257
  """
1258
1258
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1259
1259
  required_arguments = ['workRequestId']
@@ -1365,7 +1365,7 @@ class BastionClient(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.129.3/bastion/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
1368
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/bastion/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
1369
1369
  """
1370
1370
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1371
1371
  required_arguments = ['workRequestId']
@@ -1477,7 +1477,7 @@ class BastionClient(object):
1477
1477
  :rtype: :class:`~oci.response.Response`
1478
1478
 
1479
1479
  :example:
1480
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/bastion/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
1480
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/bastion/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
1481
1481
  """
1482
1482
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1483
1483
  required_arguments = ['compartmentId']
@@ -1582,7 +1582,7 @@ class BastionClient(object):
1582
1582
  :rtype: :class:`~oci.response.Response`
1583
1583
 
1584
1584
  :example:
1585
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/bastion/update_bastion.py.html>`__ to see an example of how to use update_bastion API.
1585
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/bastion/update_bastion.py.html>`__ to see an example of how to use update_bastion API.
1586
1586
  """
1587
1587
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1588
1588
  required_arguments = ['bastionId']
@@ -1692,7 +1692,7 @@ class BastionClient(object):
1692
1692
  :rtype: :class:`~oci.response.Response`
1693
1693
 
1694
1694
  :example:
1695
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.129.3/bastion/update_session.py.html>`__ to see an example of how to use update_session API.
1695
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.130.0/bastion/update_session.py.html>`__ to see an example of how to use update_session API.
1696
1696
  """
1697
1697
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1698
1698
  required_arguments = ['sessionId']