oci 2.145.0__py3-none-any.whl → 2.146.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/__init__.py +2 -2
  2. oci/access_governance_cp/access_governance_cp_client.py +8 -8
  3. oci/adm/application_dependency_management_client.py +36 -36
  4. oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
  5. oci/ai_document/ai_service_document_client.py +26 -26
  6. oci/ai_language/ai_service_language_client.py +44 -44
  7. oci/ai_speech/ai_service_speech_client.py +19 -19
  8. oci/ai_vision/ai_service_vision_client.py +28 -28
  9. oci/analytics/analytics_client.py +24 -24
  10. oci/announcements_service/announcement_client.py +5 -5
  11. oci/announcements_service/announcement_subscription_client.py +9 -9
  12. oci/announcements_service/announcements_preferences_client.py +4 -4
  13. oci/announcements_service/service_client.py +1 -1
  14. oci/apigateway/api_gateway_client.py +21 -21
  15. oci/apigateway/deployment_client.py +6 -6
  16. oci/apigateway/gateway_client.py +6 -6
  17. oci/apigateway/subscribers_client.py +6 -6
  18. oci/apigateway/usage_plans_client.py +6 -6
  19. oci/apigateway/work_requests_client.py +5 -5
  20. oci/apm_config/config_client.py +9 -9
  21. oci/apm_control_plane/apm_domain_client.py +14 -14
  22. oci/apm_synthetics/apm_synthetic_client.py +28 -28
  23. oci/apm_traces/attributes_client.py +8 -8
  24. oci/apm_traces/query_client.py +2 -2
  25. oci/apm_traces/trace_client.py +4 -4
  26. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  27. oci/artifacts/artifacts_client.py +32 -32
  28. oci/audit/audit_client.py +3 -3
  29. oci/autoscaling/auto_scaling_client.py +11 -11
  30. oci/bastion/bastion_client.py +15 -15
  31. oci/bds/bds_client.py +84 -84
  32. oci/blockchain/blockchain_platform_client.py +27 -27
  33. oci/budget/budget_client.py +10 -10
  34. oci/capacity_management/capacity_management_client.py +32 -32
  35. oci/certificates/certificates_client.py +5 -5
  36. oci/certificates_management/certificates_management_client.py +32 -32
  37. oci/cims/incident_client.py +6 -6
  38. oci/cloud_bridge/common_client.py +5 -5
  39. oci/cloud_bridge/discovery_client.py +15 -15
  40. oci/cloud_bridge/inventory_client.py +16 -16
  41. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  42. oci/cloud_guard/cloud_guard_client.py +155 -155
  43. oci/cloud_migrations/migration_client.py +43 -43
  44. oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
  45. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  46. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  47. oci/compute_instance_agent/plugin_client.py +2 -2
  48. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  49. oci/container_engine/container_engine_client.py +44 -44
  50. oci/container_engine/models/open_id_connect_token_authentication_config.py +37 -2
  51. oci/container_instances/container_instance_client.py +18 -18
  52. oci/container_instances/models/__init__.py +0 -4
  53. oci/container_instances/models/container_health_check.py +3 -11
  54. oci/container_instances/models/container_http_health_check.py +1 -1
  55. oci/container_instances/models/container_tcp_health_check.py +1 -1
  56. oci/container_instances/models/create_container_details.py +2 -2
  57. oci/container_instances/models/create_container_health_check_details.py +3 -11
  58. oci/container_instances/models/create_container_http_health_check_details.py +1 -1
  59. oci/container_instances/models/create_container_tcp_health_check_details.py +1 -1
  60. oci/core/blockstorage_client.py +60 -60
  61. oci/core/compute_client.py +102 -102
  62. oci/core/compute_management_client.py +32 -32
  63. oci/core/models/create_byoip_range_details.py +66 -0
  64. oci/core/models/create_ipv6_details.py +97 -3
  65. oci/core/models/create_private_ip_details.py +96 -2
  66. oci/core/models/create_vnic_details.py +18 -18
  67. oci/core/models/ipv6.py +107 -3
  68. oci/core/models/launch_attach_volume_details.py +2 -2
  69. oci/core/models/network_security_group.py +7 -7
  70. oci/core/models/private_ip.py +107 -3
  71. oci/core/models/update_byoip_range_details.py +68 -2
  72. oci/core/models/update_ipv6_details.py +61 -4
  73. oci/core/models/update_private_ip_details.py +59 -2
  74. oci/core/models/update_vnic_details.py +8 -4
  75. oci/core/models/vnic.py +6 -2
  76. oci/core/virtual_network_client.py +519 -257
  77. oci/core/virtual_network_client_composite_operations.py +44 -0
  78. oci/dashboard_service/dashboard_client.py +6 -6
  79. oci/dashboard_service/dashboard_group_client.py +6 -6
  80. oci/data_catalog/data_catalog_client.py +149 -149
  81. oci/data_flow/data_flow_client.py +45 -45
  82. oci/data_integration/data_integration_client.py +163 -163
  83. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  84. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  85. oci/data_safe/data_safe_client.py +306 -306
  86. oci/data_science/data_science_client.py +101 -101
  87. oci/data_science/models/__init__.py +8 -0
  88. oci/data_science/models/create_pipeline_details.py +31 -0
  89. oci/data_science/models/pipeline.py +31 -0
  90. oci/data_science/models/pipeline_container_step_details.py +32 -1
  91. oci/data_science/models/pipeline_container_step_run.py +1 -1
  92. oci/data_science/models/pipeline_container_step_update_details.py +34 -3
  93. oci/data_science/models/pipeline_custom_script_step_details.py +32 -1
  94. oci/data_science/models/pipeline_custom_script_step_run.py +1 -1
  95. oci/data_science/models/pipeline_custom_script_step_update_details.py +34 -3
  96. oci/data_science/models/pipeline_dataflow_configuration_details.py +281 -0
  97. oci/data_science/models/pipeline_dataflow_step_details.py +141 -0
  98. oci/data_science/models/pipeline_dataflow_step_run.py +122 -0
  99. oci/data_science/models/pipeline_dataflow_step_update_details.py +99 -0
  100. oci/data_science/models/pipeline_ml_job_step_details.py +1 -1
  101. oci/data_science/models/pipeline_ml_job_step_run.py +1 -1
  102. oci/data_science/models/pipeline_ml_job_step_update_details.py +1 -1
  103. oci/data_science/models/pipeline_step_details.py +11 -3
  104. oci/data_science/models/pipeline_step_override_details.py +29 -2
  105. oci/data_science/models/pipeline_step_run.py +11 -3
  106. oci/data_science/models/pipeline_step_update_details.py +11 -3
  107. oci/data_science/models/update_pipeline_details.py +31 -0
  108. oci/database/database_client.py +404 -404
  109. oci/database_management/db_management_client.py +228 -228
  110. oci/database_management/diagnosability_client.py +4 -4
  111. oci/database_management/managed_my_sql_databases_client.py +9 -9
  112. oci/database_management/perfhub_client.py +1 -1
  113. oci/database_management/sql_tuning_client.py +17 -17
  114. oci/database_migration/database_migration_client.py +42 -42
  115. oci/database_tools/database_tools_client.py +23 -23
  116. oci/dblm/__init__.py +14 -0
  117. oci/dblm/db_life_cycle_management_client.py +1762 -0
  118. oci/dblm/db_life_cycle_management_client_composite_operations.py +65 -0
  119. oci/dblm/models/__init__.py +70 -0
  120. oci/dblm/models/aggregated_vulnerability_collection.py +72 -0
  121. oci/dblm/models/aggregated_vulnerability_summary.py +134 -0
  122. oci/dblm/models/child_pdb.py +227 -0
  123. oci/dblm/models/create_vulnerability_scan_details.py +103 -0
  124. oci/dblm/models/dblm_vulnerability.py +393 -0
  125. oci/dblm/models/host_info.py +103 -0
  126. oci/dblm/models/metric_error.py +227 -0
  127. oci/dblm/models/notification_collection.py +72 -0
  128. oci/dblm/models/notification_summary.py +185 -0
  129. oci/dblm/models/patch_recommendation_summary.py +134 -0
  130. oci/dblm/models/patch_recommendations_details_summary.py +227 -0
  131. oci/dblm/models/resource_info.py +382 -0
  132. oci/dblm/models/resource_summary.py +227 -0
  133. oci/dblm/models/vulnerabilities_summary.py +227 -0
  134. oci/dblm/models/vulnerability_collection.py +72 -0
  135. oci/dblm/models/vulnerability_resource_collection.py +72 -0
  136. oci/dblm/models/vulnerability_resource_summary.py +475 -0
  137. oci/dblm/models/vulnerability_scan.py +525 -0
  138. oci/dblm/models/vulnerability_scan_collection.py +72 -0
  139. oci/dblm/models/vulnerability_scan_summary.py +443 -0
  140. oci/dblm/models/vulnerability_summary.py +196 -0
  141. oci/dblm/models/work_request.py +426 -0
  142. oci/dblm/models/work_request_error.py +136 -0
  143. oci/dblm/models/work_request_error_collection.py +72 -0
  144. oci/dblm/models/work_request_log_entry.py +103 -0
  145. oci/dblm/models/work_request_log_entry_collection.py +72 -0
  146. oci/dblm/models/work_request_resource.py +234 -0
  147. oci/dblm/models/work_request_summary.py +426 -0
  148. oci/dblm/models/work_request_summary_collection.py +72 -0
  149. oci/delegate_access_control/delegate_access_control_client.py +26 -26
  150. oci/delegate_access_control/work_request_client.py +4 -4
  151. oci/demand_signal/occ_demand_signal_client.py +7 -7
  152. oci/desktops/desktop_service_client.py +21 -21
  153. oci/devops/devops_client.py +141 -141
  154. oci/disaster_recovery/disaster_recovery_client.py +31 -31
  155. oci/dns/dns_client.py +54 -54
  156. oci/dts/appliance_export_job_client.py +6 -6
  157. oci/dts/shipping_vendors_client.py +1 -1
  158. oci/dts/transfer_appliance_client.py +8 -8
  159. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  160. oci/dts/transfer_device_client.py +5 -5
  161. oci/dts/transfer_job_client.py +6 -6
  162. oci/dts/transfer_package_client.py +7 -7
  163. oci/em_warehouse/em_warehouse_client.py +13 -13
  164. oci/email/email_client.py +31 -31
  165. oci/email/models/create_dkim_details.py +31 -0
  166. oci/email/models/dkim.py +62 -0
  167. oci/email/models/dkim_summary.py +62 -0
  168. oci/email_data_plane/email_dp_client.py +1 -1
  169. oci/events/events_client.py +6 -6
  170. oci/file_storage/file_storage_client.py +68 -68
  171. oci/fleet_apps_management/fleet_apps_management_admin_client.py +25 -25
  172. oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
  173. oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
  174. oci/fleet_apps_management/fleet_apps_management_operations_client.py +26 -26
  175. oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +12 -12
  176. oci/fleet_software_update/fleet_software_update_client.py +46 -46
  177. oci/functions/functions_invoke_client.py +1 -1
  178. oci/functions/functions_management_client.py +16 -16
  179. oci/fusion_apps/fusion_applications_client.py +41 -41
  180. oci/generative_ai/generative_ai_client.py +22 -22
  181. oci/generative_ai_agent/generative_ai_agent_client.py +33 -33
  182. oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +5 -5
  183. oci/generative_ai_inference/generative_ai_inference_client.py +5 -5
  184. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  185. oci/globally_distributed_database/sharded_database_service_client.py +30 -30
  186. oci/golden_gate/golden_gate_client.py +84 -84
  187. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  188. oci/governance_rules_control_plane/work_request_client.py +5 -5
  189. oci/healthchecks/health_checks_client.py +17 -17
  190. oci/identity/identity_client.py +145 -145
  191. oci/identity_data_plane/dataplane_client.py +2 -2
  192. oci/identity_domains/identity_domains_client.py +311 -311
  193. oci/integration/integration_instance_client.py +19 -19
  194. oci/jms/java_management_service_client.py +79 -79
  195. oci/jms_java_downloads/java_download_client.py +25 -25
  196. oci/key_management/ekm_client.py +5 -5
  197. oci/key_management/kms_crypto_client.py +6 -6
  198. oci/key_management/kms_hsm_cluster_client.py +12 -12
  199. oci/key_management/kms_management_client.py +21 -21
  200. oci/key_management/kms_vault_client.py +14 -14
  201. oci/license_manager/license_manager_client.py +18 -18
  202. oci/limits/limits_client.py +4 -4
  203. oci/limits/quotas_client.py +7 -7
  204. oci/load_balancer/load_balancer_client.py +61 -61
  205. oci/load_balancer/models/create_load_balancer_details.py +15 -15
  206. oci/load_balancer/models/load_balancer.py +15 -15
  207. oci/load_balancer/models/update_load_balancer_details.py +15 -15
  208. oci/lockbox/lockbox_client.py +24 -24
  209. oci/log_analytics/log_analytics_client.py +193 -193
  210. oci/logging/logging_management_client.py +30 -30
  211. oci/loggingingestion/logging_client.py +1 -1
  212. oci/loggingsearch/log_search_client.py +1 -1
  213. oci/management_agent/management_agent_client.py +28 -28
  214. oci/management_dashboard/dashx_apis_client.py +14 -14
  215. oci/marketplace/account_client.py +2 -2
  216. oci/marketplace/marketplace_client.py +30 -30
  217. oci/marketplace_private_offer/attachment_client.py +5 -5
  218. oci/marketplace_private_offer/offer_client.py +6 -6
  219. oci/marketplace_publisher/attachment_client.py +5 -5
  220. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  221. oci/marketplace_publisher/offer_client.py +6 -6
  222. oci/media_services/media_services_client.py +60 -60
  223. oci/media_services/media_stream_client.py +2 -2
  224. oci/monitoring/monitoring_client.py +18 -18
  225. oci/mysql/channels_client.py +7 -7
  226. oci/mysql/db_backups_client.py +7 -7
  227. oci/mysql/db_system_client.py +17 -17
  228. oci/mysql/models/backup.py +33 -0
  229. oci/mysql/models/backup_summary.py +33 -0
  230. oci/mysql/models/channel.py +35 -2
  231. oci/mysql/models/channel_summary.py +35 -2
  232. oci/mysql/models/configuration.py +35 -2
  233. oci/mysql/models/configuration_summary.py +35 -2
  234. oci/mysql/models/configuration_variables.py +4949 -1858
  235. oci/mysql/models/db_system.py +33 -0
  236. oci/mysql/models/db_system_summary.py +33 -0
  237. oci/mysql/mysqlaas_client.py +7 -7
  238. oci/mysql/replicas_client.py +5 -5
  239. oci/mysql/work_requests_client.py +4 -4
  240. oci/network_firewall/network_firewall_client.py +86 -86
  241. oci/network_load_balancer/network_load_balancer_client.py +35 -35
  242. oci/nosql/nosql_client.py +24 -24
  243. oci/object_storage/object_storage_client.py +55 -55
  244. oci/oce/oce_instance_client.py +10 -10
  245. oci/oci_control_center/occ_metrics_client.py +3 -3
  246. oci/ocvp/cluster_client.py +5 -5
  247. oci/ocvp/esxi_host_client.py +8 -8
  248. oci/ocvp/sddc_client.py +14 -14
  249. oci/ocvp/work_request_client.py +4 -4
  250. oci/oda/management_client.py +59 -59
  251. oci/oda/oda_client.py +17 -17
  252. oci/oda/odapackage_client.py +7 -7
  253. oci/onesubscription/billing_schedule_client.py +1 -1
  254. oci/onesubscription/commitment_client.py +2 -2
  255. oci/onesubscription/computed_usage_client.py +3 -3
  256. oci/onesubscription/invoice_summary_client.py +2 -2
  257. oci/onesubscription/organization_subscription_client.py +1 -1
  258. oci/onesubscription/ratecard_client.py +1 -1
  259. oci/onesubscription/subscribed_service_client.py +2 -2
  260. oci/onesubscription/subscription_client.py +1 -1
  261. oci/ons/notification_control_plane_client.py +6 -6
  262. oci/ons/notification_data_plane_client.py +10 -10
  263. oci/opa/opa_instance_client.py +13 -13
  264. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  265. oci/opensearch/opensearch_cluster_client.py +16 -16
  266. oci/operator_access_control/access_requests_client.py +10 -10
  267. oci/operator_access_control/operator_actions_client.py +2 -2
  268. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  269. oci/operator_access_control/operator_control_client.py +6 -6
  270. oci/opsi/operations_insights_client.py +181 -181
  271. oci/optimizer/optimizer_client.py +26 -26
  272. oci/os_management/event_client.py +8 -8
  273. oci/os_management/os_management_client.py +69 -69
  274. oci/os_management_hub/event_client.py +10 -10
  275. oci/os_management_hub/lifecycle_environment_client.py +138 -16
  276. oci/os_management_hub/lifecycle_environment_client_composite_operations.py +44 -0
  277. oci/os_management_hub/managed_instance_client.py +309 -35
  278. oci/os_management_hub/managed_instance_client_composite_operations.py +91 -0
  279. oci/os_management_hub/managed_instance_group_client.py +149 -27
  280. oci/os_management_hub/managed_instance_group_client_composite_operations.py +44 -0
  281. oci/os_management_hub/management_station_client.py +59 -16
  282. oci/os_management_hub/models/__init__.py +54 -0
  283. oci/os_management_hub/models/add_packages_to_software_source_details.py +35 -4
  284. oci/os_management_hub/models/agent_event.py +1 -1
  285. oci/os_management_hub/models/associate_managed_instances_with_management_station_details.py +103 -0
  286. oci/os_management_hub/models/attach_lifecycle_stage_to_profile_details.py +76 -0
  287. oci/os_management_hub/models/attach_managed_instance_group_to_profile_details.py +76 -0
  288. oci/os_management_hub/models/attach_managed_instances_to_lifecycle_stage_details.py +1 -1
  289. oci/os_management_hub/models/attach_management_station_to_profile_details.py +76 -0
  290. oci/os_management_hub/models/attach_software_sources_to_profile_details.py +76 -0
  291. oci/os_management_hub/models/available_package_summary.py +1 -1
  292. oci/os_management_hub/models/create_custom_software_source_details.py +54 -3
  293. oci/os_management_hub/models/create_lifecycle_environment_details.py +7 -3
  294. oci/os_management_hub/models/create_managed_instance_group_details.py +7 -3
  295. oci/os_management_hub/models/create_management_station_details.py +31 -0
  296. oci/os_management_hub/models/create_mirror_configuration_details.py +33 -2
  297. oci/os_management_hub/models/create_private_software_source_details.py +406 -0
  298. oci/os_management_hub/models/create_profile_details.py +12 -4
  299. oci/os_management_hub/models/create_scheduled_job_details.py +37 -2
  300. oci/os_management_hub/models/create_software_source_details.py +19 -3
  301. oci/os_management_hub/models/create_software_source_profile_details.py +7 -3
  302. oci/os_management_hub/models/create_station_profile_details.py +7 -3
  303. oci/os_management_hub/models/create_third_party_software_source_details.py +406 -0
  304. oci/os_management_hub/models/create_vendor_software_source_details.py +1 -1
  305. oci/os_management_hub/models/create_versioned_custom_software_source_details.py +54 -3
  306. oci/os_management_hub/models/create_windows_stand_alone_profile_details.py +288 -0
  307. oci/os_management_hub/models/custom_software_source.py +102 -9
  308. oci/os_management_hub/models/custom_software_source_summary.py +64 -8
  309. oci/os_management_hub/models/detach_managed_instances_from_lifecycle_stage_details.py +1 -1
  310. oci/os_management_hub/models/detach_software_sources_from_profile_details.py +76 -0
  311. oci/os_management_hub/models/event.py +23 -3
  312. oci/os_management_hub/models/event_summary.py +11 -3
  313. oci/os_management_hub/models/exploit_attempt_event.py +1 -1
  314. oci/os_management_hub/models/group_profile.py +16 -2
  315. oci/os_management_hub/models/install_packages_on_managed_instance_group_details.py +33 -2
  316. oci/os_management_hub/models/installed_package_summary.py +1 -1
  317. oci/os_management_hub/models/kernel_crash_event.py +1 -1
  318. oci/os_management_hub/models/kernel_oops_event.py +1 -1
  319. oci/os_management_hub/models/ksplice_update_event.py +1 -1
  320. oci/os_management_hub/models/lifecycle_environment.py +7 -3
  321. oci/os_management_hub/models/lifecycle_environment_summary.py +7 -3
  322. oci/os_management_hub/models/lifecycle_profile.py +16 -2
  323. oci/os_management_hub/models/lifecycle_stage.py +7 -3
  324. oci/os_management_hub/models/lifecycle_stage_summary.py +7 -3
  325. oci/os_management_hub/models/managed_instance.py +80 -10
  326. oci/os_management_hub/models/managed_instance_analytic_summary.py +11 -3
  327. oci/os_management_hub/models/managed_instance_group.py +7 -3
  328. oci/os_management_hub/models/managed_instance_group_available_package_summary.py +7 -3
  329. oci/os_management_hub/models/managed_instance_group_summary.py +7 -3
  330. oci/os_management_hub/models/managed_instance_summary.py +47 -8
  331. oci/os_management_hub/models/management_station.py +276 -0
  332. oci/os_management_hub/models/management_station_event.py +1 -1
  333. oci/os_management_hub/models/management_station_event_data.py +58 -3
  334. oci/os_management_hub/models/management_station_summary.py +67 -4
  335. oci/os_management_hub/models/mirror_configuration.py +33 -2
  336. oci/os_management_hub/models/mirror_summary.py +107 -25
  337. oci/os_management_hub/models/mirrors_collection.py +2 -1
  338. oci/os_management_hub/models/module_stream.py +7 -3
  339. oci/os_management_hub/models/package_name_summary.py +7 -3
  340. oci/os_management_hub/models/package_summary.py +7 -3
  341. oci/os_management_hub/models/peer_management_station.py +108 -0
  342. oci/os_management_hub/models/private_software_source.py +330 -0
  343. oci/os_management_hub/models/private_software_source_summary.py +212 -0
  344. oci/os_management_hub/models/profile.py +84 -8
  345. oci/os_management_hub/models/profile_collection.py +1 -1
  346. oci/os_management_hub/models/profile_summary.py +17 -7
  347. oci/os_management_hub/models/profile_version.py +811 -0
  348. oci/os_management_hub/models/reboot_event.py +184 -0
  349. oci/os_management_hub/models/reboot_event_data.py +123 -0
  350. oci/os_management_hub/models/reboot_lifecycle_stage_details.py +101 -0
  351. oci/os_management_hub/models/reboot_managed_instance_details.py +101 -0
  352. oci/os_management_hub/models/reboot_managed_instance_group_details.py +101 -0
  353. oci/os_management_hub/models/remove_packages_from_software_source_details.py +72 -0
  354. oci/os_management_hub/models/replace_packages_in_software_source_details.py +72 -0
  355. oci/os_management_hub/models/rerun_work_request_details.py +103 -0
  356. oci/os_management_hub/models/scheduled_job.py +37 -2
  357. oci/os_management_hub/models/scheduled_job_operation.py +46 -5
  358. oci/os_management_hub/models/scheduled_job_summary.py +37 -2
  359. oci/os_management_hub/models/software_source.py +39 -15
  360. oci/os_management_hub/models/software_source_details.py +11 -3
  361. oci/os_management_hub/models/software_source_event.py +1 -1
  362. oci/os_management_hub/models/software_source_profile.py +16 -2
  363. oci/os_management_hub/models/software_source_summary.py +30 -10
  364. oci/os_management_hub/models/software_source_vendor_summary.py +7 -3
  365. oci/os_management_hub/models/software_update_event.py +1 -1
  366. oci/os_management_hub/models/station_health.py +7 -3
  367. oci/os_management_hub/models/station_profile.py +16 -2
  368. oci/os_management_hub/models/synchronize_mirrors_details.py +7 -3
  369. oci/os_management_hub/models/sysadmin_event.py +184 -0
  370. oci/os_management_hub/models/sysadmin_event_data.py +239 -0
  371. oci/os_management_hub/models/system_details.py +7 -3
  372. oci/os_management_hub/models/third_party_software_source.py +330 -0
  373. oci/os_management_hub/models/third_party_software_source_summary.py +212 -0
  374. oci/os_management_hub/models/updatable_package_summary.py +1 -1
  375. oci/os_management_hub/models/update_custom_software_source_details.py +1 -1
  376. oci/os_management_hub/models/update_management_station_details.py +31 -0
  377. oci/os_management_hub/models/update_mirror_configuration_details.py +33 -2
  378. oci/os_management_hub/models/update_private_software_source_details.py +272 -0
  379. oci/os_management_hub/models/update_profile_details.py +1 -1
  380. oci/os_management_hub/models/update_scheduled_job_details.py +2 -2
  381. oci/os_management_hub/models/update_software_source_details.py +19 -3
  382. oci/os_management_hub/models/update_third_party_software_source_details.py +272 -0
  383. oci/os_management_hub/models/update_vendor_software_source_details.py +1 -1
  384. oci/os_management_hub/models/update_versioned_custom_software_source_details.py +1 -1
  385. oci/os_management_hub/models/update_work_request_details.py +9 -5
  386. oci/os_management_hub/models/vendor_software_source.py +5 -5
  387. oci/os_management_hub/models/vendor_software_source_summary.py +2 -2
  388. oci/os_management_hub/models/versioned_custom_software_source.py +102 -9
  389. oci/os_management_hub/models/versioned_custom_software_source_summary.py +63 -7
  390. oci/os_management_hub/models/windows_standalone_profile.py +17 -3
  391. oci/os_management_hub/models/work_request.py +102 -14
  392. oci/os_management_hub/models/work_request_error.py +4 -4
  393. oci/os_management_hub/models/work_request_error_collection.py +1 -1
  394. oci/os_management_hub/models/work_request_log_entry_collection.py +1 -1
  395. oci/os_management_hub/models/work_request_summary.py +47 -8
  396. oci/os_management_hub/models/work_request_summary_collection.py +1 -1
  397. oci/os_management_hub/onboarding_client.py +991 -75
  398. oci/os_management_hub/reporting_managed_instance_client.py +9 -9
  399. oci/os_management_hub/scheduled_job_client.py +9 -9
  400. oci/os_management_hub/software_source_client.py +848 -47
  401. oci/os_management_hub/software_source_client_composite_operations.py +132 -0
  402. oci/os_management_hub/work_request_client.py +144 -11
  403. oci/os_management_hub/work_request_client_composite_operations.py +46 -0
  404. oci/osp_gateway/address_rule_service_client.py +1 -1
  405. oci/osp_gateway/address_service_client.py +2 -2
  406. oci/osp_gateway/invoice_service_client.py +5 -5
  407. oci/osp_gateway/subscription_service_client.py +5 -5
  408. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  409. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  410. oci/osub_subscription/commitment_client.py +2 -2
  411. oci/osub_subscription/ratecard_client.py +1 -1
  412. oci/osub_subscription/subscription_client.py +1 -1
  413. oci/osub_usage/computed_usage_client.py +3 -3
  414. oci/psql/postgresql_client.py +33 -33
  415. oci/queue/queue_admin_client.py +11 -11
  416. oci/queue/queue_client.py +8 -8
  417. oci/recovery/database_recovery_client.py +26 -26
  418. oci/redis/models/redis_cluster.py +7 -3
  419. oci/redis/models/update_redis_cluster_details.py +31 -0
  420. oci/redis/redis_cluster_client.py +12 -12
  421. oci/resource_manager/resource_manager_client.py +52 -52
  422. oci/resource_scheduler/schedule_client.py +13 -13
  423. oci/resource_search/resource_search_client.py +3 -3
  424. oci/rover/rover_bundle_client.py +8 -8
  425. oci/rover/rover_cluster_client.py +8 -8
  426. oci/rover/rover_entitlement_client.py +6 -6
  427. oci/rover/rover_node_client.py +15 -15
  428. oci/rover/shape_client.py +1 -1
  429. oci/rover/work_requests_client.py +5 -5
  430. oci/sch/connector_plugins_client.py +2 -2
  431. oci/sch/service_connector_client.py +12 -12
  432. oci/secrets/secrets_client.py +3 -3
  433. oci/security_attribute/security_attribute_client.py +18 -18
  434. oci/service_catalog/service_catalog_client.py +26 -26
  435. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  436. oci/service_mesh/service_mesh_client.py +48 -48
  437. oci/stack_monitoring/stack_monitoring_client.py +87 -87
  438. oci/streaming/stream_admin_client.py +18 -18
  439. oci/streaming/stream_client.py +8 -8
  440. oci/tenant_manager_control_plane/domain_client.py +5 -5
  441. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  442. oci/tenant_manager_control_plane/governance_client.py +2 -2
  443. oci/tenant_manager_control_plane/link_client.py +3 -3
  444. oci/tenant_manager_control_plane/orders_client.py +2 -2
  445. oci/tenant_manager_control_plane/organization_client.py +10 -10
  446. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  447. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  448. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  449. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  450. oci/threat_intelligence/threatintel_client.py +5 -5
  451. oci/usage/resources_client.py +2 -2
  452. oci/usage/rewards_client.py +6 -6
  453. oci/usage/usagelimits_client.py +1 -1
  454. oci/usage_api/usageapi_client.py +33 -33
  455. oci/vault/vaults_client.py +13 -13
  456. oci/vbs_inst/vbs_instance_client.py +10 -10
  457. oci/version.py +1 -1
  458. oci/visual_builder/vb_instance_client.py +14 -14
  459. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  460. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  461. oci/waa/waa_client.py +13 -13
  462. oci/waa/work_request_client.py +4 -4
  463. oci/waas/redirect_client.py +6 -6
  464. oci/waas/waas_client.py +66 -66
  465. oci/waf/waf_client.py +24 -24
  466. oci/work_requests/work_request_client.py +4 -4
  467. oci/zpr/zpr_client.py +15 -15
  468. {oci-2.145.0.dist-info → oci-2.146.0.dist-info}/METADATA +1 -1
  469. {oci-2.145.0.dist-info → oci-2.146.0.dist-info}/RECORD +473 -411
  470. oci/container_instances/models/container_command_health_check.py +0 -147
  471. oci/container_instances/models/create_container_command_health_check_details.py +0 -132
  472. {oci-2.145.0.dist-info → oci-2.146.0.dist-info}/LICENSE.txt +0 -0
  473. {oci-2.145.0.dist-info → oci-2.146.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  474. {oci-2.145.0.dist-info → oci-2.146.0.dist-info}/WHEEL +0 -0
  475. {oci-2.145.0.dist-info → oci-2.146.0.dist-info}/top_level.txt +0 -0
@@ -14,6 +14,7 @@ from oci.base_client import BaseClient
14
14
  from oci.config import get_config_value_or_default, validate_config
15
15
  from oci.signer import Signer
16
16
  from oci.util import Sentinel, get_signer_from_authentication_type, AUTHENTICATION_TYPE_FIELD_NAME
17
+ from oci.util import back_up_body_calculate_stream_content_length, is_content_length_calculable_by_req_util
17
18
  from oci.exceptions import InvalidAlloyConfig
18
19
  from oci.alloy import OCI_SDK_ENABLED_SERVICES_SET
19
20
  from .models import os_management_hub_type_mapping
@@ -121,6 +122,10 @@ class SoftwareSourceClient(object):
121
122
  """
122
123
  Adds packages to a software source. This operation can only be done for custom and versioned custom software sources that are not created using filters.
123
124
  For a versioned custom software source, you can only add packages when the source is created. Once content is added to a versioned custom software source, it is immutable.
125
+ Packages can be of the format:
126
+ * name (for example: git). If isLatestContentOnly is true, only the latest version of the package will be added, otherwise all versions of the package will be added.
127
+ * name-version-release.architecture (for example: git-2.43.5-1.el8_10.x86_64)
128
+ * name-epoch:version-release.architecture (for example: git-0:2.43.5-1.el8_10.x86_64)
124
129
 
125
130
 
126
131
  :param str software_source_id: (required)
@@ -164,7 +169,7 @@ class SoftwareSourceClient(object):
164
169
  :rtype: :class:`~oci.response.Response`
165
170
 
166
171
  :example:
167
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/add_packages_to_software_source.py.html>`__ to see an example of how to use add_packages_to_software_source API.
172
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/add_packages_to_software_source.py.html>`__ to see an example of how to use add_packages_to_software_source API.
168
173
  """
169
174
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
170
175
  required_arguments = ['softwareSourceId']
@@ -274,7 +279,7 @@ class SoftwareSourceClient(object):
274
279
  :rtype: :class:`~oci.response.Response`
275
280
 
276
281
  :example:
277
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/change_availability_of_software_sources.py.html>`__ to see an example of how to use change_availability_of_software_sources API.
282
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/change_availability_of_software_sources.py.html>`__ to see an example of how to use change_availability_of_software_sources API.
278
283
  """
279
284
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
280
285
  required_arguments = []
@@ -387,7 +392,7 @@ class SoftwareSourceClient(object):
387
392
  :rtype: :class:`~oci.response.Response`
388
393
 
389
394
  :example:
390
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/change_software_source_compartment.py.html>`__ to see an example of how to use change_software_source_compartment API.
395
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/change_software_source_compartment.py.html>`__ to see an example of how to use change_software_source_compartment API.
391
396
  """
392
397
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
393
398
  required_arguments = ['softwareSourceId']
@@ -497,7 +502,7 @@ class SoftwareSourceClient(object):
497
502
  :rtype: :class:`~oci.response.Response`
498
503
 
499
504
  :example:
500
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/create_entitlement.py.html>`__ to see an example of how to use create_entitlement API.
505
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/create_entitlement.py.html>`__ to see an example of how to use create_entitlement API.
501
506
  """
502
507
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
503
508
  required_arguments = []
@@ -561,7 +566,7 @@ class SoftwareSourceClient(object):
561
566
 
562
567
  def create_software_source(self, create_software_source_details, **kwargs):
563
568
  """
564
- Creates a new versioned or custom software source.
569
+ Creates a new software source.
565
570
 
566
571
 
567
572
  :param oci.os_management_hub.models.CreateSoftwareSourceDetails create_software_source_details: (required)
@@ -593,7 +598,7 @@ class SoftwareSourceClient(object):
593
598
  :rtype: :class:`~oci.response.Response`
594
599
 
595
600
  :example:
596
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/create_software_source.py.html>`__ to see an example of how to use create_software_source API.
601
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/create_software_source.py.html>`__ to see an example of how to use create_software_source API.
597
602
  """
598
603
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
599
604
  required_arguments = []
@@ -693,7 +698,7 @@ class SoftwareSourceClient(object):
693
698
  :rtype: :class:`~oci.response.Response`
694
699
 
695
700
  :example:
696
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/delete_software_source.py.html>`__ to see an example of how to use delete_software_source API.
701
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/delete_software_source.py.html>`__ to see an example of how to use delete_software_source API.
697
702
  """
698
703
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
699
704
  required_arguments = ['softwareSourceId']
@@ -796,7 +801,7 @@ class SoftwareSourceClient(object):
796
801
  :rtype: :class:`~oci.response.Response`
797
802
 
798
803
  :example:
799
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/get_erratum.py.html>`__ to see an example of how to use get_erratum API.
804
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/get_erratum.py.html>`__ to see an example of how to use get_erratum API.
800
805
  """
801
806
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
802
807
  required_arguments = ['name', 'compartmentId']
@@ -909,7 +914,7 @@ class SoftwareSourceClient(object):
909
914
  :rtype: :class:`~oci.response.Response`
910
915
 
911
916
  :example:
912
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/get_module_stream.py.html>`__ to see an example of how to use get_module_stream API.
917
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/get_module_stream.py.html>`__ to see an example of how to use get_module_stream API.
913
918
  """
914
919
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
915
920
  required_arguments = ['softwareSourceId', 'moduleName', 'streamName']
@@ -1026,7 +1031,7 @@ class SoftwareSourceClient(object):
1026
1031
  :rtype: :class:`~oci.response.Response`
1027
1032
 
1028
1033
  :example:
1029
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/get_module_stream_profile.py.html>`__ to see an example of how to use get_module_stream_profile API.
1034
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/get_module_stream_profile.py.html>`__ to see an example of how to use get_module_stream_profile API.
1030
1035
  """
1031
1036
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1032
1037
  required_arguments = ['softwareSourceId', 'profileName', 'moduleName', 'streamName']
@@ -1138,7 +1143,7 @@ class SoftwareSourceClient(object):
1138
1143
  :rtype: :class:`~oci.response.Response`
1139
1144
 
1140
1145
  :example:
1141
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/get_package_group.py.html>`__ to see an example of how to use get_package_group API.
1146
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/get_package_group.py.html>`__ to see an example of how to use get_package_group API.
1142
1147
  """
1143
1148
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1144
1149
  required_arguments = ['softwareSourceId', 'packageGroupId']
@@ -1242,7 +1247,7 @@ class SoftwareSourceClient(object):
1242
1247
  :rtype: :class:`~oci.response.Response`
1243
1248
 
1244
1249
  :example:
1245
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/get_software_package.py.html>`__ to see an example of how to use get_software_package API.
1250
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/get_software_package.py.html>`__ to see an example of how to use get_software_package API.
1246
1251
  """
1247
1252
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1248
1253
  required_arguments = ['softwareSourceId', 'softwarePackageName']
@@ -1316,7 +1321,7 @@ class SoftwareSourceClient(object):
1316
1321
 
1317
1322
  def get_software_package_by_name(self, software_package_name, **kwargs):
1318
1323
  """
1319
- Returns information about the specified software package based on its fully qualified name.
1324
+ Returns information about the specified software package based on its fully qualified name (NVRA or NEVRA).
1320
1325
 
1321
1326
 
1322
1327
  :param str software_package_name: (required)
@@ -1341,7 +1346,7 @@ class SoftwareSourceClient(object):
1341
1346
  :rtype: :class:`~oci.response.Response`
1342
1347
 
1343
1348
  :example:
1344
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/get_software_package_by_name.py.html>`__ to see an example of how to use get_software_package_by_name API.
1349
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/get_software_package_by_name.py.html>`__ to see an example of how to use get_software_package_by_name API.
1345
1350
  """
1346
1351
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1347
1352
  required_arguments = ['softwarePackageName']
@@ -1441,7 +1446,7 @@ class SoftwareSourceClient(object):
1441
1446
  :rtype: :class:`~oci.response.Response`
1442
1447
 
1443
1448
  :example:
1444
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/get_software_source.py.html>`__ to see an example of how to use get_software_source API.
1449
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/get_software_source.py.html>`__ to see an example of how to use get_software_source API.
1445
1450
  """
1446
1451
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1447
1452
  required_arguments = ['softwareSourceId']
@@ -1512,6 +1517,106 @@ class SoftwareSourceClient(object):
1512
1517
  api_reference_link=api_reference_link,
1513
1518
  required_arguments=required_arguments)
1514
1519
 
1520
+ def get_software_source_manifest(self, software_source_id, **kwargs):
1521
+ """
1522
+ Returns an archive containing the list of packages in the software source.
1523
+
1524
+
1525
+ :param str software_source_id: (required)
1526
+ The `OCID`__ of the software source.
1527
+
1528
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
1529
+
1530
+ :param str opc_request_id: (optional)
1531
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
1532
+
1533
+ :param obj retry_strategy: (optional)
1534
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1535
+
1536
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
1537
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
1538
+
1539
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1540
+
1541
+ :param bool allow_control_chars: (optional)
1542
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
1543
+ By default, the response will not allow control characters in strings
1544
+
1545
+ :return: A :class:`~oci.response.Response` object with data of type stream
1546
+ :rtype: :class:`~oci.response.Response`
1547
+
1548
+ :example:
1549
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/get_software_source_manifest.py.html>`__ to see an example of how to use get_software_source_manifest API.
1550
+ """
1551
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1552
+ required_arguments = ['softwareSourceId']
1553
+ resource_path = "/softwareSources/{softwareSourceId}/manifest"
1554
+ method = "GET"
1555
+ operation_name = "get_software_source_manifest"
1556
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/SoftwareSource/GetSoftwareSourceManifest"
1557
+
1558
+ # Don't accept unknown kwargs
1559
+ expected_kwargs = [
1560
+ "allow_control_chars",
1561
+ "retry_strategy",
1562
+ "opc_request_id"
1563
+ ]
1564
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1565
+ if extra_kwargs:
1566
+ raise ValueError(
1567
+ f"get_software_source_manifest got unknown kwargs: {extra_kwargs!r}")
1568
+
1569
+ path_params = {
1570
+ "softwareSourceId": software_source_id
1571
+ }
1572
+
1573
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1574
+
1575
+ for (k, v) in six.iteritems(path_params):
1576
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1577
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
1578
+
1579
+ header_params = {
1580
+ "accept": "application/octet-stream",
1581
+ "content-type": "application/json",
1582
+ "opc-request-id": kwargs.get("opc_request_id", missing)
1583
+ }
1584
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1585
+
1586
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
1587
+ operation_retry_strategy=kwargs.get('retry_strategy'),
1588
+ client_retry_strategy=self.retry_strategy
1589
+ )
1590
+ if retry_strategy is None:
1591
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
1592
+
1593
+ if retry_strategy:
1594
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
1595
+ self.base_client.add_opc_client_retries_header(header_params)
1596
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
1597
+ return retry_strategy.make_retrying_call(
1598
+ self.base_client.call_api,
1599
+ resource_path=resource_path,
1600
+ method=method,
1601
+ path_params=path_params,
1602
+ header_params=header_params,
1603
+ response_type="stream",
1604
+ allow_control_chars=kwargs.get('allow_control_chars'),
1605
+ operation_name=operation_name,
1606
+ api_reference_link=api_reference_link,
1607
+ required_arguments=required_arguments)
1608
+ else:
1609
+ return self.base_client.call_api(
1610
+ resource_path=resource_path,
1611
+ method=method,
1612
+ path_params=path_params,
1613
+ header_params=header_params,
1614
+ response_type="stream",
1615
+ allow_control_chars=kwargs.get('allow_control_chars'),
1616
+ operation_name=operation_name,
1617
+ api_reference_link=api_reference_link,
1618
+ required_arguments=required_arguments)
1619
+
1515
1620
  def list_all_software_packages(self, **kwargs):
1516
1621
  """
1517
1622
  Lists software packages available through the OS Management Hub service. Filter the list against a variety of criteria
@@ -1585,7 +1690,7 @@ class SoftwareSourceClient(object):
1585
1690
  :rtype: :class:`~oci.response.Response`
1586
1691
 
1587
1692
  :example:
1588
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/list_all_software_packages.py.html>`__ to see an example of how to use list_all_software_packages API.
1693
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/list_all_software_packages.py.html>`__ to see an example of how to use list_all_software_packages API.
1589
1694
  """
1590
1695
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1591
1696
  required_arguments = []
@@ -1698,6 +1803,176 @@ class SoftwareSourceClient(object):
1698
1803
  api_reference_link=api_reference_link,
1699
1804
  required_arguments=required_arguments)
1700
1805
 
1806
+ def list_available_software_packages(self, software_source_id, **kwargs):
1807
+ """
1808
+ Lists software packages that are available to be added to a custom software source of type MANIFEST. Filter the list against a variety of criteria
1809
+ including but not limited to its name.
1810
+
1811
+
1812
+ :param str software_source_id: (required)
1813
+ The `OCID`__ of the software source.
1814
+
1815
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
1816
+
1817
+ :param str display_name: (optional)
1818
+ A filter to return resources that match the given user-friendly name.
1819
+
1820
+ :param str display_name_contains: (optional)
1821
+ A filter to return resources that may partially match the given display name.
1822
+
1823
+ :param bool is_latest: (optional)
1824
+ Indicates whether to list only the latest versions of packages, module streams, and stream profiles.
1825
+
1826
+ :param int limit: (optional)
1827
+ For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call.
1828
+ For important details about how pagination works, see `List Pagination`__.
1829
+
1830
+ Example: `50`
1831
+
1832
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
1833
+
1834
+ :param str page: (optional)
1835
+ For list pagination. The value of the `opc-next-page` response header from the previous \"List\" call.
1836
+ For important details about how pagination works, see `List Pagination`__.
1837
+
1838
+ Example: `3`
1839
+
1840
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
1841
+
1842
+ :param str sort_order: (optional)
1843
+ The sort order to use, either 'ASC' or 'DESC'.
1844
+
1845
+ Allowed values are: "ASC", "DESC"
1846
+
1847
+ :param str sort_by: (optional)
1848
+ The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
1849
+
1850
+ Allowed values are: "timeCreated", "displayName"
1851
+
1852
+ :param str opc_request_id: (optional)
1853
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
1854
+
1855
+ :param obj retry_strategy: (optional)
1856
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1857
+
1858
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
1859
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
1860
+
1861
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1862
+
1863
+ :param bool allow_control_chars: (optional)
1864
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
1865
+ By default, the response will not allow control characters in strings
1866
+
1867
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.os_management_hub.models.SoftwarePackageCollection`
1868
+ :rtype: :class:`~oci.response.Response`
1869
+
1870
+ :example:
1871
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/list_available_software_packages.py.html>`__ to see an example of how to use list_available_software_packages API.
1872
+ """
1873
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1874
+ required_arguments = ['softwareSourceId']
1875
+ resource_path = "/softwareSources/{softwareSourceId}/availableSoftwarePackages"
1876
+ method = "GET"
1877
+ operation_name = "list_available_software_packages"
1878
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/SoftwareSource/ListAvailableSoftwarePackages"
1879
+
1880
+ # Don't accept unknown kwargs
1881
+ expected_kwargs = [
1882
+ "allow_control_chars",
1883
+ "retry_strategy",
1884
+ "display_name",
1885
+ "display_name_contains",
1886
+ "is_latest",
1887
+ "limit",
1888
+ "page",
1889
+ "sort_order",
1890
+ "sort_by",
1891
+ "opc_request_id"
1892
+ ]
1893
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1894
+ if extra_kwargs:
1895
+ raise ValueError(
1896
+ f"list_available_software_packages got unknown kwargs: {extra_kwargs!r}")
1897
+
1898
+ path_params = {
1899
+ "softwareSourceId": software_source_id
1900
+ }
1901
+
1902
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1903
+
1904
+ for (k, v) in six.iteritems(path_params):
1905
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1906
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
1907
+
1908
+ if 'sort_order' in kwargs:
1909
+ sort_order_allowed_values = ["ASC", "DESC"]
1910
+ if kwargs['sort_order'] not in sort_order_allowed_values:
1911
+ raise ValueError(
1912
+ f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
1913
+ )
1914
+
1915
+ if 'sort_by' in kwargs:
1916
+ sort_by_allowed_values = ["timeCreated", "displayName"]
1917
+ if kwargs['sort_by'] not in sort_by_allowed_values:
1918
+ raise ValueError(
1919
+ f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
1920
+ )
1921
+
1922
+ query_params = {
1923
+ "displayName": kwargs.get("display_name", missing),
1924
+ "displayNameContains": kwargs.get("display_name_contains", missing),
1925
+ "isLatest": kwargs.get("is_latest", missing),
1926
+ "limit": kwargs.get("limit", missing),
1927
+ "page": kwargs.get("page", missing),
1928
+ "sortOrder": kwargs.get("sort_order", missing),
1929
+ "sortBy": kwargs.get("sort_by", missing)
1930
+ }
1931
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
1932
+
1933
+ header_params = {
1934
+ "accept": "application/json",
1935
+ "content-type": "application/json",
1936
+ "opc-request-id": kwargs.get("opc_request_id", missing)
1937
+ }
1938
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1939
+
1940
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
1941
+ operation_retry_strategy=kwargs.get('retry_strategy'),
1942
+ client_retry_strategy=self.retry_strategy
1943
+ )
1944
+ if retry_strategy is None:
1945
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
1946
+
1947
+ if retry_strategy:
1948
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
1949
+ self.base_client.add_opc_client_retries_header(header_params)
1950
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
1951
+ return retry_strategy.make_retrying_call(
1952
+ self.base_client.call_api,
1953
+ resource_path=resource_path,
1954
+ method=method,
1955
+ path_params=path_params,
1956
+ query_params=query_params,
1957
+ header_params=header_params,
1958
+ response_type="SoftwarePackageCollection",
1959
+ allow_control_chars=kwargs.get('allow_control_chars'),
1960
+ operation_name=operation_name,
1961
+ api_reference_link=api_reference_link,
1962
+ required_arguments=required_arguments)
1963
+ else:
1964
+ return self.base_client.call_api(
1965
+ resource_path=resource_path,
1966
+ method=method,
1967
+ path_params=path_params,
1968
+ query_params=query_params,
1969
+ header_params=header_params,
1970
+ response_type="SoftwarePackageCollection",
1971
+ allow_control_chars=kwargs.get('allow_control_chars'),
1972
+ operation_name=operation_name,
1973
+ api_reference_link=api_reference_link,
1974
+ required_arguments=required_arguments)
1975
+
1701
1976
  def list_entitlements(self, compartment_id, **kwargs):
1702
1977
  """
1703
1978
  Lists entitlements in the specified tenancy `OCID`__. Filter the list against a variety of criteria including but
@@ -1712,7 +1987,7 @@ class SoftwareSourceClient(object):
1712
1987
  __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
1713
1988
 
1714
1989
  :param str csi: (optional)
1715
- A filter to return entitlements that match the given CSI.
1990
+ A filter to return entitlements that match the given customer support identifier (CSI).
1716
1991
 
1717
1992
  :param str vendor_name: (optional)
1718
1993
  A filter to return only resources that match the given vendor name.
@@ -1764,7 +2039,7 @@ class SoftwareSourceClient(object):
1764
2039
  :rtype: :class:`~oci.response.Response`
1765
2040
 
1766
2041
  :example:
1767
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/list_entitlements.py.html>`__ to see an example of how to use list_entitlements API.
2042
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/list_entitlements.py.html>`__ to see an example of how to use list_entitlements API.
1768
2043
  """
1769
2044
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1770
2045
  required_arguments = ['compartmentId']
@@ -1957,7 +2232,7 @@ class SoftwareSourceClient(object):
1957
2232
  :rtype: :class:`~oci.response.Response`
1958
2233
 
1959
2234
  :example:
1960
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/list_errata.py.html>`__ to see an example of how to use list_errata API.
2235
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/list_errata.py.html>`__ to see an example of how to use list_errata API.
1961
2236
  """
1962
2237
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1963
2238
  required_arguments = ['compartmentId']
@@ -2160,7 +2435,7 @@ class SoftwareSourceClient(object):
2160
2435
  :rtype: :class:`~oci.response.Response`
2161
2436
 
2162
2437
  :example:
2163
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/list_module_stream_profiles.py.html>`__ to see an example of how to use list_module_stream_profiles API.
2438
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/list_module_stream_profiles.py.html>`__ to see an example of how to use list_module_stream_profiles API.
2164
2439
  """
2165
2440
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2166
2441
  required_arguments = ['softwareSourceId']
@@ -2336,7 +2611,7 @@ class SoftwareSourceClient(object):
2336
2611
  :rtype: :class:`~oci.response.Response`
2337
2612
 
2338
2613
  :example:
2339
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/list_module_streams.py.html>`__ to see an example of how to use list_module_streams API.
2614
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/list_module_streams.py.html>`__ to see an example of how to use list_module_streams API.
2340
2615
  """
2341
2616
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2342
2617
  required_arguments = ['softwareSourceId']
@@ -2513,7 +2788,7 @@ class SoftwareSourceClient(object):
2513
2788
  :rtype: :class:`~oci.response.Response`
2514
2789
 
2515
2790
  :example:
2516
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/list_package_groups.py.html>`__ to see an example of how to use list_package_groups API.
2791
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/list_package_groups.py.html>`__ to see an example of how to use list_package_groups API.
2517
2792
  """
2518
2793
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2519
2794
  required_arguments = ['softwareSourceId']
@@ -2637,7 +2912,7 @@ class SoftwareSourceClient(object):
2637
2912
  :param list[str] software_source_type: (optional)
2638
2913
  The type of the software source.
2639
2914
 
2640
- Allowed values are: "VENDOR", "CUSTOM", "VERSIONED"
2915
+ Allowed values are: "VENDOR", "CUSTOM", "VERSIONED", "PRIVATE", "THIRD_PARTY"
2641
2916
 
2642
2917
  :param list[str] os_family: (optional)
2643
2918
  A filter to return only resources that match the given operating system family.
@@ -2647,20 +2922,20 @@ class SoftwareSourceClient(object):
2647
2922
  :param list[str] arch_type: (optional)
2648
2923
  A filter to return only instances whose architecture type matches the given architecture.
2649
2924
 
2650
- Allowed values are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC"
2925
+ Allowed values are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"
2651
2926
 
2652
2927
  :param list[str] availability: (optional)
2653
- The availabilities of the software source in a non-OCI environment for a tenancy.
2928
+ The availability of the software source in a non-OCI environment for a tenancy.
2654
2929
 
2655
2930
  Allowed values are: "AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE"
2656
2931
 
2657
2932
  :param list[str] availability_at_oci: (optional)
2658
- The availabilities of the software source in an OCI environment for a tenancy.
2933
+ The availability of the software source in an OCI environment for a tenancy.
2659
2934
 
2660
2935
  Allowed values are: "AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE"
2661
2936
 
2662
2937
  :param list[str] availability_anywhere: (optional)
2663
- The availabilities of the software source. Use this query parameter to filter across availabilities in different environments.
2938
+ The availability of the software source. Use this query parameter to filter across availabilities in different environments.
2664
2939
 
2665
2940
  Allowed values are: "AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE"
2666
2941
 
@@ -2718,7 +2993,7 @@ class SoftwareSourceClient(object):
2718
2993
  :rtype: :class:`~oci.response.Response`
2719
2994
 
2720
2995
  :example:
2721
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/list_software_package_software_sources.py.html>`__ to see an example of how to use list_software_package_software_sources API.
2996
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/list_software_package_software_sources.py.html>`__ to see an example of how to use list_software_package_software_sources API.
2722
2997
  """
2723
2998
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2724
2999
  required_arguments = ['softwarePackageName', 'compartmentId']
@@ -2762,7 +3037,7 @@ class SoftwareSourceClient(object):
2762
3037
  raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
2763
3038
 
2764
3039
  if 'software_source_type' in kwargs:
2765
- software_source_type_allowed_values = ["VENDOR", "CUSTOM", "VERSIONED"]
3040
+ software_source_type_allowed_values = ["VENDOR", "CUSTOM", "VERSIONED", "PRIVATE", "THIRD_PARTY"]
2766
3041
  for software_source_type_item in kwargs['software_source_type']:
2767
3042
  if software_source_type_item not in software_source_type_allowed_values:
2768
3043
  raise ValueError(
@@ -2778,7 +3053,7 @@ class SoftwareSourceClient(object):
2778
3053
  )
2779
3054
 
2780
3055
  if 'arch_type' in kwargs:
2781
- arch_type_allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC"]
3056
+ arch_type_allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"]
2782
3057
  for arch_type_item in kwargs['arch_type']:
2783
3058
  if arch_type_item not in arch_type_allowed_values:
2784
3059
  raise ValueError(
@@ -2949,7 +3224,7 @@ class SoftwareSourceClient(object):
2949
3224
  :rtype: :class:`~oci.response.Response`
2950
3225
 
2951
3226
  :example:
2952
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/list_software_packages.py.html>`__ to see an example of how to use list_software_packages API.
3227
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/list_software_packages.py.html>`__ to see an example of how to use list_software_packages API.
2953
3228
  """
2954
3229
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2955
3230
  required_arguments = ['softwareSourceId']
@@ -3097,7 +3372,7 @@ class SoftwareSourceClient(object):
3097
3372
  :rtype: :class:`~oci.response.Response`
3098
3373
 
3099
3374
  :example:
3100
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/list_software_source_vendors.py.html>`__ to see an example of how to use list_software_source_vendors API.
3375
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/list_software_source_vendors.py.html>`__ to see an example of how to use list_software_source_vendors API.
3101
3376
  """
3102
3377
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3103
3378
  required_arguments = ['compartmentId']
@@ -3202,7 +3477,7 @@ class SoftwareSourceClient(object):
3202
3477
  :param list[str] software_source_type: (optional)
3203
3478
  The type of the software source.
3204
3479
 
3205
- Allowed values are: "VENDOR", "CUSTOM", "VERSIONED"
3480
+ Allowed values are: "VENDOR", "CUSTOM", "VERSIONED", "PRIVATE", "THIRD_PARTY"
3206
3481
 
3207
3482
  :param str vendor_name: (optional)
3208
3483
  A filter to return only resources that match the given vendor name.
@@ -3217,26 +3492,29 @@ class SoftwareSourceClient(object):
3217
3492
  :param list[str] arch_type: (optional)
3218
3493
  A filter to return only instances whose architecture type matches the given architecture.
3219
3494
 
3220
- Allowed values are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC"
3495
+ Allowed values are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"
3221
3496
 
3222
3497
  :param list[str] availability: (optional)
3223
- The availabilities of the software source in a non-OCI environment for a tenancy.
3498
+ The availability of the software source in a non-OCI environment for a tenancy.
3224
3499
 
3225
3500
  Allowed values are: "AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE"
3226
3501
 
3227
3502
  :param list[str] availability_at_oci: (optional)
3228
- The availabilities of the software source in an OCI environment for a tenancy.
3503
+ The availability of the software source in an OCI environment for a tenancy.
3229
3504
 
3230
3505
  Allowed values are: "AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE"
3231
3506
 
3232
3507
  :param list[str] availability_anywhere: (optional)
3233
- The availabilities of the software source. Use this query parameter to filter across availabilities in different environments.
3508
+ The availability of the software source. Use this query parameter to filter across availabilities in different environments.
3234
3509
 
3235
3510
  Allowed values are: "AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE"
3236
3511
 
3237
3512
  :param bool is_mandatory_for_autonomous_linux: (optional)
3238
3513
  Indicates whether the software source is mandatory for the Autonomous Linux service.
3239
3514
 
3515
+ :param bool is_mirror_sync_allowed: (optional)
3516
+ A filter to return software sources which can be synced to a management station.
3517
+
3240
3518
  :param str display_name: (optional)
3241
3519
  A filter to return resources that match the given user-friendly name.
3242
3520
 
@@ -3294,7 +3572,7 @@ class SoftwareSourceClient(object):
3294
3572
  :rtype: :class:`~oci.response.Response`
3295
3573
 
3296
3574
  :example:
3297
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/list_software_sources.py.html>`__ to see an example of how to use list_software_sources API.
3575
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/list_software_sources.py.html>`__ to see an example of how to use list_software_sources API.
3298
3576
  """
3299
3577
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3300
3578
  required_arguments = []
@@ -3317,6 +3595,7 @@ class SoftwareSourceClient(object):
3317
3595
  "availability_at_oci",
3318
3596
  "availability_anywhere",
3319
3597
  "is_mandatory_for_autonomous_linux",
3598
+ "is_mirror_sync_allowed",
3320
3599
  "display_name",
3321
3600
  "display_name_contains",
3322
3601
  "display_name_not_equal_to",
@@ -3333,7 +3612,7 @@ class SoftwareSourceClient(object):
3333
3612
  f"list_software_sources got unknown kwargs: {extra_kwargs!r}")
3334
3613
 
3335
3614
  if 'software_source_type' in kwargs:
3336
- software_source_type_allowed_values = ["VENDOR", "CUSTOM", "VERSIONED"]
3615
+ software_source_type_allowed_values = ["VENDOR", "CUSTOM", "VERSIONED", "PRIVATE", "THIRD_PARTY"]
3337
3616
  for software_source_type_item in kwargs['software_source_type']:
3338
3617
  if software_source_type_item not in software_source_type_allowed_values:
3339
3618
  raise ValueError(
@@ -3356,7 +3635,7 @@ class SoftwareSourceClient(object):
3356
3635
  )
3357
3636
 
3358
3637
  if 'arch_type' in kwargs:
3359
- arch_type_allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC"]
3638
+ arch_type_allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"]
3360
3639
  for arch_type_item in kwargs['arch_type']:
3361
3640
  if arch_type_item not in arch_type_allowed_values:
3362
3641
  raise ValueError(
@@ -3412,6 +3691,7 @@ class SoftwareSourceClient(object):
3412
3691
  "availabilityAtOci": self.base_client.generate_collection_format_param(kwargs.get("availability_at_oci", missing), 'multi'),
3413
3692
  "availabilityAnywhere": self.base_client.generate_collection_format_param(kwargs.get("availability_anywhere", missing), 'multi'),
3414
3693
  "isMandatoryForAutonomousLinux": kwargs.get("is_mandatory_for_autonomous_linux", missing),
3694
+ "isMirrorSyncAllowed": kwargs.get("is_mirror_sync_allowed", missing),
3415
3695
  "displayName": kwargs.get("display_name", missing),
3416
3696
  "displayNameContains": kwargs.get("display_name_contains", missing),
3417
3697
  "displayNameNotEqualTo": self.base_client.generate_collection_format_param(kwargs.get("display_name_not_equal_to", missing), 'multi'),
@@ -3464,10 +3744,262 @@ class SoftwareSourceClient(object):
3464
3744
  api_reference_link=api_reference_link,
3465
3745
  required_arguments=required_arguments)
3466
3746
 
3467
- def search_software_source_module_streams(self, search_software_source_module_streams_details, **kwargs):
3747
+ def remove_packages_from_software_source(self, software_source_id, remove_packages_from_software_source_details, **kwargs):
3468
3748
  """
3469
- Returns a list of module streams from the specified software sources. Filter the list against a variety of
3470
- criteria including the module name.
3749
+ Removes packages from a software source. This operation can only be done for custom software sources that are not created using filters.
3750
+ Packages can be of the format:
3751
+ * name (for example: git). This removes all versions of the package.
3752
+ * name-version-release.architecture (for example: git-2.43.5-1.el8_10.x86_64)
3753
+ * name-epoch:version-release.architecture (for example: git-0:2.43.5-1.el8_10.x86_64)
3754
+
3755
+
3756
+ :param str software_source_id: (required)
3757
+ The `OCID`__ of the software source.
3758
+
3759
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
3760
+
3761
+ :param oci.os_management_hub.models.RemovePackagesFromSoftwareSourceDetails remove_packages_from_software_source_details: (required)
3762
+ A list of packages to be removed from the software source.
3763
+
3764
+ :param str opc_request_id: (optional)
3765
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
3766
+
3767
+ :param str if_match: (optional)
3768
+ For optimistic concurrency control. In the PUT or DELETE call
3769
+ for a resource, set the `if-match` parameter to the value of the
3770
+ etag from a previous GET or POST response for that resource.
3771
+ The resource will be updated or deleted only if the etag you
3772
+ provide matches the resource's current etag value.
3773
+
3774
+ :param str opc_retry_token: (optional)
3775
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
3776
+ server error without risk of executing that same action again. Retry tokens expire after 24
3777
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
3778
+ has been deleted and purged from the system, then a retry of the original creation request
3779
+ might be rejected.
3780
+
3781
+ :param obj retry_strategy: (optional)
3782
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
3783
+
3784
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
3785
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
3786
+
3787
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
3788
+
3789
+ :param bool allow_control_chars: (optional)
3790
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
3791
+ By default, the response will not allow control characters in strings
3792
+
3793
+ :return: A :class:`~oci.response.Response` object with data of type None
3794
+ :rtype: :class:`~oci.response.Response`
3795
+
3796
+ :example:
3797
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/remove_packages_from_software_source.py.html>`__ to see an example of how to use remove_packages_from_software_source API.
3798
+ """
3799
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3800
+ required_arguments = ['softwareSourceId']
3801
+ resource_path = "/softwareSources/{softwareSourceId}/actions/removePackages"
3802
+ method = "POST"
3803
+ operation_name = "remove_packages_from_software_source"
3804
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/SoftwareSource/RemovePackagesFromSoftwareSource"
3805
+
3806
+ # Don't accept unknown kwargs
3807
+ expected_kwargs = [
3808
+ "allow_control_chars",
3809
+ "retry_strategy",
3810
+ "opc_request_id",
3811
+ "if_match",
3812
+ "opc_retry_token"
3813
+ ]
3814
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
3815
+ if extra_kwargs:
3816
+ raise ValueError(
3817
+ f"remove_packages_from_software_source got unknown kwargs: {extra_kwargs!r}")
3818
+
3819
+ path_params = {
3820
+ "softwareSourceId": software_source_id
3821
+ }
3822
+
3823
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
3824
+
3825
+ for (k, v) in six.iteritems(path_params):
3826
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
3827
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
3828
+
3829
+ header_params = {
3830
+ "accept": "application/json",
3831
+ "content-type": "application/json",
3832
+ "opc-request-id": kwargs.get("opc_request_id", missing),
3833
+ "if-match": kwargs.get("if_match", missing),
3834
+ "opc-retry-token": kwargs.get("opc_retry_token", missing)
3835
+ }
3836
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
3837
+
3838
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
3839
+ operation_retry_strategy=kwargs.get('retry_strategy'),
3840
+ client_retry_strategy=self.retry_strategy
3841
+ )
3842
+ if retry_strategy is None:
3843
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
3844
+
3845
+ if retry_strategy:
3846
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
3847
+ self.base_client.add_opc_retry_token_if_needed(header_params)
3848
+ self.base_client.add_opc_client_retries_header(header_params)
3849
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
3850
+ return retry_strategy.make_retrying_call(
3851
+ self.base_client.call_api,
3852
+ resource_path=resource_path,
3853
+ method=method,
3854
+ path_params=path_params,
3855
+ header_params=header_params,
3856
+ body=remove_packages_from_software_source_details,
3857
+ allow_control_chars=kwargs.get('allow_control_chars'),
3858
+ operation_name=operation_name,
3859
+ api_reference_link=api_reference_link,
3860
+ required_arguments=required_arguments)
3861
+ else:
3862
+ return self.base_client.call_api(
3863
+ resource_path=resource_path,
3864
+ method=method,
3865
+ path_params=path_params,
3866
+ header_params=header_params,
3867
+ body=remove_packages_from_software_source_details,
3868
+ allow_control_chars=kwargs.get('allow_control_chars'),
3869
+ operation_name=operation_name,
3870
+ api_reference_link=api_reference_link,
3871
+ required_arguments=required_arguments)
3872
+
3873
+ def replace_packages_in_software_source(self, software_source_id, replace_packages_in_software_source_details, **kwargs):
3874
+ """
3875
+ Replaces packages in a software source with the provided list of packages. This operation can only be done for custom software sources that are not created using filters.
3876
+ Packages can be of the format:
3877
+ * name (for example: git). If isLatestContentOnly is true, only the latest version of the package will be added, otherwise all versions of the package will be added.
3878
+ * name-version-release.architecture (for example: git-2.43.5-1.el8_10.x86_64)
3879
+ * name-epoch:version-release.architecture (for example: git-0:2.43.5-1.el8_10.x86_64)
3880
+
3881
+
3882
+ :param str software_source_id: (required)
3883
+ The `OCID`__ of the software source.
3884
+
3885
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
3886
+
3887
+ :param oci.os_management_hub.models.ReplacePackagesInSoftwareSourceDetails replace_packages_in_software_source_details: (required)
3888
+ A list of packages that will replace the existing packages in the software source.
3889
+
3890
+ :param str opc_request_id: (optional)
3891
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
3892
+
3893
+ :param str if_match: (optional)
3894
+ For optimistic concurrency control. In the PUT or DELETE call
3895
+ for a resource, set the `if-match` parameter to the value of the
3896
+ etag from a previous GET or POST response for that resource.
3897
+ The resource will be updated or deleted only if the etag you
3898
+ provide matches the resource's current etag value.
3899
+
3900
+ :param str opc_retry_token: (optional)
3901
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
3902
+ server error without risk of executing that same action again. Retry tokens expire after 24
3903
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
3904
+ has been deleted and purged from the system, then a retry of the original creation request
3905
+ might be rejected.
3906
+
3907
+ :param obj retry_strategy: (optional)
3908
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
3909
+
3910
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
3911
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
3912
+
3913
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
3914
+
3915
+ :param bool allow_control_chars: (optional)
3916
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
3917
+ By default, the response will not allow control characters in strings
3918
+
3919
+ :return: A :class:`~oci.response.Response` object with data of type None
3920
+ :rtype: :class:`~oci.response.Response`
3921
+
3922
+ :example:
3923
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/replace_packages_in_software_source.py.html>`__ to see an example of how to use replace_packages_in_software_source API.
3924
+ """
3925
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3926
+ required_arguments = ['softwareSourceId']
3927
+ resource_path = "/softwareSources/{softwareSourceId}/actions/replacePackages"
3928
+ method = "POST"
3929
+ operation_name = "replace_packages_in_software_source"
3930
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/SoftwareSource/ReplacePackagesInSoftwareSource"
3931
+
3932
+ # Don't accept unknown kwargs
3933
+ expected_kwargs = [
3934
+ "allow_control_chars",
3935
+ "retry_strategy",
3936
+ "opc_request_id",
3937
+ "if_match",
3938
+ "opc_retry_token"
3939
+ ]
3940
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
3941
+ if extra_kwargs:
3942
+ raise ValueError(
3943
+ f"replace_packages_in_software_source got unknown kwargs: {extra_kwargs!r}")
3944
+
3945
+ path_params = {
3946
+ "softwareSourceId": software_source_id
3947
+ }
3948
+
3949
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
3950
+
3951
+ for (k, v) in six.iteritems(path_params):
3952
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
3953
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
3954
+
3955
+ header_params = {
3956
+ "accept": "application/json",
3957
+ "content-type": "application/json",
3958
+ "opc-request-id": kwargs.get("opc_request_id", missing),
3959
+ "if-match": kwargs.get("if_match", missing),
3960
+ "opc-retry-token": kwargs.get("opc_retry_token", missing)
3961
+ }
3962
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
3963
+
3964
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
3965
+ operation_retry_strategy=kwargs.get('retry_strategy'),
3966
+ client_retry_strategy=self.retry_strategy
3967
+ )
3968
+ if retry_strategy is None:
3969
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
3970
+
3971
+ if retry_strategy:
3972
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
3973
+ self.base_client.add_opc_retry_token_if_needed(header_params)
3974
+ self.base_client.add_opc_client_retries_header(header_params)
3975
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
3976
+ return retry_strategy.make_retrying_call(
3977
+ self.base_client.call_api,
3978
+ resource_path=resource_path,
3979
+ method=method,
3980
+ path_params=path_params,
3981
+ header_params=header_params,
3982
+ body=replace_packages_in_software_source_details,
3983
+ allow_control_chars=kwargs.get('allow_control_chars'),
3984
+ operation_name=operation_name,
3985
+ api_reference_link=api_reference_link,
3986
+ required_arguments=required_arguments)
3987
+ else:
3988
+ return self.base_client.call_api(
3989
+ resource_path=resource_path,
3990
+ method=method,
3991
+ path_params=path_params,
3992
+ header_params=header_params,
3993
+ body=replace_packages_in_software_source_details,
3994
+ allow_control_chars=kwargs.get('allow_control_chars'),
3995
+ operation_name=operation_name,
3996
+ api_reference_link=api_reference_link,
3997
+ required_arguments=required_arguments)
3998
+
3999
+ def search_software_source_module_streams(self, search_software_source_module_streams_details, **kwargs):
4000
+ """
4001
+ Returns a list of module streams from the specified software sources. Filter the list against a variety of
4002
+ criteria including the module name.
3471
4003
 
3472
4004
 
3473
4005
  :param oci.os_management_hub.models.SearchSoftwareSourceModuleStreamsDetails search_software_source_module_streams_details: (required)
@@ -3508,7 +4040,7 @@ class SoftwareSourceClient(object):
3508
4040
  :rtype: :class:`~oci.response.Response`
3509
4041
 
3510
4042
  :example:
3511
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/search_software_source_module_streams.py.html>`__ to see an example of how to use search_software_source_module_streams API.
4043
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/search_software_source_module_streams.py.html>`__ to see an example of how to use search_software_source_module_streams API.
3512
4044
  """
3513
4045
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3514
4046
  required_arguments = []
@@ -3623,7 +4155,7 @@ class SoftwareSourceClient(object):
3623
4155
  :rtype: :class:`~oci.response.Response`
3624
4156
 
3625
4157
  :example:
3626
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/search_software_source_modules.py.html>`__ to see an example of how to use search_software_source_modules API.
4158
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/search_software_source_modules.py.html>`__ to see an example of how to use search_software_source_modules API.
3627
4159
  """
3628
4160
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3629
4161
  required_arguments = []
@@ -3738,7 +4270,7 @@ class SoftwareSourceClient(object):
3738
4270
  :rtype: :class:`~oci.response.Response`
3739
4271
 
3740
4272
  :example:
3741
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/search_software_source_package_groups.py.html>`__ to see an example of how to use search_software_source_package_groups API.
4273
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/search_software_source_package_groups.py.html>`__ to see an example of how to use search_software_source_package_groups API.
3742
4274
  """
3743
4275
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3744
4276
  required_arguments = []
@@ -3809,6 +4341,123 @@ class SoftwareSourceClient(object):
3809
4341
  api_reference_link=api_reference_link,
3810
4342
  required_arguments=required_arguments)
3811
4343
 
4344
+ def software_source_generate_metadata(self, software_source_id, **kwargs):
4345
+ """
4346
+ Regenerates metadata for the specified custom software source.
4347
+
4348
+
4349
+ :param str software_source_id: (required)
4350
+ The `OCID`__ of the software source.
4351
+
4352
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
4353
+
4354
+ :param str opc_request_id: (optional)
4355
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
4356
+
4357
+ :param str if_match: (optional)
4358
+ For optimistic concurrency control. In the PUT or DELETE call
4359
+ for a resource, set the `if-match` parameter to the value of the
4360
+ etag from a previous GET or POST response for that resource.
4361
+ The resource will be updated or deleted only if the etag you
4362
+ provide matches the resource's current etag value.
4363
+
4364
+ :param str opc_retry_token: (optional)
4365
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
4366
+ server error without risk of executing that same action again. Retry tokens expire after 24
4367
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
4368
+ has been deleted and purged from the system, then a retry of the original creation request
4369
+ might be rejected.
4370
+
4371
+ :param obj retry_strategy: (optional)
4372
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
4373
+
4374
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
4375
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
4376
+
4377
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
4378
+
4379
+ :param bool allow_control_chars: (optional)
4380
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
4381
+ By default, the response will not allow control characters in strings
4382
+
4383
+ :return: A :class:`~oci.response.Response` object with data of type None
4384
+ :rtype: :class:`~oci.response.Response`
4385
+
4386
+ :example:
4387
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/software_source_generate_metadata.py.html>`__ to see an example of how to use software_source_generate_metadata API.
4388
+ """
4389
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4390
+ required_arguments = ['softwareSourceId']
4391
+ resource_path = "/softwareSources/{softwareSourceId}/actions/generateMetadata"
4392
+ method = "POST"
4393
+ operation_name = "software_source_generate_metadata"
4394
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/SoftwareSource/SoftwareSourceGenerateMetadata"
4395
+
4396
+ # Don't accept unknown kwargs
4397
+ expected_kwargs = [
4398
+ "allow_control_chars",
4399
+ "retry_strategy",
4400
+ "opc_request_id",
4401
+ "if_match",
4402
+ "opc_retry_token"
4403
+ ]
4404
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
4405
+ if extra_kwargs:
4406
+ raise ValueError(
4407
+ f"software_source_generate_metadata got unknown kwargs: {extra_kwargs!r}")
4408
+
4409
+ path_params = {
4410
+ "softwareSourceId": software_source_id
4411
+ }
4412
+
4413
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
4414
+
4415
+ for (k, v) in six.iteritems(path_params):
4416
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
4417
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
4418
+
4419
+ header_params = {
4420
+ "accept": "application/json",
4421
+ "content-type": "application/json",
4422
+ "opc-request-id": kwargs.get("opc_request_id", missing),
4423
+ "if-match": kwargs.get("if_match", missing),
4424
+ "opc-retry-token": kwargs.get("opc_retry_token", missing)
4425
+ }
4426
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
4427
+
4428
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
4429
+ operation_retry_strategy=kwargs.get('retry_strategy'),
4430
+ client_retry_strategy=self.retry_strategy
4431
+ )
4432
+ if retry_strategy is None:
4433
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
4434
+
4435
+ if retry_strategy:
4436
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
4437
+ self.base_client.add_opc_retry_token_if_needed(header_params)
4438
+ self.base_client.add_opc_client_retries_header(header_params)
4439
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
4440
+ return retry_strategy.make_retrying_call(
4441
+ self.base_client.call_api,
4442
+ resource_path=resource_path,
4443
+ method=method,
4444
+ path_params=path_params,
4445
+ header_params=header_params,
4446
+ allow_control_chars=kwargs.get('allow_control_chars'),
4447
+ operation_name=operation_name,
4448
+ api_reference_link=api_reference_link,
4449
+ required_arguments=required_arguments)
4450
+ else:
4451
+ return self.base_client.call_api(
4452
+ resource_path=resource_path,
4453
+ method=method,
4454
+ path_params=path_params,
4455
+ header_params=header_params,
4456
+ allow_control_chars=kwargs.get('allow_control_chars'),
4457
+ operation_name=operation_name,
4458
+ api_reference_link=api_reference_link,
4459
+ required_arguments=required_arguments)
4460
+
3812
4461
  def update_software_source(self, software_source_id, update_software_source_details, **kwargs):
3813
4462
  """
3814
4463
  Updates the specified software source's details, including but not limited to name, description, and tags.
@@ -3848,7 +4497,7 @@ class SoftwareSourceClient(object):
3848
4497
  :rtype: :class:`~oci.response.Response`
3849
4498
 
3850
4499
  :example:
3851
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/update_software_source.py.html>`__ to see an example of how to use update_software_source API.
4500
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/update_software_source.py.html>`__ to see an example of how to use update_software_source API.
3852
4501
  """
3853
4502
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3854
4503
  required_arguments = ['softwareSourceId']
@@ -3922,3 +4571,155 @@ class SoftwareSourceClient(object):
3922
4571
  operation_name=operation_name,
3923
4572
  api_reference_link=api_reference_link,
3924
4573
  required_arguments=required_arguments)
4574
+
4575
+ def update_software_source_manifest(self, update_software_source_manifest_details, software_source_id, **kwargs):
4576
+ """
4577
+ Updates the package list document for the software source.
4578
+
4579
+
4580
+ :param stream update_software_source_manifest_details: (required)
4581
+ Provides the document used to update the package list of the software source.
4582
+
4583
+ :param str software_source_id: (required)
4584
+ The `OCID`__ of the software source.
4585
+
4586
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
4587
+
4588
+ :param str opc_request_id: (optional)
4589
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
4590
+
4591
+ :param str if_match: (optional)
4592
+ For optimistic concurrency control. In the PUT or DELETE call
4593
+ for a resource, set the `if-match` parameter to the value of the
4594
+ etag from a previous GET or POST response for that resource.
4595
+ The resource will be updated or deleted only if the etag you
4596
+ provide matches the resource's current etag value.
4597
+
4598
+ :param str opc_retry_token: (optional)
4599
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
4600
+ server error without risk of executing that same action again. Retry tokens expire after 24
4601
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
4602
+ has been deleted and purged from the system, then a retry of the original creation request
4603
+ might be rejected.
4604
+
4605
+ :param obj retry_strategy: (optional)
4606
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
4607
+
4608
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
4609
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
4610
+
4611
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
4612
+
4613
+ :param bool allow_control_chars: (optional)
4614
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
4615
+ By default, the response will not allow control characters in strings
4616
+ :param int buffer_limit: (optional)
4617
+ A buffer limit for the stream to be buffered. buffer_limit is used to set the buffer size capacity. Streams will be read until the size of the buffer reaches the buffer_limit.
4618
+ If the stream size is greater than the buffer_limit, a BufferError exception will be thrown.
4619
+
4620
+ The buffer_limit parameter is used when the stream object does not have a `seek`, `tell`, or `fileno` property for the Python Request library to calculate out the content length.
4621
+ If buffer_limit is not passed, then the buffer_limit will be defaulted to 100MB.
4622
+ Large streams can cause the process to freeze, consider passing in content-length for large streams instead.
4623
+
4624
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.os_management_hub.models.SoftwareSource`
4625
+ :rtype: :class:`~oci.response.Response`
4626
+
4627
+ :example:
4628
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.146.0/osmanagementhub/update_software_source_manifest.py.html>`__ to see an example of how to use update_software_source_manifest API.
4629
+ """
4630
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4631
+ required_arguments = ['softwareSourceId']
4632
+ resource_path = "/softwareSources/{softwareSourceId}/manifest"
4633
+ method = "PUT"
4634
+ operation_name = "update_software_source_manifest"
4635
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/SoftwareSource/UpdateSoftwareSourceManifest"
4636
+
4637
+ # Don't accept unknown kwargs
4638
+ expected_kwargs = [
4639
+ "allow_control_chars",
4640
+ "retry_strategy",
4641
+ "buffer_limit",
4642
+ "opc_request_id",
4643
+ "if_match",
4644
+ "opc_retry_token"
4645
+ ]
4646
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
4647
+ if extra_kwargs:
4648
+ raise ValueError(
4649
+ f"update_software_source_manifest got unknown kwargs: {extra_kwargs!r}")
4650
+
4651
+ path_params = {
4652
+ "softwareSourceId": software_source_id
4653
+ }
4654
+
4655
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
4656
+
4657
+ for (k, v) in six.iteritems(path_params):
4658
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
4659
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
4660
+
4661
+ header_params = {
4662
+ "accept": "application/json",
4663
+ "opc-request-id": kwargs.get("opc_request_id", missing),
4664
+ "if-match": kwargs.get("if_match", missing),
4665
+ "opc-retry-token": kwargs.get("opc_retry_token", missing)
4666
+ }
4667
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
4668
+
4669
+ # If the body parameter is optional we need to assign it to a variable so additional type checking can be performed.
4670
+ try:
4671
+ update_software_source_manifest_details
4672
+ except NameError:
4673
+ update_software_source_manifest_details = kwargs.get("update_software_source_manifest_details", missing)
4674
+
4675
+ if update_software_source_manifest_details is not missing and update_software_source_manifest_details is not None:
4676
+ if (not isinstance(update_software_source_manifest_details, (six.binary_type, six.string_types)) and
4677
+ not hasattr(update_software_source_manifest_details, "read")):
4678
+ raise TypeError('The body must be a string, bytes, or provide a read() method.')
4679
+
4680
+ if hasattr(update_software_source_manifest_details, 'fileno') and hasattr(update_software_source_manifest_details, 'name') and update_software_source_manifest_details.name != '<stdin>':
4681
+ if requests.utils.super_len(update_software_source_manifest_details) == 0:
4682
+ header_params['Content-Length'] = '0'
4683
+
4684
+ # If content length is not given and stream object have no 'fileno' and is not a string or bytes, try to calculate content length
4685
+ elif 'Content-Length' not in header_params and not is_content_length_calculable_by_req_util(update_software_source_manifest_details):
4686
+ calculated_obj = back_up_body_calculate_stream_content_length(update_software_source_manifest_details, kwargs.get("buffer_limit"))
4687
+ header_params['Content-Length'] = calculated_obj["content_length"]
4688
+ update_software_source_manifest_details = calculated_obj["byte_content"]
4689
+
4690
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
4691
+ operation_retry_strategy=kwargs.get('retry_strategy'),
4692
+ client_retry_strategy=self.retry_strategy
4693
+ )
4694
+ if retry_strategy is None:
4695
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
4696
+
4697
+ if retry_strategy:
4698
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
4699
+ self.base_client.add_opc_retry_token_if_needed(header_params)
4700
+ self.base_client.add_opc_client_retries_header(header_params)
4701
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
4702
+ return retry_strategy.make_retrying_call(
4703
+ self.base_client.call_api,
4704
+ resource_path=resource_path,
4705
+ method=method,
4706
+ path_params=path_params,
4707
+ header_params=header_params,
4708
+ body=update_software_source_manifest_details,
4709
+ response_type="SoftwareSource",
4710
+ allow_control_chars=kwargs.get('allow_control_chars'),
4711
+ operation_name=operation_name,
4712
+ api_reference_link=api_reference_link,
4713
+ required_arguments=required_arguments)
4714
+ else:
4715
+ return self.base_client.call_api(
4716
+ resource_path=resource_path,
4717
+ method=method,
4718
+ path_params=path_params,
4719
+ header_params=header_params,
4720
+ body=update_software_source_manifest_details,
4721
+ response_type="SoftwareSource",
4722
+ allow_control_chars=kwargs.get('allow_control_chars'),
4723
+ operation_name=operation_name,
4724
+ api_reference_link=api_reference_link,
4725
+ required_arguments=required_arguments)