oci 2.124.2__py3-none-any.whl → 2.125.1__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 (420) 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 +22 -22
  6. oci/ai_language/ai_service_language_client.py +43 -43
  7. oci/ai_speech/ai_service_speech_client.py +10 -10
  8. oci/ai_vision/ai_service_vision_client.py +25 -25
  9. oci/analytics/analytics_client.py +23 -23
  10. oci/announcements_service/announcement_client.py +4 -4
  11. oci/announcements_service/announcement_subscription_client.py +9 -9
  12. oci/announcements_service/announcements_preferences_client.py +4 -4
  13. oci/apigateway/api_gateway_client.py +21 -21
  14. oci/apigateway/deployment_client.py +6 -6
  15. oci/apigateway/gateway_client.py +6 -6
  16. oci/apigateway/subscribers_client.py +6 -6
  17. oci/apigateway/usage_plans_client.py +6 -6
  18. oci/apigateway/work_requests_client.py +5 -5
  19. oci/apm_config/config_client.py +8 -8
  20. oci/apm_control_plane/apm_domain_client.py +14 -14
  21. oci/apm_synthetics/apm_synthetic_client.py +28 -28
  22. oci/apm_traces/attributes_client.py +8 -8
  23. oci/apm_traces/query_client.py +2 -2
  24. oci/apm_traces/trace_client.py +4 -4
  25. oci/application_migration/application_migration_client.py +19 -19
  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 +51 -51
  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 +19 -19
  35. oci/certificates/certificates_client.py +5 -5
  36. oci/certificates_management/certificates_management_client.py +32 -32
  37. oci/cims/incident_client.py +8 -8
  38. oci/cims/user_client.py +1 -1
  39. oci/cloud_bridge/common_client.py +5 -5
  40. oci/cloud_bridge/discovery_client.py +14 -14
  41. oci/cloud_bridge/inventory_client.py +16 -16
  42. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  43. oci/cloud_guard/cloud_guard_client.py +176 -177
  44. oci/cloud_guard/models/activity_problem_aggregation.py +1 -1
  45. oci/cloud_guard/models/condition_metadata_type.py +1 -1
  46. oci/cloud_guard/models/configuration.py +1 -1
  47. oci/cloud_guard/models/create_data_source_details.py +47 -0
  48. oci/cloud_guard/models/create_managed_list_details.py +11 -3
  49. oci/cloud_guard/models/data_mask_rule.py +1 -1
  50. oci/cloud_guard/models/detector.py +1 -1
  51. oci/cloud_guard/models/detector_recipe.py +1 -1
  52. oci/cloud_guard/models/detector_recipe_detector_rule.py +12 -4
  53. oci/cloud_guard/models/detector_recipe_detector_rule_summary.py +11 -3
  54. oci/cloud_guard/models/detector_rule.py +12 -4
  55. oci/cloud_guard/models/detector_rule_summary.py +11 -3
  56. oci/cloud_guard/models/impacted_resource_summary.py +1 -1
  57. oci/cloud_guard/models/managed_list.py +12 -4
  58. oci/cloud_guard/models/managed_list_summary.py +11 -3
  59. oci/cloud_guard/models/managed_list_type_summary.py +1 -1
  60. oci/cloud_guard/models/policy_summary.py +1 -1
  61. oci/cloud_guard/models/problem.py +1 -1
  62. oci/cloud_guard/models/problem_aggregation.py +1 -1
  63. oci/cloud_guard/models/problem_endpoint_summary.py +1 -1
  64. oci/cloud_guard/models/problem_trend_aggregation.py +1 -1
  65. oci/cloud_guard/models/target_detector_recipe_detector_rule.py +11 -3
  66. oci/cloud_guard/models/target_detector_recipe_detector_rule_summary.py +11 -3
  67. oci/cloud_migrations/migration_client.py +43 -43
  68. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  69. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  70. oci/compute_instance_agent/plugin_client.py +2 -2
  71. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  72. oci/container_engine/container_engine_client.py +44 -44
  73. oci/container_instances/container_instance_client.py +18 -18
  74. oci/core/blockstorage_client.py +60 -60
  75. oci/core/compute_client.py +99 -99
  76. oci/core/compute_management_client.py +32 -32
  77. oci/core/virtual_network_client.py +242 -242
  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 +148 -148
  81. oci/data_flow/data_flow_client.py +42 -42
  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 +272 -272
  86. oci/data_science/data_science_client.py +91 -91
  87. oci/database/database_client.py +327 -327
  88. oci/database/models/autonomous_database.py +93 -0
  89. oci/database/models/autonomous_database_summary.py +93 -0
  90. oci/database/models/create_refreshable_autonomous_database_clone_details.py +146 -2
  91. oci/database/models/update_autonomous_database_details.py +93 -0
  92. oci/database_management/db_management_client.py +194 -194
  93. oci/database_management/diagnosability_client.py +4 -4
  94. oci/database_management/managed_my_sql_databases_client.py +148 -8
  95. oci/database_management/models/__init__.py +14 -0
  96. oci/database_management/models/heat_wave_cluster_usage_metrics.py +340 -0
  97. oci/database_management/models/heat_wave_fleet_by_category.py +134 -0
  98. oci/database_management/models/heat_wave_fleet_metric_definition.py +196 -0
  99. oci/database_management/models/heat_wave_fleet_metric_summary_definition.py +165 -0
  100. oci/database_management/models/heat_wave_fleet_metrics.py +165 -0
  101. oci/database_management/models/heat_wave_fleet_summary.py +103 -0
  102. oci/database_management/models/heat_wave_node.py +154 -0
  103. oci/database_management/models/managed_my_sql_database.py +250 -2
  104. oci/database_management/models/my_sql_data_summary.py +64 -2
  105. oci/database_management/models/my_sql_database_usage_metrics.py +93 -0
  106. oci/database_management/perfhub_client.py +1 -1
  107. oci/database_management/sql_tuning_client.py +17 -17
  108. oci/database_migration/database_migration_client.py +41 -41
  109. oci/database_tools/database_tools_client.py +23 -23
  110. oci/desktops/desktop_service_client.py +21 -21
  111. oci/devops/devops_client.py +92 -92
  112. oci/devops/models/__init__.py +2 -0
  113. oci/devops/models/create_oke_helm_chart_deploy_stage_details.py +109 -0
  114. oci/devops/models/create_repository_details.py +2 -2
  115. oci/devops/models/deploy_artifact.py +7 -3
  116. oci/devops/models/deploy_artifact_source.py +4 -0
  117. oci/devops/models/devops_code_repository_filter.py +2 -2
  118. oci/devops/models/devops_code_repository_filter_attributes.py +2 -2
  119. oci/devops/models/diff_summary.py +37 -2
  120. oci/devops/models/helm_command_spec_artifact_source.py +126 -0
  121. oci/devops/models/oke_helm_chart_deploy_stage.py +113 -2
  122. oci/devops/models/oke_helm_chart_deploy_stage_summary.py +109 -0
  123. oci/devops/models/repository.py +17 -5
  124. oci/devops/models/repository_author_summary.py +37 -2
  125. oci/devops/models/repository_branch_summary.py +7 -0
  126. oci/devops/models/repository_commit_summary.py +37 -2
  127. oci/devops/models/repository_mirror_record_summary.py +37 -2
  128. oci/devops/models/repository_path_summary.py +37 -2
  129. oci/devops/models/repository_ref_summary.py +37 -2
  130. oci/devops/models/repository_summary.py +2 -2
  131. oci/devops/models/repository_tag_summary.py +7 -0
  132. oci/devops/models/update_oke_helm_chart_deploy_stage_details.py +109 -0
  133. oci/devops/models/update_repository_details.py +2 -2
  134. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  135. oci/dns/dns_client.py +52 -52
  136. oci/dts/appliance_export_job_client.py +6 -6
  137. oci/dts/shipping_vendors_client.py +1 -1
  138. oci/dts/transfer_appliance_client.py +8 -8
  139. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  140. oci/dts/transfer_device_client.py +5 -5
  141. oci/dts/transfer_job_client.py +6 -6
  142. oci/dts/transfer_package_client.py +7 -7
  143. oci/em_warehouse/em_data_lake_client.py +13 -13
  144. oci/em_warehouse/em_warehouse_client.py +13 -13
  145. oci/email/email_client.py +135 -41
  146. oci/email/models/__init__.py +2 -0
  147. oci/email/models/configuration.py +138 -0
  148. oci/email/models/create_dkim_details.py +4 -4
  149. oci/email/models/create_email_domain_details.py +6 -2
  150. oci/email/models/dkim.py +8 -8
  151. oci/email/models/dkim_collection.py +1 -1
  152. oci/email/models/email_domain.py +6 -6
  153. oci/email/models/email_domain_collection.py +1 -1
  154. oci/email/models/email_domain_summary.py +6 -6
  155. oci/email/models/sender.py +41 -4
  156. oci/email/models/sender_summary.py +41 -28
  157. oci/email/models/suppression.py +12 -4
  158. oci/email/models/suppression_summary.py +6 -2
  159. oci/email/models/work_request.py +13 -5
  160. oci/email/models/work_request_error.py +8 -6
  161. oci/email/models/work_request_resource.py +7 -3
  162. oci/email/models/work_request_summary.py +13 -5
  163. oci/email_data_plane/__init__.py +14 -0
  164. oci/email_data_plane/email_dp_client.py +206 -0
  165. oci/email_data_plane/email_dp_client_composite_operations.py +26 -0
  166. oci/email_data_plane/models/__init__.py +22 -0
  167. oci/email_data_plane/models/email_address.py +107 -0
  168. oci/email_data_plane/models/email_submitted_response.py +136 -0
  169. oci/email_data_plane/models/recipients.py +135 -0
  170. oci/email_data_plane/models/sender.py +103 -0
  171. oci/email_data_plane/models/submit_email_details.py +297 -0
  172. oci/events/events_client.py +6 -6
  173. oci/file_storage/file_storage_client.py +50 -50
  174. oci/fleet_software_update/fleet_software_update_client.py +44 -44
  175. oci/functions/functions_invoke_client.py +1 -1
  176. oci/functions/functions_management_client.py +16 -16
  177. oci/fusion_apps/data_masking_activity_client.py +3 -3
  178. oci/fusion_apps/fusion_applications_client.py +39 -39
  179. oci/fusion_apps/fusion_environment_client.py +15 -15
  180. oci/fusion_apps/fusion_environment_family_client.py +8 -8
  181. oci/fusion_apps/refresh_activity_client.py +4 -4
  182. oci/fusion_apps/scheduled_activity_client.py +2 -2
  183. oci/fusion_apps/service_attachment_client.py +2 -2
  184. oci/generative_ai/generative_ai_client.py +22 -22
  185. oci/generative_ai_inference/generative_ai_inference_client.py +3 -3
  186. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  187. oci/globally_distributed_database/sharded_database_service_client.py +29 -29
  188. oci/golden_gate/golden_gate_client.py +61 -61
  189. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  190. oci/governance_rules_control_plane/work_request_client.py +5 -5
  191. oci/healthchecks/health_checks_client.py +17 -17
  192. oci/identity/identity_client.py +145 -145
  193. oci/identity_data_plane/dataplane_client.py +2 -2
  194. oci/identity_domains/identity_domains_client.py +300 -300
  195. oci/integration/integration_instance_client.py +15 -15
  196. oci/jms/java_management_service_client.py +66 -66
  197. oci/jms_java_downloads/java_download_client.py +25 -25
  198. oci/key_management/ekm_client.py +5 -5
  199. oci/key_management/kms_crypto_client.py +6 -6
  200. oci/key_management/kms_hsm_cluster_client.py +12 -12
  201. oci/key_management/kms_management_client.py +21 -21
  202. oci/key_management/kms_vault_client.py +14 -14
  203. oci/license_manager/license_manager_client.py +18 -18
  204. oci/limits/limits_client.py +4 -4
  205. oci/limits/quotas_client.py +7 -7
  206. oci/load_balancer/load_balancer_client.py +61 -61
  207. oci/load_balancer/models/create_ssl_cipher_suite_details.py +102 -0
  208. oci/load_balancer/models/ssl_cipher_suite.py +102 -0
  209. oci/load_balancer/models/ssl_cipher_suite_details.py +102 -0
  210. oci/load_balancer/models/ssl_configuration.py +2 -0
  211. oci/load_balancer/models/ssl_configuration_details.py +2 -0
  212. oci/load_balancer/models/update_ssl_cipher_suite_details.py +16 -0
  213. oci/lockbox/lockbox_client.py +23 -23
  214. oci/log_analytics/log_analytics_client.py +193 -193
  215. oci/logging/logging_management_client.py +30 -30
  216. oci/logging/models/__init__.py +52 -0
  217. oci/logging/models/create_unified_agent_configuration_details.py +2 -2
  218. oci/logging/models/grep_filter_allow_rule.py +103 -0
  219. oci/logging/models/grep_filter_deny_rule.py +103 -0
  220. oci/logging/models/operational_metrics_source.py +1 -1
  221. oci/logging/models/record_transformer_pair.py +103 -0
  222. oci/logging/models/unified_agent_apache2_parser.py +1 -1
  223. oci/logging/models/unified_agent_apache_error_parser.py +1 -1
  224. oci/logging/models/unified_agent_auditd_parser.py +1 -1
  225. oci/logging/models/unified_agent_configuration_summary.py +7 -3
  226. oci/logging/models/unified_agent_cri_parser.py +1 -1
  227. oci/logging/models/unified_agent_csv_parser.py +1 -1
  228. oci/logging/models/unified_agent_custom_filter.py +151 -0
  229. oci/logging/models/unified_agent_custom_plugin_log_source.py +89 -0
  230. oci/logging/models/unified_agent_custom_section.py +103 -0
  231. oci/logging/models/unified_agent_grok_parser.py +1 -1
  232. oci/logging/models/unified_agent_kubernetes_configuration_details.py +132 -0
  233. oci/logging/models/unified_agent_kubernetes_filter.py +121 -0
  234. oci/logging/models/unified_agent_kubernetes_scrape_target.py +189 -0
  235. oci/logging/models/unified_agent_kubernetes_source.py +103 -0
  236. oci/logging/models/unified_agent_logging_configuration.py +32 -1
  237. oci/logging/models/unified_agent_logging_filter.py +156 -0
  238. oci/logging/models/unified_agent_logging_grep_filter.py +121 -0
  239. oci/logging/models/unified_agent_logging_record_transformer_filter.py +276 -0
  240. oci/logging/models/unified_agent_logging_source.py +11 -3
  241. oci/logging/models/unified_agent_monitoring_application_configuration_details.py +117 -0
  242. oci/logging/models/unified_agent_monitoring_configuration_details.py +82 -0
  243. oci/logging/models/unified_agent_monitoring_destination.py +103 -0
  244. oci/logging/models/unified_agent_monitoring_filter.py +140 -0
  245. oci/logging/models/unified_agent_monitoring_url_source.py +103 -0
  246. oci/logging/models/unified_agent_msgpack_parser.py +1 -1
  247. oci/logging/models/unified_agent_multiline_grok_parser.py +1 -1
  248. oci/logging/models/unified_agent_multiline_parser.py +1 -1
  249. oci/logging/models/unified_agent_none_parser.py +1 -1
  250. oci/logging/models/unified_agent_openmetrics_parser.py +127 -0
  251. oci/logging/models/unified_agent_openmetrics_parser_record.py +134 -0
  252. oci/logging/models/unified_agent_openmetrics_tail_configuration_details.py +109 -0
  253. oci/logging/models/unified_agent_parser.py +11 -3
  254. oci/logging/models/unified_agent_parser_filter.py +338 -0
  255. oci/logging/models/unified_agent_regex_parser.py +1 -1
  256. oci/logging/models/unified_agent_service_configuration_details.py +11 -3
  257. oci/logging/models/unified_agent_syslog_parser.py +1 -1
  258. oci/logging/models/unified_agent_tail_log_source.py +30 -3
  259. oci/logging/models/unified_agent_tail_source_advanced_options.py +72 -0
  260. oci/logging/models/unified_agent_tsv_parser.py +1 -1
  261. oci/logging/models/unified_agent_url_configuration_details.py +132 -0
  262. oci/logging/models/unified_agent_url_filter.py +120 -0
  263. oci/logging/models/unified_agent_url_scrape_target.py +103 -0
  264. oci/logging/models/unified_agent_windows_event_source.py +1 -1
  265. oci/logging/models/unified_json_parser.py +65 -3
  266. oci/loggingingestion/logging_client.py +1 -1
  267. oci/loggingsearch/log_search_client.py +1 -1
  268. oci/management_agent/management_agent_client.py +28 -28
  269. oci/management_dashboard/dashx_apis_client.py +14 -14
  270. oci/marketplace/account_client.py +2 -2
  271. oci/marketplace/marketplace_client.py +30 -30
  272. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  273. oci/media_services/media_services_client.py +60 -60
  274. oci/media_services/media_stream_client.py +2 -2
  275. oci/monitoring/models/__init__.py +2 -0
  276. oci/monitoring/models/alarm.py +107 -0
  277. oci/monitoring/models/alarm_dimension_states_entry.py +35 -0
  278. oci/monitoring/models/alarm_override.py +304 -0
  279. oci/monitoring/models/alarm_status_summary.py +35 -0
  280. oci/monitoring/models/alarm_summary.py +109 -2
  281. oci/monitoring/models/create_alarm_details.py +109 -2
  282. oci/monitoring/models/update_alarm_details.py +109 -2
  283. oci/monitoring/monitoring_client.py +23 -22
  284. oci/mysql/channels_client.py +7 -7
  285. oci/mysql/db_backups_client.py +6 -6
  286. oci/mysql/db_system_client.py +17 -17
  287. oci/mysql/mysqlaas_client.py +7 -7
  288. oci/mysql/replicas_client.py +5 -5
  289. oci/mysql/work_requests_client.py +4 -4
  290. oci/network_firewall/network_firewall_client.py +80 -80
  291. oci/network_load_balancer/models/backend.py +3 -3
  292. oci/network_load_balancer/models/backend_details.py +2 -2
  293. oci/network_load_balancer/models/backend_set.py +1 -1
  294. oci/network_load_balancer/models/backend_set_details.py +1 -1
  295. oci/network_load_balancer/models/backend_set_summary.py +1 -1
  296. oci/network_load_balancer/models/backend_summary.py +3 -3
  297. oci/network_load_balancer/models/create_backend_details.py +3 -3
  298. oci/network_load_balancer/models/create_backend_set_details.py +1 -1
  299. oci/network_load_balancer/models/create_listener_details.py +7 -9
  300. oci/network_load_balancer/models/create_network_load_balancer_details.py +144 -6
  301. oci/network_load_balancer/models/health_checker.py +1 -1
  302. oci/network_load_balancer/models/health_checker_details.py +1 -1
  303. oci/network_load_balancer/models/listener.py +6 -8
  304. oci/network_load_balancer/models/listener_details.py +6 -8
  305. oci/network_load_balancer/models/listener_summary.py +6 -8
  306. oci/network_load_balancer/models/network_load_balancer.py +43 -6
  307. oci/network_load_balancer/models/network_load_balancer_summary.py +42 -5
  308. oci/network_load_balancer/models/update_backend_details.py +4 -4
  309. oci/network_load_balancer/models/update_backend_set_details.py +1 -1
  310. oci/network_load_balancer/models/update_listener_details.py +5 -7
  311. oci/network_load_balancer/models/update_network_load_balancer_details.py +106 -3
  312. oci/network_load_balancer/models/work_request.py +7 -3
  313. oci/network_load_balancer/models/work_request_summary.py +7 -3
  314. oci/network_load_balancer/network_load_balancer_client.py +136 -68
  315. oci/nosql/nosql_client.py +24 -24
  316. oci/object_storage/object_storage_client.py +50 -50
  317. oci/oce/oce_instance_client.py +10 -10
  318. oci/oci_control_center/occ_metrics_client.py +3 -3
  319. oci/ocvp/cluster_client.py +5 -5
  320. oci/ocvp/esxi_host_client.py +8 -8
  321. oci/ocvp/sddc_client.py +14 -14
  322. oci/ocvp/work_request_client.py +4 -4
  323. oci/oda/management_client.py +59 -59
  324. oci/oda/oda_client.py +17 -17
  325. oci/oda/odapackage_client.py +7 -7
  326. oci/onesubscription/billing_schedule_client.py +1 -1
  327. oci/onesubscription/commitment_client.py +2 -2
  328. oci/onesubscription/computed_usage_client.py +3 -3
  329. oci/onesubscription/invoice_summary_client.py +2 -2
  330. oci/onesubscription/organization_subscription_client.py +1 -1
  331. oci/onesubscription/ratecard_client.py +1 -1
  332. oci/onesubscription/subscribed_service_client.py +2 -2
  333. oci/onesubscription/subscription_client.py +1 -1
  334. oci/ons/notification_control_plane_client.py +6 -6
  335. oci/ons/notification_data_plane_client.py +10 -10
  336. oci/opa/opa_instance_client.py +11 -11
  337. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  338. oci/opensearch/opensearch_cluster_client.py +14 -14
  339. oci/operator_access_control/access_requests_client.py +10 -10
  340. oci/operator_access_control/operator_actions_client.py +2 -2
  341. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  342. oci/operator_access_control/operator_control_client.py +6 -6
  343. oci/opsi/operations_insights_client.py +350 -350
  344. oci/optimizer/optimizer_client.py +26 -26
  345. oci/os_management/event_client.py +8 -8
  346. oci/os_management/os_management_client.py +69 -69
  347. oci/os_management_hub/lifecycle_environment_client.py +11 -11
  348. oci/os_management_hub/managed_instance_client.py +22 -22
  349. oci/os_management_hub/managed_instance_group_client.py +22 -22
  350. oci/os_management_hub/management_station_client.py +8 -8
  351. oci/os_management_hub/onboarding_client.py +5 -5
  352. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  353. oci/os_management_hub/scheduled_job_client.py +6 -6
  354. oci/os_management_hub/software_source_client.py +22 -22
  355. oci/os_management_hub/work_request_client.py +4 -4
  356. oci/osp_gateway/address_rule_service_client.py +1 -1
  357. oci/osp_gateway/address_service_client.py +2 -2
  358. oci/osp_gateway/invoice_service_client.py +5 -5
  359. oci/osp_gateway/subscription_service_client.py +5 -5
  360. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  361. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  362. oci/osub_subscription/commitment_client.py +2 -2
  363. oci/osub_subscription/ratecard_client.py +1 -1
  364. oci/osub_subscription/subscription_client.py +1 -1
  365. oci/osub_usage/computed_usage_client.py +3 -3
  366. oci/psql/postgresql_client.py +33 -33
  367. oci/queue/queue_admin_client.py +11 -11
  368. oci/queue/queue_client.py +8 -8
  369. oci/recovery/database_recovery_client.py +23 -23
  370. oci/redis/redis_cluster_client.py +11 -11
  371. oci/resource_manager/resource_manager_client.py +52 -52
  372. oci/resource_search/resource_search_client.py +3 -3
  373. oci/rover/rover_bundle_client.py +8 -8
  374. oci/rover/rover_cluster_client.py +8 -8
  375. oci/rover/rover_entitlement_client.py +6 -6
  376. oci/rover/rover_node_client.py +15 -15
  377. oci/rover/shape_client.py +1 -1
  378. oci/rover/work_requests_client.py +5 -5
  379. oci/sch/connector_plugins_client.py +2 -2
  380. oci/sch/service_connector_client.py +12 -12
  381. oci/secrets/secrets_client.py +3 -3
  382. oci/service_catalog/service_catalog_client.py +26 -26
  383. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  384. oci/service_mesh/service_mesh_client.py +48 -48
  385. oci/stack_monitoring/stack_monitoring_client.py +64 -64
  386. oci/streaming/stream_admin_client.py +18 -18
  387. oci/streaming/stream_client.py +8 -8
  388. oci/tenant_manager_control_plane/domain_client.py +5 -5
  389. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  390. oci/tenant_manager_control_plane/governance_client.py +2 -2
  391. oci/tenant_manager_control_plane/link_client.py +3 -3
  392. oci/tenant_manager_control_plane/orders_client.py +2 -2
  393. oci/tenant_manager_control_plane/organization_client.py +10 -10
  394. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  395. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  396. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  397. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  398. oci/threat_intelligence/threatintel_client.py +5 -5
  399. oci/usage/resources_client.py +2 -2
  400. oci/usage/rewards_client.py +6 -6
  401. oci/usage/usagelimits_client.py +1 -1
  402. oci/usage_api/usageapi_client.py +28 -28
  403. oci/vault/vaults_client.py +13 -13
  404. oci/vbs_inst/vbs_instance_client.py +10 -10
  405. oci/version.py +1 -1
  406. oci/visual_builder/vb_instance_client.py +13 -13
  407. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  408. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  409. oci/waa/waa_client.py +13 -13
  410. oci/waa/work_request_client.py +4 -4
  411. oci/waas/redirect_client.py +6 -6
  412. oci/waas/waas_client.py +66 -66
  413. oci/waf/waf_client.py +24 -24
  414. oci/work_requests/work_request_client.py +4 -4
  415. {oci-2.124.2.dist-info → oci-2.125.1.dist-info}/METADATA +1 -1
  416. {oci-2.124.2.dist-info → oci-2.125.1.dist-info}/RECORD +420 -375
  417. {oci-2.124.2.dist-info → oci-2.125.1.dist-info}/LICENSE.txt +0 -0
  418. {oci-2.124.2.dist-info → oci-2.125.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  419. {oci-2.124.2.dist-info → oci-2.125.1.dist-info}/WHEEL +0 -0
  420. {oci-2.124.2.dist-info → oci-2.125.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,121 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2024, 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: 20200531
6
+
7
+ from .unified_agent_logging_filter import UnifiedAgentLoggingFilter
8
+ from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
9
+ from oci.decorators import init_model_state_from_kwargs
10
+
11
+
12
+ @init_model_state_from_kwargs
13
+ class UnifiedAgentLoggingGrepFilter(UnifiedAgentLoggingFilter):
14
+ """
15
+ Logging grep filter object greps events by the values of specified fields.
16
+ Ref: https://docs.fluentd.org/filter/grep
17
+ """
18
+
19
+ def __init__(self, **kwargs):
20
+ """
21
+ Initializes a new UnifiedAgentLoggingGrepFilter object with values from keyword arguments. The default value of the :py:attr:`~oci.logging.models.UnifiedAgentLoggingGrepFilter.filter_type` attribute
22
+ of this class is ``GREP_FILTER`` and it should not be changed.
23
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
24
+
25
+ :param name:
26
+ The value to assign to the name property of this UnifiedAgentLoggingGrepFilter.
27
+ :type name: str
28
+
29
+ :param filter_type:
30
+ The value to assign to the filter_type property of this UnifiedAgentLoggingGrepFilter.
31
+ Allowed values for this property are: "PARSER_FILTER", "GREP_FILTER", "RECORD_TRANSFORMER_FILTER", "CUSTOM_FILTER"
32
+ :type filter_type: str
33
+
34
+ :param allow_list:
35
+ The value to assign to the allow_list property of this UnifiedAgentLoggingGrepFilter.
36
+ :type allow_list: list[oci.logging.models.GrepFilterAllowRule]
37
+
38
+ :param deny_list:
39
+ The value to assign to the deny_list property of this UnifiedAgentLoggingGrepFilter.
40
+ :type deny_list: list[oci.logging.models.GrepFilterDenyRule]
41
+
42
+ """
43
+ self.swagger_types = {
44
+ 'name': 'str',
45
+ 'filter_type': 'str',
46
+ 'allow_list': 'list[GrepFilterAllowRule]',
47
+ 'deny_list': 'list[GrepFilterDenyRule]'
48
+ }
49
+
50
+ self.attribute_map = {
51
+ 'name': 'name',
52
+ 'filter_type': 'filterType',
53
+ 'allow_list': 'allowList',
54
+ 'deny_list': 'denyList'
55
+ }
56
+
57
+ self._name = None
58
+ self._filter_type = None
59
+ self._allow_list = None
60
+ self._deny_list = None
61
+ self._filter_type = 'GREP_FILTER'
62
+
63
+ @property
64
+ def allow_list(self):
65
+ """
66
+ Gets the allow_list of this UnifiedAgentLoggingGrepFilter.
67
+ A list of filtering rules to include logs
68
+
69
+
70
+ :return: The allow_list of this UnifiedAgentLoggingGrepFilter.
71
+ :rtype: list[oci.logging.models.GrepFilterAllowRule]
72
+ """
73
+ return self._allow_list
74
+
75
+ @allow_list.setter
76
+ def allow_list(self, allow_list):
77
+ """
78
+ Sets the allow_list of this UnifiedAgentLoggingGrepFilter.
79
+ A list of filtering rules to include logs
80
+
81
+
82
+ :param allow_list: The allow_list of this UnifiedAgentLoggingGrepFilter.
83
+ :type: list[oci.logging.models.GrepFilterAllowRule]
84
+ """
85
+ self._allow_list = allow_list
86
+
87
+ @property
88
+ def deny_list(self):
89
+ """
90
+ Gets the deny_list of this UnifiedAgentLoggingGrepFilter.
91
+ A list of filtering rules to reject logs
92
+
93
+
94
+ :return: The deny_list of this UnifiedAgentLoggingGrepFilter.
95
+ :rtype: list[oci.logging.models.GrepFilterDenyRule]
96
+ """
97
+ return self._deny_list
98
+
99
+ @deny_list.setter
100
+ def deny_list(self, deny_list):
101
+ """
102
+ Sets the deny_list of this UnifiedAgentLoggingGrepFilter.
103
+ A list of filtering rules to reject logs
104
+
105
+
106
+ :param deny_list: The deny_list of this UnifiedAgentLoggingGrepFilter.
107
+ :type: list[oci.logging.models.GrepFilterDenyRule]
108
+ """
109
+ self._deny_list = deny_list
110
+
111
+ def __repr__(self):
112
+ return formatted_flat_dict(self)
113
+
114
+ def __eq__(self, other):
115
+ if other is None:
116
+ return False
117
+
118
+ return self.__dict__ == other.__dict__
119
+
120
+ def __ne__(self, other):
121
+ return not self == other
@@ -0,0 +1,276 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2024, 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: 20200531
6
+
7
+ from .unified_agent_logging_filter import UnifiedAgentLoggingFilter
8
+ from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
9
+ from oci.decorators import init_model_state_from_kwargs
10
+
11
+
12
+ @init_model_state_from_kwargs
13
+ class UnifiedAgentLoggingRecordTransformerFilter(UnifiedAgentLoggingFilter):
14
+ """
15
+ Logging record transformer filter object mutates/transforms logs.
16
+ Ref: https://docs.fluentd.org/filter/record_transformer
17
+ """
18
+
19
+ def __init__(self, **kwargs):
20
+ """
21
+ Initializes a new UnifiedAgentLoggingRecordTransformerFilter object with values from keyword arguments. The default value of the :py:attr:`~oci.logging.models.UnifiedAgentLoggingRecordTransformerFilter.filter_type` attribute
22
+ of this class is ``RECORD_TRANSFORMER_FILTER`` and it should not be changed.
23
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
24
+
25
+ :param name:
26
+ The value to assign to the name property of this UnifiedAgentLoggingRecordTransformerFilter.
27
+ :type name: str
28
+
29
+ :param filter_type:
30
+ The value to assign to the filter_type property of this UnifiedAgentLoggingRecordTransformerFilter.
31
+ Allowed values for this property are: "PARSER_FILTER", "GREP_FILTER", "RECORD_TRANSFORMER_FILTER", "CUSTOM_FILTER"
32
+ :type filter_type: str
33
+
34
+ :param record_list:
35
+ The value to assign to the record_list property of this UnifiedAgentLoggingRecordTransformerFilter.
36
+ :type record_list: list[oci.logging.models.RecordTransformerPair]
37
+
38
+ :param is_ruby_enabled:
39
+ The value to assign to the is_ruby_enabled property of this UnifiedAgentLoggingRecordTransformerFilter.
40
+ :type is_ruby_enabled: bool
41
+
42
+ :param is_auto_typecast_enabled:
43
+ The value to assign to the is_auto_typecast_enabled property of this UnifiedAgentLoggingRecordTransformerFilter.
44
+ :type is_auto_typecast_enabled: bool
45
+
46
+ :param is_renew_record_enabled:
47
+ The value to assign to the is_renew_record_enabled property of this UnifiedAgentLoggingRecordTransformerFilter.
48
+ :type is_renew_record_enabled: bool
49
+
50
+ :param renew_time_key:
51
+ The value to assign to the renew_time_key property of this UnifiedAgentLoggingRecordTransformerFilter.
52
+ :type renew_time_key: str
53
+
54
+ :param keep_keys:
55
+ The value to assign to the keep_keys property of this UnifiedAgentLoggingRecordTransformerFilter.
56
+ :type keep_keys: list[str]
57
+
58
+ :param remove_keys:
59
+ The value to assign to the remove_keys property of this UnifiedAgentLoggingRecordTransformerFilter.
60
+ :type remove_keys: list[str]
61
+
62
+ """
63
+ self.swagger_types = {
64
+ 'name': 'str',
65
+ 'filter_type': 'str',
66
+ 'record_list': 'list[RecordTransformerPair]',
67
+ 'is_ruby_enabled': 'bool',
68
+ 'is_auto_typecast_enabled': 'bool',
69
+ 'is_renew_record_enabled': 'bool',
70
+ 'renew_time_key': 'str',
71
+ 'keep_keys': 'list[str]',
72
+ 'remove_keys': 'list[str]'
73
+ }
74
+
75
+ self.attribute_map = {
76
+ 'name': 'name',
77
+ 'filter_type': 'filterType',
78
+ 'record_list': 'recordList',
79
+ 'is_ruby_enabled': 'isRubyEnabled',
80
+ 'is_auto_typecast_enabled': 'isAutoTypecastEnabled',
81
+ 'is_renew_record_enabled': 'isRenewRecordEnabled',
82
+ 'renew_time_key': 'renewTimeKey',
83
+ 'keep_keys': 'keepKeys',
84
+ 'remove_keys': 'removeKeys'
85
+ }
86
+
87
+ self._name = None
88
+ self._filter_type = None
89
+ self._record_list = None
90
+ self._is_ruby_enabled = None
91
+ self._is_auto_typecast_enabled = None
92
+ self._is_renew_record_enabled = None
93
+ self._renew_time_key = None
94
+ self._keep_keys = None
95
+ self._remove_keys = None
96
+ self._filter_type = 'RECORD_TRANSFORMER_FILTER'
97
+
98
+ @property
99
+ def record_list(self):
100
+ """
101
+ **[Required]** Gets the record_list of this UnifiedAgentLoggingRecordTransformerFilter.
102
+ Add new key-value pairs in logs
103
+
104
+
105
+ :return: The record_list of this UnifiedAgentLoggingRecordTransformerFilter.
106
+ :rtype: list[oci.logging.models.RecordTransformerPair]
107
+ """
108
+ return self._record_list
109
+
110
+ @record_list.setter
111
+ def record_list(self, record_list):
112
+ """
113
+ Sets the record_list of this UnifiedAgentLoggingRecordTransformerFilter.
114
+ Add new key-value pairs in logs
115
+
116
+
117
+ :param record_list: The record_list of this UnifiedAgentLoggingRecordTransformerFilter.
118
+ :type: list[oci.logging.models.RecordTransformerPair]
119
+ """
120
+ self._record_list = record_list
121
+
122
+ @property
123
+ def is_ruby_enabled(self):
124
+ """
125
+ Gets the is_ruby_enabled of this UnifiedAgentLoggingRecordTransformerFilter.
126
+ When set to true, the full Ruby syntax is enabled in the ${} expression.
127
+
128
+
129
+ :return: The is_ruby_enabled of this UnifiedAgentLoggingRecordTransformerFilter.
130
+ :rtype: bool
131
+ """
132
+ return self._is_ruby_enabled
133
+
134
+ @is_ruby_enabled.setter
135
+ def is_ruby_enabled(self, is_ruby_enabled):
136
+ """
137
+ Sets the is_ruby_enabled of this UnifiedAgentLoggingRecordTransformerFilter.
138
+ When set to true, the full Ruby syntax is enabled in the ${} expression.
139
+
140
+
141
+ :param is_ruby_enabled: The is_ruby_enabled of this UnifiedAgentLoggingRecordTransformerFilter.
142
+ :type: bool
143
+ """
144
+ self._is_ruby_enabled = is_ruby_enabled
145
+
146
+ @property
147
+ def is_auto_typecast_enabled(self):
148
+ """
149
+ Gets the is_auto_typecast_enabled of this UnifiedAgentLoggingRecordTransformerFilter.
150
+ If true, automatically casts the field types.
151
+
152
+
153
+ :return: The is_auto_typecast_enabled of this UnifiedAgentLoggingRecordTransformerFilter.
154
+ :rtype: bool
155
+ """
156
+ return self._is_auto_typecast_enabled
157
+
158
+ @is_auto_typecast_enabled.setter
159
+ def is_auto_typecast_enabled(self, is_auto_typecast_enabled):
160
+ """
161
+ Sets the is_auto_typecast_enabled of this UnifiedAgentLoggingRecordTransformerFilter.
162
+ If true, automatically casts the field types.
163
+
164
+
165
+ :param is_auto_typecast_enabled: The is_auto_typecast_enabled of this UnifiedAgentLoggingRecordTransformerFilter.
166
+ :type: bool
167
+ """
168
+ self._is_auto_typecast_enabled = is_auto_typecast_enabled
169
+
170
+ @property
171
+ def is_renew_record_enabled(self):
172
+ """
173
+ Gets the is_renew_record_enabled of this UnifiedAgentLoggingRecordTransformerFilter.
174
+ If true, it modifies a new empty hash
175
+
176
+
177
+ :return: The is_renew_record_enabled of this UnifiedAgentLoggingRecordTransformerFilter.
178
+ :rtype: bool
179
+ """
180
+ return self._is_renew_record_enabled
181
+
182
+ @is_renew_record_enabled.setter
183
+ def is_renew_record_enabled(self, is_renew_record_enabled):
184
+ """
185
+ Sets the is_renew_record_enabled of this UnifiedAgentLoggingRecordTransformerFilter.
186
+ If true, it modifies a new empty hash
187
+
188
+
189
+ :param is_renew_record_enabled: The is_renew_record_enabled of this UnifiedAgentLoggingRecordTransformerFilter.
190
+ :type: bool
191
+ """
192
+ self._is_renew_record_enabled = is_renew_record_enabled
193
+
194
+ @property
195
+ def renew_time_key(self):
196
+ """
197
+ Gets the renew_time_key of this UnifiedAgentLoggingRecordTransformerFilter.
198
+ Overwrites the time of logs with this value, this value must be a Unix timestamp.
199
+
200
+
201
+ :return: The renew_time_key of this UnifiedAgentLoggingRecordTransformerFilter.
202
+ :rtype: str
203
+ """
204
+ return self._renew_time_key
205
+
206
+ @renew_time_key.setter
207
+ def renew_time_key(self, renew_time_key):
208
+ """
209
+ Sets the renew_time_key of this UnifiedAgentLoggingRecordTransformerFilter.
210
+ Overwrites the time of logs with this value, this value must be a Unix timestamp.
211
+
212
+
213
+ :param renew_time_key: The renew_time_key of this UnifiedAgentLoggingRecordTransformerFilter.
214
+ :type: str
215
+ """
216
+ self._renew_time_key = renew_time_key
217
+
218
+ @property
219
+ def keep_keys(self):
220
+ """
221
+ Gets the keep_keys of this UnifiedAgentLoggingRecordTransformerFilter.
222
+ A list of keys to keep. Only relevant if isRenewRecordEnabled is set to true
223
+
224
+
225
+ :return: The keep_keys of this UnifiedAgentLoggingRecordTransformerFilter.
226
+ :rtype: list[str]
227
+ """
228
+ return self._keep_keys
229
+
230
+ @keep_keys.setter
231
+ def keep_keys(self, keep_keys):
232
+ """
233
+ Sets the keep_keys of this UnifiedAgentLoggingRecordTransformerFilter.
234
+ A list of keys to keep. Only relevant if isRenewRecordEnabled is set to true
235
+
236
+
237
+ :param keep_keys: The keep_keys of this UnifiedAgentLoggingRecordTransformerFilter.
238
+ :type: list[str]
239
+ """
240
+ self._keep_keys = keep_keys
241
+
242
+ @property
243
+ def remove_keys(self):
244
+ """
245
+ Gets the remove_keys of this UnifiedAgentLoggingRecordTransformerFilter.
246
+ A list of keys to delete
247
+
248
+
249
+ :return: The remove_keys of this UnifiedAgentLoggingRecordTransformerFilter.
250
+ :rtype: list[str]
251
+ """
252
+ return self._remove_keys
253
+
254
+ @remove_keys.setter
255
+ def remove_keys(self, remove_keys):
256
+ """
257
+ Sets the remove_keys of this UnifiedAgentLoggingRecordTransformerFilter.
258
+ A list of keys to delete
259
+
260
+
261
+ :param remove_keys: The remove_keys of this UnifiedAgentLoggingRecordTransformerFilter.
262
+ :type: list[str]
263
+ """
264
+ self._remove_keys = remove_keys
265
+
266
+ def __repr__(self):
267
+ return formatted_flat_dict(self)
268
+
269
+ def __eq__(self, other):
270
+ if other is None:
271
+ return False
272
+
273
+ return self.__dict__ == other.__dict__
274
+
275
+ def __ne__(self, other):
276
+ return not self == other
@@ -23,11 +23,16 @@ class UnifiedAgentLoggingSource(object):
23
23
  #: This constant has a value of "WINDOWS_EVENT_LOG"
24
24
  SOURCE_TYPE_WINDOWS_EVENT_LOG = "WINDOWS_EVENT_LOG"
25
25
 
26
+ #: A constant which can be used with the source_type property of a UnifiedAgentLoggingSource.
27
+ #: This constant has a value of "CUSTOM_PLUGIN"
28
+ SOURCE_TYPE_CUSTOM_PLUGIN = "CUSTOM_PLUGIN"
29
+
26
30
  def __init__(self, **kwargs):
27
31
  """
28
32
  Initializes a new UnifiedAgentLoggingSource object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
29
33
  to a service operations then you should favor using a subclass over the base class:
30
34
 
35
+ * :class:`~oci.logging.models.UnifiedAgentCustomPluginLogSource`
31
36
  * :class:`~oci.logging.models.UnifiedAgentWindowsEventSource`
32
37
  * :class:`~oci.logging.models.UnifiedAgentTailLogSource`
33
38
 
@@ -39,7 +44,7 @@ class UnifiedAgentLoggingSource(object):
39
44
 
40
45
  :param source_type:
41
46
  The value to assign to the source_type property of this UnifiedAgentLoggingSource.
42
- Allowed values for this property are: "LOG_TAIL", "WINDOWS_EVENT_LOG", 'UNKNOWN_ENUM_VALUE'.
47
+ Allowed values for this property are: "LOG_TAIL", "WINDOWS_EVENT_LOG", "CUSTOM_PLUGIN", 'UNKNOWN_ENUM_VALUE'.
43
48
  Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
44
49
  :type source_type: str
45
50
 
@@ -65,6 +70,9 @@ class UnifiedAgentLoggingSource(object):
65
70
  """
66
71
  type = object_dictionary['sourceType']
67
72
 
73
+ if type == 'CUSTOM_PLUGIN':
74
+ return 'UnifiedAgentCustomPluginLogSource'
75
+
68
76
  if type == 'WINDOWS_EVENT_LOG':
69
77
  return 'UnifiedAgentWindowsEventSource'
70
78
 
@@ -103,7 +111,7 @@ class UnifiedAgentLoggingSource(object):
103
111
  **[Required]** Gets the source_type of this UnifiedAgentLoggingSource.
104
112
  Unified schema logging source type.
105
113
 
106
- Allowed values for this property are: "LOG_TAIL", "WINDOWS_EVENT_LOG", 'UNKNOWN_ENUM_VALUE'.
114
+ Allowed values for this property are: "LOG_TAIL", "WINDOWS_EVENT_LOG", "CUSTOM_PLUGIN", 'UNKNOWN_ENUM_VALUE'.
107
115
  Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
108
116
 
109
117
 
@@ -122,7 +130,7 @@ class UnifiedAgentLoggingSource(object):
122
130
  :param source_type: The source_type of this UnifiedAgentLoggingSource.
123
131
  :type: str
124
132
  """
125
- allowed_values = ["LOG_TAIL", "WINDOWS_EVENT_LOG"]
133
+ allowed_values = ["LOG_TAIL", "WINDOWS_EVENT_LOG", "CUSTOM_PLUGIN"]
126
134
  if not value_allowed_none_or_none_sentinel(source_type, allowed_values):
127
135
  source_type = 'UNKNOWN_ENUM_VALUE'
128
136
  self._source_type = source_type
@@ -0,0 +1,117 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2024, 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: 20200531
6
+
7
+
8
+ from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
9
+ from oci.decorators import init_model_state_from_kwargs
10
+
11
+
12
+ @init_model_state_from_kwargs
13
+ class UnifiedAgentMonitoringApplicationConfigurationDetails(object):
14
+ """
15
+ Unified Agent monitoing application configuration details
16
+ """
17
+
18
+ #: A constant which can be used with the source_type property of a UnifiedAgentMonitoringApplicationConfigurationDetails.
19
+ #: This constant has a value of "KUBERNETES"
20
+ SOURCE_TYPE_KUBERNETES = "KUBERNETES"
21
+
22
+ #: A constant which can be used with the source_type property of a UnifiedAgentMonitoringApplicationConfigurationDetails.
23
+ #: This constant has a value of "TAIL"
24
+ SOURCE_TYPE_TAIL = "TAIL"
25
+
26
+ #: A constant which can be used with the source_type property of a UnifiedAgentMonitoringApplicationConfigurationDetails.
27
+ #: This constant has a value of "URL"
28
+ SOURCE_TYPE_URL = "URL"
29
+
30
+ def __init__(self, **kwargs):
31
+ """
32
+ Initializes a new UnifiedAgentMonitoringApplicationConfigurationDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
33
+ to a service operations then you should favor using a subclass over the base class:
34
+
35
+ * :class:`~oci.logging.models.UnifiedAgentKubernetesConfigurationDetails`
36
+ * :class:`~oci.logging.models.UnifiedAgentUrlConfigurationDetails`
37
+ * :class:`~oci.logging.models.UnifiedAgentOpenmetricsTailConfigurationDetails`
38
+
39
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
40
+
41
+ :param source_type:
42
+ The value to assign to the source_type property of this UnifiedAgentMonitoringApplicationConfigurationDetails.
43
+ Allowed values for this property are: "KUBERNETES", "TAIL", "URL", 'UNKNOWN_ENUM_VALUE'.
44
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
45
+ :type source_type: str
46
+
47
+ """
48
+ self.swagger_types = {
49
+ 'source_type': 'str'
50
+ }
51
+
52
+ self.attribute_map = {
53
+ 'source_type': 'sourceType'
54
+ }
55
+
56
+ self._source_type = None
57
+
58
+ @staticmethod
59
+ def get_subtype(object_dictionary):
60
+ """
61
+ Given the hash representation of a subtype of this class,
62
+ use the info in the hash to return the class of the subtype.
63
+ """
64
+ type = object_dictionary['sourceType']
65
+
66
+ if type == 'KUBERNETES':
67
+ return 'UnifiedAgentKubernetesConfigurationDetails'
68
+
69
+ if type == 'URL':
70
+ return 'UnifiedAgentUrlConfigurationDetails'
71
+
72
+ if type == 'TAIL':
73
+ return 'UnifiedAgentOpenmetricsTailConfigurationDetails'
74
+ else:
75
+ return 'UnifiedAgentMonitoringApplicationConfigurationDetails'
76
+
77
+ @property
78
+ def source_type(self):
79
+ """
80
+ **[Required]** Gets the source_type of this UnifiedAgentMonitoringApplicationConfigurationDetails.
81
+ Type of source of metrics
82
+
83
+ Allowed values for this property are: "KUBERNETES", "TAIL", "URL", 'UNKNOWN_ENUM_VALUE'.
84
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
85
+
86
+
87
+ :return: The source_type of this UnifiedAgentMonitoringApplicationConfigurationDetails.
88
+ :rtype: str
89
+ """
90
+ return self._source_type
91
+
92
+ @source_type.setter
93
+ def source_type(self, source_type):
94
+ """
95
+ Sets the source_type of this UnifiedAgentMonitoringApplicationConfigurationDetails.
96
+ Type of source of metrics
97
+
98
+
99
+ :param source_type: The source_type of this UnifiedAgentMonitoringApplicationConfigurationDetails.
100
+ :type: str
101
+ """
102
+ allowed_values = ["KUBERNETES", "TAIL", "URL"]
103
+ if not value_allowed_none_or_none_sentinel(source_type, allowed_values):
104
+ source_type = 'UNKNOWN_ENUM_VALUE'
105
+ self._source_type = source_type
106
+
107
+ def __repr__(self):
108
+ return formatted_flat_dict(self)
109
+
110
+ def __eq__(self, other):
111
+ if other is None:
112
+ return False
113
+
114
+ return self.__dict__ == other.__dict__
115
+
116
+ def __ne__(self, other):
117
+ return not self == other
@@ -0,0 +1,82 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2024, 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: 20200531
6
+
7
+ from .unified_agent_service_configuration_details import UnifiedAgentServiceConfigurationDetails
8
+ from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
9
+ from oci.decorators import init_model_state_from_kwargs
10
+
11
+
12
+ @init_model_state_from_kwargs
13
+ class UnifiedAgentMonitoringConfigurationDetails(UnifiedAgentServiceConfigurationDetails):
14
+ """
15
+ Unified Agent monitoring service configuration object.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new UnifiedAgentMonitoringConfigurationDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.logging.models.UnifiedAgentMonitoringConfigurationDetails.configuration_type` attribute
21
+ of this class is ``MONITORING`` and it should not be changed.
22
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
23
+
24
+ :param configuration_type:
25
+ The value to assign to the configuration_type property of this UnifiedAgentMonitoringConfigurationDetails.
26
+ Allowed values for this property are: "LOGGING", "MONITORING"
27
+ :type configuration_type: str
28
+
29
+ :param application_configurations:
30
+ The value to assign to the application_configurations property of this UnifiedAgentMonitoringConfigurationDetails.
31
+ :type application_configurations: list[oci.logging.models.UnifiedAgentMonitoringApplicationConfigurationDetails]
32
+
33
+ """
34
+ self.swagger_types = {
35
+ 'configuration_type': 'str',
36
+ 'application_configurations': 'list[UnifiedAgentMonitoringApplicationConfigurationDetails]'
37
+ }
38
+
39
+ self.attribute_map = {
40
+ 'configuration_type': 'configurationType',
41
+ 'application_configurations': 'applicationConfigurations'
42
+ }
43
+
44
+ self._configuration_type = None
45
+ self._application_configurations = None
46
+ self._configuration_type = 'MONITORING'
47
+
48
+ @property
49
+ def application_configurations(self):
50
+ """
51
+ **[Required]** Gets the application_configurations of this UnifiedAgentMonitoringConfigurationDetails.
52
+ Unified Agent monitoring application configuration details.
53
+
54
+
55
+ :return: The application_configurations of this UnifiedAgentMonitoringConfigurationDetails.
56
+ :rtype: list[oci.logging.models.UnifiedAgentMonitoringApplicationConfigurationDetails]
57
+ """
58
+ return self._application_configurations
59
+
60
+ @application_configurations.setter
61
+ def application_configurations(self, application_configurations):
62
+ """
63
+ Sets the application_configurations of this UnifiedAgentMonitoringConfigurationDetails.
64
+ Unified Agent monitoring application configuration details.
65
+
66
+
67
+ :param application_configurations: The application_configurations of this UnifiedAgentMonitoringConfigurationDetails.
68
+ :type: list[oci.logging.models.UnifiedAgentMonitoringApplicationConfigurationDetails]
69
+ """
70
+ self._application_configurations = application_configurations
71
+
72
+ def __repr__(self):
73
+ return formatted_flat_dict(self)
74
+
75
+ def __eq__(self, other):
76
+ if other is None:
77
+ return False
78
+
79
+ return self.__dict__ == other.__dict__
80
+
81
+ def __ne__(self, other):
82
+ return not self == other