oci 2.154.1__py3-none-any.whl → 2.154.3__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 (473) hide show
  1. oci/__init__.py +2 -2
  2. oci/access_governance_cp/access_governance_cp_client.py +8 -8
  3. oci/addons/adk/agent.py +82 -32
  4. oci/addons/adk/mcp/__init__.py +11 -0
  5. oci/addons/adk/mcp/mcp_client.py +420 -0
  6. oci/addons/adk/tool/function_tool.py +7 -4
  7. oci/addons/adk/tool/tool.py +11 -2
  8. oci/addons/adk/tool/toolkit.py +11 -2
  9. oci/adm/application_dependency_management_client.py +36 -36
  10. oci/ai_anomaly_detection/anomaly_detection_client.py +72 -72
  11. oci/ai_document/ai_service_document_client.py +26 -26
  12. oci/ai_language/ai_service_language_client.py +44 -44
  13. oci/ai_speech/ai_service_speech_client.py +19 -19
  14. oci/ai_vision/ai_service_vision_client.py +28 -28
  15. oci/analytics/analytics_client.py +24 -24
  16. oci/announcements_service/announcement_client.py +5 -5
  17. oci/announcements_service/announcement_subscription_client.py +9 -9
  18. oci/announcements_service/announcements_preferences_client.py +4 -4
  19. oci/announcements_service/service_client.py +1 -1
  20. oci/apiaccesscontrol/__init__.py +20 -0
  21. oci/apiaccesscontrol/api_metadata_client.py +567 -0
  22. oci/apiaccesscontrol/api_metadata_client_composite_operations.py +26 -0
  23. oci/apiaccesscontrol/models/__init__.py +72 -0
  24. oci/apiaccesscontrol/models/api_metadata.py +596 -0
  25. oci/apiaccesscontrol/models/api_metadata_by_entity_type_collection.py +70 -0
  26. oci/apiaccesscontrol/models/api_metadata_by_entity_type_summary.py +218 -0
  27. oci/apiaccesscontrol/models/api_metadata_collection.py +70 -0
  28. oci/apiaccesscontrol/models/api_metadata_summary.py +486 -0
  29. oci/apiaccesscontrol/models/approve_privileged_api_request_details.py +105 -0
  30. oci/apiaccesscontrol/models/approver_detail.py +202 -0
  31. oci/apiaccesscontrol/models/change_privileged_api_control_compartment_details.py +74 -0
  32. oci/apiaccesscontrol/models/close_privileged_api_request_details.py +70 -0
  33. oci/apiaccesscontrol/models/create_privileged_api_control_details.py +404 -0
  34. oci/apiaccesscontrol/models/create_privileged_api_request_details.py +502 -0
  35. oci/apiaccesscontrol/models/privileged_api_control.py +761 -0
  36. oci/apiaccesscontrol/models/privileged_api_control_collection.py +70 -0
  37. oci/apiaccesscontrol/models/privileged_api_control_summary.py +494 -0
  38. oci/apiaccesscontrol/models/privileged_api_details.py +132 -0
  39. oci/apiaccesscontrol/models/privileged_api_request.py +1209 -0
  40. oci/apiaccesscontrol/models/privileged_api_request_collection.py +70 -0
  41. oci/apiaccesscontrol/models/privileged_api_request_operation_details.py +101 -0
  42. oci/apiaccesscontrol/models/privileged_api_request_summary.py +750 -0
  43. oci/apiaccesscontrol/models/reject_privileged_api_request_details.py +70 -0
  44. oci/apiaccesscontrol/models/revoke_privileged_api_request_details.py +70 -0
  45. oci/apiaccesscontrol/models/update_privileged_api_control_details.py +369 -0
  46. oci/apiaccesscontrol/models/work_request.py +525 -0
  47. oci/apiaccesscontrol/models/work_request_error.py +144 -0
  48. oci/apiaccesscontrol/models/work_request_error_collection.py +70 -0
  49. oci/apiaccesscontrol/models/work_request_log_entry.py +107 -0
  50. oci/apiaccesscontrol/models/work_request_log_entry_collection.py +70 -0
  51. oci/apiaccesscontrol/models/work_request_resource.py +236 -0
  52. oci/apiaccesscontrol/models/work_request_summary.py +523 -0
  53. oci/apiaccesscontrol/models/work_request_summary_collection.py +70 -0
  54. oci/apiaccesscontrol/privileged_api_control_client.py +865 -0
  55. oci/apiaccesscontrol/privileged_api_control_client_composite_operations.py +202 -0
  56. oci/apiaccesscontrol/privileged_api_requests_client.py +1012 -0
  57. oci/apiaccesscontrol/privileged_api_requests_client_composite_operations.py +233 -0
  58. oci/apiaccesscontrol/privileged_api_work_request_client.py +817 -0
  59. oci/apiaccesscontrol/privileged_api_work_request_client_composite_operations.py +26 -0
  60. oci/apigateway/api_gateway_client.py +21 -21
  61. oci/apigateway/deployment_client.py +6 -6
  62. oci/apigateway/gateway_client.py +6 -6
  63. oci/apigateway/subscribers_client.py +6 -6
  64. oci/apigateway/usage_plans_client.py +6 -6
  65. oci/apigateway/work_requests_client.py +5 -5
  66. oci/apm_config/config_client.py +12 -12
  67. oci/apm_control_plane/apm_domain_client.py +14 -14
  68. oci/apm_synthetics/apm_synthetic_client.py +28 -28
  69. oci/apm_traces/attributes_client.py +8 -8
  70. oci/apm_traces/query_client.py +2 -2
  71. oci/apm_traces/trace_client.py +4 -4
  72. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  73. oci/artifacts/artifacts_client.py +32 -32
  74. oci/audit/audit_client.py +3 -3
  75. oci/autoscaling/auto_scaling_client.py +11 -11
  76. oci/base_client.py +3 -0
  77. oci/bastion/bastion_client.py +15 -15
  78. oci/bds/bds_client.py +88 -88
  79. oci/blockchain/blockchain_platform_client.py +27 -27
  80. oci/budget/budget_client.py +10 -10
  81. oci/capacity_management/capacity_management_client.py +32 -32
  82. oci/capacity_management/demand_signal_client.py +13 -13
  83. oci/capacity_management/internal_demand_signal_client.py +12 -12
  84. oci/certificates/certificates_client.py +5 -5
  85. oci/certificates_management/certificates_management_client.py +32 -32
  86. oci/cims/incident_client.py +6 -6
  87. oci/cloud_bridge/common_client.py +5 -5
  88. oci/cloud_bridge/discovery_client.py +15 -15
  89. oci/cloud_bridge/inventory_client.py +16 -16
  90. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  91. oci/cloud_guard/cloud_guard_client.py +155 -155
  92. oci/cloud_migrations/migration_client.py +43 -43
  93. oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
  94. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  95. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  96. oci/compute_instance_agent/models/available_plugin_summary.py +9 -9
  97. oci/compute_instance_agent/models/instance_agent_command_content.py +37 -2
  98. oci/compute_instance_agent/models/instance_agent_plugin.py +33 -9
  99. oci/compute_instance_agent/models/instance_agent_plugin_summary.py +31 -7
  100. oci/compute_instance_agent/models/plugin.py +11 -11
  101. oci/compute_instance_agent/plugin_client.py +13 -8
  102. oci/compute_instance_agent/pluginconfig_client.py +14 -10
  103. oci/container_engine/container_engine_client.py +46 -46
  104. oci/container_instances/container_instance_client.py +18 -18
  105. oci/core/blockstorage_client.py +60 -60
  106. oci/core/compute_client.py +125 -125
  107. oci/core/compute_management_client.py +32 -32
  108. oci/core/models/__init__.py +2 -0
  109. oci/core/models/capacity_bin.py +225 -0
  110. oci/core/models/compute_bare_metal_host_placement_constraint_details.py +4 -3
  111. oci/core/models/dedicated_vm_host.py +64 -2
  112. oci/core/models/host_group_placement_constraint_details.py +3 -3
  113. oci/core/models/placement_constraint_details.py +7 -3
  114. oci/core/virtual_network_client.py +258 -258
  115. oci/dashboard_service/dashboard_client.py +6 -6
  116. oci/dashboard_service/dashboard_group_client.py +6 -6
  117. oci/data_catalog/data_catalog_client.py +149 -149
  118. oci/data_flow/data_flow_client.py +45 -45
  119. oci/data_integration/data_integration_client.py +163 -163
  120. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  121. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  122. oci/data_safe/data_safe_client.py +317 -317
  123. oci/data_science/data_science_client.py +145 -145
  124. oci/database/database_client.py +417 -417
  125. oci/database/models/backup.py +7 -3
  126. oci/database/models/backup_destination_configuration_summary.py +7 -3
  127. oci/database/models/backup_destination_details.py +7 -3
  128. oci/database/models/backup_destination_details_summary.py +7 -3
  129. oci/database/models/backup_summary.py +7 -3
  130. oci/database/models/create_cloud_vm_cluster_details.py +17 -17
  131. oci/database/models/create_database_base.py +1 -1
  132. oci/database/models/create_vm_cluster_details.py +2 -2
  133. oci/database_management/db_management_client.py +229 -229
  134. oci/database_management/diagnosability_client.py +4 -4
  135. oci/database_management/managed_my_sql_databases_client.py +15 -15
  136. oci/database_management/perfhub_client.py +1 -1
  137. oci/database_management/sql_tuning_client.py +17 -17
  138. oci/database_migration/database_migration_client.py +42 -42
  139. oci/database_tools/database_tools_client.py +23 -23
  140. oci/dblm/db_life_cycle_management_client.py +14 -14
  141. oci/delegate_access_control/delegate_access_control_client.py +26 -26
  142. oci/delegate_access_control/work_request_client.py +4 -4
  143. oci/demand_signal/occ_demand_signal_client.py +7 -7
  144. oci/desktops/desktop_service_client.py +21 -21
  145. oci/devops/devops_client.py +141 -141
  146. oci/disaster_recovery/disaster_recovery_client.py +31 -31
  147. oci/distributed_database/distributed_autonomous_db_service_client.py +18 -18
  148. oci/distributed_database/distributed_db_private_endpoint_service_client.py +7 -7
  149. oci/distributed_database/distributed_db_service_client.py +19 -19
  150. oci/distributed_database/distributed_db_work_request_service_client.py +4 -4
  151. oci/dns/dns_client.py +54 -54
  152. oci/dts/appliance_export_job_client.py +6 -6
  153. oci/dts/shipping_vendors_client.py +1 -1
  154. oci/dts/transfer_appliance_client.py +8 -8
  155. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  156. oci/dts/transfer_device_client.py +5 -5
  157. oci/dts/transfer_job_client.py +6 -6
  158. oci/dts/transfer_package_client.py +7 -7
  159. oci/em_warehouse/em_warehouse_client.py +13 -13
  160. oci/email/email_client.py +31 -31
  161. oci/email_data_plane/email_dp_client.py +1 -1
  162. oci/events/events_client.py +6 -6
  163. oci/file_storage/file_storage_client.py +74 -74
  164. oci/fleet_apps_management/fleet_apps_management_admin_client.py +27 -27
  165. oci/fleet_apps_management/fleet_apps_management_catalog_client.py +7 -7
  166. oci/fleet_apps_management/fleet_apps_management_client.py +32 -32
  167. oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
  168. oci/fleet_apps_management/fleet_apps_management_operations_client.py +29 -29
  169. oci/fleet_apps_management/fleet_apps_management_provision_client.py +6 -6
  170. oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +19 -19
  171. oci/fleet_apps_management/fleet_apps_management_work_request_client.py +4 -4
  172. oci/fleet_software_update/fleet_software_update_client.py +46 -46
  173. oci/fleet_software_update/models/__init__.py +12 -0
  174. oci/fleet_software_update/models/create_fsu_cycle_details.py +11 -3
  175. oci/fleet_software_update/models/create_patch_fsu_cycle.py +1 -1
  176. oci/fleet_software_update/models/create_upgrade_fsu_cycle.py +147 -0
  177. oci/fleet_software_update/models/fsu_cycle.py +11 -3
  178. oci/fleet_software_update/models/fsu_cycle_summary.py +7 -3
  179. oci/fleet_software_update/models/patch_fsu_cycle.py +1 -1
  180. oci/fleet_software_update/models/update_fsu_cycle_details.py +11 -3
  181. oci/fleet_software_update/models/update_patch_fsu_cycle.py +1 -1
  182. oci/fleet_software_update/models/update_upgrade_fsu_cycle.py +118 -0
  183. oci/fleet_software_update/models/upgrade_db_collection_details.py +142 -0
  184. oci/fleet_software_update/models/upgrade_details.py +107 -0
  185. oci/fleet_software_update/models/upgrade_fsu_cycle.py +241 -0
  186. oci/fleet_software_update/models/upgrade_gi_collection_details.py +111 -0
  187. oci/functions/functions_invoke_client.py +1 -1
  188. oci/functions/functions_management_client.py +16 -16
  189. oci/fusion_apps/fusion_applications_client.py +41 -41
  190. oci/generative_ai/generative_ai_client.py +22 -22
  191. oci/generative_ai_agent/generative_ai_agent_client.py +38 -38
  192. oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +6 -6
  193. oci/generative_ai_inference/generative_ai_inference_client.py +6 -6
  194. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  195. oci/globally_distributed_database/sharded_database_service_client.py +30 -30
  196. oci/golden_gate/golden_gate_client.py +89 -89
  197. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  198. oci/governance_rules_control_plane/work_request_client.py +5 -5
  199. oci/healthchecks/health_checks_client.py +17 -17
  200. oci/identity/identity_client.py +145 -145
  201. oci/identity_data_plane/dataplane_client.py +2 -2
  202. oci/identity_domains/identity_domains_client.py +311 -311
  203. oci/integration/integration_instance_client.py +19 -19
  204. oci/jms/java_management_service_client.py +79 -79
  205. oci/jms_java_downloads/java_download_client.py +25 -25
  206. oci/key_management/ekm_client.py +5 -5
  207. oci/key_management/kms_crypto_client.py +6 -6
  208. oci/key_management/kms_hsm_cluster_client.py +12 -12
  209. oci/key_management/kms_management_client.py +21 -21
  210. oci/key_management/kms_vault_client.py +14 -14
  211. oci/license_manager/license_manager_client.py +18 -18
  212. oci/limits/limits_client.py +4 -4
  213. oci/limits/quotas_client.py +7 -7
  214. oci/load_balancer/load_balancer_client.py +61 -61
  215. oci/load_balancer/models/backend.py +4 -4
  216. oci/load_balancer/models/backend_details.py +10 -4
  217. oci/load_balancer/models/backend_set.py +6 -4
  218. oci/load_balancer/models/backend_set_details.py +12 -4
  219. oci/load_balancer/models/create_backend_details.py +10 -4
  220. oci/load_balancer/models/create_backend_set_details.py +12 -4
  221. oci/load_balancer/models/create_listener_details.py +6 -4
  222. oci/load_balancer/models/create_load_balancer_details.py +39 -0
  223. oci/load_balancer/models/listener.py +6 -4
  224. oci/load_balancer/models/listener_details.py +6 -4
  225. oci/load_balancer/models/load_balancer.py +61 -2
  226. oci/load_balancer/models/reserved_ip.py +4 -0
  227. oci/load_balancer/models/update_backend_details.py +10 -4
  228. oci/load_balancer/models/update_backend_set_details.py +12 -4
  229. oci/load_balancer/models/update_listener_details.py +6 -4
  230. oci/load_balancer/models/update_load_balancer_details.py +59 -0
  231. oci/lockbox/lockbox_client.py +24 -24
  232. oci/log_analytics/log_analytics_client.py +200 -200
  233. oci/logging/logging_management_client.py +30 -30
  234. oci/loggingingestion/logging_client.py +1 -1
  235. oci/loggingsearch/log_search_client.py +1 -1
  236. oci/lustre_file_storage/lustre_file_storage_client.py +11 -11
  237. oci/management_agent/management_agent_client.py +28 -28
  238. oci/management_dashboard/dashx_apis_client.py +18 -18
  239. oci/marketplace/account_client.py +2 -2
  240. oci/marketplace/marketplace_client.py +30 -30
  241. oci/marketplace_private_offer/attachment_client.py +5 -5
  242. oci/marketplace_private_offer/offer_client.py +6 -6
  243. oci/marketplace_publisher/attachment_client.py +5 -5
  244. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  245. oci/marketplace_publisher/offer_client.py +6 -6
  246. oci/media_services/media_services_client.py +60 -60
  247. oci/media_services/media_stream_client.py +2 -2
  248. oci/mngdmac/mac_device_client.py +3 -3
  249. oci/mngdmac/mac_order_client.py +11 -11
  250. oci/model_deployment/model_deployment_client.py +2 -2
  251. oci/monitoring/monitoring_client.py +18 -18
  252. oci/mysql/channels_client.py +7 -7
  253. oci/mysql/db_backups_client.py +8 -8
  254. oci/mysql/db_system_client.py +17 -17
  255. oci/mysql/mysqlaas_client.py +7 -7
  256. oci/mysql/replicas_client.py +5 -5
  257. oci/mysql/work_requests_client.py +4 -4
  258. oci/network_firewall/network_firewall_client.py +92 -92
  259. oci/network_load_balancer/network_load_balancer_client.py +35 -35
  260. oci/nosql/models/__init__.py +14 -0
  261. oci/nosql/models/configuration.py +109 -0
  262. oci/nosql/models/hosted_configuration.py +78 -0
  263. oci/nosql/models/kms_key.py +244 -0
  264. oci/nosql/models/multi_tenancy_configuration.py +49 -0
  265. oci/nosql/models/update_configuration_details.py +109 -0
  266. oci/nosql/models/update_hosted_configuration_details.py +78 -0
  267. oci/nosql/models/update_multi_tenancy_configuration_details.py +52 -0
  268. oci/nosql/models/work_request.py +7 -3
  269. oci/nosql/models/work_request_summary.py +7 -3
  270. oci/nosql/nosql_client.py +340 -25
  271. oci/nosql/nosql_client_composite_operations.py +81 -0
  272. oci/object_storage/object_storage_client.py +55 -55
  273. oci/oce/oce_instance_client.py +10 -10
  274. oci/oci_control_center/occ_metrics_client.py +3 -3
  275. oci/ocvp/cluster_client.py +5 -5
  276. oci/ocvp/esxi_host_client.py +8 -8
  277. oci/ocvp/sddc_client.py +14 -14
  278. oci/ocvp/work_request_client.py +4 -4
  279. oci/oda/management_client.py +59 -59
  280. oci/oda/oda_client.py +17 -17
  281. oci/oda/odapackage_client.py +7 -7
  282. oci/onesubscription/billing_schedule_client.py +1 -1
  283. oci/onesubscription/commitment_client.py +2 -2
  284. oci/onesubscription/computed_usage_client.py +3 -3
  285. oci/onesubscription/invoice_summary_client.py +2 -2
  286. oci/onesubscription/organization_subscription_client.py +1 -1
  287. oci/onesubscription/ratecard_client.py +1 -1
  288. oci/onesubscription/subscribed_service_client.py +2 -2
  289. oci/onesubscription/subscription_client.py +1 -1
  290. oci/ons/notification_control_plane_client.py +6 -6
  291. oci/ons/notification_data_plane_client.py +10 -10
  292. oci/opa/opa_instance_client.py +13 -13
  293. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  294. oci/opensearch/opensearch_cluster_client.py +17 -17
  295. oci/opensearch/opensearch_cluster_pipeline_client.py +5 -5
  296. oci/operator_access_control/access_requests_client.py +10 -10
  297. oci/operator_access_control/operator_actions_client.py +2 -2
  298. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  299. oci/operator_access_control/operator_control_client.py +6 -6
  300. oci/opsi/operations_insights_client.py +181 -181
  301. oci/optimizer/optimizer_client.py +26 -26
  302. oci/os_management/event_client.py +8 -8
  303. oci/os_management/os_management_client.py +69 -69
  304. oci/os_management_hub/event_client.py +8 -8
  305. oci/os_management_hub/lifecycle_environment_client.py +13 -13
  306. oci/os_management_hub/managed_instance_client.py +33 -33
  307. oci/os_management_hub/managed_instance_group_client.py +26 -26
  308. oci/os_management_hub/management_station_client.py +10 -10
  309. oci/os_management_hub/onboarding_client.py +13 -13
  310. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  311. oci/os_management_hub/scheduled_job_client.py +7 -7
  312. oci/os_management_hub/software_source_client.py +33 -33
  313. oci/os_management_hub/work_request_client.py +5 -5
  314. oci/osp_gateway/address_rule_service_client.py +1 -1
  315. oci/osp_gateway/address_service_client.py +2 -2
  316. oci/osp_gateway/invoice_service_client.py +5 -5
  317. oci/osp_gateway/subscription_service_client.py +5 -5
  318. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  319. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  320. oci/osub_subscription/commitment_client.py +2 -2
  321. oci/osub_subscription/ratecard_client.py +1 -1
  322. oci/osub_subscription/subscription_client.py +1 -1
  323. oci/osub_usage/computed_usage_client.py +3 -3
  324. oci/psql/postgresql_client.py +34 -34
  325. oci/queue/queue_admin_client.py +11 -11
  326. oci/queue/queue_client.py +8 -8
  327. oci/recovery/database_recovery_client.py +26 -26
  328. oci/redis/__init__.py +5 -1
  329. oci/redis/models/__init__.py +30 -0
  330. oci/redis/models/attach_oci_cache_users_details.py +70 -0
  331. oci/redis/models/attached_oci_cache_cluster.py +70 -0
  332. oci/redis/models/attached_oci_cache_user.py +70 -0
  333. oci/redis/models/authentication_mode.py +107 -0
  334. oci/redis/models/change_oci_cache_user_compartment_details.py +70 -0
  335. oci/redis/models/create_identity_token_details.py +167 -0
  336. oci/redis/models/create_oci_cache_user_details.py +287 -0
  337. oci/redis/models/detach_oci_cache_users_details.py +70 -0
  338. oci/redis/models/iam_authentication_mode.py +49 -0
  339. oci/redis/models/identity_token_details_response.py +101 -0
  340. oci/redis/models/oci_cache_user.py +492 -0
  341. oci/redis/models/oci_cache_user_collection.py +70 -0
  342. oci/redis/models/oci_cache_user_summary.py +386 -0
  343. oci/redis/models/password_authentication_mode.py +80 -0
  344. oci/redis/models/update_oci_cache_user_details.py +225 -0
  345. oci/redis/models/work_request.py +27 -3
  346. oci/redis/models/work_request_summary.py +27 -3
  347. oci/redis/oci_cache_user_client.py +951 -0
  348. oci/redis/oci_cache_user_client_composite_operations.py +196 -0
  349. oci/redis/redis_cluster_client.py +410 -12
  350. oci/redis/redis_cluster_client_composite_operations.py +88 -0
  351. oci/redis/redis_identity_client.py +241 -0
  352. oci/redis/redis_identity_client_composite_operations.py +26 -0
  353. oci/resource_manager/resource_manager_client.py +52 -52
  354. oci/resource_scheduler/schedule_client.py +14 -14
  355. oci/resource_search/resource_search_client.py +3 -3
  356. oci/rover/rover_bundle_client.py +8 -8
  357. oci/rover/rover_cluster_client.py +8 -8
  358. oci/rover/rover_entitlement_client.py +6 -6
  359. oci/rover/rover_node_client.py +15 -15
  360. oci/rover/shape_client.py +1 -1
  361. oci/rover/work_requests_client.py +5 -5
  362. oci/sch/connector_plugins_client.py +2 -2
  363. oci/sch/service_connector_client.py +12 -12
  364. oci/secrets/secrets_client.py +3 -3
  365. oci/security_attribute/security_attribute_client.py +18 -18
  366. oci/service_catalog/service_catalog_client.py +26 -26
  367. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  368. oci/service_mesh/service_mesh_client.py +96 -96
  369. oci/stack_monitoring/stack_monitoring_client.py +87 -87
  370. oci/streaming/stream_admin_client.py +18 -18
  371. oci/streaming/stream_client.py +8 -8
  372. oci/tenant_manager_control_plane/domain_client.py +5 -5
  373. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  374. oci/tenant_manager_control_plane/governance_client.py +2 -2
  375. oci/tenant_manager_control_plane/link_client.py +3 -3
  376. oci/tenant_manager_control_plane/orders_client.py +2 -2
  377. oci/tenant_manager_control_plane/organization_client.py +10 -10
  378. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  379. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  380. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  381. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  382. oci/threat_intelligence/threatintel_client.py +5 -5
  383. oci/usage/resources_client.py +2 -2
  384. oci/usage/rewards_client.py +6 -6
  385. oci/usage/usagelimits_client.py +1 -1
  386. oci/usage_api/usageapi_client.py +33 -33
  387. oci/vault/vaults_client.py +13 -13
  388. oci/vbs_inst/vbs_instance_client.py +10 -10
  389. oci/version.py +1 -1
  390. oci/visual_builder/vb_instance_client.py +14 -14
  391. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  392. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  393. oci/waa/waa_client.py +13 -13
  394. oci/waa/work_request_client.py +4 -4
  395. oci/waas/redirect_client.py +6 -6
  396. oci/waas/waas_client.py +66 -66
  397. oci/waf/waf_client.py +24 -24
  398. oci/wlms/__init__.py +16 -0
  399. oci/wlms/models/__init__.py +136 -0
  400. oci/wlms/models/agreement.py +132 -0
  401. oci/wlms/models/agreement_record.py +132 -0
  402. oci/wlms/models/agreement_record_collection.py +70 -0
  403. oci/wlms/models/agreement_record_summary.py +132 -0
  404. oci/wlms/models/applicable_patch_collection.py +70 -0
  405. oci/wlms/models/applicable_patch_summary.py +245 -0
  406. oci/wlms/models/backup.py +265 -0
  407. oci/wlms/models/backup_collection.py +70 -0
  408. oci/wlms/models/backup_content.py +99 -0
  409. oci/wlms/models/backup_summary.py +265 -0
  410. oci/wlms/models/backup_to_restore.py +121 -0
  411. oci/wlms/models/binary_backup_content.py +76 -0
  412. oci/wlms/models/change_wls_domain_compartment_details.py +74 -0
  413. oci/wlms/models/configuration.py +101 -0
  414. oci/wlms/models/create_agreement_record_details.py +101 -0
  415. oci/wlms/models/default_error.py +101 -0
  416. oci/wlms/models/install_latest_patches_on_wls_domain_details.py +101 -0
  417. oci/wlms/models/installed_patch_collection.py +70 -0
  418. oci/wlms/models/installed_patch_summary.py +140 -0
  419. oci/wlms/models/managed_instance.py +406 -0
  420. oci/wlms/models/managed_instance_collection.py +70 -0
  421. oci/wlms/models/managed_instance_configuration.py +101 -0
  422. oci/wlms/models/managed_instance_summary.py +311 -0
  423. oci/wlms/models/middleware_backup_patch.py +140 -0
  424. oci/wlms/models/middleware_binary_backup_content.py +101 -0
  425. oci/wlms/models/patch.py +245 -0
  426. oci/wlms/models/required_policy_collection.py +70 -0
  427. oci/wlms/models/required_policy_summary.py +132 -0
  428. oci/wlms/models/resource_inventory.py +262 -0
  429. oci/wlms/models/restart_wls_domain_details.py +70 -0
  430. oci/wlms/models/restore_wls_domain_details.py +132 -0
  431. oci/wlms/models/scan_result_collection.py +70 -0
  432. oci/wlms/models/scan_result_summary.py +288 -0
  433. oci/wlms/models/server.py +696 -0
  434. oci/wlms/models/server_collection.py +70 -0
  435. oci/wlms/models/server_summary.py +696 -0
  436. oci/wlms/models/server_to_restore.py +117 -0
  437. oci/wlms/models/set_restart_order_details.py +66 -0
  438. oci/wlms/models/set_restart_order_server_collection.py +70 -0
  439. oci/wlms/models/set_restart_order_server_summary.py +101 -0
  440. oci/wlms/models/stop_wls_domain_details.py +70 -0
  441. oci/wlms/models/update_configuration_details.py +101 -0
  442. oci/wlms/models/update_managed_instance_configuration_details.py +101 -0
  443. oci/wlms/models/update_managed_instance_details.py +66 -0
  444. oci/wlms/models/update_wls_domain_configuration_details.py +350 -0
  445. oci/wlms/models/update_wls_domain_credential_details.py +132 -0
  446. oci/wlms/models/update_wls_domain_details.py +148 -0
  447. oci/wlms/models/wls_domain.py +616 -0
  448. oci/wlms/models/wls_domain_collection.py +70 -0
  449. oci/wlms/models/wls_domain_configuration.py +350 -0
  450. oci/wlms/models/wls_domain_credential.py +183 -0
  451. oci/wlms/models/wls_domain_credential_collection.py +70 -0
  452. oci/wlms/models/wls_domain_credential_summary.py +101 -0
  453. oci/wlms/models/wls_domain_summary.py +516 -0
  454. oci/wlms/models/work_request.py +453 -0
  455. oci/wlms/models/work_request_error.py +142 -0
  456. oci/wlms/models/work_request_error_collection.py +70 -0
  457. oci/wlms/models/work_request_log_entry.py +105 -0
  458. oci/wlms/models/work_request_log_entry_collection.py +70 -0
  459. oci/wlms/models/work_request_resource.py +236 -0
  460. oci/wlms/models/work_request_summary.py +451 -0
  461. oci/wlms/models/work_request_summary_collection.py +70 -0
  462. oci/wlms/weblogic_management_service_client.py +5410 -0
  463. oci/wlms/weblogic_management_service_client_composite_operations.py +433 -0
  464. oci/wlms/weblogic_management_service_configuration_client.py +331 -0
  465. oci/wlms/weblogic_management_service_configuration_client_composite_operations.py +26 -0
  466. oci/work_requests/work_request_client.py +4 -4
  467. oci/zpr/zpr_client.py +15 -15
  468. {oci-2.154.1.dist-info → oci-2.154.3.dist-info}/METADATA +1 -1
  469. {oci-2.154.1.dist-info → oci-2.154.3.dist-info}/RECORD +473 -330
  470. {oci-2.154.1.dist-info → oci-2.154.3.dist-info}/LICENSE.txt +0 -0
  471. {oci-2.154.1.dist-info → oci-2.154.3.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  472. {oci-2.154.1.dist-info → oci-2.154.3.dist-info}/WHEEL +0 -0
  473. {oci-2.154.1.dist-info → oci-2.154.3.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,567 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
3
+ # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
+
5
+ # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20241130
6
+
7
+ from __future__ import absolute_import
8
+
9
+ from oci._vendor import requests # noqa: F401
10
+ from oci._vendor import six
11
+
12
+ from oci import retry, circuit_breaker # noqa: F401
13
+ from oci.base_client import BaseClient
14
+ from oci.config import get_config_value_or_default, validate_config
15
+ from oci.signer import Signer
16
+ from oci.util import Sentinel, get_signer_from_authentication_type, AUTHENTICATION_TYPE_FIELD_NAME
17
+ from oci.exceptions import InvalidAlloyConfig
18
+ from oci.alloy import OCI_SDK_ENABLED_SERVICES_SET
19
+ from .models import apiaccesscontrol_type_mapping
20
+ missing = Sentinel("Missing")
21
+
22
+
23
+ class ApiMetadataClient(object):
24
+ """
25
+ This service is used to restrict the control plane service apis; so that everybody won't be
26
+ able to access those apis.
27
+ There are two main resouces defined as a part of this service
28
+ 1. PrivilegedApiControl: This is created by the customer which defines which service apis are
29
+ controlled and who can access it.
30
+ 2. PrivilegedApiRequest: This is a request object again created by the customer operators who seek access to those privileged apis. After a request is obtained based on the PrivilegedAccessControl for which the api belongs to, either it can be approved so that the requested person can execute the service apis or it will wait for the customer to approve it.
31
+ """
32
+
33
+ def __init__(self, config, **kwargs):
34
+ """
35
+ Creates a new service client
36
+
37
+ :param dict config:
38
+ Configuration keys and values as per `SDK and Tool Configuration <https://docs.cloud.oracle.com/Content/API/Concepts/sdkconfig.htm>`__.
39
+ The :py:meth:`~oci.config.from_file` method can be used to load configuration from a file. Alternatively, a ``dict`` can be passed. You can validate_config
40
+ the dict using :py:meth:`~oci.config.validate_config`
41
+
42
+ :param str service_endpoint: (optional)
43
+ The endpoint of the service to call using this client. For example ``https://iaas.us-ashburn-1.oraclecloud.com``. If this keyword argument is
44
+ not provided then it will be derived using the region in the config parameter. You should only provide this keyword argument if you have an explicit
45
+ need to specify a service endpoint.
46
+
47
+ :param timeout: (optional)
48
+ The connection and read timeouts for the client. The default values are connection timeout 10 seconds and read timeout 60 seconds. This keyword argument can be provided
49
+ as a single float, in which case the value provided is used for both the read and connection timeouts, or as a tuple of two floats. If
50
+ a tuple is provided then the first value is used as the connection timeout and the second value as the read timeout.
51
+ :type timeout: float or tuple(float, float)
52
+
53
+ :param signer: (optional)
54
+ The signer to use when signing requests made by the service client. The default is to use a :py:class:`~oci.signer.Signer` based on the values
55
+ provided in the config parameter.
56
+
57
+ One use case for this parameter is for `Instance Principals authentication <https://docs.cloud.oracle.com/Content/Identity/Tasks/callingservicesfrominstances.htm>`__
58
+ by passing an instance of :py:class:`~oci.auth.signers.InstancePrincipalsSecurityTokenSigner` as the value for this keyword argument
59
+ :type signer: :py:class:`~oci.signer.AbstractBaseSigner`
60
+
61
+ :param obj retry_strategy: (optional)
62
+ A retry strategy to apply to all calls made by this service client (i.e. at the client level). There is no retry strategy applied by default.
63
+ Retry strategies can also be applied at the operation level by passing a ``retry_strategy`` keyword argument as part of calling the operation.
64
+ Any value provided at the operation level will override whatever is specified at the client level.
65
+
66
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
67
+ is also available. The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
68
+
69
+ :param obj circuit_breaker_strategy: (optional)
70
+ A circuit breaker strategy to apply to all calls made by this service client (i.e. at the client level).
71
+ This client uses :py:data:`~oci.circuit_breaker.DEFAULT_CIRCUIT_BREAKER_STRATEGY` as default if no circuit breaker strategy is provided.
72
+ The specifics of circuit breaker strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/circuit_breakers.html>`__.
73
+
74
+ :param function circuit_breaker_callback: (optional)
75
+ Callback function to receive any exceptions triggerred by the circuit breaker.
76
+
77
+ :param bool client_level_realm_specific_endpoint_template_enabled: (optional)
78
+ A boolean flag to indicate whether or not this client should be created with realm specific endpoint template enabled or disable. By default, this will be set as None.
79
+
80
+ :param allow_control_chars: (optional)
81
+ allow_control_chars is a boolean to indicate whether or not this client should allow control characters in the response object. By default, the client will not
82
+ allow control characters to be in the response object.
83
+ """
84
+ if not OCI_SDK_ENABLED_SERVICES_SET.is_service_enabled("apiaccesscontrol"):
85
+ raise InvalidAlloyConfig("The Alloy configuration has disabled this service, this behavior is controlled by OCI_SDK_ENABLED_SERVICES_SET variable. Please check if your local alloy-config file configured the service you're targeting or contact the cloud provider on the availability of this service")
86
+
87
+ validate_config(config, signer=kwargs.get('signer'))
88
+ if 'signer' in kwargs:
89
+ signer = kwargs['signer']
90
+
91
+ elif AUTHENTICATION_TYPE_FIELD_NAME in config:
92
+ signer = get_signer_from_authentication_type(config)
93
+
94
+ else:
95
+ signer = Signer(
96
+ tenancy=config["tenancy"],
97
+ user=config["user"],
98
+ fingerprint=config["fingerprint"],
99
+ private_key_file_location=config.get("key_file"),
100
+ pass_phrase=get_config_value_or_default(config, "pass_phrase"),
101
+ private_key_content=config.get("key_content")
102
+ )
103
+
104
+ base_client_init_kwargs = {
105
+ 'regional_client': True,
106
+ 'service_endpoint': kwargs.get('service_endpoint'),
107
+ 'base_path': '/20241130',
108
+ 'service_endpoint_template': 'https://pactl.{region}.oci.{secondLevelDomain}',
109
+ 'service_endpoint_template_per_realm': { }, # noqa: E201 E202
110
+ 'skip_deserialization': kwargs.get('skip_deserialization', False),
111
+ 'circuit_breaker_strategy': kwargs.get('circuit_breaker_strategy', circuit_breaker.GLOBAL_CIRCUIT_BREAKER_STRATEGY),
112
+ 'client_level_realm_specific_endpoint_template_enabled': kwargs.get('client_level_realm_specific_endpoint_template_enabled')
113
+ }
114
+ if 'timeout' in kwargs:
115
+ base_client_init_kwargs['timeout'] = kwargs.get('timeout')
116
+ if base_client_init_kwargs.get('circuit_breaker_strategy') is None:
117
+ base_client_init_kwargs['circuit_breaker_strategy'] = circuit_breaker.DEFAULT_CIRCUIT_BREAKER_STRATEGY
118
+ if 'allow_control_chars' in kwargs:
119
+ base_client_init_kwargs['allow_control_chars'] = kwargs.get('allow_control_chars')
120
+ self.base_client = BaseClient("api_metadata", config, signer, apiaccesscontrol_type_mapping, **base_client_init_kwargs)
121
+ self.retry_strategy = kwargs.get('retry_strategy')
122
+ self.circuit_breaker_callback = kwargs.get('circuit_breaker_callback')
123
+
124
+ def get_api_metadata(self, api_metadata_id, **kwargs):
125
+ """
126
+ Gets information about a ApiMetadata.
127
+
128
+
129
+ :param str api_metadata_id: (required)
130
+ The `OCID`__ of the PrivilegedApiControl.
131
+
132
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
133
+
134
+ :param str opc_request_id: (optional)
135
+ Unique Oracle-assigned identifier for the request. If you need to contact
136
+ Oracle about a particular request, please provide the request ID.
137
+ The only valid characters for request IDs are letters, numbers,
138
+ underscore, and dash.
139
+
140
+ :param obj retry_strategy: (optional)
141
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
142
+
143
+ 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.
144
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
145
+
146
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
147
+
148
+ :param bool allow_control_chars: (optional)
149
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
150
+ By default, the response will not allow control characters in strings
151
+
152
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.apiaccesscontrol.models.ApiMetadata`
153
+ :rtype: :class:`~oci.response.Response`
154
+
155
+ :example:
156
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.154.3/apiaccesscontrol/get_api_metadata.py.html>`__ to see an example of how to use get_api_metadata API.
157
+ """
158
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
159
+ required_arguments = ['apiMetadataId']
160
+ resource_path = "/apiMetadatas/{apiMetadataId}"
161
+ method = "GET"
162
+ operation_name = "get_api_metadata"
163
+ api_reference_link = ""
164
+
165
+ # Don't accept unknown kwargs
166
+ expected_kwargs = [
167
+ "allow_control_chars",
168
+ "retry_strategy",
169
+ "opc_request_id"
170
+ ]
171
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
172
+ if extra_kwargs:
173
+ raise ValueError(
174
+ f"get_api_metadata got unknown kwargs: {extra_kwargs!r}")
175
+
176
+ path_params = {
177
+ "apiMetadataId": api_metadata_id
178
+ }
179
+
180
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
181
+
182
+ for (k, v) in six.iteritems(path_params):
183
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
184
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
185
+
186
+ header_params = {
187
+ "accept": "application/json",
188
+ "content-type": "application/json",
189
+ "opc-request-id": kwargs.get("opc_request_id", missing)
190
+ }
191
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
192
+
193
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
194
+ operation_retry_strategy=kwargs.get('retry_strategy'),
195
+ client_retry_strategy=self.retry_strategy
196
+ )
197
+ if retry_strategy is None:
198
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
199
+
200
+ if retry_strategy:
201
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
202
+ self.base_client.add_opc_client_retries_header(header_params)
203
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
204
+ return retry_strategy.make_retrying_call(
205
+ self.base_client.call_api,
206
+ resource_path=resource_path,
207
+ method=method,
208
+ path_params=path_params,
209
+ header_params=header_params,
210
+ response_type="ApiMetadata",
211
+ allow_control_chars=kwargs.get('allow_control_chars'),
212
+ operation_name=operation_name,
213
+ api_reference_link=api_reference_link,
214
+ required_arguments=required_arguments)
215
+ else:
216
+ return self.base_client.call_api(
217
+ resource_path=resource_path,
218
+ method=method,
219
+ path_params=path_params,
220
+ header_params=header_params,
221
+ response_type="ApiMetadata",
222
+ allow_control_chars=kwargs.get('allow_control_chars'),
223
+ operation_name=operation_name,
224
+ api_reference_link=api_reference_link,
225
+ required_arguments=required_arguments)
226
+
227
+ def list_api_metadata(self, **kwargs):
228
+ """
229
+ Gets a list of ApiMetadata.
230
+
231
+
232
+ :param str compartment_id: (optional)
233
+ The `OCID`__ of the compartment in which to list resources.
234
+
235
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
236
+
237
+ :param str lifecycle_state: (optional)
238
+ A filter to return only resources that match the given lifecycle state. The
239
+ state value is case-insensitive.
240
+
241
+ Allowed values are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"
242
+
243
+ :param str resource_type: (optional)
244
+ A filter to return only lists of resources that match the entire given service type.
245
+
246
+ :param str display_name: (optional)
247
+ A filter to return only resources that match the given display name exactly.
248
+
249
+ :param int limit: (optional)
250
+ For list pagination. The maximum number of results per page, or items to return in a
251
+ paginated \"List\" call. For important details about how pagination works, see
252
+ `List Pagination`__.
253
+
254
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
255
+
256
+ :param str page: (optional)
257
+ For list pagination. The value of the opc-next-page response header from the previous
258
+ \"List\" call. For important details about how pagination works, see
259
+ `List Pagination`__.
260
+
261
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
262
+
263
+ :param str sort_order: (optional)
264
+ The sort order to use, either ascending (`ASC`) or descending (`DESC`).
265
+
266
+ Allowed values are: "ASC", "DESC"
267
+
268
+ :param str sort_by: (optional)
269
+ The field to sort by. You can provide only one sort order. Default order for `timeCreated`
270
+ is descending. Default order for `displayName` is ascending.
271
+
272
+ Allowed values are: "timeCreated", "displayName"
273
+
274
+ :param str opc_request_id: (optional)
275
+ Unique Oracle-assigned identifier for the request. If you need to contact
276
+ Oracle about a particular request, please provide the request ID.
277
+ The only valid characters for request IDs are letters, numbers,
278
+ underscore, and dash.
279
+
280
+ :param obj retry_strategy: (optional)
281
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
282
+
283
+ 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.
284
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
285
+
286
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
287
+
288
+ :param bool allow_control_chars: (optional)
289
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
290
+ By default, the response will not allow control characters in strings
291
+
292
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.apiaccesscontrol.models.ApiMetadataCollection`
293
+ :rtype: :class:`~oci.response.Response`
294
+
295
+ :example:
296
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.154.3/apiaccesscontrol/list_api_metadata.py.html>`__ to see an example of how to use list_api_metadata API.
297
+ """
298
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
299
+ required_arguments = []
300
+ resource_path = "/apiMetadatas"
301
+ method = "GET"
302
+ operation_name = "list_api_metadata"
303
+ api_reference_link = ""
304
+
305
+ # Don't accept unknown kwargs
306
+ expected_kwargs = [
307
+ "allow_control_chars",
308
+ "retry_strategy",
309
+ "compartment_id",
310
+ "lifecycle_state",
311
+ "resource_type",
312
+ "display_name",
313
+ "limit",
314
+ "page",
315
+ "sort_order",
316
+ "sort_by",
317
+ "opc_request_id"
318
+ ]
319
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
320
+ if extra_kwargs:
321
+ raise ValueError(
322
+ f"list_api_metadata got unknown kwargs: {extra_kwargs!r}")
323
+
324
+ if 'lifecycle_state' in kwargs:
325
+ lifecycle_state_allowed_values = ["CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"]
326
+ if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
327
+ raise ValueError(
328
+ f"Invalid value for `lifecycle_state`, must be one of { lifecycle_state_allowed_values }"
329
+ )
330
+
331
+ if 'sort_order' in kwargs:
332
+ sort_order_allowed_values = ["ASC", "DESC"]
333
+ if kwargs['sort_order'] not in sort_order_allowed_values:
334
+ raise ValueError(
335
+ f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
336
+ )
337
+
338
+ if 'sort_by' in kwargs:
339
+ sort_by_allowed_values = ["timeCreated", "displayName"]
340
+ if kwargs['sort_by'] not in sort_by_allowed_values:
341
+ raise ValueError(
342
+ f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
343
+ )
344
+
345
+ query_params = {
346
+ "compartmentId": kwargs.get("compartment_id", missing),
347
+ "lifecycleState": kwargs.get("lifecycle_state", missing),
348
+ "resourceType": kwargs.get("resource_type", missing),
349
+ "displayName": kwargs.get("display_name", missing),
350
+ "limit": kwargs.get("limit", missing),
351
+ "page": kwargs.get("page", missing),
352
+ "sortOrder": kwargs.get("sort_order", missing),
353
+ "sortBy": kwargs.get("sort_by", missing)
354
+ }
355
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
356
+
357
+ header_params = {
358
+ "accept": "application/json",
359
+ "content-type": "application/json",
360
+ "opc-request-id": kwargs.get("opc_request_id", missing)
361
+ }
362
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
363
+
364
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
365
+ operation_retry_strategy=kwargs.get('retry_strategy'),
366
+ client_retry_strategy=self.retry_strategy
367
+ )
368
+ if retry_strategy is None:
369
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
370
+
371
+ if retry_strategy:
372
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
373
+ self.base_client.add_opc_client_retries_header(header_params)
374
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
375
+ return retry_strategy.make_retrying_call(
376
+ self.base_client.call_api,
377
+ resource_path=resource_path,
378
+ method=method,
379
+ query_params=query_params,
380
+ header_params=header_params,
381
+ response_type="ApiMetadataCollection",
382
+ allow_control_chars=kwargs.get('allow_control_chars'),
383
+ operation_name=operation_name,
384
+ api_reference_link=api_reference_link,
385
+ required_arguments=required_arguments)
386
+ else:
387
+ return self.base_client.call_api(
388
+ resource_path=resource_path,
389
+ method=method,
390
+ query_params=query_params,
391
+ header_params=header_params,
392
+ response_type="ApiMetadataCollection",
393
+ allow_control_chars=kwargs.get('allow_control_chars'),
394
+ operation_name=operation_name,
395
+ api_reference_link=api_reference_link,
396
+ required_arguments=required_arguments)
397
+
398
+ def list_api_metadata_by_entity_types(self, **kwargs):
399
+ """
400
+ Gets a list of ApiMetadata Grouped By Entity Types.
401
+
402
+
403
+ :param str compartment_id: (optional)
404
+ The `OCID`__ of the compartment in which to list resources.
405
+
406
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
407
+
408
+ :param str lifecycle_state: (optional)
409
+ A filter to return only resources that match the given lifecycle state. The
410
+ state value is case-insensitive.
411
+
412
+ Allowed values are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"
413
+
414
+ :param str resource_type: (optional)
415
+ A filter to return only lists of resources that match the entire given service type.
416
+
417
+ :param str display_name: (optional)
418
+ A filter to return only resources that match the given display name exactly.
419
+
420
+ :param int limit: (optional)
421
+ For list pagination. The maximum number of results per page, or items to return in a
422
+ paginated \"List\" call. For important details about how pagination works, see
423
+ `List Pagination`__.
424
+
425
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
426
+
427
+ :param str page: (optional)
428
+ For list pagination. The value of the opc-next-page response header from the previous
429
+ \"List\" call. For important details about how pagination works, see
430
+ `List Pagination`__.
431
+
432
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
433
+
434
+ :param str sort_order: (optional)
435
+ The sort order to use, either ascending (`ASC`) or descending (`DESC`).
436
+
437
+ Allowed values are: "ASC", "DESC"
438
+
439
+ :param str sort_by: (optional)
440
+ The field to sort by. You can provide only one sort order. Default order for `timeCreated`
441
+ is descending. Default order for `displayName` is ascending.
442
+
443
+ Allowed values are: "timeCreated", "displayName"
444
+
445
+ :param str opc_request_id: (optional)
446
+ Unique Oracle-assigned identifier for the request. If you need to contact
447
+ Oracle about a particular request, please provide the request ID.
448
+ The only valid characters for request IDs are letters, numbers,
449
+ underscore, and dash.
450
+
451
+ :param obj retry_strategy: (optional)
452
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
453
+
454
+ 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.
455
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
456
+
457
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
458
+
459
+ :param bool allow_control_chars: (optional)
460
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
461
+ By default, the response will not allow control characters in strings
462
+
463
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.apiaccesscontrol.models.ApiMetadataByEntityTypeCollection`
464
+ :rtype: :class:`~oci.response.Response`
465
+
466
+ :example:
467
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.154.3/apiaccesscontrol/list_api_metadata_by_entity_types.py.html>`__ to see an example of how to use list_api_metadata_by_entity_types API.
468
+ """
469
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
470
+ required_arguments = []
471
+ resource_path = "/apiMetadatas/byEntityType"
472
+ method = "GET"
473
+ operation_name = "list_api_metadata_by_entity_types"
474
+ api_reference_link = ""
475
+
476
+ # Don't accept unknown kwargs
477
+ expected_kwargs = [
478
+ "allow_control_chars",
479
+ "retry_strategy",
480
+ "compartment_id",
481
+ "lifecycle_state",
482
+ "resource_type",
483
+ "display_name",
484
+ "limit",
485
+ "page",
486
+ "sort_order",
487
+ "sort_by",
488
+ "opc_request_id"
489
+ ]
490
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
491
+ if extra_kwargs:
492
+ raise ValueError(
493
+ f"list_api_metadata_by_entity_types got unknown kwargs: {extra_kwargs!r}")
494
+
495
+ if 'lifecycle_state' in kwargs:
496
+ lifecycle_state_allowed_values = ["CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"]
497
+ if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
498
+ raise ValueError(
499
+ f"Invalid value for `lifecycle_state`, must be one of { lifecycle_state_allowed_values }"
500
+ )
501
+
502
+ if 'sort_order' in kwargs:
503
+ sort_order_allowed_values = ["ASC", "DESC"]
504
+ if kwargs['sort_order'] not in sort_order_allowed_values:
505
+ raise ValueError(
506
+ f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
507
+ )
508
+
509
+ if 'sort_by' in kwargs:
510
+ sort_by_allowed_values = ["timeCreated", "displayName"]
511
+ if kwargs['sort_by'] not in sort_by_allowed_values:
512
+ raise ValueError(
513
+ f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
514
+ )
515
+
516
+ query_params = {
517
+ "compartmentId": kwargs.get("compartment_id", missing),
518
+ "lifecycleState": kwargs.get("lifecycle_state", missing),
519
+ "resourceType": kwargs.get("resource_type", missing),
520
+ "displayName": kwargs.get("display_name", missing),
521
+ "limit": kwargs.get("limit", missing),
522
+ "page": kwargs.get("page", missing),
523
+ "sortOrder": kwargs.get("sort_order", missing),
524
+ "sortBy": kwargs.get("sort_by", missing)
525
+ }
526
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
527
+
528
+ header_params = {
529
+ "accept": "application/json",
530
+ "content-type": "application/json",
531
+ "opc-request-id": kwargs.get("opc_request_id", missing)
532
+ }
533
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
534
+
535
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
536
+ operation_retry_strategy=kwargs.get('retry_strategy'),
537
+ client_retry_strategy=self.retry_strategy
538
+ )
539
+ if retry_strategy is None:
540
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
541
+
542
+ if retry_strategy:
543
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
544
+ self.base_client.add_opc_client_retries_header(header_params)
545
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
546
+ return retry_strategy.make_retrying_call(
547
+ self.base_client.call_api,
548
+ resource_path=resource_path,
549
+ method=method,
550
+ query_params=query_params,
551
+ header_params=header_params,
552
+ response_type="ApiMetadataByEntityTypeCollection",
553
+ allow_control_chars=kwargs.get('allow_control_chars'),
554
+ operation_name=operation_name,
555
+ api_reference_link=api_reference_link,
556
+ required_arguments=required_arguments)
557
+ else:
558
+ return self.base_client.call_api(
559
+ resource_path=resource_path,
560
+ method=method,
561
+ query_params=query_params,
562
+ header_params=header_params,
563
+ response_type="ApiMetadataByEntityTypeCollection",
564
+ allow_control_chars=kwargs.get('allow_control_chars'),
565
+ operation_name=operation_name,
566
+ api_reference_link=api_reference_link,
567
+ required_arguments=required_arguments)
@@ -0,0 +1,26 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
3
+ # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
+
5
+ # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20241130
6
+
7
+ import oci # noqa: F401
8
+ from oci.util import WAIT_RESOURCE_NOT_FOUND # noqa: F401
9
+
10
+
11
+ class ApiMetadataClientCompositeOperations(object):
12
+ """
13
+ This class provides a wrapper around :py:class:`~oci.apiaccesscontrol.ApiMetadataClient` and offers convenience methods
14
+ for operations that would otherwise need to be chained together. For example, instead of performing an action
15
+ on a resource (e.g. launching an instance, creating a load balancer) and then using a waiter to wait for the resource
16
+ to enter a given state, you can call a single method in this class to accomplish the same functionality
17
+ """
18
+
19
+ def __init__(self, client, **kwargs):
20
+ """
21
+ Creates a new ApiMetadataClientCompositeOperations object
22
+
23
+ :param ApiMetadataClient client:
24
+ The service client which will be wrapped by this object
25
+ """
26
+ self.client = client
@@ -0,0 +1,72 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
3
+ # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
+
5
+ # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20241130
6
+
7
+ from __future__ import absolute_import
8
+
9
+ from .api_metadata import ApiMetadata
10
+ from .api_metadata_by_entity_type_collection import ApiMetadataByEntityTypeCollection
11
+ from .api_metadata_by_entity_type_summary import ApiMetadataByEntityTypeSummary
12
+ from .api_metadata_collection import ApiMetadataCollection
13
+ from .api_metadata_summary import ApiMetadataSummary
14
+ from .approve_privileged_api_request_details import ApprovePrivilegedApiRequestDetails
15
+ from .approver_detail import ApproverDetail
16
+ from .change_privileged_api_control_compartment_details import ChangePrivilegedApiControlCompartmentDetails
17
+ from .close_privileged_api_request_details import ClosePrivilegedApiRequestDetails
18
+ from .create_privileged_api_control_details import CreatePrivilegedApiControlDetails
19
+ from .create_privileged_api_request_details import CreatePrivilegedApiRequestDetails
20
+ from .privileged_api_control import PrivilegedApiControl
21
+ from .privileged_api_control_collection import PrivilegedApiControlCollection
22
+ from .privileged_api_control_summary import PrivilegedApiControlSummary
23
+ from .privileged_api_details import PrivilegedApiDetails
24
+ from .privileged_api_request import PrivilegedApiRequest
25
+ from .privileged_api_request_collection import PrivilegedApiRequestCollection
26
+ from .privileged_api_request_operation_details import PrivilegedApiRequestOperationDetails
27
+ from .privileged_api_request_summary import PrivilegedApiRequestSummary
28
+ from .reject_privileged_api_request_details import RejectPrivilegedApiRequestDetails
29
+ from .revoke_privileged_api_request_details import RevokePrivilegedApiRequestDetails
30
+ from .update_privileged_api_control_details import UpdatePrivilegedApiControlDetails
31
+ from .work_request import WorkRequest
32
+ from .work_request_error import WorkRequestError
33
+ from .work_request_error_collection import WorkRequestErrorCollection
34
+ from .work_request_log_entry import WorkRequestLogEntry
35
+ from .work_request_log_entry_collection import WorkRequestLogEntryCollection
36
+ from .work_request_resource import WorkRequestResource
37
+ from .work_request_summary import WorkRequestSummary
38
+ from .work_request_summary_collection import WorkRequestSummaryCollection
39
+
40
+ # Maps type names to classes for apiaccesscontrol services.
41
+ apiaccesscontrol_type_mapping = {
42
+ "ApiMetadata": ApiMetadata,
43
+ "ApiMetadataByEntityTypeCollection": ApiMetadataByEntityTypeCollection,
44
+ "ApiMetadataByEntityTypeSummary": ApiMetadataByEntityTypeSummary,
45
+ "ApiMetadataCollection": ApiMetadataCollection,
46
+ "ApiMetadataSummary": ApiMetadataSummary,
47
+ "ApprovePrivilegedApiRequestDetails": ApprovePrivilegedApiRequestDetails,
48
+ "ApproverDetail": ApproverDetail,
49
+ "ChangePrivilegedApiControlCompartmentDetails": ChangePrivilegedApiControlCompartmentDetails,
50
+ "ClosePrivilegedApiRequestDetails": ClosePrivilegedApiRequestDetails,
51
+ "CreatePrivilegedApiControlDetails": CreatePrivilegedApiControlDetails,
52
+ "CreatePrivilegedApiRequestDetails": CreatePrivilegedApiRequestDetails,
53
+ "PrivilegedApiControl": PrivilegedApiControl,
54
+ "PrivilegedApiControlCollection": PrivilegedApiControlCollection,
55
+ "PrivilegedApiControlSummary": PrivilegedApiControlSummary,
56
+ "PrivilegedApiDetails": PrivilegedApiDetails,
57
+ "PrivilegedApiRequest": PrivilegedApiRequest,
58
+ "PrivilegedApiRequestCollection": PrivilegedApiRequestCollection,
59
+ "PrivilegedApiRequestOperationDetails": PrivilegedApiRequestOperationDetails,
60
+ "PrivilegedApiRequestSummary": PrivilegedApiRequestSummary,
61
+ "RejectPrivilegedApiRequestDetails": RejectPrivilegedApiRequestDetails,
62
+ "RevokePrivilegedApiRequestDetails": RevokePrivilegedApiRequestDetails,
63
+ "UpdatePrivilegedApiControlDetails": UpdatePrivilegedApiControlDetails,
64
+ "WorkRequest": WorkRequest,
65
+ "WorkRequestError": WorkRequestError,
66
+ "WorkRequestErrorCollection": WorkRequestErrorCollection,
67
+ "WorkRequestLogEntry": WorkRequestLogEntry,
68
+ "WorkRequestLogEntryCollection": WorkRequestLogEntryCollection,
69
+ "WorkRequestResource": WorkRequestResource,
70
+ "WorkRequestSummary": WorkRequestSummary,
71
+ "WorkRequestSummaryCollection": WorkRequestSummaryCollection
72
+ }