oci 2.110.2__py3-none-any.whl → 2.112.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 (475) hide show
  1. oci/access_governance_cp/access_governance_cp_client.py +8 -8
  2. oci/adm/application_dependency_management_client.py +18 -18
  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 +36 -36
  6. oci/ai_speech/ai_service_speech_client.py +9 -9
  7. oci/ai_vision/ai_service_vision_client.py +25 -25
  8. oci/analytics/analytics_client.py +23 -23
  9. oci/announcements_service/announcement_client.py +4 -4
  10. oci/announcements_service/announcement_subscription_client.py +9 -9
  11. oci/announcements_service/announcements_preferences_client.py +4 -4
  12. oci/apigateway/api_gateway_client.py +21 -21
  13. oci/apigateway/deployment_client.py +6 -6
  14. oci/apigateway/gateway_client.py +6 -6
  15. oci/apigateway/subscribers_client.py +6 -6
  16. oci/apigateway/usage_plans_client.py +6 -6
  17. oci/apigateway/work_requests_client.py +5 -5
  18. oci/apm_config/config_client.py +8 -8
  19. oci/apm_control_plane/apm_domain_client.py +14 -14
  20. oci/apm_synthetics/apm_synthetic_client.py +18 -18
  21. oci/apm_synthetics/models/__init__.py +2 -0
  22. oci/apm_synthetics/models/browser_monitor_configuration.py +3 -3
  23. oci/apm_synthetics/models/client_certificate.py +1 -1
  24. oci/apm_synthetics/models/create_monitor_details.py +9 -3
  25. oci/apm_synthetics/models/link.py +2 -2
  26. oci/apm_synthetics/models/monitor.py +9 -3
  27. oci/apm_synthetics/models/monitor_configuration.py +11 -3
  28. oci/apm_synthetics/models/monitor_summary.py +9 -3
  29. oci/apm_synthetics/models/network_monitor_configuration.py +92 -0
  30. oci/apm_synthetics/models/private_key.py +1 -1
  31. oci/apm_synthetics/models/rest_monitor_configuration.py +1 -1
  32. oci/apm_synthetics/models/scripted_browser_monitor_configuration.py +3 -3
  33. oci/apm_synthetics/models/scripted_rest_monitor_configuration.py +1 -1
  34. oci/apm_synthetics/models/update_monitor_details.py +2 -0
  35. oci/apm_traces/query_client.py +2 -2
  36. oci/apm_traces/trace_client.py +4 -4
  37. oci/application_migration/application_migration_client.py +19 -19
  38. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  39. oci/artifacts/artifacts_client.py +32 -32
  40. oci/audit/audit_client.py +3 -3
  41. oci/auth/auth_utils.py +16 -0
  42. oci/auth/rpt_path_providers.py +54 -4
  43. oci/auth/security_token_container.py +4 -0
  44. oci/auth/signers/__init__.py +3 -1
  45. oci/auth/signers/ephemeral_resource_principals_v21_signer.py +31 -1
  46. oci/auth/signers/nested_resource_principals_signer.py +200 -0
  47. oci/auth/signers/oke_workload_identity_resource_principal_signer.py +154 -0
  48. oci/auth/signers/resource_principals_federation_signer.py +1 -1
  49. oci/auth/signers/resource_principals_signer.py +149 -5
  50. oci/autoscaling/auto_scaling_client.py +11 -11
  51. oci/base_client.py +3 -1
  52. oci/bastion/bastion_client.py +15 -15
  53. oci/bds/bds_client.py +47 -47
  54. oci/blockchain/blockchain_platform_client.py +27 -27
  55. oci/budget/budget_client.py +10 -10
  56. oci/certificates/certificates_client.py +5 -5
  57. oci/certificates_management/certificates_management_client.py +32 -32
  58. oci/cims/__init__.py +1 -3
  59. oci/cims/incident_client.py +356 -93
  60. oci/cims/models/__init__.py +6 -0
  61. oci/cims/models/account_item.py +85 -0
  62. oci/cims/models/activity_item.py +112 -14
  63. oci/cims/models/category.py +5 -5
  64. oci/cims/models/contact.py +32 -1
  65. oci/cims/models/contextual_data.py +9 -9
  66. oci/cims/models/create_account_item_details.py +78 -0
  67. oci/cims/models/create_category_details.py +2 -4
  68. oci/cims/models/create_incident.py +13 -9
  69. oci/cims/models/create_issue_type_details.py +0 -2
  70. oci/cims/models/create_item_details.py +9 -7
  71. oci/cims/models/create_limit_item_details.py +3 -3
  72. oci/cims/models/create_resource_details.py +2 -289
  73. oci/cims/models/create_sub_category_details.py +3 -5
  74. oci/cims/models/create_tech_support_item_details.py +1 -3
  75. oci/cims/models/create_ticket_details.py +11 -13
  76. oci/cims/models/create_user_details.py +65 -36
  77. oci/cims/models/incident.py +10 -6
  78. oci/cims/models/incident_resource_type.py +66 -4
  79. oci/cims/models/incident_summary.py +9 -5
  80. oci/cims/models/incident_type.py +1 -1
  81. oci/cims/models/issue_type.py +33 -2
  82. oci/cims/models/item.py +8 -4
  83. oci/cims/models/limit_item.py +7 -7
  84. oci/cims/models/resource.py +2 -285
  85. oci/cims/models/service_categories.py +134 -0
  86. oci/cims/models/service_category.py +1 -1
  87. oci/cims/models/sub_category.py +5 -5
  88. oci/cims/models/tenancy_information.py +3 -3
  89. oci/cims/models/ticket.py +7 -3
  90. oci/cims/models/update_activity_item_details.py +8 -6
  91. oci/cims/models/update_incident.py +62 -2
  92. oci/cims/models/update_item_details.py +3 -5
  93. oci/cims/models/update_resource_details.py +0 -2
  94. oci/cims/models/update_ticket_details.py +0 -2
  95. oci/cims/models/user.py +79 -19
  96. oci/cims/user_client.py +1 -1
  97. oci/cloud_bridge/common_client.py +5 -5
  98. oci/cloud_bridge/discovery_client.py +14 -14
  99. oci/cloud_bridge/inventory_client.py +16 -16
  100. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  101. oci/cloud_guard/cloud_guard_client.py +133 -133
  102. oci/cloud_migrations/migration_client.py +43 -43
  103. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  104. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  105. oci/compute_instance_agent/plugin_client.py +2 -2
  106. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  107. oci/container_engine/container_engine_client.py +44 -44
  108. oci/container_instances/container_instance_client.py +129 -24
  109. oci/core/blockstorage_client.py +60 -60
  110. oci/core/compute_client.py +90 -90
  111. oci/core/compute_management_client.py +32 -32
  112. oci/core/models/__init__.py +20 -0
  113. oci/core/models/amd_milan_bm_gpu_launch_instance_platform_config.py +34 -3
  114. oci/core/models/amd_milan_bm_gpu_platform_config.py +34 -3
  115. oci/core/models/amd_milan_bm_launch_instance_platform_config.py +34 -3
  116. oci/core/models/amd_milan_bm_platform_config.py +34 -3
  117. oci/core/models/amd_rome_bm_gpu_launch_instance_platform_config.py +34 -3
  118. oci/core/models/amd_rome_bm_gpu_platform_config.py +34 -3
  119. oci/core/models/amd_rome_bm_launch_instance_platform_config.py +34 -3
  120. oci/core/models/amd_rome_bm_platform_config.py +34 -3
  121. oci/core/models/amd_vm_launch_instance_platform_config.py +1 -1
  122. oci/core/models/amd_vm_platform_config.py +1 -1
  123. oci/core/models/capture_filter.py +5 -2
  124. oci/core/models/change_capture_filter_compartment_details.py +1 -1
  125. oci/core/models/cluster_network_placement_configuration_details.py +32 -5
  126. oci/core/models/cpe.py +33 -2
  127. oci/core/models/create_capture_filter_details.py +1 -1
  128. oci/core/models/create_cpe_details.py +33 -2
  129. oci/core/models/create_instance_pool_placement_configuration_details.py +32 -5
  130. oci/core/models/create_ip_sec_connection_tunnel_details.py +105 -0
  131. oci/core/models/create_macsec_properties.py +33 -2
  132. oci/core/models/create_virtual_circuit_details.py +31 -0
  133. oci/core/models/create_vnic_details.py +76 -0
  134. oci/core/models/drg_attachment_network_create_details.py +1 -1
  135. oci/core/models/drg_attachment_network_details.py +5 -1
  136. oci/core/models/generic_bm_launch_instance_platform_config.py +349 -0
  137. oci/core/models/generic_bm_platform_config.py +349 -0
  138. oci/core/models/instance_configuration_amd_milan_bm_gpu_launch_instance_platform_config.py +34 -3
  139. oci/core/models/instance_configuration_amd_milan_bm_launch_instance_platform_config.py +34 -3
  140. oci/core/models/instance_configuration_amd_rome_bm_gpu_launch_instance_platform_config.py +34 -3
  141. oci/core/models/instance_configuration_amd_rome_bm_launch_instance_platform_config.py +34 -3
  142. oci/core/models/instance_configuration_amd_vm_launch_instance_platform_config.py +1 -1
  143. oci/core/models/instance_configuration_create_vnic_details.py +76 -0
  144. oci/core/models/instance_configuration_generic_bm_launch_instance_platform_config.py +349 -0
  145. oci/core/models/instance_configuration_intel_icelake_bm_launch_instance_platform_config.py +34 -3
  146. oci/core/models/instance_configuration_intel_skylake_bm_launch_instance_platform_config.py +199 -3
  147. oci/core/models/instance_configuration_intel_vm_launch_instance_platform_config.py +1 -1
  148. oci/core/models/instance_configuration_ipv6_address_ipv6_subnet_cidr_pair_details.py +103 -0
  149. oci/core/models/instance_configuration_launch_instance_platform_config.py +11 -3
  150. oci/core/models/instance_pool_placement_configuration.py +32 -3
  151. oci/core/models/instance_pool_placement_ipv6_address_ipv6_subnet_cidr_details.py +72 -0
  152. oci/core/models/instance_pool_placement_primary_subnet.py +152 -0
  153. oci/core/models/instance_pool_placement_secondary_vnic_subnet.py +76 -0
  154. oci/core/models/instance_pool_placement_subnet_details.py +152 -0
  155. oci/core/models/intel_icelake_bm_launch_instance_platform_config.py +34 -3
  156. oci/core/models/intel_icelake_bm_platform_config.py +34 -3
  157. oci/core/models/intel_skylake_bm_launch_instance_platform_config.py +199 -3
  158. oci/core/models/intel_skylake_bm_platform_config.py +199 -3
  159. oci/core/models/intel_vm_launch_instance_platform_config.py +1 -1
  160. oci/core/models/intel_vm_platform_config.py +1 -1
  161. oci/core/models/ip_sec_connection.py +49 -2
  162. oci/core/models/ip_sec_connection_tunnel.py +37 -2
  163. oci/core/models/ipsec_tunnel_drg_attachment_network_details.py +37 -2
  164. oci/core/models/ipv6_address_ipv6_subnet_cidr_pair_details.py +109 -0
  165. oci/core/models/launch_instance_platform_config.py +11 -3
  166. oci/core/models/loop_back_drg_attachment_network_details.py +93 -0
  167. oci/core/models/macsec_properties.py +33 -2
  168. oci/core/models/platform_config.py +11 -3
  169. oci/core/models/shape_platform_config_options.py +7 -3
  170. oci/core/models/update_capture_filter_details.py +1 -1
  171. oci/core/models/update_instance_pool_placement_configuration_details.py +34 -7
  172. oci/core/models/update_macsec_properties.py +33 -2
  173. oci/core/models/update_virtual_circuit_details.py +31 -0
  174. oci/core/models/virtual_circuit.py +31 -0
  175. oci/core/models/virtual_circuit_associated_tunnel_details.py +154 -0
  176. oci/core/models/virtual_circuit_drg_attachment_network_details.py +37 -2
  177. oci/core/models/vnic.py +37 -2
  178. oci/core/virtual_network_client.py +361 -241
  179. oci/dashboard_service/dashboard_client.py +6 -6
  180. oci/dashboard_service/dashboard_group_client.py +6 -6
  181. oci/data_catalog/data_catalog_client.py +424 -154
  182. oci/data_catalog/models/__init__.py +22 -0
  183. oci/data_catalog/models/asynchronous_export_glossary_details.py +68 -0
  184. oci/data_catalog/models/asynchronous_export_glossary_result.py +196 -0
  185. oci/data_catalog/models/asynchronous_export_request_details.py +68 -0
  186. oci/data_catalog/models/asynchronous_export_result.py +196 -0
  187. oci/data_catalog/models/attribute.py +33 -0
  188. oci/data_catalog/models/attribute_summary.py +33 -0
  189. oci/data_catalog/models/create_job_definition_details.py +42 -3
  190. oci/data_catalog/models/create_job_details.py +2 -0
  191. oci/data_catalog/models/create_job_execution_details.py +11 -3
  192. oci/data_catalog/models/data_asset.py +33 -0
  193. oci/data_catalog/models/data_asset_summary.py +35 -2
  194. oci/data_catalog/models/entity.py +33 -0
  195. oci/data_catalog/models/entity_lineage.py +222 -0
  196. oci/data_catalog/models/entity_summary.py +33 -0
  197. oci/data_catalog/models/faceted_search_date_filter_request.py +2 -2
  198. oci/data_catalog/models/faceted_search_string_filter_request.py +8 -2
  199. oci/data_catalog/models/fetch_entity_lineage_details.py +190 -0
  200. oci/data_catalog/models/folder.py +33 -0
  201. oci/data_catalog/models/folder_summary.py +35 -2
  202. oci/data_catalog/models/job.py +44 -3
  203. oci/data_catalog/models/job_definition.py +42 -3
  204. oci/data_catalog/models/job_definition_summary.py +44 -5
  205. oci/data_catalog/models/job_execution.py +11 -3
  206. oci/data_catalog/models/job_execution_summary.py +11 -3
  207. oci/data_catalog/models/job_summary.py +44 -3
  208. oci/data_catalog/models/lineage_object.py +400 -0
  209. oci/data_catalog/models/lineage_relationship.py +134 -0
  210. oci/data_catalog/models/object_lineage.py +223 -0
  211. oci/data_catalog/models/object_lineage_request_details.py +190 -0
  212. oci/data_catalog/models/object_storage_object_reference.py +134 -0
  213. oci/data_catalog/models/update_job_definition_details.py +31 -0
  214. oci/data_catalog/models/update_job_details.py +2 -0
  215. oci/data_flow/data_flow_client.py +42 -42
  216. oci/data_integration/data_integration_client.py +163 -163
  217. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  218. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  219. oci/data_safe/data_safe_client.py +214 -214
  220. oci/data_science/data_science_client.py +85 -85
  221. oci/database/database_client.py +626 -308
  222. oci/database/models/__init__.py +10 -0
  223. oci/database/models/acd_avm_resource_stats.py +241 -0
  224. oci/database/models/autonomous_container_database.py +107 -38
  225. oci/database/models/autonomous_container_database_resource_usage.py +437 -0
  226. oci/database/models/autonomous_container_database_summary.py +107 -38
  227. oci/database/models/autonomous_database.py +2 -6
  228. oci/database/models/autonomous_database_connection_strings.py +1 -1
  229. oci/database/models/autonomous_database_summary.py +2 -6
  230. oci/database/models/autonomous_vm_cluster.py +6 -18
  231. oci/database/models/autonomous_vm_cluster_summary.py +6 -18
  232. oci/database/models/autonomous_vm_resource_usage.py +299 -0
  233. oci/database/models/avm_acd_resource_stats.py +272 -0
  234. oci/database/models/cloud_autonomous_vm_cluster.py +287 -20
  235. oci/database/models/cloud_autonomous_vm_cluster_resource_usage.py +673 -0
  236. oci/database/models/cloud_autonomous_vm_cluster_summary.py +287 -20
  237. oci/database/models/create_autonomous_vm_cluster_details.py +4 -12
  238. oci/database/models/create_cloud_autonomous_vm_cluster_details.py +4 -12
  239. oci/database/models/update_autonomous_database_details.py +2 -6
  240. oci/database_management/db_management_client.py +182 -182
  241. oci/database_management/diagnosability_client.py +4 -4
  242. oci/database_management/sql_tuning_client.py +10 -10
  243. oci/database_migration/database_migration_client.py +41 -41
  244. oci/database_migration/models/__init__.py +10 -0
  245. oci/database_migration/models/connection.py +27 -0
  246. oci/database_migration/models/create_connection_details.py +27 -0
  247. oci/database_migration/models/create_golden_gate_hub.py +4 -4
  248. oci/database_migration/models/create_golden_gate_service_details.py +149 -0
  249. oci/database_migration/models/create_migration_details.py +27 -0
  250. oci/database_migration/models/database_credentials.py +103 -0
  251. oci/database_migration/models/ggs_deployment.py +103 -0
  252. oci/database_migration/models/golden_gate_service_details.py +95 -0
  253. oci/database_migration/models/migration.py +38 -3
  254. oci/database_migration/models/migration_job_progress_resource.py +11 -3
  255. oci/database_migration/models/migration_job_progress_summary.py +11 -3
  256. oci/database_migration/models/migration_phase_summary.py +11 -3
  257. oci/database_migration/models/phase_status.py +11 -3
  258. oci/database_migration/models/resume_job_details.py +11 -3
  259. oci/database_migration/models/start_migration_details.py +11 -3
  260. oci/database_migration/models/update_connection_details.py +27 -0
  261. oci/database_migration/models/update_golden_gate_service_details.py +149 -0
  262. oci/database_migration/models/update_migration_details.py +27 -0
  263. oci/database_tools/database_tools_client.py +19 -19
  264. oci/devops/devops_client.py +89 -89
  265. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  266. oci/dns/dns_client.py +52 -52
  267. oci/dts/appliance_export_job_client.py +6 -6
  268. oci/dts/shipping_vendors_client.py +1 -1
  269. oci/dts/transfer_appliance_client.py +8 -8
  270. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  271. oci/dts/transfer_device_client.py +5 -5
  272. oci/dts/transfer_job_client.py +6 -6
  273. oci/dts/transfer_package_client.py +7 -7
  274. oci/em_warehouse/em_data_lake_client.py +13 -13
  275. oci/em_warehouse/em_warehouse_client.py +13 -13
  276. oci/email/email_client.py +25 -25
  277. oci/events/events_client.py +6 -6
  278. oci/file_storage/file_storage_client.py +50 -50
  279. oci/fleet_software_update/fleet_software_update_client.py +44 -44
  280. oci/functions/functions_invoke_client.py +1 -1
  281. oci/functions/functions_management_client.py +16 -16
  282. oci/fusion_apps/data_masking_activity_client.py +3 -3
  283. oci/fusion_apps/fusion_applications_client.py +39 -39
  284. oci/fusion_apps/fusion_environment_client.py +15 -15
  285. oci/fusion_apps/fusion_environment_family_client.py +8 -8
  286. oci/fusion_apps/refresh_activity_client.py +4 -4
  287. oci/fusion_apps/scheduled_activity_client.py +2 -2
  288. oci/fusion_apps/service_attachment_client.py +2 -2
  289. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  290. oci/golden_gate/golden_gate_client.py +57 -57
  291. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  292. oci/governance_rules_control_plane/work_request_client.py +5 -5
  293. oci/healthchecks/health_checks_client.py +17 -17
  294. oci/identity/identity_client.py +145 -145
  295. oci/identity_data_plane/dataplane_client.py +2 -2
  296. oci/identity_domains/identity_domains_client.py +190 -190
  297. oci/integration/integration_instance_client.py +15 -15
  298. oci/jms/java_management_service_client.py +56 -56
  299. oci/key_management/kms_crypto_client.py +6 -6
  300. oci/key_management/kms_management_client.py +21 -21
  301. oci/key_management/kms_vault_client.py +14 -14
  302. oci/license_manager/license_manager_client.py +18 -18
  303. oci/limits/limits_client.py +4 -4
  304. oci/limits/quotas_client.py +7 -7
  305. oci/load_balancer/load_balancer_client.py +61 -61
  306. oci/lockbox/lockbox_client.py +22 -22
  307. oci/log_analytics/log_analytics_client.py +192 -192
  308. oci/logging/logging_management_client.py +30 -30
  309. oci/loggingingestion/logging_client.py +1 -1
  310. oci/loggingsearch/log_search_client.py +1 -1
  311. oci/management_agent/management_agent_client.py +23 -23
  312. oci/management_dashboard/dashx_apis_client.py +14 -14
  313. oci/marketplace/account_client.py +2 -2
  314. oci/marketplace/marketplace_client.py +25 -25
  315. oci/media_services/media_services_client.py +48 -48
  316. oci/media_services/media_stream_client.py +2 -2
  317. oci/monitoring/monitoring_client.py +13 -13
  318. oci/mysql/channels_client.py +7 -7
  319. oci/mysql/db_backups_client.py +6 -6
  320. oci/mysql/db_system_client.py +273 -1328
  321. oci/mysql/db_system_client_composite_operations.py +0 -294
  322. oci/mysql/models/__init__.py +0 -16
  323. oci/mysql/models/db_system.py +0 -60
  324. oci/mysql/models/db_system_summary.py +0 -60
  325. oci/mysql/models/shape_summary.py +3 -7
  326. oci/mysql/models/work_request.py +3 -31
  327. oci/mysql/models/work_request_summary.py +3 -31
  328. oci/mysql/mysqlaas_client.py +9 -9
  329. oci/mysql/replicas_client.py +5 -5
  330. oci/mysql/work_requests_client.py +4 -4
  331. oci/network_firewall/network_firewall_client.py +17 -17
  332. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  333. oci/nosql/nosql_client.py +22 -22
  334. oci/object_storage/object_storage_client.py +50 -50
  335. oci/oce/oce_instance_client.py +10 -10
  336. oci/oci_control_center/occ_metrics_client.py +3 -3
  337. oci/ocvp/esxi_host_client.py +6 -6
  338. oci/ocvp/sddc_client.py +13 -13
  339. oci/ocvp/work_request_client.py +4 -4
  340. oci/oda/management_client.py +56 -56
  341. oci/oda/oda_client.py +17 -17
  342. oci/oda/odapackage_client.py +7 -7
  343. oci/onesubscription/billing_schedule_client.py +1 -1
  344. oci/onesubscription/commitment_client.py +2 -2
  345. oci/onesubscription/computed_usage_client.py +3 -3
  346. oci/onesubscription/invoice_summary_client.py +2 -2
  347. oci/onesubscription/organization_subscription_client.py +1 -1
  348. oci/onesubscription/ratecard_client.py +1 -1
  349. oci/onesubscription/subscribed_service_client.py +2 -2
  350. oci/onesubscription/subscription_client.py +1 -1
  351. oci/ons/notification_control_plane_client.py +6 -6
  352. oci/ons/notification_data_plane_client.py +10 -10
  353. oci/opa/opa_instance_client.py +11 -11
  354. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  355. oci/opensearch/opensearch_cluster_client.py +14 -14
  356. oci/operator_access_control/access_requests_client.py +9 -9
  357. oci/operator_access_control/operator_actions_client.py +2 -2
  358. oci/operator_access_control/operator_control_assignment_client.py +6 -6
  359. oci/operator_access_control/operator_control_client.py +6 -6
  360. oci/opsi/operations_insights_client.py +159 -159
  361. oci/optimizer/optimizer_client.py +26 -26
  362. oci/os_management/event_client.py +8 -8
  363. oci/os_management/os_management_client.py +69 -69
  364. oci/os_management_hub/lifecycle_environment_client.py +11 -11
  365. oci/os_management_hub/managed_instance_client.py +22 -22
  366. oci/os_management_hub/managed_instance_group_client.py +22 -22
  367. oci/os_management_hub/management_station_client.py +8 -8
  368. oci/os_management_hub/onboarding_client.py +5 -5
  369. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  370. oci/os_management_hub/scheduled_job_client.py +6 -6
  371. oci/os_management_hub/software_source_client.py +22 -22
  372. oci/os_management_hub/work_request_client.py +4 -4
  373. oci/osp_gateway/address_rule_service_client.py +1 -1
  374. oci/osp_gateway/address_service_client.py +2 -2
  375. oci/osp_gateway/invoice_service_client.py +5 -5
  376. oci/osp_gateway/subscription_service_client.py +5 -5
  377. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  378. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  379. oci/osub_subscription/commitment_client.py +2 -2
  380. oci/osub_subscription/ratecard_client.py +1 -1
  381. oci/osub_subscription/subscription_client.py +1 -1
  382. oci/osub_usage/computed_usage_client.py +3 -3
  383. oci/queue/models/__init__.py +4 -0
  384. oci/queue/models/channel_collection.py +72 -0
  385. oci/queue/models/create_queue_details.py +50 -11
  386. oci/queue/models/delete_messages_details_entry.py +2 -2
  387. oci/queue/models/get_message.py +55 -12
  388. oci/queue/models/message_metadata.py +103 -0
  389. oci/queue/models/purge_queue_details.py +43 -8
  390. oci/queue/models/put_message.py +44 -5
  391. oci/queue/models/put_messages.py +3 -3
  392. oci/queue/models/put_messages_details_entry.py +29 -2
  393. oci/queue/models/queue.py +76 -21
  394. oci/queue/models/queue_stats.py +34 -3
  395. oci/queue/models/queue_summary.py +37 -17
  396. oci/queue/models/stats.py +2 -2
  397. oci/queue/models/update_messages_details.py +1 -1
  398. oci/queue/models/update_messages_details_entry.py +2 -2
  399. oci/queue/models/update_messages_result.py +2 -2
  400. oci/queue/models/update_messages_result_entry.py +12 -4
  401. oci/queue/models/update_queue_details.py +47 -8
  402. oci/queue/models/updated_message.py +12 -4
  403. oci/queue/models/work_request.py +6 -2
  404. oci/queue/models/work_request_error.py +6 -2
  405. oci/queue/models/work_request_log_entry.py +6 -2
  406. oci/queue/models/work_request_summary.py +8 -4
  407. oci/queue/queue_admin_client.py +67 -46
  408. oci/queue/queue_admin_client_composite_operations.py +4 -4
  409. oci/queue/queue_client.py +209 -36
  410. oci/recovery/database_recovery_client.py +23 -23
  411. oci/resource_manager/resource_manager_client.py +52 -52
  412. oci/resource_search/resource_search_client.py +3 -3
  413. oci/rover/rover_bundle_client.py +8 -8
  414. oci/rover/rover_cluster_client.py +8 -8
  415. oci/rover/rover_entitlement_client.py +6 -6
  416. oci/rover/rover_node_client.py +15 -15
  417. oci/rover/shape_client.py +1 -1
  418. oci/rover/work_requests_client.py +5 -5
  419. oci/sch/service_connector_client.py +12 -12
  420. oci/secrets/secrets_client.py +3 -3
  421. oci/service_catalog/service_catalog_client.py +26 -26
  422. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  423. oci/service_mesh/service_mesh_client.py +48 -48
  424. oci/stack_monitoring/stack_monitoring_client.py +22 -22
  425. oci/streaming/stream_admin_client.py +18 -18
  426. oci/streaming/stream_client.py +8 -8
  427. oci/tenant_manager_control_plane/domain_client.py +5 -5
  428. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  429. oci/tenant_manager_control_plane/governance_client.py +2 -2
  430. oci/tenant_manager_control_plane/link_client.py +3 -3
  431. oci/tenant_manager_control_plane/orders_client.py +2 -2
  432. oci/tenant_manager_control_plane/organization_client.py +10 -10
  433. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  434. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  435. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  436. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  437. oci/threat_intelligence/threatintel_client.py +5 -5
  438. oci/usage/resources_client.py +2 -2
  439. oci/usage/rewards_client.py +6 -6
  440. oci/usage/usagelimits_client.py +1 -1
  441. oci/usage_api/usageapi_client.py +19 -19
  442. oci/vault/vaults_client.py +11 -11
  443. oci/vbs_inst/vbs_instance_client.py +10 -10
  444. oci/version.py +1 -1
  445. oci/visual_builder/vb_instance_client.py +13 -13
  446. oci/vn_monitoring/models/__init__.py +4 -0
  447. oci/vn_monitoring/models/cpe.py +33 -2
  448. oci/vn_monitoring/models/create_cpe_details.py +33 -2
  449. oci/vn_monitoring/models/create_ip_sec_connection_details.py +35 -2
  450. oci/vn_monitoring/models/create_ip_sec_connection_tunnel_details.py +105 -0
  451. oci/vn_monitoring/models/create_virtual_circuit_details.py +31 -0
  452. oci/vn_monitoring/models/drg_attachment_network_create_details.py +1 -1
  453. oci/vn_monitoring/models/drg_attachment_network_details.py +5 -1
  454. oci/vn_monitoring/models/ip_sec_connection.py +50 -2
  455. oci/vn_monitoring/models/ip_sec_connection_tunnel.py +37 -2
  456. oci/vn_monitoring/models/ipsec_tunnel_drg_attachment_network_details.py +37 -2
  457. oci/vn_monitoring/models/loop_back_drg_attachment_network_details.py +93 -0
  458. oci/vn_monitoring/models/update_virtual_circuit_details.py +31 -0
  459. oci/vn_monitoring/models/virtual_circuit.py +31 -0
  460. oci/vn_monitoring/models/virtual_circuit_associated_tunnel_details.py +155 -0
  461. oci/vn_monitoring/models/virtual_circuit_drg_attachment_network_details.py +37 -2
  462. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  463. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  464. oci/waa/waa_client.py +13 -13
  465. oci/waa/work_request_client.py +4 -4
  466. oci/waas/redirect_client.py +6 -6
  467. oci/waas/waas_client.py +66 -66
  468. oci/waf/waf_client.py +24 -24
  469. oci/work_requests/work_request_client.py +4 -4
  470. {oci-2.110.2.dist-info → oci-2.112.0.dist-info}/METADATA +1 -1
  471. {oci-2.110.2.dist-info → oci-2.112.0.dist-info}/RECORD +475 -434
  472. {oci-2.110.2.dist-info → oci-2.112.0.dist-info}/LICENSE.txt +0 -0
  473. {oci-2.110.2.dist-info → oci-2.112.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  474. {oci-2.110.2.dist-info → oci-2.112.0.dist-info}/WHEEL +0 -0
  475. {oci-2.110.2.dist-info → oci-2.112.0.dist-info}/top_level.txt +0 -0
@@ -163,7 +163,7 @@ class ArtifactsClient(object):
163
163
  :rtype: :class:`~oci.response.Response`
164
164
 
165
165
  :example:
166
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/artifacts/change_container_repository_compartment.py.html>`__ to see an example of how to use change_container_repository_compartment API.
166
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/change_container_repository_compartment.py.html>`__ to see an example of how to use change_container_repository_compartment API.
167
167
  """
168
168
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
169
169
  required_arguments = ['repositoryId']
@@ -290,7 +290,7 @@ class ArtifactsClient(object):
290
290
  :rtype: :class:`~oci.response.Response`
291
291
 
292
292
  :example:
293
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/artifacts/change_repository_compartment.py.html>`__ to see an example of how to use change_repository_compartment API.
293
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/change_repository_compartment.py.html>`__ to see an example of how to use change_repository_compartment API.
294
294
  """
295
295
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
296
296
  required_arguments = ['repositoryId']
@@ -406,7 +406,7 @@ class ArtifactsClient(object):
406
406
  :rtype: :class:`~oci.response.Response`
407
407
 
408
408
  :example:
409
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/artifacts/create_container_image_signature.py.html>`__ to see an example of how to use create_container_image_signature API.
409
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/create_container_image_signature.py.html>`__ to see an example of how to use create_container_image_signature API.
410
410
  """
411
411
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
412
412
  required_arguments = []
@@ -507,7 +507,7 @@ class ArtifactsClient(object):
507
507
  :rtype: :class:`~oci.response.Response`
508
508
 
509
509
  :example:
510
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/artifacts/create_container_repository.py.html>`__ to see an example of how to use create_container_repository API.
510
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/create_container_repository.py.html>`__ to see an example of how to use create_container_repository API.
511
511
  """
512
512
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
513
513
  required_arguments = []
@@ -606,7 +606,7 @@ class ArtifactsClient(object):
606
606
  :rtype: :class:`~oci.response.Response`
607
607
 
608
608
  :example:
609
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/artifacts/create_repository.py.html>`__ to see an example of how to use create_repository API.
609
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/create_repository.py.html>`__ to see an example of how to use create_repository API.
610
610
  """
611
611
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
612
612
  required_arguments = []
@@ -705,7 +705,7 @@ class ArtifactsClient(object):
705
705
  :rtype: :class:`~oci.response.Response`
706
706
 
707
707
  :example:
708
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/artifacts/delete_container_image.py.html>`__ to see an example of how to use delete_container_image API.
708
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/delete_container_image.py.html>`__ to see an example of how to use delete_container_image API.
709
709
  """
710
710
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
711
711
  required_arguments = ['imageId']
@@ -813,7 +813,7 @@ class ArtifactsClient(object):
813
813
  :rtype: :class:`~oci.response.Response`
814
814
 
815
815
  :example:
816
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/artifacts/delete_container_image_signature.py.html>`__ to see an example of how to use delete_container_image_signature API.
816
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/delete_container_image_signature.py.html>`__ to see an example of how to use delete_container_image_signature API.
817
817
  """
818
818
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
819
819
  required_arguments = ['imageSignatureId']
@@ -921,7 +921,7 @@ class ArtifactsClient(object):
921
921
  :rtype: :class:`~oci.response.Response`
922
922
 
923
923
  :example:
924
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/artifacts/delete_container_repository.py.html>`__ to see an example of how to use delete_container_repository API.
924
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/delete_container_repository.py.html>`__ to see an example of how to use delete_container_repository API.
925
925
  """
926
926
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
927
927
  required_arguments = ['repositoryId']
@@ -1031,7 +1031,7 @@ class ArtifactsClient(object):
1031
1031
  :rtype: :class:`~oci.response.Response`
1032
1032
 
1033
1033
  :example:
1034
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/artifacts/delete_generic_artifact.py.html>`__ to see an example of how to use delete_generic_artifact API.
1034
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/delete_generic_artifact.py.html>`__ to see an example of how to use delete_generic_artifact API.
1035
1035
  """
1036
1036
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1037
1037
  required_arguments = ['artifactId']
@@ -1149,7 +1149,7 @@ class ArtifactsClient(object):
1149
1149
  :rtype: :class:`~oci.response.Response`
1150
1150
 
1151
1151
  :example:
1152
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/artifacts/delete_generic_artifact_by_path.py.html>`__ to see an example of how to use delete_generic_artifact_by_path API.
1152
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/delete_generic_artifact_by_path.py.html>`__ to see an example of how to use delete_generic_artifact_by_path API.
1153
1153
  """
1154
1154
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1155
1155
  required_arguments = ['repositoryId', 'artifactPath', 'version']
@@ -1259,7 +1259,7 @@ class ArtifactsClient(object):
1259
1259
  :rtype: :class:`~oci.response.Response`
1260
1260
 
1261
1261
  :example:
1262
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/artifacts/delete_repository.py.html>`__ to see an example of how to use delete_repository API.
1262
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/delete_repository.py.html>`__ to see an example of how to use delete_repository API.
1263
1263
  """
1264
1264
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1265
1265
  required_arguments = ['repositoryId']
@@ -1360,7 +1360,7 @@ class ArtifactsClient(object):
1360
1360
  :rtype: :class:`~oci.response.Response`
1361
1361
 
1362
1362
  :example:
1363
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/artifacts/get_container_configuration.py.html>`__ to see an example of how to use get_container_configuration API.
1363
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/get_container_configuration.py.html>`__ to see an example of how to use get_container_configuration API.
1364
1364
  """
1365
1365
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1366
1366
  required_arguments = ['compartmentId']
@@ -1458,7 +1458,7 @@ class ArtifactsClient(object):
1458
1458
  :rtype: :class:`~oci.response.Response`
1459
1459
 
1460
1460
  :example:
1461
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/artifacts/get_container_image.py.html>`__ to see an example of how to use get_container_image API.
1461
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/get_container_image.py.html>`__ to see an example of how to use get_container_image API.
1462
1462
  """
1463
1463
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1464
1464
  required_arguments = ['imageId']
@@ -1561,7 +1561,7 @@ class ArtifactsClient(object):
1561
1561
  :rtype: :class:`~oci.response.Response`
1562
1562
 
1563
1563
  :example:
1564
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/artifacts/get_container_image_signature.py.html>`__ to see an example of how to use get_container_image_signature API.
1564
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/get_container_image_signature.py.html>`__ to see an example of how to use get_container_image_signature API.
1565
1565
  """
1566
1566
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1567
1567
  required_arguments = ['imageSignatureId']
@@ -1664,7 +1664,7 @@ class ArtifactsClient(object):
1664
1664
  :rtype: :class:`~oci.response.Response`
1665
1665
 
1666
1666
  :example:
1667
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/artifacts/get_container_repository.py.html>`__ to see an example of how to use get_container_repository API.
1667
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/get_container_repository.py.html>`__ to see an example of how to use get_container_repository API.
1668
1668
  """
1669
1669
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1670
1670
  required_arguments = ['repositoryId']
@@ -1769,7 +1769,7 @@ class ArtifactsClient(object):
1769
1769
  :rtype: :class:`~oci.response.Response`
1770
1770
 
1771
1771
  :example:
1772
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/artifacts/get_generic_artifact.py.html>`__ to see an example of how to use get_generic_artifact API.
1772
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/get_generic_artifact.py.html>`__ to see an example of how to use get_generic_artifact API.
1773
1773
  """
1774
1774
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1775
1775
  required_arguments = ['artifactId']
@@ -1882,7 +1882,7 @@ class ArtifactsClient(object):
1882
1882
  :rtype: :class:`~oci.response.Response`
1883
1883
 
1884
1884
  :example:
1885
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/artifacts/get_generic_artifact_by_path.py.html>`__ to see an example of how to use get_generic_artifact_by_path API.
1885
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/get_generic_artifact_by_path.py.html>`__ to see an example of how to use get_generic_artifact_by_path API.
1886
1886
  """
1887
1887
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1888
1888
  required_arguments = ['repositoryId', 'artifactPath', 'version']
@@ -1987,7 +1987,7 @@ class ArtifactsClient(object):
1987
1987
  :rtype: :class:`~oci.response.Response`
1988
1988
 
1989
1989
  :example:
1990
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/artifacts/get_repository.py.html>`__ to see an example of how to use get_repository API.
1990
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/get_repository.py.html>`__ to see an example of how to use get_repository API.
1991
1991
  """
1992
1992
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1993
1993
  required_arguments = ['repositoryId']
@@ -2167,7 +2167,7 @@ class ArtifactsClient(object):
2167
2167
  :rtype: :class:`~oci.response.Response`
2168
2168
 
2169
2169
  :example:
2170
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/artifacts/list_container_image_signatures.py.html>`__ to see an example of how to use list_container_image_signatures API.
2170
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/list_container_image_signatures.py.html>`__ to see an example of how to use list_container_image_signatures API.
2171
2171
  """
2172
2172
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2173
2173
  required_arguments = ['compartmentId']
@@ -2376,7 +2376,7 @@ class ArtifactsClient(object):
2376
2376
  :rtype: :class:`~oci.response.Response`
2377
2377
 
2378
2378
  :example:
2379
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/artifacts/list_container_images.py.html>`__ to see an example of how to use list_container_images API.
2379
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/list_container_images.py.html>`__ to see an example of how to use list_container_images API.
2380
2380
  """
2381
2381
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2382
2382
  required_arguments = ['compartmentId']
@@ -2563,7 +2563,7 @@ class ArtifactsClient(object):
2563
2563
  :rtype: :class:`~oci.response.Response`
2564
2564
 
2565
2565
  :example:
2566
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/artifacts/list_container_repositories.py.html>`__ to see an example of how to use list_container_repositories API.
2566
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/list_container_repositories.py.html>`__ to see an example of how to use list_container_repositories API.
2567
2567
  """
2568
2568
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2569
2569
  required_arguments = ['compartmentId']
@@ -2746,7 +2746,7 @@ class ArtifactsClient(object):
2746
2746
  :rtype: :class:`~oci.response.Response`
2747
2747
 
2748
2748
  :example:
2749
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/artifacts/list_generic_artifacts.py.html>`__ to see an example of how to use list_generic_artifacts API.
2749
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/list_generic_artifacts.py.html>`__ to see an example of how to use list_generic_artifacts API.
2750
2750
  """
2751
2751
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2752
2752
  required_arguments = ['compartmentId', 'repositoryId']
@@ -2923,7 +2923,7 @@ class ArtifactsClient(object):
2923
2923
  :rtype: :class:`~oci.response.Response`
2924
2924
 
2925
2925
  :example:
2926
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/artifacts/list_repositories.py.html>`__ to see an example of how to use list_repositories API.
2926
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/list_repositories.py.html>`__ to see an example of how to use list_repositories API.
2927
2927
  """
2928
2928
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2929
2929
  required_arguments = ['compartmentId']
@@ -3066,7 +3066,7 @@ class ArtifactsClient(object):
3066
3066
  :rtype: :class:`~oci.response.Response`
3067
3067
 
3068
3068
  :example:
3069
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/artifacts/remove_container_version.py.html>`__ to see an example of how to use remove_container_version API.
3069
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/remove_container_version.py.html>`__ to see an example of how to use remove_container_version API.
3070
3070
  """
3071
3071
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3072
3072
  required_arguments = ['imageId']
@@ -3191,7 +3191,7 @@ class ArtifactsClient(object):
3191
3191
  :rtype: :class:`~oci.response.Response`
3192
3192
 
3193
3193
  :example:
3194
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/artifacts/restore_container_image.py.html>`__ to see an example of how to use restore_container_image API.
3194
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/restore_container_image.py.html>`__ to see an example of how to use restore_container_image API.
3195
3195
  """
3196
3196
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3197
3197
  required_arguments = ['imageId']
@@ -3307,7 +3307,7 @@ class ArtifactsClient(object):
3307
3307
  :rtype: :class:`~oci.response.Response`
3308
3308
 
3309
3309
  :example:
3310
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/artifacts/update_container_configuration.py.html>`__ to see an example of how to use update_container_configuration API.
3310
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/update_container_configuration.py.html>`__ to see an example of how to use update_container_configuration API.
3311
3311
  """
3312
3312
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3313
3313
  required_arguments = ['compartmentId']
@@ -3417,7 +3417,7 @@ class ArtifactsClient(object):
3417
3417
  :rtype: :class:`~oci.response.Response`
3418
3418
 
3419
3419
  :example:
3420
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/artifacts/update_container_image.py.html>`__ to see an example of how to use update_container_image API.
3420
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/update_container_image.py.html>`__ to see an example of how to use update_container_image API.
3421
3421
  """
3422
3422
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3423
3423
  required_arguments = ['imageId']
@@ -3532,7 +3532,7 @@ class ArtifactsClient(object):
3532
3532
  :rtype: :class:`~oci.response.Response`
3533
3533
 
3534
3534
  :example:
3535
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/artifacts/update_container_image_signature.py.html>`__ to see an example of how to use update_container_image_signature API.
3535
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/update_container_image_signature.py.html>`__ to see an example of how to use update_container_image_signature API.
3536
3536
  """
3537
3537
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3538
3538
  required_arguments = ['imageSignatureId']
@@ -3647,7 +3647,7 @@ class ArtifactsClient(object):
3647
3647
  :rtype: :class:`~oci.response.Response`
3648
3648
 
3649
3649
  :example:
3650
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/artifacts/update_container_repository.py.html>`__ to see an example of how to use update_container_repository API.
3650
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/update_container_repository.py.html>`__ to see an example of how to use update_container_repository API.
3651
3651
  """
3652
3652
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3653
3653
  required_arguments = ['repositoryId']
@@ -3766,7 +3766,7 @@ class ArtifactsClient(object):
3766
3766
  :rtype: :class:`~oci.response.Response`
3767
3767
 
3768
3768
  :example:
3769
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/artifacts/update_generic_artifact.py.html>`__ to see an example of how to use update_generic_artifact API.
3769
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/update_generic_artifact.py.html>`__ to see an example of how to use update_generic_artifact API.
3770
3770
  """
3771
3771
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3772
3772
  required_arguments = ['artifactId']
@@ -3891,7 +3891,7 @@ class ArtifactsClient(object):
3891
3891
  :rtype: :class:`~oci.response.Response`
3892
3892
 
3893
3893
  :example:
3894
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/artifacts/update_generic_artifact_by_path.py.html>`__ to see an example of how to use update_generic_artifact_by_path API.
3894
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/update_generic_artifact_by_path.py.html>`__ to see an example of how to use update_generic_artifact_by_path API.
3895
3895
  """
3896
3896
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3897
3897
  required_arguments = ['repositoryId', 'artifactPath', 'version']
@@ -4008,7 +4008,7 @@ class ArtifactsClient(object):
4008
4008
  :rtype: :class:`~oci.response.Response`
4009
4009
 
4010
4010
  :example:
4011
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/artifacts/update_repository.py.html>`__ to see an example of how to use update_repository API.
4011
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/artifacts/update_repository.py.html>`__ to see an example of how to use update_repository API.
4012
4012
  """
4013
4013
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4014
4014
  required_arguments = ['repositoryId']
oci/audit/audit_client.py CHANGED
@@ -138,7 +138,7 @@ class AuditClient(object):
138
138
  :rtype: :class:`~oci.response.Response`
139
139
 
140
140
  :example:
141
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/audit/get_configuration.py.html>`__ to see an example of how to use get_configuration API.
141
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/audit/get_configuration.py.html>`__ to see an example of how to use get_configuration API.
142
142
  """
143
143
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
144
144
  required_arguments = ['compartmentId']
@@ -255,7 +255,7 @@ class AuditClient(object):
255
255
  :rtype: :class:`~oci.response.Response`
256
256
 
257
257
  :example:
258
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/audit/list_events.py.html>`__ to see an example of how to use list_events API.
258
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/audit/list_events.py.html>`__ to see an example of how to use list_events API.
259
259
  """
260
260
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
261
261
  required_arguments = ['compartmentId', 'startTime', 'endTime']
@@ -350,7 +350,7 @@ class AuditClient(object):
350
350
  :rtype: :class:`~oci.response.Response`
351
351
 
352
352
  :example:
353
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.110.2/audit/update_configuration.py.html>`__ to see an example of how to use update_configuration API.
353
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.112.0/audit/update_configuration.py.html>`__ to see an example of how to use update_configuration API.
354
354
  """
355
355
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
356
356
  required_arguments = ['compartmentId']
oci/auth/auth_utils.py CHANGED
@@ -2,6 +2,7 @@
2
2
  # Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved.
3
3
  # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
4
 
5
+ import random
5
6
  from oci._vendor import six
6
7
 
7
8
 
@@ -31,3 +32,18 @@ def sanitize_certificate_string(cert_string):
31
32
  .replace('-----BEGIN PUBLIC KEY-----', '') \
32
33
  .replace('-----END PUBLIC KEY-----', '') \
33
34
  .replace('\n', '')
35
+
36
+
37
+ def generate_opc_request_id():
38
+ client_id = generate_unique_id()
39
+ stack_id = generate_unique_id()
40
+ individual_id = generate_unique_id()
41
+
42
+ opc_request_id = "{}/{}/{}".format(client_id, stack_id, individual_id)
43
+ return opc_request_id
44
+
45
+
46
+ def generate_unique_id():
47
+ b = [random.randrange(256) for i in range(16)]
48
+ hex_string = ''.join(format(x, '02x') for x in b)
49
+ return hex_string
@@ -6,15 +6,20 @@ from __future__ import absolute_import
6
6
  import abc
7
7
  import os
8
8
  import logging
9
+ import time
9
10
 
10
11
  from oci._vendor import requests
12
+ import oci._vendor.jwt as jwt
11
13
 
12
14
  from .signers.instance_principals_security_token_signer import InstancePrincipalsSecurityTokenSigner
13
15
 
14
16
  OCI_RESOURCE_PRINCIPAL_RPT_PATH = "OCI_RESOURCE_PRINCIPAL_RPT_PATH"
15
17
  OCI_RESOURCE_PRINCIPAL_RPT_ID = "OCI_RESOURCE_PRINCIPAL_RPT_ID"
18
+ OCI_RESOURCE_PRINCIPAL_RPT_PATH_FOR_LEAF_RESOURCE = "OCI_RESOURCE_PRINCIPAL_RPT_PATH_FOR_LEAF_RESOURCE"
19
+ OCI_RESOURCE_PRINCIPAL_RPT_ID_FOR_LEAF_RESOURCE = "OCI_RESOURCE_PRINCIPAL_RPT_ID_FOR_LEAF_RESOURCE"
16
20
  IMDS_PATH_TEMPLATE = "/20180711/resourcePrincipalToken/{id}"
17
21
  METADATA_AUTH_HEADERS = {'Authorization': 'Bearer Oracle'}
22
+ OCI_KUBERNETES_SERVICE_ACCOUNT_TOKEN_PATH = "/var/run/secrets/kubernetes.io/serviceaccount/token"
18
23
 
19
24
  logger = logging.getLogger(__name__)
20
25
 
@@ -70,18 +75,27 @@ class ImdsRptPathProvider(AbstractRptPathProvider):
70
75
 
71
76
 
72
77
  class EnvRptPathProvider(AbstractRptPathProvider):
73
- def __init__(self):
78
+ def __init__(self, **kwargs):
74
79
  super(EnvRptPathProvider, self).__init__(self.get_path_template())
75
80
  self.replacements = self.build_replacements()
81
+ if kwargs.get("child_resource", False):
82
+ self.child_resource = True
83
+ else:
84
+ self.child_resource = False
76
85
 
77
86
  def get_replacements(self):
78
87
  return self.replacements
79
88
 
80
89
  def get_path_template(self):
90
+ if self.child_resource:
91
+ return os.environ.get(OCI_RESOURCE_PRINCIPAL_RPT_PATH_FOR_LEAF_RESOURCE)
81
92
  return os.environ.get(OCI_RESOURCE_PRINCIPAL_RPT_PATH)
82
93
 
83
94
  def build_replacements(self):
84
- rpt_id = os.environ.get(OCI_RESOURCE_PRINCIPAL_RPT_ID)
95
+ if self.child_resource:
96
+ rpt_id = os.environ.get(OCI_RESOURCE_PRINCIPAL_RPT_ID_FOR_LEAF_RESOURCE)
97
+ else:
98
+ rpt_id = os.environ.get(OCI_RESOURCE_PRINCIPAL_RPT_ID)
85
99
  if rpt_id:
86
100
  return {'id': rpt_id}
87
101
  return None
@@ -102,9 +116,9 @@ class DefaultRptPathProvider(AbstractRptPathProvider):
102
116
  This path provider is used when the caller doesn't provide a specific path provider to the resource principals signer
103
117
  """
104
118
 
105
- def __init__(self):
119
+ def __init__(self, **kwargs):
106
120
  logger.debug("A path provider was not specified, using DefaultRptPathProvider")
107
- self.env_rpt_path_provider = EnvRptPathProvider()
121
+ self.env_rpt_path_provider = EnvRptPathProvider(**kwargs)
108
122
  self.imds_rpt_path_provider = ImdsRptPathProvider()
109
123
  super(DefaultRptPathProvider, self).__init__(self.get_path_template())
110
124
  self.replacements = self.build_replacements()
@@ -129,6 +143,34 @@ class DefaultRptPathProvider(AbstractRptPathProvider):
129
143
  return self.replacements
130
144
 
131
145
 
146
+ class DefaultServiceAccountTokenProvider(object):
147
+ def __init__(self):
148
+ self.token_path = OCI_KUBERNETES_SERVICE_ACCOUNT_TOKEN_PATH
149
+
150
+ def override_sa_token_path(self, new_token_path):
151
+ self.token_path = new_token_path
152
+
153
+ def get_sa_token(self):
154
+ token_path = os.path.expanduser(self.token_path)
155
+ with open(token_path, mode="r", encoding="utf-8") as f:
156
+ sa_token = f.read().strip()
157
+ is_sa_token_valid = is_valid_sa_token(sa_token)
158
+ if is_sa_token_valid is False:
159
+ raise RuntimeError("Service account token at {} has expired".format(self.token_path))
160
+ return sa_token
161
+
162
+
163
+ class SuppliedServiceAccountTokenProvider(object):
164
+ def __init__(self, token_string):
165
+ self.token_string = token_string
166
+
167
+ def get_sa_token(self):
168
+ is_sa_token_valid = is_valid_sa_token(self.token_string)
169
+ if is_sa_token_valid is False:
170
+ raise RuntimeError("The supplied service account token has expired.")
171
+ return self.token_string
172
+
173
+
132
174
  def get_instance_id_from_imds():
133
175
  # Get the instance id from the metadata service
134
176
  # TODO add error checks to ensure instance_id was retrieved.
@@ -137,3 +179,11 @@ def get_instance_id_from_imds():
137
179
  timeout = (10, 60)
138
180
  response = requests.get(endpoint, timeout=timeout, headers=METADATA_AUTH_HEADERS)
139
181
  return response.text.strip().lower()
182
+
183
+
184
+ def is_valid_sa_token(token):
185
+ decoded_jwt = jwt.decode(jwt=token, verify=False)
186
+ time_now = int(time.time())
187
+ if decoded_jwt.get('exp') is None:
188
+ raise RuntimeError("Service account token does not have an 'exp' field.")
189
+ return time_now < decoded_jwt['exp']
@@ -23,6 +23,10 @@ class SecurityTokenContainer(object):
23
23
  def valid_with_jitter(self, jitter=DEFAULT_EXPIRY_JITTER_SECONDS):
24
24
  return not self._expired_with_jitter(jitter)
25
25
 
26
+ def valid_with_half_expiration_time(self):
27
+ valid_duration = self.jwt['exp'] - self.jwt['iat']
28
+ return not self._expired_with_jitter(valid_duration / 2)
29
+
26
30
  def _expired_with_jitter(self, jitter):
27
31
  """
28
32
  Checks expiry with some jitter to account for clock skews on the client and also, for
@@ -9,6 +9,8 @@ from .resource_principals_federation_signer import ResourcePrincipalsFederationS
9
9
  from .resource_principals_delegation_token_signer import ResourcePrincipalsDelegationTokenSigner # noqa: F401
10
10
  from .ephemeral_resource_principals_signer import EphemeralResourcePrincipalSigner # noqa: F401
11
11
  from .ephemeral_resource_principals_delegation_token_signer import EphemeralResourcePrincipalsDelegationTokenSigner # noqa: F401
12
- from .resource_principals_signer import get_resource_principals_signer, get_resource_principal_delegation_token_signer # noqa: F401
12
+ from .resource_principals_signer import get_resource_principals_signer, get_resource_principal_delegation_token_signer, get_oke_workload_identity_resource_principal_signer # noqa: F401
13
+ from .oke_workload_identity_resource_principal_signer import OkeWorkloadIdentityResourcePrincipalSigner # noqa: F401
13
14
  from .ephemeral_resource_principals_v21_signer import EphemeralResourcePrincipalV21Signer # noqa: F401
14
15
  from .key_pair_signer import KeyPairSigner # noqa: F401
16
+ from .nested_resource_principals_signer import NestedResourcePrincipals # noqa: F401
@@ -10,6 +10,8 @@ from cryptography.hazmat.primitives.serialization import Encoding, PublicFormat
10
10
 
11
11
  import oci
12
12
  import oci.signer
13
+ from oci._vendor import requests
14
+
13
15
  from .ephemeral_resource_principals_signer import FixedSessionKeySupplier, FileBasedSessionKeySupplier
14
16
  from .key_pair_signer import KeyPairSigner
15
17
  from .security_token_signer import SecurityTokenSigner, SECURITY_TOKEN_FORMAT_STRING
@@ -17,11 +19,16 @@ from .. import auth_utils
17
19
  from ..security_token_container import SecurityTokenContainer
18
20
 
19
21
 
22
+ METADATA_URL_BASE = 'http://169.254.169.254/opc/v2'
23
+ GET_REGION_URL = '{}/instance/region'.format(METADATA_URL_BASE)
24
+ METADATA_AUTH_HEADERS = {'Authorization': 'Bearer Oracle'}
25
+
26
+
20
27
  class EphemeralResourcePrincipalV21Signer(SecurityTokenSigner):
21
28
 
22
29
  def __init__(self, resource_principal_token_endpoint=None, resource_principal_session_token_endpoint=None,
23
30
  resource_id=None, private_key=None, private_key_passphrase=None, retry_strategy=None,
24
- log_requests=None, generic_headers=None, tenancy_id=None, rp_version=None, **kwargs):
31
+ log_requests=None, generic_headers=None, tenancy_id=None, rp_version=None, region=None, **kwargs):
25
32
 
26
33
  if resource_principal_token_endpoint:
27
34
  self.resource_principal_token_endpoint = resource_principal_token_endpoint
@@ -43,6 +50,7 @@ class EphemeralResourcePrincipalV21Signer(SecurityTokenSigner):
43
50
  raise ValueError("tenancy_id should be provided")
44
51
 
45
52
  self._reset_signers_lock = threading.Lock()
53
+ self.region = self._initialize_and_return_region(region_raw=region)
46
54
 
47
55
  if retry_strategy:
48
56
  self.retry_strategy = retry_strategy
@@ -200,3 +208,25 @@ class EphemeralResourcePrincipalV21Signer(SecurityTokenSigner):
200
208
  header_params=header_params,
201
209
  body=body,
202
210
  response_type=oci.base_client.BYTES_RESPONSE_TYPE)
211
+
212
+ def _initialize_and_return_region(self, region_raw=None):
213
+ if hasattr(self, 'region'):
214
+ return self.region
215
+
216
+ if region_raw is None:
217
+ try:
218
+ self.logger.debug("Requesting region information from :{}".format(GET_REGION_URL))
219
+ response = requests.get(GET_REGION_URL, timeout=(10, 60), headers=METADATA_AUTH_HEADERS)
220
+ region_raw = response.text.strip().lower()
221
+ except Exception as ex:
222
+ self.logger.debug("Got exception: {} while getting region from: {}, setting region as None".format(ex, GET_REGION_URL))
223
+ region_raw = None
224
+
225
+ # The region can be something like "phx" but internally we expect "us-phoenix-1", "us-ashburn-1" etc.
226
+ if region_raw in oci.regions.REGIONS_SHORT_NAMES:
227
+ region_to_use = oci.regions.REGIONS_SHORT_NAMES[region_raw]
228
+ else:
229
+ region_to_use = region_raw
230
+
231
+ self.logger.debug("Region is set to: {}".format(region_to_use))
232
+ return region_to_use