oci 2.150.2__py3-none-any.whl → 2.151.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (786) hide show
  1. oci/__init__.py +1 -1
  2. oci/access_governance_cp/access_governance_cp_client.py +8 -8
  3. oci/adm/application_dependency_management_client.py +36 -36
  4. oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
  5. oci/ai_document/ai_service_document_client.py +26 -26
  6. oci/ai_language/ai_service_language_client.py +44 -44
  7. oci/ai_speech/ai_service_speech_client.py +19 -19
  8. oci/ai_vision/ai_service_vision_client.py +28 -28
  9. oci/analytics/analytics_client.py +24 -24
  10. oci/announcements_service/announcement_client.py +5 -5
  11. oci/announcements_service/announcement_subscription_client.py +9 -9
  12. oci/announcements_service/announcements_preferences_client.py +4 -4
  13. oci/announcements_service/service_client.py +1 -1
  14. oci/apigateway/api_gateway_client.py +21 -21
  15. oci/apigateway/deployment_client.py +6 -6
  16. oci/apigateway/gateway_client.py +6 -6
  17. oci/apigateway/subscribers_client.py +6 -6
  18. oci/apigateway/usage_plans_client.py +6 -6
  19. oci/apigateway/work_requests_client.py +5 -5
  20. oci/apm_config/config_client.py +12 -12
  21. oci/apm_control_plane/apm_domain_client.py +14 -14
  22. oci/apm_synthetics/apm_synthetic_client.py +28 -28
  23. oci/apm_traces/attributes_client.py +8 -8
  24. oci/apm_traces/query_client.py +2 -2
  25. oci/apm_traces/trace_client.py +4 -4
  26. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  27. oci/artifacts/artifacts_client.py +32 -32
  28. oci/audit/audit_client.py +3 -3
  29. oci/autoscaling/auto_scaling_client.py +11 -11
  30. oci/bastion/bastion_client.py +15 -15
  31. oci/bds/bds_client.py +84 -84
  32. oci/blockchain/blockchain_platform_client.py +27 -27
  33. oci/budget/budget_client.py +10 -10
  34. oci/capacity_management/capacity_management_client.py +32 -32
  35. oci/certificates/certificates_client.py +5 -5
  36. oci/certificates_management/certificates_management_client.py +32 -32
  37. oci/cims/incident_client.py +6 -6
  38. oci/cloud_bridge/common_client.py +5 -5
  39. oci/cloud_bridge/discovery_client.py +15 -15
  40. oci/cloud_bridge/inventory_client.py +16 -16
  41. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  42. oci/cloud_guard/cloud_guard_client.py +155 -155
  43. oci/cloud_migrations/migration_client.py +43 -43
  44. oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
  45. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  46. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  47. oci/compute_instance_agent/plugin_client.py +2 -2
  48. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  49. oci/container_engine/container_engine_client.py +46 -46
  50. oci/container_instances/container_instance_client.py +18 -18
  51. oci/core/blockstorage_client.py +60 -60
  52. oci/core/compute_client.py +117 -117
  53. oci/core/compute_management_client.py +32 -32
  54. oci/core/virtual_network_client.py +258 -258
  55. oci/dashboard_service/dashboard_client.py +6 -6
  56. oci/dashboard_service/dashboard_group_client.py +6 -6
  57. oci/data_catalog/data_catalog_client.py +149 -149
  58. oci/data_flow/data_flow_client.py +45 -45
  59. oci/data_integration/data_integration_client.py +163 -163
  60. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  61. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  62. oci/data_safe/data_safe_client.py +317 -317
  63. oci/data_science/data_science_client.py +145 -145
  64. oci/database/database_client.py +606 -427
  65. oci/database/models/__init__.py +4 -0
  66. oci/database/models/system_version_minor_version_collection.py +70 -0
  67. oci/database/models/system_version_minor_version_summary.py +70 -0
  68. oci/database_management/db_management_client.py +228 -228
  69. oci/database_management/diagnosability_client.py +4 -4
  70. oci/database_management/managed_my_sql_databases_client.py +9 -9
  71. oci/database_management/perfhub_client.py +1 -1
  72. oci/database_management/sql_tuning_client.py +17 -17
  73. oci/database_migration/database_migration_client.py +42 -42
  74. oci/database_migration/models/migration.py +7 -3
  75. oci/database_migration/models/migration_job_progress_resource.py +7 -3
  76. oci/database_migration/models/migration_job_progress_summary.py +7 -3
  77. oci/database_migration/models/migration_phase_summary.py +7 -3
  78. oci/database_migration/models/my_sql_migration.py +1 -1
  79. oci/database_migration/models/oracle_migration.py +1 -1
  80. oci/database_migration/models/parameter_file_version.py +1 -1
  81. oci/database_migration/models/parameter_file_version_collection.py +3 -3
  82. oci/database_migration/models/parameter_file_version_summary.py +1 -1
  83. oci/database_migration/models/phase_status.py +7 -3
  84. oci/database_migration/models/resume_job_details.py +7 -3
  85. oci/database_migration/models/start_migration_details.py +7 -3
  86. oci/database_migration/models/update_oracle_migration_details.py +2 -2
  87. oci/database_tools/database_tools_client.py +23 -23
  88. oci/dblm/db_life_cycle_management_client.py +14 -14
  89. oci/delegate_access_control/delegate_access_control_client.py +26 -26
  90. oci/delegate_access_control/work_request_client.py +4 -4
  91. oci/demand_signal/occ_demand_signal_client.py +7 -7
  92. oci/desktops/desktop_service_client.py +21 -21
  93. oci/devops/devops_client.py +141 -141
  94. oci/disaster_recovery/disaster_recovery_client.py +31 -31
  95. oci/disaster_recovery/models/__init__.py +42 -0
  96. oci/disaster_recovery/models/block_volume_attachment_details.py +5 -4
  97. oci/disaster_recovery/models/block_volume_mount_details.py +1 -0
  98. oci/disaster_recovery/models/compute_instance_movable_vnic_mapping.py +35 -0
  99. oci/disaster_recovery/models/compute_instance_movable_vnic_mapping_details.py +35 -0
  100. oci/disaster_recovery/models/compute_instance_non_movable_block_volume_attach_and_mount_operations_details.py +101 -0
  101. oci/disaster_recovery/models/compute_instance_non_movable_block_volume_attach_operation_details.py +111 -0
  102. oci/disaster_recovery/models/compute_instance_non_movable_block_volume_mount_operation_details.py +74 -0
  103. oci/disaster_recovery/models/compute_instance_non_movable_block_volume_operation.py +1 -0
  104. oci/disaster_recovery/models/create_block_volume_attachment_details.py +5 -4
  105. oci/disaster_recovery/models/create_block_volume_mount_details.py +3 -2
  106. oci/disaster_recovery/models/create_compute_instance_non_movable_block_volume_attach_and_mount_operations_details.py +101 -0
  107. oci/disaster_recovery/models/create_compute_instance_non_movable_block_volume_attach_operation_details.py +111 -0
  108. oci/disaster_recovery/models/create_compute_instance_non_movable_block_volume_mount_operation_details.py +74 -0
  109. oci/disaster_recovery/models/create_compute_instance_non_movable_block_volume_operation_details.py +1 -0
  110. oci/disaster_recovery/models/create_dr_protection_group_member_autonomous_database_details.py +29 -2
  111. oci/disaster_recovery/models/create_dr_protection_group_member_compute_instance_non_movable_details.py +31 -2
  112. oci/disaster_recovery/models/create_dr_protection_group_member_database_details.py +1 -1
  113. oci/disaster_recovery/models/create_dr_protection_group_member_file_system_details.py +64 -2
  114. oci/disaster_recovery/models/create_dr_protection_group_member_volume_group_details.py +115 -2
  115. oci/disaster_recovery/models/create_oke_cluster_backup_config_details.py +14 -14
  116. oci/disaster_recovery/models/create_source_volume_to_destination_encryption_key_mapping_details.py +101 -0
  117. oci/disaster_recovery/models/create_vault_and_encryption_key_details.py +111 -0
  118. oci/disaster_recovery/models/dr_plan_step.py +58 -3
  119. oci/disaster_recovery/models/dr_plan_step_execution.py +58 -3
  120. oci/disaster_recovery/models/dr_plan_user_defined_step.py +57 -13
  121. oci/disaster_recovery/models/dr_protection_group_member_autonomous_database.py +29 -2
  122. oci/disaster_recovery/models/dr_protection_group_member_compute_instance_non_movable.py +31 -2
  123. oci/disaster_recovery/models/dr_protection_group_member_file_system.py +64 -2
  124. oci/disaster_recovery/models/dr_protection_group_member_volume_group.py +113 -2
  125. oci/disaster_recovery/models/invoke_function_precheck_step.py +1 -1
  126. oci/disaster_recovery/models/invoke_function_step.py +1 -1
  127. oci/disaster_recovery/models/invoke_function_user_defined_custom_precheck_step.py +154 -0
  128. oci/disaster_recovery/models/local_script_precheck_step.py +1 -1
  129. oci/disaster_recovery/models/object_store_script_precheck_step.py +1 -1
  130. oci/disaster_recovery/models/run_local_script_user_defined_custom_precheck_step.py +199 -0
  131. oci/disaster_recovery/models/run_local_script_user_defined_step.py +1 -1
  132. oci/disaster_recovery/models/run_object_store_script_user_defined_custom_precheck_step.py +156 -0
  133. oci/disaster_recovery/models/run_object_store_script_user_defined_step.py +1 -1
  134. oci/disaster_recovery/models/source_volume_to_destination_encryption_key_mapping.py +101 -0
  135. oci/disaster_recovery/models/update_block_volume_attachment_details.py +5 -4
  136. oci/disaster_recovery/models/update_block_volume_mount_details.py +1 -0
  137. oci/disaster_recovery/models/update_compute_instance_non_movable_block_volume_attach_and_mount_operations_details.py +101 -0
  138. oci/disaster_recovery/models/update_compute_instance_non_movable_block_volume_attach_operation_details.py +111 -0
  139. oci/disaster_recovery/models/update_compute_instance_non_movable_block_volume_mount_operation_details.py +74 -0
  140. oci/disaster_recovery/models/update_compute_instance_non_movable_block_volume_operation_details.py +1 -0
  141. oci/disaster_recovery/models/update_dr_plan_user_defined_step_details.py +57 -13
  142. oci/disaster_recovery/models/update_dr_protection_group_member_autonomous_database_details.py +29 -2
  143. oci/disaster_recovery/models/update_dr_protection_group_member_compute_instance_non_movable_details.py +31 -2
  144. oci/disaster_recovery/models/update_dr_protection_group_member_database_details.py +1 -1
  145. oci/disaster_recovery/models/update_dr_protection_group_member_file_system_details.py +64 -2
  146. oci/disaster_recovery/models/update_dr_protection_group_member_volume_group_details.py +113 -2
  147. oci/disaster_recovery/models/update_invoke_function_precheck_step_details.py +1 -1
  148. oci/disaster_recovery/models/update_invoke_function_user_defined_custom_precheck_step_details.py +119 -0
  149. oci/disaster_recovery/models/update_invoke_function_user_defined_step_details.py +1 -1
  150. oci/disaster_recovery/models/update_local_script_precheck_step_details.py +1 -1
  151. oci/disaster_recovery/models/update_object_store_script_precheck_step_details.py +1 -1
  152. oci/disaster_recovery/models/update_run_local_script_user_defined_custom_precheck_step_details.py +164 -0
  153. oci/disaster_recovery/models/update_run_local_script_user_defined_step_details.py +1 -1
  154. oci/disaster_recovery/models/update_run_object_store_script_user_defined_custom_precheck_step_details.py +121 -0
  155. oci/disaster_recovery/models/update_run_object_store_script_user_defined_step_details.py +1 -1
  156. oci/disaster_recovery/models/update_source_volume_to_destination_encryption_key_mapping_details.py +101 -0
  157. oci/disaster_recovery/models/update_vault_and_encryption_key_details.py +111 -0
  158. oci/disaster_recovery/models/vault_and_encryption_key.py +115 -0
  159. oci/dns/dns_client.py +54 -54
  160. oci/dts/appliance_export_job_client.py +6 -6
  161. oci/dts/shipping_vendors_client.py +1 -1
  162. oci/dts/transfer_appliance_client.py +8 -8
  163. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  164. oci/dts/transfer_device_client.py +5 -5
  165. oci/dts/transfer_job_client.py +6 -6
  166. oci/dts/transfer_package_client.py +7 -7
  167. oci/em_warehouse/em_warehouse_client.py +13 -13
  168. oci/email/email_client.py +31 -31
  169. oci/email_data_plane/email_dp_client.py +1 -1
  170. oci/events/events_client.py +6 -6
  171. oci/file_storage/file_storage_client.py +74 -74
  172. oci/fleet_apps_management/__init__.py +8 -2
  173. oci/fleet_apps_management/fleet_apps_management_admin_client.py +396 -84
  174. oci/fleet_apps_management/fleet_apps_management_admin_client_composite_operations.py +92 -11
  175. oci/fleet_apps_management/fleet_apps_management_catalog_client.py +969 -0
  176. oci/fleet_apps_management/fleet_apps_management_catalog_client_composite_operations.py +246 -0
  177. oci/fleet_apps_management/fleet_apps_management_client.py +248 -670
  178. oci/fleet_apps_management/fleet_apps_management_client_composite_operations.py +49 -7
  179. oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +17 -14
  180. oci/fleet_apps_management/fleet_apps_management_maintenance_window_client_composite_operations.py +1 -1
  181. oci/fleet_apps_management/fleet_apps_management_operations_client.py +597 -98
  182. oci/fleet_apps_management/fleet_apps_management_operations_client_composite_operations.py +46 -4
  183. oci/fleet_apps_management/fleet_apps_management_provision_client.py +814 -0
  184. oci/fleet_apps_management/fleet_apps_management_provision_client_composite_operations.py +202 -0
  185. oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +952 -135
  186. oci/fleet_apps_management/fleet_apps_management_runbooks_client_composite_operations.py +218 -6
  187. oci/fleet_apps_management/fleet_apps_management_work_request_client.py +656 -0
  188. oci/fleet_apps_management/fleet_apps_management_work_request_client_composite_operations.py +26 -0
  189. oci/fleet_apps_management/models/__init__.py +155 -5
  190. oci/fleet_apps_management/models/action_group.py +62 -233
  191. oci/fleet_apps_management/models/action_group_based_user_action_details.py +2 -2
  192. oci/fleet_apps_management/models/action_group_details.py +57 -141
  193. oci/fleet_apps_management/models/activity_resource_target.py +1 -1
  194. oci/fleet_apps_management/models/announcement_collection.py +3 -3
  195. oci/fleet_apps_management/models/announcement_summary.py +5 -5
  196. oci/fleet_apps_management/models/api_based_execution_details.py +2 -2
  197. oci/fleet_apps_management/models/artifact_details.py +1 -1
  198. oci/fleet_apps_management/models/associated_fleet_credential_details.py +3 -3
  199. oci/fleet_apps_management/models/associated_fleet_property_details.py +3 -3
  200. oci/fleet_apps_management/models/associated_fleet_resource_details.py +1 -1
  201. oci/fleet_apps_management/models/associated_local_task_details.py +2 -2
  202. oci/fleet_apps_management/models/associated_scheduler_definition.py +1 -32
  203. oci/fleet_apps_management/models/associated_shared_task_details.py +1 -1
  204. oci/fleet_apps_management/models/associated_task_details.py +1 -1
  205. oci/fleet_apps_management/models/catalog_content_details.py +80 -0
  206. oci/fleet_apps_management/models/catalog_git_result_config.py +153 -0
  207. oci/fleet_apps_management/models/catalog_git_source_config.py +152 -0
  208. oci/fleet_apps_management/models/catalog_item.py +874 -0
  209. oci/fleet_apps_management/models/catalog_item_collection.py +70 -0
  210. oci/fleet_apps_management/models/catalog_item_summary.py +689 -0
  211. oci/fleet_apps_management/models/catalog_marketplace_source_config.py +117 -0
  212. oci/fleet_apps_management/models/catalog_par_result_config.py +126 -0
  213. oci/fleet_apps_management/models/catalog_par_source_config.py +218 -0
  214. oci/fleet_apps_management/models/catalog_result_payload.py +146 -0
  215. oci/fleet_apps_management/models/catalog_source_payload.py +130 -0
  216. oci/fleet_apps_management/models/catalog_source_template_config.py +179 -0
  217. oci/fleet_apps_management/models/catalog_template_result_config.py +87 -0
  218. oci/fleet_apps_management/models/change_catalog_item_compartment_details.py +74 -0
  219. oci/fleet_apps_management/models/change_fleet_compartment_details.py +74 -0
  220. oci/fleet_apps_management/models/change_patch_compartment_details.py +74 -0
  221. oci/fleet_apps_management/models/change_platform_configuration_compartment_details.py +74 -0
  222. oci/fleet_apps_management/models/change_property_compartment_details.py +74 -0
  223. oci/fleet_apps_management/models/change_provision_compartment_details.py +74 -0
  224. oci/fleet_apps_management/models/change_runbook_compartment_details.py +74 -0
  225. oci/fleet_apps_management/models/change_task_record_compartment_details.py +74 -0
  226. oci/fleet_apps_management/models/check_resource_tagging_details.py +3 -3
  227. oci/fleet_apps_management/models/clone_catalog_item_details.py +105 -0
  228. oci/fleet_apps_management/models/compliance_detail_policy.py +1 -1
  229. oci/fleet_apps_management/models/compliance_detail_product.py +2 -2
  230. oci/fleet_apps_management/models/compliance_detail_resource.py +3 -3
  231. oci/fleet_apps_management/models/compliance_detail_target.py +2 -2
  232. oci/fleet_apps_management/models/compliance_patch_detail.py +2 -2
  233. oci/fleet_apps_management/models/compliance_policy.py +49 -2
  234. oci/fleet_apps_management/models/compliance_policy_collection.py +3 -3
  235. oci/fleet_apps_management/models/compliance_policy_rule.py +16 -16
  236. oci/fleet_apps_management/models/compliance_policy_rule_collection.py +1 -1
  237. oci/fleet_apps_management/models/compliance_policy_rule_summary.py +16 -16
  238. oci/fleet_apps_management/models/compliance_policy_summary.py +32 -1
  239. oci/fleet_apps_management/models/compliance_record.py +102 -3
  240. oci/fleet_apps_management/models/compliance_record_aggregation.py +3 -3
  241. oci/fleet_apps_management/models/compliance_record_aggregation_collection.py +1 -1
  242. oci/fleet_apps_management/models/compliance_record_collection.py +1 -1
  243. oci/fleet_apps_management/models/compliance_record_dimension.py +1 -1
  244. oci/fleet_apps_management/models/compliance_record_summary.py +102 -3
  245. oci/fleet_apps_management/models/compliance_report.py +32 -1
  246. oci/fleet_apps_management/models/compliance_report_patch_detail.py +1 -1
  247. oci/fleet_apps_management/models/compliance_report_product.py +1 -1
  248. oci/fleet_apps_management/models/compliance_report_resource.py +1 -1
  249. oci/fleet_apps_management/models/compliance_report_target.py +1 -1
  250. oci/fleet_apps_management/models/component_properties.py +20 -30
  251. oci/fleet_apps_management/models/condition.py +1 -1
  252. oci/fleet_apps_management/models/config_association_details.py +1 -1
  253. oci/fleet_apps_management/models/config_category_details.py +20 -4
  254. oci/fleet_apps_management/models/config_file_details.py +99 -0
  255. oci/fleet_apps_management/models/confirm_targets_details.py +1 -1
  256. oci/fleet_apps_management/models/content_details.py +12 -4
  257. oci/fleet_apps_management/models/create_catalog_item_details.py +452 -0
  258. oci/fleet_apps_management/models/create_compliance_policy_rule_details.py +17 -48
  259. oci/fleet_apps_management/models/create_fleet_credential_details.py +1 -32
  260. oci/fleet_apps_management/models/create_fleet_details.py +112 -151
  261. oci/fleet_apps_management/models/create_fleet_property_details.py +1 -32
  262. oci/fleet_apps_management/models/create_fleet_resource_details.py +1 -1
  263. oci/fleet_apps_management/models/create_maintenance_window_details.py +4 -78
  264. oci/fleet_apps_management/models/create_onboarding_details.py +1 -1
  265. oci/fleet_apps_management/models/create_patch_details.py +1 -1
  266. oci/fleet_apps_management/models/create_platform_configuration_details.py +4 -4
  267. oci/fleet_apps_management/models/create_property_details.py +4 -4
  268. oci/fleet_apps_management/models/create_provision_details.py +431 -0
  269. oci/fleet_apps_management/models/create_runbook_details.py +53 -53
  270. oci/fleet_apps_management/models/create_runbook_version_details.py +252 -0
  271. oci/fleet_apps_management/models/create_scheduler_definition_details.py +3 -34
  272. oci/fleet_apps_management/models/create_task_record_details.py +3 -3
  273. oci/fleet_apps_management/models/credential_config_category_details.py +2 -2
  274. oci/fleet_apps_management/models/credential_details.py +1 -1
  275. oci/fleet_apps_management/models/credential_entity_specific_details.py +1 -1
  276. oci/fleet_apps_management/models/custom_schedule.py +118 -0
  277. oci/fleet_apps_management/models/dependent_patch_details.py +1 -1
  278. oci/fleet_apps_management/models/deployed_resource_details.py +200 -0
  279. oci/fleet_apps_management/models/details.py +35 -4
  280. oci/fleet_apps_management/models/discovered_target.py +1 -1
  281. oci/fleet_apps_management/models/dynamic_resource_selection.py +76 -0
  282. oci/fleet_apps_management/models/enable_latest_policy_details.py +1 -1
  283. oci/fleet_apps_management/models/entity_execution_details.py +1 -1
  284. oci/fleet_apps_management/models/environment_config_category_details.py +2 -2
  285. oci/fleet_apps_management/models/environment_fleet_details.py +49 -0
  286. oci/fleet_apps_management/models/execution.py +32 -1
  287. oci/fleet_apps_management/models/execution_collection.py +1 -1
  288. oci/fleet_apps_management/models/execution_details.py +12 -4
  289. oci/fleet_apps_management/models/execution_summary.py +32 -1
  290. oci/fleet_apps_management/models/execution_workflow_details.py +1 -1
  291. oci/fleet_apps_management/models/export_compliance_report_details.py +2 -2
  292. oci/fleet_apps_management/models/file_input_argument.py +63 -0
  293. oci/fleet_apps_management/models/file_task_argument.py +83 -0
  294. oci/fleet_apps_management/models/fleet.py +80 -208
  295. oci/fleet_apps_management/models/fleet_based_action_group.py +186 -0
  296. oci/fleet_apps_management/models/fleet_based_action_group_details.py +223 -0
  297. oci/fleet_apps_management/models/fleet_collection.py +1 -1
  298. oci/fleet_apps_management/models/fleet_credential.py +3 -3
  299. oci/fleet_apps_management/models/fleet_credential_collection.py +1 -1
  300. oci/fleet_apps_management/models/fleet_credential_entity_specific_details.py +1 -1
  301. oci/fleet_apps_management/models/fleet_credential_summary.py +3 -3
  302. oci/fleet_apps_management/models/fleet_details.py +131 -0
  303. oci/fleet_apps_management/models/fleet_product_collection.py +1 -1
  304. oci/fleet_apps_management/models/fleet_product_summary.py +1 -1
  305. oci/fleet_apps_management/models/fleet_property.py +4 -4
  306. oci/fleet_apps_management/models/fleet_property_collection.py +1 -1
  307. oci/fleet_apps_management/models/fleet_property_summary.py +3 -3
  308. oci/fleet_apps_management/models/fleet_resource.py +32 -34
  309. oci/fleet_apps_management/models/fleet_resource_collection.py +1 -1
  310. oci/fleet_apps_management/models/fleet_resource_summary.py +32 -34
  311. oci/fleet_apps_management/models/fleet_summary.py +20 -32
  312. oci/fleet_apps_management/models/fleet_target.py +3 -3
  313. oci/fleet_apps_management/models/fleet_target_collection.py +1 -1
  314. oci/fleet_apps_management/models/fleet_target_summary.py +3 -3
  315. oci/fleet_apps_management/models/generate_compliance_report_details.py +1 -1
  316. oci/fleet_apps_management/models/generic_artifact.py +5 -5
  317. oci/fleet_apps_management/models/generic_artifact_details.py +1 -1
  318. oci/fleet_apps_management/models/generic_fleet_details.py +49 -0
  319. oci/fleet_apps_management/models/group.py +1 -1
  320. oci/fleet_apps_management/models/group_fleet_details.py +49 -0
  321. oci/fleet_apps_management/models/input_argument.py +12 -4
  322. oci/fleet_apps_management/models/input_file_content_details.py +99 -0
  323. oci/fleet_apps_management/models/input_file_object_storage_bucket_content_details.py +174 -0
  324. oci/fleet_apps_management/models/input_parameter.py +1 -1
  325. oci/fleet_apps_management/models/instance_summary.py +140 -0
  326. oci/fleet_apps_management/models/inventory_record.py +547 -0
  327. oci/fleet_apps_management/models/inventory_record_collection.py +70 -0
  328. oci/fleet_apps_management/models/inventory_record_component.py +163 -0
  329. oci/fleet_apps_management/models/inventory_record_patch_details.py +194 -0
  330. oci/fleet_apps_management/models/inventory_record_property.py +101 -0
  331. oci/fleet_apps_management/models/inventory_record_summary.py +535 -0
  332. oci/fleet_apps_management/models/inventory_resource_collection.py +1 -1
  333. oci/fleet_apps_management/models/inventory_resource_summary.py +1 -1
  334. oci/fleet_apps_management/models/job_activity.py +32 -1
  335. oci/fleet_apps_management/models/job_execution_details.py +194 -0
  336. oci/fleet_apps_management/models/key_encryption_credential_details.py +1 -1
  337. oci/fleet_apps_management/models/lifecycle_operation_config_category_details.py +49 -0
  338. oci/fleet_apps_management/models/maintenance_window.py +3 -77
  339. oci/fleet_apps_management/models/maintenance_window_collection.py +1 -1
  340. oci/fleet_apps_management/models/maintenance_window_schedule.py +87 -0
  341. oci/fleet_apps_management/models/maintenance_window_summary.py +3 -77
  342. oci/fleet_apps_management/models/manage_job_execution_details.py +1 -1
  343. oci/fleet_apps_management/models/manage_settings_details.py +1 -1
  344. oci/fleet_apps_management/models/managed_entity_aggregation.py +3 -3
  345. oci/fleet_apps_management/models/managed_entity_aggregation_collection.py +1 -1
  346. oci/fleet_apps_management/models/managed_entity_dimension.py +1 -1
  347. oci/fleet_apps_management/models/manual_resource_selection.py +49 -0
  348. oci/fleet_apps_management/models/model_property.py +10 -6
  349. oci/fleet_apps_management/models/{notification_preferences.py → notification_preference.py} +18 -18
  350. oci/fleet_apps_management/models/object_storage_bucket_config_file_details.py +174 -0
  351. oci/fleet_apps_management/models/object_storage_bucket_content_details.py +2 -2
  352. oci/fleet_apps_management/models/onboarding.py +69 -3
  353. oci/fleet_apps_management/models/onboarding_collection.py +1 -1
  354. oci/fleet_apps_management/models/onboarding_policy_collection.py +1 -1
  355. oci/fleet_apps_management/models/onboarding_policy_summary.py +1 -1
  356. oci/fleet_apps_management/models/onboarding_summary.py +69 -3
  357. oci/fleet_apps_management/models/operation_runbook.py +47 -16
  358. oci/fleet_apps_management/models/outcome.py +1 -1
  359. oci/fleet_apps_management/models/output_variable_details.py +1 -1
  360. oci/fleet_apps_management/models/output_variable_input_argument.py +2 -2
  361. oci/fleet_apps_management/models/output_variable_mapping.py +1 -1
  362. oci/fleet_apps_management/models/patch.py +1 -1
  363. oci/fleet_apps_management/models/patch_collection.py +1 -1
  364. oci/fleet_apps_management/models/patch_file_content_details.py +99 -0
  365. oci/fleet_apps_management/models/patch_file_object_storage_bucket_content_details.py +174 -0
  366. oci/fleet_apps_management/models/patch_level_selection_details.py +1 -1
  367. oci/fleet_apps_management/models/patch_name_selection_details.py +1 -1
  368. oci/fleet_apps_management/models/patch_product.py +2 -2
  369. oci/fleet_apps_management/models/patch_release_date_selection_details.py +1 -1
  370. oci/fleet_apps_management/models/patch_selection_details.py +1 -1
  371. oci/fleet_apps_management/models/patch_summary.py +1 -1
  372. oci/fleet_apps_management/models/patch_type.py +1 -1
  373. oci/fleet_apps_management/models/patch_type_config_category_details.py +2 -2
  374. oci/fleet_apps_management/models/pause_details.py +1 -1
  375. oci/fleet_apps_management/models/plain_text_credential_details.py +1 -1
  376. oci/fleet_apps_management/models/platform_configuration.py +10 -6
  377. oci/fleet_apps_management/models/platform_configuration_collection.py +1 -1
  378. oci/fleet_apps_management/models/platform_configuration_summary.py +3 -3
  379. oci/fleet_apps_management/models/platform_specific_artifact.py +5 -5
  380. oci/fleet_apps_management/models/platform_specific_artifact_details.py +2 -2
  381. oci/fleet_apps_management/models/preferences.py +175 -24
  382. oci/fleet_apps_management/models/previous_task_instance_details.py +128 -0
  383. oci/fleet_apps_management/models/previous_task_instance_run_on_details.py +80 -0
  384. oci/fleet_apps_management/models/product_config_category_details.py +2 -2
  385. oci/fleet_apps_management/models/product_fleet_details.py +49 -0
  386. oci/fleet_apps_management/models/product_stack_as_product_sub_category_details.py +1 -1
  387. oci/fleet_apps_management/models/product_stack_config_category_details.py +2 -2
  388. oci/fleet_apps_management/models/product_stack_generic_sub_category_details.py +1 -1
  389. oci/fleet_apps_management/models/product_stack_sub_category_details.py +1 -1
  390. oci/fleet_apps_management/models/product_version_details.py +1 -1
  391. oci/fleet_apps_management/models/properties.py +1 -1
  392. oci/fleet_apps_management/models/property_collection.py +1 -1
  393. oci/fleet_apps_management/models/property_summary.py +3 -3
  394. oci/fleet_apps_management/models/provision.py +997 -0
  395. oci/fleet_apps_management/models/provision_collection.py +70 -0
  396. oci/fleet_apps_management/models/provision_summary.py +738 -0
  397. oci/fleet_apps_management/models/publish_runbook_details.py +34 -3
  398. oci/fleet_apps_management/models/request_resource_validation_details.py +1 -1
  399. oci/fleet_apps_management/models/request_target_discovery_details.py +1 -1
  400. oci/fleet_apps_management/models/resource_collection.py +1 -1
  401. oci/fleet_apps_management/models/resource_credential_entity_specific_details.py +1 -1
  402. oci/fleet_apps_management/models/resource_selection.py +109 -0
  403. oci/fleet_apps_management/models/resource_summary.py +1 -1
  404. oci/fleet_apps_management/models/resource_tag_check_details.py +1 -1
  405. oci/fleet_apps_management/models/resource_tag_enablement_info.py +1 -1
  406. oci/fleet_apps_management/models/rollback_workflow_details.py +1 -1
  407. oci/fleet_apps_management/models/rule.py +3 -3
  408. oci/fleet_apps_management/models/run_on_details.py +115 -0
  409. oci/fleet_apps_management/models/runbook.py +116 -69
  410. oci/fleet_apps_management/models/runbook_collection.py +1 -1
  411. oci/fleet_apps_management/models/runbook_summary.py +65 -34
  412. oci/fleet_apps_management/models/runbook_version.py +542 -0
  413. oci/fleet_apps_management/models/runbook_version_collection.py +70 -0
  414. oci/fleet_apps_management/models/runbook_version_summary.py +533 -0
  415. oci/fleet_apps_management/models/schedule.py +25 -97
  416. oci/fleet_apps_management/models/schedule_instance_run_on_details.py +80 -0
  417. oci/fleet_apps_management/models/scheduled_fleet_collection.py +1 -1
  418. oci/fleet_apps_management/models/scheduled_fleet_summary.py +35 -82
  419. oci/fleet_apps_management/models/scheduler_definition.py +3 -112
  420. oci/fleet_apps_management/models/scheduler_definition_collection.py +1 -1
  421. oci/fleet_apps_management/models/scheduler_definition_summary.py +5 -83
  422. oci/fleet_apps_management/models/scheduler_execution_collection.py +70 -0
  423. oci/fleet_apps_management/models/scheduler_execution_summary.py +753 -0
  424. oci/fleet_apps_management/models/scheduler_job.py +40 -102
  425. oci/fleet_apps_management/models/scheduler_job_aggregation.py +3 -3
  426. oci/fleet_apps_management/models/scheduler_job_aggregation_collection.py +1 -1
  427. oci/fleet_apps_management/models/scheduler_job_collection.py +1 -1
  428. oci/fleet_apps_management/models/scheduler_job_dimension.py +1 -1
  429. oci/fleet_apps_management/models/scheduler_job_summary.py +18 -96
  430. oci/fleet_apps_management/models/script_based_execution_details.py +66 -4
  431. oci/fleet_apps_management/models/selection_criteria.py +1 -1
  432. oci/fleet_apps_management/models/self_hosted_instance_config_category_details.py +117 -0
  433. oci/fleet_apps_management/models/self_hosted_instance_run_on_details.py +80 -0
  434. oci/fleet_apps_management/models/set_default_runbook_details.py +1 -1
  435. oci/fleet_apps_management/models/step_based_user_action_details.py +2 -2
  436. oci/fleet_apps_management/models/step_collection.py +1 -1
  437. oci/fleet_apps_management/models/step_summary.py +11 -11
  438. oci/fleet_apps_management/models/string_input_argument.py +2 -2
  439. oci/fleet_apps_management/models/string_task_argument.py +87 -0
  440. oci/fleet_apps_management/models/target_credential_entity_specific_details.py +1 -1
  441. oci/fleet_apps_management/models/target_resource.py +1 -1
  442. oci/fleet_apps_management/models/task.py +1 -44
  443. oci/fleet_apps_management/models/task_argument.py +71 -34
  444. oci/fleet_apps_management/models/task_notification_preferences.py +1 -1
  445. oci/fleet_apps_management/models/task_record.py +6 -6
  446. oci/fleet_apps_management/models/task_record_collection.py +4 -4
  447. oci/fleet_apps_management/models/task_record_summary.py +6 -6
  448. oci/fleet_apps_management/models/task_variable.py +1 -1
  449. oci/fleet_apps_management/models/terraform_based_execution_details.py +173 -0
  450. oci/fleet_apps_management/models/time_based_pause_details.py +1 -1
  451. oci/fleet_apps_management/models/upcoming_schedule.py +101 -0
  452. oci/fleet_apps_management/models/update_catalog_item_details.py +229 -0
  453. oci/fleet_apps_management/models/update_compliance_policy_rule_details.py +16 -16
  454. oci/fleet_apps_management/models/update_fleet_credential_details.py +1 -1
  455. oci/fleet_apps_management/models/update_fleet_details.py +69 -32
  456. oci/fleet_apps_management/models/update_fleet_property_details.py +1 -1
  457. oci/fleet_apps_management/models/update_fleet_resource_details.py +1 -1
  458. oci/fleet_apps_management/models/update_maintenance_window_details.py +1 -75
  459. oci/fleet_apps_management/models/update_onboarding_details.py +1 -1
  460. oci/fleet_apps_management/models/update_patch_details.py +1 -32
  461. oci/fleet_apps_management/models/update_platform_configuration_details.py +1 -1
  462. oci/fleet_apps_management/models/update_property_details.py +1 -1
  463. oci/fleet_apps_management/models/update_provision_details.py +167 -0
  464. oci/fleet_apps_management/models/update_runbook_details.py +24 -51
  465. oci/fleet_apps_management/models/update_runbook_version_details.py +155 -0
  466. oci/fleet_apps_management/models/update_scheduler_definition_details.py +1 -32
  467. oci/fleet_apps_management/models/update_scheduler_job_details.py +1 -1
  468. oci/fleet_apps_management/models/update_task_record_details.py +2 -2
  469. oci/fleet_apps_management/models/user_action_based_pause_details.py +1 -1
  470. oci/fleet_apps_management/models/user_action_details.py +12 -4
  471. oci/fleet_apps_management/models/variable.py +1 -1
  472. oci/fleet_apps_management/models/vault_secret_credential_details.py +1 -1
  473. oci/fleet_apps_management/models/{associations.py → version.py} +62 -31
  474. oci/fleet_apps_management/models/work_request.py +84 -4
  475. oci/fleet_apps_management/models/work_request_error.py +1 -1
  476. oci/fleet_apps_management/models/work_request_error_collection.py +1 -1
  477. oci/fleet_apps_management/models/work_request_log_entry.py +1 -1
  478. oci/fleet_apps_management/models/work_request_log_entry_collection.py +1 -1
  479. oci/fleet_apps_management/models/work_request_resource.py +1 -1
  480. oci/fleet_apps_management/models/work_request_summary.py +84 -4
  481. oci/fleet_apps_management/models/work_request_summary_collection.py +1 -1
  482. oci/fleet_apps_management/models/workflow_component.py +1 -1
  483. oci/fleet_apps_management/models/workflow_group.py +1 -1
  484. oci/fleet_apps_management/models/workflow_group_component.py +1 -1
  485. oci/fleet_apps_management/models/workflow_task_component.py +1 -1
  486. oci/fleet_software_update/fleet_software_update_client.py +46 -46
  487. oci/functions/functions_invoke_client.py +1 -1
  488. oci/functions/functions_management_client.py +16 -16
  489. oci/fusion_apps/fusion_applications_client.py +41 -41
  490. oci/generative_ai/generative_ai_client.py +24 -24
  491. oci/generative_ai/models/content_moderation_config.py +79 -1
  492. oci/generative_ai/models/model.py +69 -3
  493. oci/generative_ai/models/model_summary.py +69 -3
  494. oci/generative_ai_agent/generative_ai_agent_client.py +38 -38
  495. oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +6 -6
  496. oci/generative_ai_inference/generative_ai_inference_client.py +6 -6
  497. oci/generative_ai_inference/models/__init__.py +8 -0
  498. oci/generative_ai_inference/models/cohere_chat_request.py +41 -2
  499. oci/generative_ai_inference/models/cohere_chat_response.py +29 -2
  500. oci/generative_ai_inference/models/completion_tokens_details.py +132 -0
  501. oci/generative_ai_inference/models/embed_text_result.py +29 -2
  502. oci/generative_ai_inference/models/prompt_tokens_details.py +70 -0
  503. oci/generative_ai_inference/models/stream_options.py +70 -0
  504. oci/generative_ai_inference/models/usage.py +186 -0
  505. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  506. oci/globally_distributed_database/sharded_database_service_client.py +30 -30
  507. oci/golden_gate/golden_gate_client.py +89 -89
  508. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  509. oci/governance_rules_control_plane/work_request_client.py +5 -5
  510. oci/healthchecks/health_checks_client.py +17 -17
  511. oci/identity/identity_client.py +145 -145
  512. oci/identity_data_plane/dataplane_client.py +2 -2
  513. oci/identity_domains/identity_domains_client.py +311 -311
  514. oci/integration/integration_instance_client.py +19 -19
  515. oci/jms/java_management_service_client.py +79 -79
  516. oci/jms_java_downloads/java_download_client.py +25 -25
  517. oci/key_management/ekm_client.py +5 -5
  518. oci/key_management/kms_crypto_client.py +6 -6
  519. oci/key_management/kms_hsm_cluster_client.py +12 -12
  520. oci/key_management/kms_management_client.py +21 -21
  521. oci/key_management/kms_vault_client.py +14 -14
  522. oci/license_manager/license_manager_client.py +18 -18
  523. oci/limits/limits_client.py +4 -4
  524. oci/limits/quotas_client.py +7 -7
  525. oci/load_balancer/load_balancer_client.py +61 -61
  526. oci/lockbox/lockbox_client.py +24 -24
  527. oci/log_analytics/log_analytics_client.py +1358 -250
  528. oci/log_analytics/models/__init__.py +38 -0
  529. oci/log_analytics/models/abstract_command_descriptor.py +11 -3
  530. oci/log_analytics/models/add_fields_command_descriptor.py +1 -1
  531. oci/log_analytics/models/add_insights_command_descriptor.py +1 -1
  532. oci/log_analytics/models/anomaly_command_descriptor.py +1 -1
  533. oci/log_analytics/models/auto_schedule.py +64 -0
  534. oci/log_analytics/models/bottom_command_descriptor.py +1 -1
  535. oci/log_analytics/models/bucket_command_descriptor.py +1 -1
  536. oci/log_analytics/models/change_lookup_compartment_details.py +70 -0
  537. oci/log_analytics/models/classify_command_descriptor.py +1 -1
  538. oci/log_analytics/models/cluster_command_descriptor.py +1 -1
  539. oci/log_analytics/models/cluster_compare_command_descriptor.py +1 -1
  540. oci/log_analytics/models/cluster_details_command_descriptor.py +1 -1
  541. oci/log_analytics/models/cluster_split_command_descriptor.py +1 -1
  542. oci/log_analytics/models/command_descriptor.py +1 -1
  543. oci/log_analytics/models/compare_command_descriptor.py +1 -1
  544. oci/log_analytics/models/create_log_analytics_object_collection_rule_details.py +134 -1
  545. oci/log_analytics/models/create_standard_task_details.py +1 -1
  546. oci/log_analytics/models/create_table_command_descriptor.py +1 -1
  547. oci/log_analytics/models/create_view_command_descriptor.py +1 -1
  548. oci/log_analytics/models/cron_schedule.py +3 -3
  549. oci/log_analytics/models/dedup_command_descriptor.py +1 -1
  550. oci/log_analytics/models/delete_command_descriptor.py +1 -1
  551. oci/log_analytics/models/delta_command_descriptor.py +1 -1
  552. oci/log_analytics/models/demo_mode_command_descriptor.py +1 -1
  553. oci/log_analytics/models/dependency.py +64 -2
  554. oci/log_analytics/models/dependent_parser.py +1 -1
  555. oci/log_analytics/models/dependent_source.py +1 -1
  556. oci/log_analytics/models/distinct_command_descriptor.py +1 -1
  557. oci/log_analytics/models/estimate_recall_data_size_result.py +64 -2
  558. oci/log_analytics/models/eval_command_descriptor.py +1 -1
  559. oci/log_analytics/models/event_stats_command_descriptor.py +1 -1
  560. oci/log_analytics/models/export_details.py +7 -3
  561. oci/log_analytics/models/extract_command_descriptor.py +1 -1
  562. oci/log_analytics/models/field_summary_command_descriptor.py +1 -1
  563. oci/log_analytics/models/fields_command_descriptor.py +1 -1
  564. oci/log_analytics/models/fixed_frequency_schedule.py +2 -2
  565. oci/log_analytics/models/frequent_command_descriptor.py +1 -1
  566. oci/log_analytics/models/generic_condition_block.py +251 -0
  567. oci/log_analytics/models/geo_stats_command_descriptor.py +1 -1
  568. oci/log_analytics/models/head_command_descriptor.py +1 -1
  569. oci/log_analytics/models/highlight_command_descriptor.py +1 -1
  570. oci/log_analytics/models/highlight_groups_command_descriptor.py +1 -1
  571. oci/log_analytics/models/highlight_rows_command_descriptor.py +1 -1
  572. oci/log_analytics/models/json_extract_command_descriptor.py +1 -1
  573. oci/log_analytics/models/link_command_descriptor.py +1 -1
  574. oci/log_analytics/models/link_details_command_descriptor.py +1 -1
  575. oci/log_analytics/models/log_analytics_entity.py +33 -2
  576. oci/log_analytics/models/log_analytics_entity_summary.py +33 -2
  577. oci/log_analytics/models/log_analytics_entity_topology_link.py +64 -2
  578. oci/log_analytics/models/log_analytics_field.py +64 -2
  579. oci/log_analytics/models/log_analytics_field_summary.py +64 -2
  580. oci/log_analytics/models/log_analytics_field_usages.py +101 -0
  581. oci/log_analytics/models/log_analytics_lookup.py +136 -2
  582. oci/log_analytics/models/log_analytics_object_collection_rule.py +164 -0
  583. oci/log_analytics/models/log_analytics_object_collection_rule_summary.py +31 -0
  584. oci/log_analytics/models/log_analytics_parser_field.py +33 -2
  585. oci/log_analytics/models/log_analytics_resource_category.py +64 -2
  586. oci/log_analytics/models/log_analytics_source_extended_field_definition.py +62 -4
  587. oci/log_analytics/models/log_analytics_template.py +594 -0
  588. oci/log_analytics/models/log_analytics_template_collection.py +70 -0
  589. oci/log_analytics/models/log_analytics_template_summary.py +439 -0
  590. oci/log_analytics/models/lookup_command_descriptor.py +1 -1
  591. oci/log_analytics/models/macro_command_descriptor.py +1 -1
  592. oci/log_analytics/models/map_command_descriptor.py +1 -1
  593. oci/log_analytics/models/metric_extraction.py +3 -3
  594. oci/log_analytics/models/module_command_descriptor.py +127 -3
  595. oci/log_analytics/models/multi_search_command_descriptor.py +1 -1
  596. oci/log_analytics/models/namespace.py +33 -2
  597. oci/log_analytics/models/namespace_summary.py +33 -2
  598. oci/log_analytics/models/nlp_command_descriptor.py +1 -1
  599. oci/log_analytics/models/outlier_command_descriptor.py +1 -1
  600. oci/log_analytics/models/overlapping_recall_summary.py +7 -3
  601. oci/log_analytics/models/parse_query_output.py +64 -2
  602. oci/log_analytics/models/parser_action.py +101 -0
  603. oci/log_analytics/models/parser_action_summary.py +132 -0
  604. oci/log_analytics/models/parser_action_summary_collection.py +70 -0
  605. oci/log_analytics/models/property_definition.py +195 -0
  606. oci/log_analytics/models/query_aggregation.py +89 -0
  607. oci/log_analytics/models/rare_command_descriptor.py +1 -1
  608. oci/log_analytics/models/recall_archived_data_details.py +35 -2
  609. oci/log_analytics/models/recall_definition.py +101 -0
  610. oci/log_analytics/models/recalled_data.py +40 -5
  611. oci/log_analytics/models/recalled_info.py +280 -0
  612. oci/log_analytics/models/recalled_info_collection.py +70 -0
  613. oci/log_analytics/models/regex_command_descriptor.py +1 -1
  614. oci/log_analytics/models/rename_command_descriptor.py +1 -1
  615. oci/log_analytics/models/schedule.py +11 -3
  616. oci/log_analytics/models/scheduled_task_summary.py +49 -2
  617. oci/log_analytics/models/search_command_descriptor.py +1 -1
  618. oci/log_analytics/models/search_lookup_command_descriptor.py +1 -1
  619. oci/log_analytics/models/sequence_command_descriptor.py +1 -1
  620. oci/log_analytics/models/sort_command_descriptor.py +1 -1
  621. oci/log_analytics/models/stats_command_descriptor.py +1 -1
  622. oci/log_analytics/models/stream_action.py +27 -0
  623. oci/log_analytics/models/tail_command_descriptor.py +1 -1
  624. oci/log_analytics/models/template_details.py +101 -0
  625. oci/log_analytics/models/template_facet.py +101 -0
  626. oci/log_analytics/models/template_params.py +101 -0
  627. oci/log_analytics/models/time_cluster_command_descriptor.py +1 -1
  628. oci/log_analytics/models/time_compare_command_descriptor.py +1 -1
  629. oci/log_analytics/models/time_stats_command_descriptor.py +1 -1
  630. oci/log_analytics/models/top_command_descriptor.py +1 -1
  631. oci/log_analytics/models/update_log_analytics_object_collection_rule_details.py +133 -0
  632. oci/log_analytics/models/update_lookup_metadata_details.py +68 -2
  633. oci/log_analytics/models/update_table_command_descriptor.py +122 -0
  634. oci/log_analytics/models/upsert_log_analytics_field_details.py +33 -2
  635. oci/log_analytics/models/usage_status_item.py +33 -2
  636. oci/log_analytics/models/variable_definition.py +214 -0
  637. oci/log_analytics/models/where_command_descriptor.py +1 -1
  638. oci/log_analytics/models/xml_extract_command_descriptor.py +1 -1
  639. oci/logging/logging_management_client.py +30 -30
  640. oci/loggingingestion/logging_client.py +1 -1
  641. oci/loggingsearch/log_search_client.py +1 -1
  642. oci/lustre_file_storage/lustre_file_storage_client.py +11 -11
  643. oci/management_agent/management_agent_client.py +28 -28
  644. oci/management_dashboard/dashx_apis_client.py +14 -14
  645. oci/marketplace/account_client.py +2 -2
  646. oci/marketplace/marketplace_client.py +30 -30
  647. oci/marketplace_private_offer/attachment_client.py +5 -5
  648. oci/marketplace_private_offer/offer_client.py +6 -6
  649. oci/marketplace_publisher/attachment_client.py +5 -5
  650. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  651. oci/marketplace_publisher/offer_client.py +6 -6
  652. oci/media_services/media_services_client.py +60 -60
  653. oci/media_services/media_stream_client.py +2 -2
  654. oci/mngdmac/mac_device_client.py +3 -3
  655. oci/mngdmac/mac_order_client.py +11 -11
  656. oci/monitoring/monitoring_client.py +18 -18
  657. oci/mysql/channels_client.py +7 -7
  658. oci/mysql/db_backups_client.py +7 -7
  659. oci/mysql/db_system_client.py +17 -17
  660. oci/mysql/mysqlaas_client.py +7 -7
  661. oci/mysql/replicas_client.py +5 -5
  662. oci/mysql/work_requests_client.py +4 -4
  663. oci/network_firewall/network_firewall_client.py +86 -86
  664. oci/network_load_balancer/network_load_balancer_client.py +35 -35
  665. oci/nosql/nosql_client.py +24 -24
  666. oci/object_storage/object_storage_client.py +55 -55
  667. oci/oce/oce_instance_client.py +10 -10
  668. oci/oci_control_center/occ_metrics_client.py +3 -3
  669. oci/ocvp/cluster_client.py +5 -5
  670. oci/ocvp/esxi_host_client.py +8 -8
  671. oci/ocvp/sddc_client.py +14 -14
  672. oci/ocvp/work_request_client.py +4 -4
  673. oci/oda/management_client.py +59 -59
  674. oci/oda/oda_client.py +17 -17
  675. oci/oda/odapackage_client.py +7 -7
  676. oci/onesubscription/billing_schedule_client.py +1 -1
  677. oci/onesubscription/commitment_client.py +2 -2
  678. oci/onesubscription/computed_usage_client.py +3 -3
  679. oci/onesubscription/invoice_summary_client.py +2 -2
  680. oci/onesubscription/organization_subscription_client.py +1 -1
  681. oci/onesubscription/ratecard_client.py +1 -1
  682. oci/onesubscription/subscribed_service_client.py +2 -2
  683. oci/onesubscription/subscription_client.py +1 -1
  684. oci/ons/notification_control_plane_client.py +6 -6
  685. oci/ons/notification_data_plane_client.py +10 -10
  686. oci/opa/opa_instance_client.py +13 -13
  687. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  688. oci/opensearch/opensearch_cluster_client.py +16 -16
  689. oci/opensearch/opensearch_cluster_pipeline_client.py +5 -5
  690. oci/operator_access_control/access_requests_client.py +10 -10
  691. oci/operator_access_control/operator_actions_client.py +2 -2
  692. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  693. oci/operator_access_control/operator_control_client.py +6 -6
  694. oci/opsi/operations_insights_client.py +181 -181
  695. oci/optimizer/optimizer_client.py +26 -26
  696. oci/os_management/event_client.py +15 -15
  697. oci/os_management/os_management_client.py +138 -138
  698. oci/os_management_hub/event_client.py +8 -8
  699. oci/os_management_hub/lifecycle_environment_client.py +13 -13
  700. oci/os_management_hub/managed_instance_client.py +33 -33
  701. oci/os_management_hub/managed_instance_group_client.py +26 -26
  702. oci/os_management_hub/management_station_client.py +10 -10
  703. oci/os_management_hub/onboarding_client.py +13 -13
  704. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  705. oci/os_management_hub/scheduled_job_client.py +7 -7
  706. oci/os_management_hub/software_source_client.py +33 -33
  707. oci/os_management_hub/work_request_client.py +5 -5
  708. oci/osp_gateway/address_rule_service_client.py +1 -1
  709. oci/osp_gateway/address_service_client.py +2 -2
  710. oci/osp_gateway/invoice_service_client.py +5 -5
  711. oci/osp_gateway/subscription_service_client.py +5 -5
  712. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  713. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  714. oci/osub_subscription/commitment_client.py +2 -2
  715. oci/osub_subscription/ratecard_client.py +1 -1
  716. oci/osub_subscription/subscription_client.py +1 -1
  717. oci/osub_usage/computed_usage_client.py +3 -3
  718. oci/psql/postgresql_client.py +34 -34
  719. oci/queue/queue_admin_client.py +11 -11
  720. oci/queue/queue_client.py +8 -8
  721. oci/recovery/database_recovery_client.py +26 -26
  722. oci/redis/redis_cluster_client.py +12 -12
  723. oci/regions_definitions.py +0 -9
  724. oci/resource_manager/resource_manager_client.py +52 -52
  725. oci/resource_scheduler/models/__init__.py +12 -0
  726. oci/resource_scheduler/models/body_parameter.py +80 -0
  727. oci/resource_scheduler/models/change_schedule_compartment_details.py +74 -0
  728. oci/resource_scheduler/models/header_parameter.py +80 -0
  729. oci/resource_scheduler/models/parameter.py +123 -0
  730. oci/resource_scheduler/models/path_parameter.py +80 -0
  731. oci/resource_scheduler/models/query_parameter.py +80 -0
  732. oci/resource_scheduler/models/resource.py +113 -2
  733. oci/resource_scheduler/models/schedule.py +71 -0
  734. oci/resource_scheduler/schedule_client.py +156 -18
  735. oci/resource_scheduler/schedule_client_composite_operations.py +44 -0
  736. oci/resource_search/resource_search_client.py +3 -3
  737. oci/rover/rover_bundle_client.py +8 -8
  738. oci/rover/rover_cluster_client.py +8 -8
  739. oci/rover/rover_entitlement_client.py +6 -6
  740. oci/rover/rover_node_client.py +15 -15
  741. oci/rover/shape_client.py +1 -1
  742. oci/rover/work_requests_client.py +5 -5
  743. oci/sch/connector_plugins_client.py +2 -2
  744. oci/sch/service_connector_client.py +12 -12
  745. oci/secrets/secrets_client.py +3 -3
  746. oci/security_attribute/security_attribute_client.py +18 -18
  747. oci/service_catalog/service_catalog_client.py +26 -26
  748. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  749. oci/service_mesh/service_mesh_client.py +48 -48
  750. oci/stack_monitoring/stack_monitoring_client.py +87 -87
  751. oci/streaming/stream_admin_client.py +18 -18
  752. oci/streaming/stream_client.py +8 -8
  753. oci/tenant_manager_control_plane/domain_client.py +5 -5
  754. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  755. oci/tenant_manager_control_plane/governance_client.py +2 -2
  756. oci/tenant_manager_control_plane/link_client.py +3 -3
  757. oci/tenant_manager_control_plane/orders_client.py +2 -2
  758. oci/tenant_manager_control_plane/organization_client.py +10 -10
  759. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  760. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  761. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  762. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  763. oci/threat_intelligence/threatintel_client.py +5 -5
  764. oci/usage/resources_client.py +2 -2
  765. oci/usage/rewards_client.py +6 -6
  766. oci/usage/usagelimits_client.py +1 -1
  767. oci/usage_api/usageapi_client.py +33 -33
  768. oci/vault/vaults_client.py +13 -13
  769. oci/vbs_inst/vbs_instance_client.py +10 -10
  770. oci/version.py +1 -1
  771. oci/visual_builder/vb_instance_client.py +14 -14
  772. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  773. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  774. oci/waa/waa_client.py +13 -13
  775. oci/waa/work_request_client.py +4 -4
  776. oci/waas/redirect_client.py +6 -6
  777. oci/waas/waas_client.py +66 -66
  778. oci/waf/waf_client.py +24 -24
  779. oci/work_requests/work_request_client.py +4 -4
  780. oci/zpr/zpr_client.py +15 -15
  781. {oci-2.150.2.dist-info → oci-2.151.0.dist-info}/METADATA +1 -1
  782. {oci-2.150.2.dist-info → oci-2.151.0.dist-info}/RECORD +786 -653
  783. {oci-2.150.2.dist-info → oci-2.151.0.dist-info}/LICENSE.txt +0 -0
  784. {oci-2.150.2.dist-info → oci-2.151.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  785. {oci-2.150.2.dist-info → oci-2.151.0.dist-info}/WHEEL +0 -0
  786. {oci-2.150.2.dist-info → oci-2.151.0.dist-info}/top_level.txt +0 -0
@@ -164,7 +164,7 @@ class LogAnalyticsClient(object):
164
164
  :rtype: :class:`~oci.response.Response`
165
165
 
166
166
  :example:
167
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/add_entity_association.py.html>`__ to see an example of how to use add_entity_association API.
167
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/add_entity_association.py.html>`__ to see an example of how to use add_entity_association API.
168
168
  """
169
169
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
170
170
  required_arguments = ['namespaceName', 'logAnalyticsEntityId']
@@ -285,7 +285,7 @@ class LogAnalyticsClient(object):
285
285
  :rtype: :class:`~oci.response.Response`
286
286
 
287
287
  :example:
288
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/add_source_event_types.py.html>`__ to see an example of how to use add_source_event_types API.
288
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/add_source_event_types.py.html>`__ to see an example of how to use add_source_event_types API.
289
289
  """
290
290
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
291
291
  required_arguments = ['namespaceName', 'sourceName']
@@ -429,7 +429,7 @@ class LogAnalyticsClient(object):
429
429
  :rtype: :class:`~oci.response.Response`
430
430
 
431
431
  :example:
432
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/append_lookup_data.py.html>`__ to see an example of how to use append_lookup_data API.
432
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/append_lookup_data.py.html>`__ to see an example of how to use append_lookup_data API.
433
433
  """
434
434
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
435
435
  required_arguments = ['namespaceName', 'lookupName']
@@ -587,7 +587,7 @@ class LogAnalyticsClient(object):
587
587
  :rtype: :class:`~oci.response.Response`
588
588
 
589
589
  :example:
590
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/assign_encryption_key.py.html>`__ to see an example of how to use assign_encryption_key API.
590
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/assign_encryption_key.py.html>`__ to see an example of how to use assign_encryption_key API.
591
591
  """
592
592
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
593
593
  required_arguments = ['namespaceName']
@@ -714,7 +714,7 @@ class LogAnalyticsClient(object):
714
714
  :rtype: :class:`~oci.response.Response`
715
715
 
716
716
  :example:
717
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/batch_get_basic_info.py.html>`__ to see an example of how to use batch_get_basic_info API.
717
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/batch_get_basic_info.py.html>`__ to see an example of how to use batch_get_basic_info API.
718
718
  """
719
719
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
720
720
  required_arguments = ['namespaceName', 'isIncludeDeleted']
@@ -859,7 +859,7 @@ class LogAnalyticsClient(object):
859
859
  :rtype: :class:`~oci.response.Response`
860
860
 
861
861
  :example:
862
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/cancel_query_work_request.py.html>`__ to see an example of how to use cancel_query_work_request API.
862
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/cancel_query_work_request.py.html>`__ to see an example of how to use cancel_query_work_request API.
863
863
  """
864
864
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
865
865
  required_arguments = ['namespaceName', 'workRequestId']
@@ -978,7 +978,7 @@ class LogAnalyticsClient(object):
978
978
  :rtype: :class:`~oci.response.Response`
979
979
 
980
980
  :example:
981
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/change_ingest_time_rule_compartment.py.html>`__ to see an example of how to use change_ingest_time_rule_compartment API.
981
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/change_ingest_time_rule_compartment.py.html>`__ to see an example of how to use change_ingest_time_rule_compartment API.
982
982
  """
983
983
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
984
984
  required_arguments = ['namespaceName', 'ingestTimeRuleId']
@@ -1106,7 +1106,7 @@ class LogAnalyticsClient(object):
1106
1106
  :rtype: :class:`~oci.response.Response`
1107
1107
 
1108
1108
  :example:
1109
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/change_log_analytics_em_bridge_compartment.py.html>`__ to see an example of how to use change_log_analytics_em_bridge_compartment API.
1109
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/change_log_analytics_em_bridge_compartment.py.html>`__ to see an example of how to use change_log_analytics_em_bridge_compartment API.
1110
1110
  """
1111
1111
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1112
1112
  required_arguments = ['namespaceName', 'logAnalyticsEmBridgeId']
@@ -1234,7 +1234,7 @@ class LogAnalyticsClient(object):
1234
1234
  :rtype: :class:`~oci.response.Response`
1235
1235
 
1236
1236
  :example:
1237
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/change_log_analytics_entity_compartment.py.html>`__ to see an example of how to use change_log_analytics_entity_compartment API.
1237
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/change_log_analytics_entity_compartment.py.html>`__ to see an example of how to use change_log_analytics_entity_compartment API.
1238
1238
  """
1239
1239
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1240
1240
  required_arguments = ['namespaceName', 'logAnalyticsEntityId']
@@ -1362,7 +1362,7 @@ class LogAnalyticsClient(object):
1362
1362
  :rtype: :class:`~oci.response.Response`
1363
1363
 
1364
1364
  :example:
1365
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/change_log_analytics_log_group_compartment.py.html>`__ to see an example of how to use change_log_analytics_log_group_compartment API.
1365
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/change_log_analytics_log_group_compartment.py.html>`__ to see an example of how to use change_log_analytics_log_group_compartment API.
1366
1366
  """
1367
1367
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1368
1368
  required_arguments = ['namespaceName', 'logAnalyticsLogGroupId']
@@ -1485,7 +1485,7 @@ class LogAnalyticsClient(object):
1485
1485
  :rtype: :class:`~oci.response.Response`
1486
1486
 
1487
1487
  :example:
1488
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/change_log_analytics_object_collection_rule_compartment.py.html>`__ to see an example of how to use change_log_analytics_object_collection_rule_compartment API.
1488
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/change_log_analytics_object_collection_rule_compartment.py.html>`__ to see an example of how to use change_log_analytics_object_collection_rule_compartment API.
1489
1489
  """
1490
1490
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1491
1491
  required_arguments = ['namespaceName', 'logAnalyticsObjectCollectionRuleId']
@@ -1561,6 +1561,134 @@ class LogAnalyticsClient(object):
1561
1561
  api_reference_link=api_reference_link,
1562
1562
  required_arguments=required_arguments)
1563
1563
 
1564
+ def change_lookup_compartment(self, namespace_name, lookup_name, change_lookup_compartment_details, **kwargs):
1565
+ """
1566
+ Moves the specified lookup to a different compartment.
1567
+
1568
+
1569
+ :param str namespace_name: (required)
1570
+ The Logging Analytics namespace used for the request.
1571
+
1572
+ :param str lookup_name: (required)
1573
+ The name of the lookup to operate on.
1574
+
1575
+ :param oci.log_analytics.models.ChangeLookupCompartmentDetails change_lookup_compartment_details: (required)
1576
+ The compartment id to move the lookup to.
1577
+
1578
+ :param str if_match: (optional)
1579
+ For optimistic concurrency control. In the PUT or DELETE call
1580
+ for a resource, set the `if-match` parameter to the value of the
1581
+ etag from a previous GET or POST response for that resource.
1582
+ The resource will be updated or deleted only if the etag you
1583
+ provide matches the resource's current etag value.
1584
+
1585
+ :param str opc_request_id: (optional)
1586
+ The client request ID for tracing.
1587
+
1588
+ :param str opc_retry_token: (optional)
1589
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
1590
+ server error without risk of executing that same action again. Retry tokens expire after 24
1591
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
1592
+ has been deleted and purged from the system, then a retry of the original creation request
1593
+ might be rejected.
1594
+
1595
+ :param obj retry_strategy: (optional)
1596
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1597
+
1598
+ 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.
1599
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
1600
+
1601
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1602
+
1603
+ :param bool allow_control_chars: (optional)
1604
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
1605
+ By default, the response will not allow control characters in strings
1606
+
1607
+ :return: A :class:`~oci.response.Response` object with data of type None
1608
+ :rtype: :class:`~oci.response.Response`
1609
+
1610
+ :example:
1611
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/change_lookup_compartment.py.html>`__ to see an example of how to use change_lookup_compartment API.
1612
+ """
1613
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1614
+ required_arguments = ['namespaceName', 'lookupName']
1615
+ resource_path = "/namespaces/{namespaceName}/lookups/{lookupName}/actions/changeCompartment"
1616
+ method = "POST"
1617
+ operation_name = "change_lookup_compartment"
1618
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/logan-api-spec/20200601/LogAnalyticsLookup/ChangeLookupCompartment"
1619
+
1620
+ # Don't accept unknown kwargs
1621
+ expected_kwargs = [
1622
+ "allow_control_chars",
1623
+ "retry_strategy",
1624
+ "if_match",
1625
+ "opc_request_id",
1626
+ "opc_retry_token"
1627
+ ]
1628
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1629
+ if extra_kwargs:
1630
+ raise ValueError(
1631
+ f"change_lookup_compartment got unknown kwargs: {extra_kwargs!r}")
1632
+
1633
+ path_params = {
1634
+ "namespaceName": namespace_name,
1635
+ "lookupName": lookup_name
1636
+ }
1637
+
1638
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1639
+
1640
+ for (k, v) in six.iteritems(path_params):
1641
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1642
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
1643
+
1644
+ header_params = {
1645
+ "accept": "application/json",
1646
+ "content-type": "application/json",
1647
+ "if-match": kwargs.get("if_match", missing),
1648
+ "opc-request-id": kwargs.get("opc_request_id", missing),
1649
+ "opc-retry-token": kwargs.get("opc_retry_token", missing)
1650
+ }
1651
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1652
+ # Set default value for expect header if user has not overridden it
1653
+ lowercase_header_params_keys = [k.lower() for k in header_params]
1654
+ if "expect" not in lowercase_header_params_keys:
1655
+ header_params["expect"] = "100-continue"
1656
+
1657
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
1658
+ operation_retry_strategy=kwargs.get('retry_strategy'),
1659
+ client_retry_strategy=self.retry_strategy
1660
+ )
1661
+ if retry_strategy is None:
1662
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
1663
+
1664
+ if retry_strategy:
1665
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
1666
+ self.base_client.add_opc_retry_token_if_needed(header_params)
1667
+ self.base_client.add_opc_client_retries_header(header_params)
1668
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
1669
+ return retry_strategy.make_retrying_call(
1670
+ self.base_client.call_api,
1671
+ resource_path=resource_path,
1672
+ method=method,
1673
+ path_params=path_params,
1674
+ header_params=header_params,
1675
+ body=change_lookup_compartment_details,
1676
+ allow_control_chars=kwargs.get('allow_control_chars'),
1677
+ operation_name=operation_name,
1678
+ api_reference_link=api_reference_link,
1679
+ required_arguments=required_arguments)
1680
+ else:
1681
+ return self.base_client.call_api(
1682
+ resource_path=resource_path,
1683
+ method=method,
1684
+ path_params=path_params,
1685
+ header_params=header_params,
1686
+ body=change_lookup_compartment_details,
1687
+ allow_control_chars=kwargs.get('allow_control_chars'),
1688
+ operation_name=operation_name,
1689
+ api_reference_link=api_reference_link,
1690
+ required_arguments=required_arguments)
1691
+
1564
1692
  def change_scheduled_task_compartment(self, namespace_name, scheduled_task_id, change_scheduled_task_compartment_details, **kwargs):
1565
1693
  """
1566
1694
  Move the scheduled task into a different compartment within the same tenancy.
@@ -1609,7 +1737,7 @@ class LogAnalyticsClient(object):
1609
1737
  :rtype: :class:`~oci.response.Response`
1610
1738
 
1611
1739
  :example:
1612
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/change_scheduled_task_compartment.py.html>`__ to see an example of how to use change_scheduled_task_compartment API.
1740
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/change_scheduled_task_compartment.py.html>`__ to see an example of how to use change_scheduled_task_compartment API.
1613
1741
  """
1614
1742
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1615
1743
  required_arguments = ['namespaceName', 'scheduledTaskId']
@@ -1735,7 +1863,7 @@ class LogAnalyticsClient(object):
1735
1863
  :rtype: :class:`~oci.response.Response`
1736
1864
 
1737
1865
  :example:
1738
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/clean.py.html>`__ to see an example of how to use clean API.
1866
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/clean.py.html>`__ to see an example of how to use clean API.
1739
1867
  """
1740
1868
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1741
1869
  required_arguments = ['namespaceName', 'scheduledTaskId']
@@ -1848,7 +1976,7 @@ class LogAnalyticsClient(object):
1848
1976
  :rtype: :class:`~oci.response.Response`
1849
1977
 
1850
1978
  :example:
1851
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/compare_content.py.html>`__ to see an example of how to use compare_content API.
1979
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/compare_content.py.html>`__ to see an example of how to use compare_content API.
1852
1980
  """
1853
1981
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1854
1982
  required_arguments = ['namespaceName']
@@ -1962,7 +2090,7 @@ class LogAnalyticsClient(object):
1962
2090
  :rtype: :class:`~oci.response.Response`
1963
2091
 
1964
2092
  :example:
1965
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/create_ingest_time_rule.py.html>`__ to see an example of how to use create_ingest_time_rule API.
2093
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/create_ingest_time_rule.py.html>`__ to see an example of how to use create_ingest_time_rule API.
1966
2094
  """
1967
2095
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1968
2096
  required_arguments = ['namespaceName']
@@ -2079,7 +2207,7 @@ class LogAnalyticsClient(object):
2079
2207
  :rtype: :class:`~oci.response.Response`
2080
2208
 
2081
2209
  :example:
2082
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/create_log_analytics_em_bridge.py.html>`__ to see an example of how to use create_log_analytics_em_bridge API.
2210
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/create_log_analytics_em_bridge.py.html>`__ to see an example of how to use create_log_analytics_em_bridge API.
2083
2211
  """
2084
2212
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2085
2213
  required_arguments = ['namespaceName']
@@ -2196,7 +2324,7 @@ class LogAnalyticsClient(object):
2196
2324
  :rtype: :class:`~oci.response.Response`
2197
2325
 
2198
2326
  :example:
2199
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/create_log_analytics_entity.py.html>`__ to see an example of how to use create_log_analytics_entity API.
2327
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/create_log_analytics_entity.py.html>`__ to see an example of how to use create_log_analytics_entity API.
2200
2328
  """
2201
2329
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2202
2330
  required_arguments = ['namespaceName']
@@ -2313,7 +2441,7 @@ class LogAnalyticsClient(object):
2313
2441
  :rtype: :class:`~oci.response.Response`
2314
2442
 
2315
2443
  :example:
2316
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/create_log_analytics_entity_type.py.html>`__ to see an example of how to use create_log_analytics_entity_type API.
2444
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/create_log_analytics_entity_type.py.html>`__ to see an example of how to use create_log_analytics_entity_type API.
2317
2445
  """
2318
2446
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2319
2447
  required_arguments = ['namespaceName']
@@ -2428,7 +2556,7 @@ class LogAnalyticsClient(object):
2428
2556
  :rtype: :class:`~oci.response.Response`
2429
2557
 
2430
2558
  :example:
2431
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/create_log_analytics_log_group.py.html>`__ to see an example of how to use create_log_analytics_log_group API.
2559
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/create_log_analytics_log_group.py.html>`__ to see an example of how to use create_log_analytics_log_group API.
2432
2560
  """
2433
2561
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2434
2562
  required_arguments = ['namespaceName']
@@ -2538,7 +2666,7 @@ class LogAnalyticsClient(object):
2538
2666
  :rtype: :class:`~oci.response.Response`
2539
2667
 
2540
2668
  :example:
2541
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/create_log_analytics_object_collection_rule.py.html>`__ to see an example of how to use create_log_analytics_object_collection_rule API.
2669
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/create_log_analytics_object_collection_rule.py.html>`__ to see an example of how to use create_log_analytics_object_collection_rule API.
2542
2670
  """
2543
2671
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2544
2672
  required_arguments = ['namespaceName']
@@ -2650,7 +2778,7 @@ class LogAnalyticsClient(object):
2650
2778
  :rtype: :class:`~oci.response.Response`
2651
2779
 
2652
2780
  :example:
2653
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/create_scheduled_task.py.html>`__ to see an example of how to use create_scheduled_task API.
2781
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/create_scheduled_task.py.html>`__ to see an example of how to use create_scheduled_task API.
2654
2782
  """
2655
2783
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2656
2784
  required_arguments = ['namespaceName']
@@ -2765,7 +2893,7 @@ class LogAnalyticsClient(object):
2765
2893
  :rtype: :class:`~oci.response.Response`
2766
2894
 
2767
2895
  :example:
2768
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/delete_associations.py.html>`__ to see an example of how to use delete_associations API.
2896
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/delete_associations.py.html>`__ to see an example of how to use delete_associations API.
2769
2897
  """
2770
2898
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2771
2899
  required_arguments = ['namespaceName']
@@ -2887,7 +3015,7 @@ class LogAnalyticsClient(object):
2887
3015
  :rtype: :class:`~oci.response.Response`
2888
3016
 
2889
3017
  :example:
2890
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/delete_field.py.html>`__ to see an example of how to use delete_field API.
3018
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/delete_field.py.html>`__ to see an example of how to use delete_field API.
2891
3019
  """
2892
3020
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2893
3021
  required_arguments = ['namespaceName', 'fieldName']
@@ -2999,7 +3127,7 @@ class LogAnalyticsClient(object):
2999
3127
  :rtype: :class:`~oci.response.Response`
3000
3128
 
3001
3129
  :example:
3002
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/delete_ingest_time_rule.py.html>`__ to see an example of how to use delete_ingest_time_rule API.
3130
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/delete_ingest_time_rule.py.html>`__ to see an example of how to use delete_ingest_time_rule API.
3003
3131
  """
3004
3132
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3005
3133
  required_arguments = ['namespaceName', 'ingestTimeRuleId']
@@ -3115,7 +3243,7 @@ class LogAnalyticsClient(object):
3115
3243
  :rtype: :class:`~oci.response.Response`
3116
3244
 
3117
3245
  :example:
3118
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/delete_label.py.html>`__ to see an example of how to use delete_label API.
3246
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/delete_label.py.html>`__ to see an example of how to use delete_label API.
3119
3247
  """
3120
3248
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3121
3249
  required_arguments = ['namespaceName', 'labelName']
@@ -3230,7 +3358,7 @@ class LogAnalyticsClient(object):
3230
3358
  :rtype: :class:`~oci.response.Response`
3231
3359
 
3232
3360
  :example:
3233
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/delete_log_analytics_em_bridge.py.html>`__ to see an example of how to use delete_log_analytics_em_bridge API.
3361
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/delete_log_analytics_em_bridge.py.html>`__ to see an example of how to use delete_log_analytics_em_bridge API.
3234
3362
  """
3235
3363
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3236
3364
  required_arguments = ['namespaceName', 'logAnalyticsEmBridgeId']
@@ -3329,6 +3457,9 @@ class LogAnalyticsClient(object):
3329
3457
  :param str opc_request_id: (optional)
3330
3458
  The client request ID for tracing.
3331
3459
 
3460
+ :param bool is_force_delete: (optional)
3461
+ Option to delete entity even if the entity is associated with a log source and stop any log collections associated with this entity.
3462
+
3332
3463
  :param obj retry_strategy: (optional)
3333
3464
  A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
3334
3465
 
@@ -3345,7 +3476,7 @@ class LogAnalyticsClient(object):
3345
3476
  :rtype: :class:`~oci.response.Response`
3346
3477
 
3347
3478
  :example:
3348
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/delete_log_analytics_entity.py.html>`__ to see an example of how to use delete_log_analytics_entity API.
3479
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/delete_log_analytics_entity.py.html>`__ to see an example of how to use delete_log_analytics_entity API.
3349
3480
  """
3350
3481
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3351
3482
  required_arguments = ['namespaceName', 'logAnalyticsEntityId']
@@ -3359,7 +3490,8 @@ class LogAnalyticsClient(object):
3359
3490
  "allow_control_chars",
3360
3491
  "retry_strategy",
3361
3492
  "if_match",
3362
- "opc_request_id"
3493
+ "opc_request_id",
3494
+ "is_force_delete"
3363
3495
  ]
3364
3496
  extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
3365
3497
  if extra_kwargs:
@@ -3377,6 +3509,11 @@ class LogAnalyticsClient(object):
3377
3509
  if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
3378
3510
  raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
3379
3511
 
3512
+ query_params = {
3513
+ "isForceDelete": kwargs.get("is_force_delete", missing)
3514
+ }
3515
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
3516
+
3380
3517
  header_params = {
3381
3518
  "accept": "application/json",
3382
3519
  "content-type": "application/json",
@@ -3399,6 +3536,7 @@ class LogAnalyticsClient(object):
3399
3536
  resource_path=resource_path,
3400
3537
  method=method,
3401
3538
  path_params=path_params,
3539
+ query_params=query_params,
3402
3540
  header_params=header_params,
3403
3541
  allow_control_chars=kwargs.get('allow_control_chars'),
3404
3542
  operation_name=operation_name,
@@ -3409,6 +3547,7 @@ class LogAnalyticsClient(object):
3409
3547
  resource_path=resource_path,
3410
3548
  method=method,
3411
3549
  path_params=path_params,
3550
+ query_params=query_params,
3412
3551
  header_params=header_params,
3413
3552
  allow_control_chars=kwargs.get('allow_control_chars'),
3414
3553
  operation_name=operation_name,
@@ -3452,7 +3591,7 @@ class LogAnalyticsClient(object):
3452
3591
  :rtype: :class:`~oci.response.Response`
3453
3592
 
3454
3593
  :example:
3455
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/delete_log_analytics_entity_type.py.html>`__ to see an example of how to use delete_log_analytics_entity_type API.
3594
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/delete_log_analytics_entity_type.py.html>`__ to see an example of how to use delete_log_analytics_entity_type API.
3456
3595
  """
3457
3596
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3458
3597
  required_arguments = ['namespaceName', 'entityTypeName']
@@ -3559,7 +3698,7 @@ class LogAnalyticsClient(object):
3559
3698
  :rtype: :class:`~oci.response.Response`
3560
3699
 
3561
3700
  :example:
3562
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/delete_log_analytics_log_group.py.html>`__ to see an example of how to use delete_log_analytics_log_group API.
3701
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/delete_log_analytics_log_group.py.html>`__ to see an example of how to use delete_log_analytics_log_group API.
3563
3702
  """
3564
3703
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3565
3704
  required_arguments = ['namespaceName', 'logAnalyticsLogGroupId']
@@ -3671,7 +3810,7 @@ class LogAnalyticsClient(object):
3671
3810
  :rtype: :class:`~oci.response.Response`
3672
3811
 
3673
3812
  :example:
3674
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/delete_log_analytics_object_collection_rule.py.html>`__ to see an example of how to use delete_log_analytics_object_collection_rule API.
3813
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/delete_log_analytics_object_collection_rule.py.html>`__ to see an example of how to use delete_log_analytics_object_collection_rule API.
3675
3814
  """
3676
3815
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3677
3816
  required_arguments = ['namespaceName', 'logAnalyticsObjectCollectionRuleId']
@@ -3788,7 +3927,7 @@ class LogAnalyticsClient(object):
3788
3927
  :rtype: :class:`~oci.response.Response`
3789
3928
 
3790
3929
  :example:
3791
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/delete_lookup.py.html>`__ to see an example of how to use delete_lookup API.
3930
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/delete_lookup.py.html>`__ to see an example of how to use delete_lookup API.
3792
3931
  """
3793
3932
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3794
3933
  required_arguments = ['namespaceName', 'lookupName']
@@ -3915,7 +4054,7 @@ class LogAnalyticsClient(object):
3915
4054
  :rtype: :class:`~oci.response.Response`
3916
4055
 
3917
4056
  :example:
3918
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/delete_parser.py.html>`__ to see an example of how to use delete_parser API.
4057
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/delete_parser.py.html>`__ to see an example of how to use delete_parser API.
3919
4058
  """
3920
4059
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3921
4060
  required_arguments = ['namespaceName', 'parserName']
@@ -4028,7 +4167,7 @@ class LogAnalyticsClient(object):
4028
4167
  :rtype: :class:`~oci.response.Response`
4029
4168
 
4030
4169
  :example:
4031
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/delete_scheduled_task.py.html>`__ to see an example of how to use delete_scheduled_task API.
4170
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/delete_scheduled_task.py.html>`__ to see an example of how to use delete_scheduled_task API.
4032
4171
  """
4033
4172
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4034
4173
  required_arguments = ['namespaceName', 'scheduledTaskId']
@@ -4144,7 +4283,7 @@ class LogAnalyticsClient(object):
4144
4283
  :rtype: :class:`~oci.response.Response`
4145
4284
 
4146
4285
  :example:
4147
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/delete_source.py.html>`__ to see an example of how to use delete_source API.
4286
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/delete_source.py.html>`__ to see an example of how to use delete_source API.
4148
4287
  """
4149
4288
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4150
4289
  required_arguments = ['namespaceName', 'sourceName']
@@ -4257,7 +4396,7 @@ class LogAnalyticsClient(object):
4257
4396
  :rtype: :class:`~oci.response.Response`
4258
4397
 
4259
4398
  :example:
4260
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/delete_upload.py.html>`__ to see an example of how to use delete_upload API.
4399
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/delete_upload.py.html>`__ to see an example of how to use delete_upload API.
4261
4400
  """
4262
4401
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4263
4402
  required_arguments = ['namespaceName', 'uploadReference']
@@ -4361,7 +4500,7 @@ class LogAnalyticsClient(object):
4361
4500
  :rtype: :class:`~oci.response.Response`
4362
4501
 
4363
4502
  :example:
4364
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/delete_upload_file.py.html>`__ to see an example of how to use delete_upload_file API.
4503
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/delete_upload_file.py.html>`__ to see an example of how to use delete_upload_file API.
4365
4504
  """
4366
4505
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4367
4506
  required_arguments = ['namespaceName', 'uploadReference', 'fileReference']
@@ -4463,7 +4602,7 @@ class LogAnalyticsClient(object):
4463
4602
  :rtype: :class:`~oci.response.Response`
4464
4603
 
4465
4604
  :example:
4466
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/delete_upload_warning.py.html>`__ to see an example of how to use delete_upload_warning API.
4605
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/delete_upload_warning.py.html>`__ to see an example of how to use delete_upload_warning API.
4467
4606
  """
4468
4607
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4469
4608
  required_arguments = ['namespaceName', 'uploadReference', 'warningReference']
@@ -4566,7 +4705,7 @@ class LogAnalyticsClient(object):
4566
4705
  :rtype: :class:`~oci.response.Response`
4567
4706
 
4568
4707
  :example:
4569
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/disable_archiving.py.html>`__ to see an example of how to use disable_archiving API.
4708
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/disable_archiving.py.html>`__ to see an example of how to use disable_archiving API.
4570
4709
  """
4571
4710
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4572
4711
  required_arguments = ['namespaceName']
@@ -4681,7 +4820,7 @@ class LogAnalyticsClient(object):
4681
4820
  :rtype: :class:`~oci.response.Response`
4682
4821
 
4683
4822
  :example:
4684
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/disable_auto_association.py.html>`__ to see an example of how to use disable_auto_association API.
4823
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/disable_auto_association.py.html>`__ to see an example of how to use disable_auto_association API.
4685
4824
  """
4686
4825
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4687
4826
  required_arguments = ['namespaceName', 'sourceName']
@@ -4797,7 +4936,7 @@ class LogAnalyticsClient(object):
4797
4936
  :rtype: :class:`~oci.response.Response`
4798
4937
 
4799
4938
  :example:
4800
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/disable_ingest_time_rule.py.html>`__ to see an example of how to use disable_ingest_time_rule API.
4939
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/disable_ingest_time_rule.py.html>`__ to see an example of how to use disable_ingest_time_rule API.
4801
4940
  """
4802
4941
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4803
4942
  required_arguments = ['namespaceName', 'ingestTimeRuleId']
@@ -4909,7 +5048,7 @@ class LogAnalyticsClient(object):
4909
5048
  :rtype: :class:`~oci.response.Response`
4910
5049
 
4911
5050
  :example:
4912
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/disable_source_event_types.py.html>`__ to see an example of how to use disable_source_event_types API.
5051
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/disable_source_event_types.py.html>`__ to see an example of how to use disable_source_event_types API.
4913
5052
  """
4914
5053
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4915
5054
  required_arguments = ['namespaceName', 'sourceName']
@@ -5022,7 +5161,7 @@ class LogAnalyticsClient(object):
5022
5161
  :rtype: :class:`~oci.response.Response`
5023
5162
 
5024
5163
  :example:
5025
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/enable_archiving.py.html>`__ to see an example of how to use enable_archiving API.
5164
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/enable_archiving.py.html>`__ to see an example of how to use enable_archiving API.
5026
5165
  """
5027
5166
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
5028
5167
  required_arguments = ['namespaceName']
@@ -5137,7 +5276,7 @@ class LogAnalyticsClient(object):
5137
5276
  :rtype: :class:`~oci.response.Response`
5138
5277
 
5139
5278
  :example:
5140
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/enable_auto_association.py.html>`__ to see an example of how to use enable_auto_association API.
5279
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/enable_auto_association.py.html>`__ to see an example of how to use enable_auto_association API.
5141
5280
  """
5142
5281
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
5143
5282
  required_arguments = ['namespaceName', 'sourceName']
@@ -5253,7 +5392,7 @@ class LogAnalyticsClient(object):
5253
5392
  :rtype: :class:`~oci.response.Response`
5254
5393
 
5255
5394
  :example:
5256
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/enable_ingest_time_rule.py.html>`__ to see an example of how to use enable_ingest_time_rule API.
5395
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/enable_ingest_time_rule.py.html>`__ to see an example of how to use enable_ingest_time_rule API.
5257
5396
  """
5258
5397
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
5259
5398
  required_arguments = ['namespaceName', 'ingestTimeRuleId']
@@ -5365,7 +5504,7 @@ class LogAnalyticsClient(object):
5365
5504
  :rtype: :class:`~oci.response.Response`
5366
5505
 
5367
5506
  :example:
5368
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/enable_source_event_types.py.html>`__ to see an example of how to use enable_source_event_types API.
5507
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/enable_source_event_types.py.html>`__ to see an example of how to use enable_source_event_types API.
5369
5508
  """
5370
5509
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
5371
5510
  required_arguments = ['namespaceName', 'sourceName']
@@ -5488,7 +5627,7 @@ class LogAnalyticsClient(object):
5488
5627
  :rtype: :class:`~oci.response.Response`
5489
5628
 
5490
5629
  :example:
5491
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/estimate_purge_data_size.py.html>`__ to see an example of how to use estimate_purge_data_size API.
5630
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/estimate_purge_data_size.py.html>`__ to see an example of how to use estimate_purge_data_size API.
5492
5631
  """
5493
5632
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
5494
5633
  required_arguments = ['namespaceName']
@@ -5600,7 +5739,7 @@ class LogAnalyticsClient(object):
5600
5739
  :rtype: :class:`~oci.response.Response`
5601
5740
 
5602
5741
  :example:
5603
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/estimate_recall_data_size.py.html>`__ to see an example of how to use estimate_recall_data_size API.
5742
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/estimate_recall_data_size.py.html>`__ to see an example of how to use estimate_recall_data_size API.
5604
5743
  """
5605
5744
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
5606
5745
  required_arguments = ['namespaceName']
@@ -5707,7 +5846,7 @@ class LogAnalyticsClient(object):
5707
5846
  :rtype: :class:`~oci.response.Response`
5708
5847
 
5709
5848
  :example:
5710
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/estimate_release_data_size.py.html>`__ to see an example of how to use estimate_release_data_size API.
5849
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/estimate_release_data_size.py.html>`__ to see an example of how to use estimate_release_data_size API.
5711
5850
  """
5712
5851
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
5713
5852
  required_arguments = ['namespaceName']
@@ -5821,7 +5960,7 @@ class LogAnalyticsClient(object):
5821
5960
  :rtype: :class:`~oci.response.Response`
5822
5961
 
5823
5962
  :example:
5824
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/export_custom_content.py.html>`__ to see an example of how to use export_custom_content API.
5963
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/export_custom_content.py.html>`__ to see an example of how to use export_custom_content API.
5825
5964
  """
5826
5965
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
5827
5966
  required_arguments = ['namespaceName']
@@ -5931,7 +6070,7 @@ class LogAnalyticsClient(object):
5931
6070
  :rtype: :class:`~oci.response.Response`
5932
6071
 
5933
6072
  :example:
5934
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/export_query_result.py.html>`__ to see an example of how to use export_query_result API.
6073
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/export_query_result.py.html>`__ to see an example of how to use export_query_result API.
5935
6074
  """
5936
6075
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
5937
6076
  required_arguments = ['namespaceName']
@@ -6050,7 +6189,7 @@ class LogAnalyticsClient(object):
6050
6189
  :rtype: :class:`~oci.response.Response`
6051
6190
 
6052
6191
  :example:
6053
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/extract_structured_log_field_paths.py.html>`__ to see an example of how to use extract_structured_log_field_paths API.
6192
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/extract_structured_log_field_paths.py.html>`__ to see an example of how to use extract_structured_log_field_paths API.
6054
6193
  """
6055
6194
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
6056
6195
  required_arguments = ['namespaceName']
@@ -6187,7 +6326,7 @@ class LogAnalyticsClient(object):
6187
6326
  :rtype: :class:`~oci.response.Response`
6188
6327
 
6189
6328
  :example:
6190
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/extract_structured_log_header_paths.py.html>`__ to see an example of how to use extract_structured_log_header_paths API.
6329
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/extract_structured_log_header_paths.py.html>`__ to see an example of how to use extract_structured_log_header_paths API.
6191
6330
  """
6192
6331
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
6193
6332
  required_arguments = ['namespaceName']
@@ -6312,7 +6451,7 @@ class LogAnalyticsClient(object):
6312
6451
  :rtype: :class:`~oci.response.Response`
6313
6452
 
6314
6453
  :example:
6315
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/filter.py.html>`__ to see an example of how to use filter API.
6454
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/filter.py.html>`__ to see an example of how to use filter API.
6316
6455
  """
6317
6456
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
6318
6457
  required_arguments = ['namespaceName']
@@ -6419,7 +6558,7 @@ class LogAnalyticsClient(object):
6419
6558
  :rtype: :class:`~oci.response.Response`
6420
6559
 
6421
6560
  :example:
6422
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/get_association_summary.py.html>`__ to see an example of how to use get_association_summary API.
6561
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/get_association_summary.py.html>`__ to see an example of how to use get_association_summary API.
6423
6562
  """
6424
6563
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
6425
6564
  required_arguments = ['namespaceName', 'compartmentId']
@@ -6527,7 +6666,7 @@ class LogAnalyticsClient(object):
6527
6666
  :rtype: :class:`~oci.response.Response`
6528
6667
 
6529
6668
  :example:
6530
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/get_category.py.html>`__ to see an example of how to use get_category API.
6669
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/get_category.py.html>`__ to see an example of how to use get_category API.
6531
6670
  """
6532
6671
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
6533
6672
  required_arguments = ['namespaceName', 'categoryName']
@@ -6636,7 +6775,7 @@ class LogAnalyticsClient(object):
6636
6775
  :rtype: :class:`~oci.response.Response`
6637
6776
 
6638
6777
  :example:
6639
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/get_column_names.py.html>`__ to see an example of how to use get_column_names API.
6778
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/get_column_names.py.html>`__ to see an example of how to use get_column_names API.
6640
6779
  """
6641
6780
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
6642
6781
  required_arguments = ['namespaceName', 'sqlQuery']
@@ -6749,7 +6888,7 @@ class LogAnalyticsClient(object):
6749
6888
  :rtype: :class:`~oci.response.Response`
6750
6889
 
6751
6890
  :example:
6752
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/get_config_work_request.py.html>`__ to see an example of how to use get_config_work_request API.
6891
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/get_config_work_request.py.html>`__ to see an example of how to use get_config_work_request API.
6753
6892
  """
6754
6893
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
6755
6894
  required_arguments = ['namespaceName', 'workRequestId']
@@ -6851,7 +6990,7 @@ class LogAnalyticsClient(object):
6851
6990
  :rtype: :class:`~oci.response.Response`
6852
6991
 
6853
6992
  :example:
6854
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/get_field.py.html>`__ to see an example of how to use get_field API.
6993
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/get_field.py.html>`__ to see an example of how to use get_field API.
6855
6994
  """
6856
6995
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
6857
6996
  required_arguments = ['namespaceName', 'fieldName']
@@ -6923,6 +7062,108 @@ class LogAnalyticsClient(object):
6923
7062
  api_reference_link=api_reference_link,
6924
7063
  required_arguments=required_arguments)
6925
7064
 
7065
+ def get_field_usages(self, namespace_name, field_name, **kwargs):
7066
+ """
7067
+ Gets usage information about the field with the specified name.
7068
+
7069
+
7070
+ :param str namespace_name: (required)
7071
+ The Logging Analytics namespace used for the request.
7072
+
7073
+ :param str field_name: (required)
7074
+ The field name.
7075
+
7076
+ :param str opc_request_id: (optional)
7077
+ The client request ID for tracing.
7078
+
7079
+ :param obj retry_strategy: (optional)
7080
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
7081
+
7082
+ 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.
7083
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
7084
+
7085
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
7086
+
7087
+ :param bool allow_control_chars: (optional)
7088
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
7089
+ By default, the response will not allow control characters in strings
7090
+
7091
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.log_analytics.models.LogAnalyticsFieldUsages`
7092
+ :rtype: :class:`~oci.response.Response`
7093
+
7094
+ :example:
7095
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/get_field_usages.py.html>`__ to see an example of how to use get_field_usages API.
7096
+ """
7097
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
7098
+ required_arguments = ['namespaceName', 'fieldName']
7099
+ resource_path = "/namespaces/{namespaceName}/fields/{fieldName}/usages"
7100
+ method = "GET"
7101
+ operation_name = "get_field_usages"
7102
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/logan-api-spec/20200601/LogAnalyticsField/GetFieldUsages"
7103
+
7104
+ # Don't accept unknown kwargs
7105
+ expected_kwargs = [
7106
+ "allow_control_chars",
7107
+ "retry_strategy",
7108
+ "opc_request_id"
7109
+ ]
7110
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
7111
+ if extra_kwargs:
7112
+ raise ValueError(
7113
+ f"get_field_usages got unknown kwargs: {extra_kwargs!r}")
7114
+
7115
+ path_params = {
7116
+ "namespaceName": namespace_name,
7117
+ "fieldName": field_name
7118
+ }
7119
+
7120
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
7121
+
7122
+ for (k, v) in six.iteritems(path_params):
7123
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
7124
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
7125
+
7126
+ header_params = {
7127
+ "accept": "application/json;charset=UTF-8",
7128
+ "content-type": "application/json",
7129
+ "opc-request-id": kwargs.get("opc_request_id", missing)
7130
+ }
7131
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
7132
+
7133
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
7134
+ operation_retry_strategy=kwargs.get('retry_strategy'),
7135
+ client_retry_strategy=self.retry_strategy
7136
+ )
7137
+ if retry_strategy is None:
7138
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
7139
+
7140
+ if retry_strategy:
7141
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
7142
+ self.base_client.add_opc_client_retries_header(header_params)
7143
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
7144
+ return retry_strategy.make_retrying_call(
7145
+ self.base_client.call_api,
7146
+ resource_path=resource_path,
7147
+ method=method,
7148
+ path_params=path_params,
7149
+ header_params=header_params,
7150
+ response_type="LogAnalyticsFieldUsages",
7151
+ allow_control_chars=kwargs.get('allow_control_chars'),
7152
+ operation_name=operation_name,
7153
+ api_reference_link=api_reference_link,
7154
+ required_arguments=required_arguments)
7155
+ else:
7156
+ return self.base_client.call_api(
7157
+ resource_path=resource_path,
7158
+ method=method,
7159
+ path_params=path_params,
7160
+ header_params=header_params,
7161
+ response_type="LogAnalyticsFieldUsages",
7162
+ allow_control_chars=kwargs.get('allow_control_chars'),
7163
+ operation_name=operation_name,
7164
+ api_reference_link=api_reference_link,
7165
+ required_arguments=required_arguments)
7166
+
6926
7167
  def get_fields_summary(self, namespace_name, **kwargs):
6927
7168
  """
6928
7169
  Returns the count of fields. You may optionally specify isShowDetail=true to view a summary of each field data type.
@@ -6953,7 +7194,7 @@ class LogAnalyticsClient(object):
6953
7194
  :rtype: :class:`~oci.response.Response`
6954
7195
 
6955
7196
  :example:
6956
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/get_fields_summary.py.html>`__ to see an example of how to use get_fields_summary API.
7197
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/get_fields_summary.py.html>`__ to see an example of how to use get_fields_summary API.
6957
7198
  """
6958
7199
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
6959
7200
  required_arguments = ['namespaceName']
@@ -7062,7 +7303,7 @@ class LogAnalyticsClient(object):
7062
7303
  :rtype: :class:`~oci.response.Response`
7063
7304
 
7064
7305
  :example:
7065
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/get_ingest_time_rule.py.html>`__ to see an example of how to use get_ingest_time_rule API.
7306
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/get_ingest_time_rule.py.html>`__ to see an example of how to use get_ingest_time_rule API.
7066
7307
  """
7067
7308
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
7068
7309
  required_arguments = ['namespaceName', 'ingestTimeRuleId']
@@ -7164,7 +7405,7 @@ class LogAnalyticsClient(object):
7164
7405
  :rtype: :class:`~oci.response.Response`
7165
7406
 
7166
7407
  :example:
7167
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/get_label.py.html>`__ to see an example of how to use get_label API.
7408
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/get_label.py.html>`__ to see an example of how to use get_label API.
7168
7409
  """
7169
7410
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
7170
7411
  required_arguments = ['namespaceName', 'labelName']
@@ -7263,7 +7504,7 @@ class LogAnalyticsClient(object):
7263
7504
  :rtype: :class:`~oci.response.Response`
7264
7505
 
7265
7506
  :example:
7266
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/get_label_summary.py.html>`__ to see an example of how to use get_label_summary API.
7507
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/get_label_summary.py.html>`__ to see an example of how to use get_label_summary API.
7267
7508
  """
7268
7509
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
7269
7510
  required_arguments = ['namespaceName']
@@ -7364,7 +7605,7 @@ class LogAnalyticsClient(object):
7364
7605
  :rtype: :class:`~oci.response.Response`
7365
7606
 
7366
7607
  :example:
7367
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/get_log_analytics_em_bridge.py.html>`__ to see an example of how to use get_log_analytics_em_bridge API.
7608
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/get_log_analytics_em_bridge.py.html>`__ to see an example of how to use get_log_analytics_em_bridge API.
7368
7609
  """
7369
7610
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
7370
7611
  required_arguments = ['namespaceName', 'logAnalyticsEmBridgeId']
@@ -7464,7 +7705,7 @@ class LogAnalyticsClient(object):
7464
7705
  :rtype: :class:`~oci.response.Response`
7465
7706
 
7466
7707
  :example:
7467
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/get_log_analytics_em_bridge_summary.py.html>`__ to see an example of how to use get_log_analytics_em_bridge_summary API.
7708
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/get_log_analytics_em_bridge_summary.py.html>`__ to see an example of how to use get_log_analytics_em_bridge_summary API.
7468
7709
  """
7469
7710
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
7470
7711
  required_arguments = ['namespaceName', 'compartmentId']
@@ -7570,7 +7811,7 @@ class LogAnalyticsClient(object):
7570
7811
  :rtype: :class:`~oci.response.Response`
7571
7812
 
7572
7813
  :example:
7573
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/get_log_analytics_entities_summary.py.html>`__ to see an example of how to use get_log_analytics_entities_summary API.
7814
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/get_log_analytics_entities_summary.py.html>`__ to see an example of how to use get_log_analytics_entities_summary API.
7574
7815
  """
7575
7816
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
7576
7817
  required_arguments = ['namespaceName', 'compartmentId']
@@ -7660,6 +7901,9 @@ class LogAnalyticsClient(object):
7660
7901
  :param str opc_request_id: (optional)
7661
7902
  The client request ID for tracing.
7662
7903
 
7904
+ :param bool is_show_associated_sources_count: (optional)
7905
+ Option to return count of associated log sources for log analytics entity(s).
7906
+
7663
7907
  :param obj retry_strategy: (optional)
7664
7908
  A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
7665
7909
 
@@ -7676,7 +7920,7 @@ class LogAnalyticsClient(object):
7676
7920
  :rtype: :class:`~oci.response.Response`
7677
7921
 
7678
7922
  :example:
7679
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/get_log_analytics_entity.py.html>`__ to see an example of how to use get_log_analytics_entity API.
7923
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/get_log_analytics_entity.py.html>`__ to see an example of how to use get_log_analytics_entity API.
7680
7924
  """
7681
7925
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
7682
7926
  required_arguments = ['namespaceName', 'logAnalyticsEntityId']
@@ -7689,7 +7933,8 @@ class LogAnalyticsClient(object):
7689
7933
  expected_kwargs = [
7690
7934
  "allow_control_chars",
7691
7935
  "retry_strategy",
7692
- "opc_request_id"
7936
+ "opc_request_id",
7937
+ "is_show_associated_sources_count"
7693
7938
  ]
7694
7939
  extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
7695
7940
  if extra_kwargs:
@@ -7707,6 +7952,11 @@ class LogAnalyticsClient(object):
7707
7952
  if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
7708
7953
  raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
7709
7954
 
7955
+ query_params = {
7956
+ "isShowAssociatedSourcesCount": kwargs.get("is_show_associated_sources_count", missing)
7957
+ }
7958
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
7959
+
7710
7960
  header_params = {
7711
7961
  "accept": "application/json",
7712
7962
  "content-type": "application/json",
@@ -7728,6 +7978,7 @@ class LogAnalyticsClient(object):
7728
7978
  resource_path=resource_path,
7729
7979
  method=method,
7730
7980
  path_params=path_params,
7981
+ query_params=query_params,
7731
7982
  header_params=header_params,
7732
7983
  response_type="LogAnalyticsEntity",
7733
7984
  allow_control_chars=kwargs.get('allow_control_chars'),
@@ -7739,6 +7990,7 @@ class LogAnalyticsClient(object):
7739
7990
  resource_path=resource_path,
7740
7991
  method=method,
7741
7992
  path_params=path_params,
7993
+ query_params=query_params,
7742
7994
  header_params=header_params,
7743
7995
  response_type="LogAnalyticsEntity",
7744
7996
  allow_control_chars=kwargs.get('allow_control_chars'),
@@ -7776,7 +8028,7 @@ class LogAnalyticsClient(object):
7776
8028
  :rtype: :class:`~oci.response.Response`
7777
8029
 
7778
8030
  :example:
7779
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/get_log_analytics_entity_type.py.html>`__ to see an example of how to use get_log_analytics_entity_type API.
8031
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/get_log_analytics_entity_type.py.html>`__ to see an example of how to use get_log_analytics_entity_type API.
7780
8032
  """
7781
8033
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
7782
8034
  required_arguments = ['namespaceName', 'entityTypeName']
@@ -7876,7 +8128,7 @@ class LogAnalyticsClient(object):
7876
8128
  :rtype: :class:`~oci.response.Response`
7877
8129
 
7878
8130
  :example:
7879
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/get_log_analytics_log_group.py.html>`__ to see an example of how to use get_log_analytics_log_group API.
8131
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/get_log_analytics_log_group.py.html>`__ to see an example of how to use get_log_analytics_log_group API.
7880
8132
  """
7881
8133
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
7882
8134
  required_arguments = ['namespaceName', 'logAnalyticsLogGroupId']
@@ -7978,7 +8230,7 @@ class LogAnalyticsClient(object):
7978
8230
  :rtype: :class:`~oci.response.Response`
7979
8231
 
7980
8232
  :example:
7981
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/get_log_analytics_log_groups_summary.py.html>`__ to see an example of how to use get_log_analytics_log_groups_summary API.
8233
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/get_log_analytics_log_groups_summary.py.html>`__ to see an example of how to use get_log_analytics_log_groups_summary API.
7982
8234
  """
7983
8235
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
7984
8236
  required_arguments = ['namespaceName', 'compartmentId']
@@ -8088,7 +8340,7 @@ class LogAnalyticsClient(object):
8088
8340
  :rtype: :class:`~oci.response.Response`
8089
8341
 
8090
8342
  :example:
8091
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/get_log_analytics_object_collection_rule.py.html>`__ to see an example of how to use get_log_analytics_object_collection_rule API.
8343
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/get_log_analytics_object_collection_rule.py.html>`__ to see an example of how to use get_log_analytics_object_collection_rule API.
8092
8344
  """
8093
8345
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
8094
8346
  required_arguments = ['namespaceName', 'logAnalyticsObjectCollectionRuleId']
@@ -8187,7 +8439,7 @@ class LogAnalyticsClient(object):
8187
8439
  :rtype: :class:`~oci.response.Response`
8188
8440
 
8189
8441
  :example:
8190
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/get_log_sets_count.py.html>`__ to see an example of how to use get_log_sets_count API.
8442
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/get_log_sets_count.py.html>`__ to see an example of how to use get_log_sets_count API.
8191
8443
  """
8192
8444
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
8193
8445
  required_arguments = ['namespaceName']
@@ -8288,7 +8540,7 @@ class LogAnalyticsClient(object):
8288
8540
  :rtype: :class:`~oci.response.Response`
8289
8541
 
8290
8542
  :example:
8291
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/get_lookup.py.html>`__ to see an example of how to use get_lookup API.
8543
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/get_lookup.py.html>`__ to see an example of how to use get_lookup API.
8292
8544
  """
8293
8545
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
8294
8546
  required_arguments = ['namespaceName', 'lookupName']
@@ -8371,6 +8623,9 @@ class LogAnalyticsClient(object):
8371
8623
  :param str opc_request_id: (optional)
8372
8624
  The client request ID for tracing.
8373
8625
 
8626
+ :param str compartment_id: (optional)
8627
+ The compartment id
8628
+
8374
8629
  :param obj retry_strategy: (optional)
8375
8630
  A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
8376
8631
 
@@ -8387,7 +8642,7 @@ class LogAnalyticsClient(object):
8387
8642
  :rtype: :class:`~oci.response.Response`
8388
8643
 
8389
8644
  :example:
8390
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/get_lookup_summary.py.html>`__ to see an example of how to use get_lookup_summary API.
8645
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/get_lookup_summary.py.html>`__ to see an example of how to use get_lookup_summary API.
8391
8646
  """
8392
8647
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
8393
8648
  required_arguments = ['namespaceName']
@@ -8400,7 +8655,8 @@ class LogAnalyticsClient(object):
8400
8655
  expected_kwargs = [
8401
8656
  "allow_control_chars",
8402
8657
  "retry_strategy",
8403
- "opc_request_id"
8658
+ "opc_request_id",
8659
+ "compartment_id"
8404
8660
  ]
8405
8661
  extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
8406
8662
  if extra_kwargs:
@@ -8417,6 +8673,11 @@ class LogAnalyticsClient(object):
8417
8673
  if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
8418
8674
  raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
8419
8675
 
8676
+ query_params = {
8677
+ "compartmentId": kwargs.get("compartment_id", missing)
8678
+ }
8679
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
8680
+
8420
8681
  header_params = {
8421
8682
  "accept": "application/json",
8422
8683
  "content-type": "application/json",
@@ -8440,6 +8701,7 @@ class LogAnalyticsClient(object):
8440
8701
  resource_path=resource_path,
8441
8702
  method=method,
8442
8703
  path_params=path_params,
8704
+ query_params=query_params,
8443
8705
  header_params=header_params,
8444
8706
  response_type="LookupSummaryReport",
8445
8707
  allow_control_chars=kwargs.get('allow_control_chars'),
@@ -8451,6 +8713,7 @@ class LogAnalyticsClient(object):
8451
8713
  resource_path=resource_path,
8452
8714
  method=method,
8453
8715
  path_params=path_params,
8716
+ query_params=query_params,
8454
8717
  header_params=header_params,
8455
8718
  response_type="LookupSummaryReport",
8456
8719
  allow_control_chars=kwargs.get('allow_control_chars'),
@@ -8485,7 +8748,7 @@ class LogAnalyticsClient(object):
8485
8748
  :rtype: :class:`~oci.response.Response`
8486
8749
 
8487
8750
  :example:
8488
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/get_namespace.py.html>`__ to see an example of how to use get_namespace API.
8751
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/get_namespace.py.html>`__ to see an example of how to use get_namespace API.
8489
8752
  """
8490
8753
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
8491
8754
  required_arguments = ['namespaceName']
@@ -8586,7 +8849,7 @@ class LogAnalyticsClient(object):
8586
8849
  :rtype: :class:`~oci.response.Response`
8587
8850
 
8588
8851
  :example:
8589
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/get_parser.py.html>`__ to see an example of how to use get_parser API.
8852
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/get_parser.py.html>`__ to see an example of how to use get_parser API.
8590
8853
  """
8591
8854
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
8592
8855
  required_arguments = ['namespaceName', 'parserName']
@@ -8685,7 +8948,7 @@ class LogAnalyticsClient(object):
8685
8948
  :rtype: :class:`~oci.response.Response`
8686
8949
 
8687
8950
  :example:
8688
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/get_parser_summary.py.html>`__ to see an example of how to use get_parser_summary API.
8951
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/get_parser_summary.py.html>`__ to see an example of how to use get_parser_summary API.
8689
8952
  """
8690
8953
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
8691
8954
  required_arguments = ['namespaceName']
@@ -8799,7 +9062,7 @@ class LogAnalyticsClient(object):
8799
9062
  :rtype: :class:`~oci.response.Response`
8800
9063
 
8801
9064
  :example:
8802
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/get_preferences.py.html>`__ to see an example of how to use get_preferences API.
9065
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/get_preferences.py.html>`__ to see an example of how to use get_preferences API.
8803
9066
  """
8804
9067
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
8805
9068
  required_arguments = ['namespaceName']
@@ -8948,7 +9211,7 @@ class LogAnalyticsClient(object):
8948
9211
  :rtype: :class:`~oci.response.Response`
8949
9212
 
8950
9213
  :example:
8951
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/get_query_result.py.html>`__ to see an example of how to use get_query_result API.
9214
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/get_query_result.py.html>`__ to see an example of how to use get_query_result API.
8952
9215
  """
8953
9216
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
8954
9217
  required_arguments = ['namespaceName', 'workRequestId']
@@ -9075,7 +9338,7 @@ class LogAnalyticsClient(object):
9075
9338
  :rtype: :class:`~oci.response.Response`
9076
9339
 
9077
9340
  :example:
9078
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/get_query_work_request.py.html>`__ to see an example of how to use get_query_work_request API.
9341
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/get_query_work_request.py.html>`__ to see an example of how to use get_query_work_request API.
9079
9342
  """
9080
9343
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
9081
9344
  required_arguments = ['namespaceName', 'workRequestId']
@@ -9174,7 +9437,7 @@ class LogAnalyticsClient(object):
9174
9437
  :rtype: :class:`~oci.response.Response`
9175
9438
 
9176
9439
  :example:
9177
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/get_recall_count.py.html>`__ to see an example of how to use get_recall_count API.
9440
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/get_recall_count.py.html>`__ to see an example of how to use get_recall_count API.
9178
9441
  """
9179
9442
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
9180
9443
  required_arguments = ['namespaceName']
@@ -9278,7 +9541,7 @@ class LogAnalyticsClient(object):
9278
9541
  :rtype: :class:`~oci.response.Response`
9279
9542
 
9280
9543
  :example:
9281
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/get_recalled_data_size.py.html>`__ to see an example of how to use get_recalled_data_size API.
9544
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/get_recalled_data_size.py.html>`__ to see an example of how to use get_recalled_data_size API.
9282
9545
  """
9283
9546
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
9284
9547
  required_arguments = ['namespaceName']
@@ -9389,7 +9652,7 @@ class LogAnalyticsClient(object):
9389
9652
  :rtype: :class:`~oci.response.Response`
9390
9653
 
9391
9654
  :example:
9392
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/get_rules_summary.py.html>`__ to see an example of how to use get_rules_summary API.
9655
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/get_rules_summary.py.html>`__ to see an example of how to use get_rules_summary API.
9393
9656
  """
9394
9657
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
9395
9658
  required_arguments = ['namespaceName', 'compartmentId']
@@ -9498,7 +9761,7 @@ class LogAnalyticsClient(object):
9498
9761
  :rtype: :class:`~oci.response.Response`
9499
9762
 
9500
9763
  :example:
9501
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/get_scheduled_task.py.html>`__ to see an example of how to use get_scheduled_task API.
9764
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/get_scheduled_task.py.html>`__ to see an example of how to use get_scheduled_task API.
9502
9765
  """
9503
9766
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
9504
9767
  required_arguments = ['namespaceName', 'scheduledTaskId']
@@ -9603,7 +9866,7 @@ class LogAnalyticsClient(object):
9603
9866
  :rtype: :class:`~oci.response.Response`
9604
9867
 
9605
9868
  :example:
9606
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/get_source.py.html>`__ to see an example of how to use get_source API.
9869
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/get_source.py.html>`__ to see an example of how to use get_source API.
9607
9870
  """
9608
9871
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
9609
9872
  required_arguments = ['namespaceName', 'sourceName', 'compartmentId']
@@ -9709,7 +9972,7 @@ class LogAnalyticsClient(object):
9709
9972
  :rtype: :class:`~oci.response.Response`
9710
9973
 
9711
9974
  :example:
9712
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/get_source_summary.py.html>`__ to see an example of how to use get_source_summary API.
9975
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/get_source_summary.py.html>`__ to see an example of how to use get_source_summary API.
9713
9976
  """
9714
9977
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
9715
9978
  required_arguments = ['namespaceName']
@@ -9807,7 +10070,7 @@ class LogAnalyticsClient(object):
9807
10070
  :rtype: :class:`~oci.response.Response`
9808
10071
 
9809
10072
  :example:
9810
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/get_storage.py.html>`__ to see an example of how to use get_storage API.
10073
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/get_storage.py.html>`__ to see an example of how to use get_storage API.
9811
10074
  """
9812
10075
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
9813
10076
  required_arguments = ['namespaceName']
@@ -9906,7 +10169,7 @@ class LogAnalyticsClient(object):
9906
10169
  :rtype: :class:`~oci.response.Response`
9907
10170
 
9908
10171
  :example:
9909
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/get_storage_usage.py.html>`__ to see an example of how to use get_storage_usage API.
10172
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/get_storage_usage.py.html>`__ to see an example of how to use get_storage_usage API.
9910
10173
  """
9911
10174
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
9912
10175
  required_arguments = ['namespaceName']
@@ -10010,7 +10273,7 @@ class LogAnalyticsClient(object):
10010
10273
  :rtype: :class:`~oci.response.Response`
10011
10274
 
10012
10275
  :example:
10013
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/get_storage_work_request.py.html>`__ to see an example of how to use get_storage_work_request API.
10276
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/get_storage_work_request.py.html>`__ to see an example of how to use get_storage_work_request API.
10014
10277
  """
10015
10278
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
10016
10279
  required_arguments = ['workRequestId', 'namespaceName']
@@ -10082,14 +10345,17 @@ class LogAnalyticsClient(object):
10082
10345
  api_reference_link=api_reference_link,
10083
10346
  required_arguments=required_arguments)
10084
10347
 
10085
- def get_unprocessed_data_bucket(self, namespace_name, **kwargs):
10348
+ def get_template(self, namespace_name, template_id, **kwargs):
10086
10349
  """
10087
- This API retrieves details of the configured bucket that stores unprocessed payloads.
10350
+ Gets detailed information about the template with the specified ocid.
10088
10351
 
10089
10352
 
10090
10353
  :param str namespace_name: (required)
10091
10354
  The Logging Analytics namespace used for the request.
10092
10355
 
10356
+ :param str template_id: (required)
10357
+ Unique ocid of the template.
10358
+
10093
10359
  :param str opc_request_id: (optional)
10094
10360
  The client request ID for tracing.
10095
10361
 
@@ -10105,18 +10371,18 @@ class LogAnalyticsClient(object):
10105
10371
  allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
10106
10372
  By default, the response will not allow control characters in strings
10107
10373
 
10108
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.log_analytics.models.UnprocessedDataBucket`
10374
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.log_analytics.models.LogAnalyticsTemplate`
10109
10375
  :rtype: :class:`~oci.response.Response`
10110
10376
 
10111
10377
  :example:
10112
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/get_unprocessed_data_bucket.py.html>`__ to see an example of how to use get_unprocessed_data_bucket API.
10378
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/get_template.py.html>`__ to see an example of how to use get_template API.
10113
10379
  """
10114
10380
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
10115
- required_arguments = ['namespaceName']
10116
- resource_path = "/namespaces/{namespaceName}/unprocessedDataBucket"
10381
+ required_arguments = ['namespaceName', 'templateId']
10382
+ resource_path = "/namespaces/{namespaceName}/templates/{templateId}"
10117
10383
  method = "GET"
10118
- operation_name = "get_unprocessed_data_bucket"
10119
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/logan-api-spec/20200601/Upload/GetUnprocessedDataBucket"
10384
+ operation_name = "get_template"
10385
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/logan-api-spec/20200601/LogAnalyticsTemplate/GetTemplate"
10120
10386
 
10121
10387
  # Don't accept unknown kwargs
10122
10388
  expected_kwargs = [
@@ -10127,10 +10393,11 @@ class LogAnalyticsClient(object):
10127
10393
  extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
10128
10394
  if extra_kwargs:
10129
10395
  raise ValueError(
10130
- f"get_unprocessed_data_bucket got unknown kwargs: {extra_kwargs!r}")
10396
+ f"get_template got unknown kwargs: {extra_kwargs!r}")
10131
10397
 
10132
10398
  path_params = {
10133
- "namespaceName": namespace_name
10399
+ "namespaceName": namespace_name,
10400
+ "templateId": template_id
10134
10401
  }
10135
10402
 
10136
10403
  path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -10140,7 +10407,7 @@ class LogAnalyticsClient(object):
10140
10407
  raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
10141
10408
 
10142
10409
  header_params = {
10143
- "accept": "application/json",
10410
+ "accept": "application/json;charset=UTF-8",
10144
10411
  "content-type": "application/json",
10145
10412
  "opc-request-id": kwargs.get("opc_request_id", missing)
10146
10413
  }
@@ -10163,7 +10430,7 @@ class LogAnalyticsClient(object):
10163
10430
  method=method,
10164
10431
  path_params=path_params,
10165
10432
  header_params=header_params,
10166
- response_type="UnprocessedDataBucket",
10433
+ response_type="LogAnalyticsTemplate",
10167
10434
  allow_control_chars=kwargs.get('allow_control_chars'),
10168
10435
  operation_name=operation_name,
10169
10436
  api_reference_link=api_reference_link,
@@ -10174,21 +10441,119 @@ class LogAnalyticsClient(object):
10174
10441
  method=method,
10175
10442
  path_params=path_params,
10176
10443
  header_params=header_params,
10177
- response_type="UnprocessedDataBucket",
10444
+ response_type="LogAnalyticsTemplate",
10178
10445
  allow_control_chars=kwargs.get('allow_control_chars'),
10179
10446
  operation_name=operation_name,
10180
10447
  api_reference_link=api_reference_link,
10181
10448
  required_arguments=required_arguments)
10182
10449
 
10183
- def get_upload(self, namespace_name, upload_reference, **kwargs):
10450
+ def get_unprocessed_data_bucket(self, namespace_name, **kwargs):
10184
10451
  """
10185
- Gets an On-Demand Upload info by reference.
10452
+ This API retrieves details of the configured bucket that stores unprocessed payloads.
10186
10453
 
10187
10454
 
10188
10455
  :param str namespace_name: (required)
10189
10456
  The Logging Analytics namespace used for the request.
10190
10457
 
10191
- :param str upload_reference: (required)
10458
+ :param str opc_request_id: (optional)
10459
+ The client request ID for tracing.
10460
+
10461
+ :param obj retry_strategy: (optional)
10462
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
10463
+
10464
+ 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.
10465
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
10466
+
10467
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
10468
+
10469
+ :param bool allow_control_chars: (optional)
10470
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
10471
+ By default, the response will not allow control characters in strings
10472
+
10473
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.log_analytics.models.UnprocessedDataBucket`
10474
+ :rtype: :class:`~oci.response.Response`
10475
+
10476
+ :example:
10477
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/get_unprocessed_data_bucket.py.html>`__ to see an example of how to use get_unprocessed_data_bucket API.
10478
+ """
10479
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
10480
+ required_arguments = ['namespaceName']
10481
+ resource_path = "/namespaces/{namespaceName}/unprocessedDataBucket"
10482
+ method = "GET"
10483
+ operation_name = "get_unprocessed_data_bucket"
10484
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/logan-api-spec/20200601/Upload/GetUnprocessedDataBucket"
10485
+
10486
+ # Don't accept unknown kwargs
10487
+ expected_kwargs = [
10488
+ "allow_control_chars",
10489
+ "retry_strategy",
10490
+ "opc_request_id"
10491
+ ]
10492
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
10493
+ if extra_kwargs:
10494
+ raise ValueError(
10495
+ f"get_unprocessed_data_bucket got unknown kwargs: {extra_kwargs!r}")
10496
+
10497
+ path_params = {
10498
+ "namespaceName": namespace_name
10499
+ }
10500
+
10501
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
10502
+
10503
+ for (k, v) in six.iteritems(path_params):
10504
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
10505
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
10506
+
10507
+ header_params = {
10508
+ "accept": "application/json",
10509
+ "content-type": "application/json",
10510
+ "opc-request-id": kwargs.get("opc_request_id", missing)
10511
+ }
10512
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
10513
+
10514
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
10515
+ operation_retry_strategy=kwargs.get('retry_strategy'),
10516
+ client_retry_strategy=self.retry_strategy
10517
+ )
10518
+ if retry_strategy is None:
10519
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
10520
+
10521
+ if retry_strategy:
10522
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
10523
+ self.base_client.add_opc_client_retries_header(header_params)
10524
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
10525
+ return retry_strategy.make_retrying_call(
10526
+ self.base_client.call_api,
10527
+ resource_path=resource_path,
10528
+ method=method,
10529
+ path_params=path_params,
10530
+ header_params=header_params,
10531
+ response_type="UnprocessedDataBucket",
10532
+ allow_control_chars=kwargs.get('allow_control_chars'),
10533
+ operation_name=operation_name,
10534
+ api_reference_link=api_reference_link,
10535
+ required_arguments=required_arguments)
10536
+ else:
10537
+ return self.base_client.call_api(
10538
+ resource_path=resource_path,
10539
+ method=method,
10540
+ path_params=path_params,
10541
+ header_params=header_params,
10542
+ response_type="UnprocessedDataBucket",
10543
+ allow_control_chars=kwargs.get('allow_control_chars'),
10544
+ operation_name=operation_name,
10545
+ api_reference_link=api_reference_link,
10546
+ required_arguments=required_arguments)
10547
+
10548
+ def get_upload(self, namespace_name, upload_reference, **kwargs):
10549
+ """
10550
+ Gets an On-Demand Upload info by reference.
10551
+
10552
+
10553
+ :param str namespace_name: (required)
10554
+ The Logging Analytics namespace used for the request.
10555
+
10556
+ :param str upload_reference: (required)
10192
10557
  Unique internal identifier to refer upload container.
10193
10558
 
10194
10559
  :param str opc_request_id: (optional)
@@ -10210,7 +10575,7 @@ class LogAnalyticsClient(object):
10210
10575
  :rtype: :class:`~oci.response.Response`
10211
10576
 
10212
10577
  :example:
10213
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/get_upload.py.html>`__ to see an example of how to use get_upload API.
10578
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/get_upload.py.html>`__ to see an example of how to use get_upload API.
10214
10579
  """
10215
10580
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
10216
10581
  required_arguments = ['namespaceName', 'uploadReference']
@@ -10314,7 +10679,7 @@ class LogAnalyticsClient(object):
10314
10679
  :rtype: :class:`~oci.response.Response`
10315
10680
 
10316
10681
  :example:
10317
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
10682
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
10318
10683
  """
10319
10684
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
10320
10685
  required_arguments = ['namespaceName', 'workRequestId']
@@ -10437,7 +10802,7 @@ class LogAnalyticsClient(object):
10437
10802
  :rtype: :class:`~oci.response.Response`
10438
10803
 
10439
10804
  :example:
10440
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/import_custom_content.py.html>`__ to see an example of how to use import_custom_content API.
10805
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/import_custom_content.py.html>`__ to see an example of how to use import_custom_content API.
10441
10806
  """
10442
10807
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
10443
10808
  required_arguments = ['namespaceName']
@@ -10606,7 +10971,7 @@ class LogAnalyticsClient(object):
10606
10971
  :rtype: :class:`~oci.response.Response`
10607
10972
 
10608
10973
  :example:
10609
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_associable_entities.py.html>`__ to see an example of how to use list_associable_entities API.
10974
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_associable_entities.py.html>`__ to see an example of how to use list_associable_entities API.
10610
10975
  """
10611
10976
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
10612
10977
  required_arguments = ['namespaceName', 'sourceName', 'compartmentId']
@@ -10775,7 +11140,7 @@ class LogAnalyticsClient(object):
10775
11140
  :rtype: :class:`~oci.response.Response`
10776
11141
 
10777
11142
  :example:
10778
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_associated_entities.py.html>`__ to see an example of how to use list_associated_entities API.
11143
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_associated_entities.py.html>`__ to see an example of how to use list_associated_entities API.
10779
11144
  """
10780
11145
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
10781
11146
  required_arguments = ['namespaceName', 'compartmentId']
@@ -10927,7 +11292,7 @@ class LogAnalyticsClient(object):
10927
11292
  :rtype: :class:`~oci.response.Response`
10928
11293
 
10929
11294
  :example:
10930
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_auto_associations.py.html>`__ to see an example of how to use list_auto_associations API.
11295
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_auto_associations.py.html>`__ to see an example of how to use list_auto_associations API.
10931
11296
  """
10932
11297
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
10933
11298
  required_arguments = ['namespaceName', 'sourceName']
@@ -11082,7 +11447,7 @@ class LogAnalyticsClient(object):
11082
11447
  :rtype: :class:`~oci.response.Response`
11083
11448
 
11084
11449
  :example:
11085
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_categories.py.html>`__ to see an example of how to use list_categories API.
11450
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_categories.py.html>`__ to see an example of how to use list_categories API.
11086
11451
  """
11087
11452
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
11088
11453
  required_arguments = ['namespaceName']
@@ -11230,7 +11595,7 @@ class LogAnalyticsClient(object):
11230
11595
  :rtype: :class:`~oci.response.Response`
11231
11596
 
11232
11597
  :example:
11233
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_config_work_requests.py.html>`__ to see an example of how to use list_config_work_requests API.
11598
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_config_work_requests.py.html>`__ to see an example of how to use list_config_work_requests API.
11234
11599
  """
11235
11600
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
11236
11601
  required_arguments = ['namespaceName', 'compartmentId']
@@ -11350,6 +11715,9 @@ class LogAnalyticsClient(object):
11350
11715
  :param int pattern_id: (optional)
11351
11716
  The pattern id.
11352
11717
 
11718
+ :param int pattern_id_long: (optional)
11719
+ The pattern id (long).
11720
+
11353
11721
  :param str name: (optional)
11354
11722
  The property name used for filtering.
11355
11723
 
@@ -11388,7 +11756,7 @@ class LogAnalyticsClient(object):
11388
11756
  :rtype: :class:`~oci.response.Response`
11389
11757
 
11390
11758
  :example:
11391
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_effective_properties.py.html>`__ to see an example of how to use list_effective_properties API.
11759
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_effective_properties.py.html>`__ to see an example of how to use list_effective_properties API.
11392
11760
  """
11393
11761
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
11394
11762
  required_arguments = ['namespaceName']
@@ -11406,6 +11774,7 @@ class LogAnalyticsClient(object):
11406
11774
  "is_include_patterns",
11407
11775
  "entity_id",
11408
11776
  "pattern_id",
11777
+ "pattern_id_long",
11409
11778
  "name",
11410
11779
  "limit",
11411
11780
  "page",
@@ -11448,6 +11817,7 @@ class LogAnalyticsClient(object):
11448
11817
  "isIncludePatterns": kwargs.get("is_include_patterns", missing),
11449
11818
  "entityId": kwargs.get("entity_id", missing),
11450
11819
  "patternId": kwargs.get("pattern_id", missing),
11820
+ "patternIdLong": kwargs.get("pattern_id_long", missing),
11451
11821
  "name": kwargs.get("name", missing),
11452
11822
  "limit": kwargs.get("limit", missing),
11453
11823
  "page": kwargs.get("page", missing),
@@ -11526,7 +11896,7 @@ class LogAnalyticsClient(object):
11526
11896
  :rtype: :class:`~oci.response.Response`
11527
11897
 
11528
11898
  :example:
11529
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_encryption_key_info.py.html>`__ to see an example of how to use list_encryption_key_info API.
11899
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_encryption_key_info.py.html>`__ to see an example of how to use list_encryption_key_info API.
11530
11900
  """
11531
11901
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
11532
11902
  required_arguments = ['namespaceName']
@@ -11649,7 +12019,7 @@ class LogAnalyticsClient(object):
11649
12019
  :rtype: :class:`~oci.response.Response`
11650
12020
 
11651
12021
  :example:
11652
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_entity_associations.py.html>`__ to see an example of how to use list_entity_associations API.
12022
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_entity_associations.py.html>`__ to see an example of how to use list_entity_associations API.
11653
12023
  """
11654
12024
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
11655
12025
  required_arguments = ['namespaceName', 'logAnalyticsEntityId']
@@ -11822,7 +12192,7 @@ class LogAnalyticsClient(object):
11822
12192
  :rtype: :class:`~oci.response.Response`
11823
12193
 
11824
12194
  :example:
11825
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_entity_source_associations.py.html>`__ to see an example of how to use list_entity_source_associations API.
12195
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_entity_source_associations.py.html>`__ to see an example of how to use list_entity_source_associations API.
11826
12196
  """
11827
12197
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
11828
12198
  required_arguments = ['namespaceName', 'compartmentId']
@@ -11996,7 +12366,7 @@ class LogAnalyticsClient(object):
11996
12366
  :param str sort_by: (optional)
11997
12367
  The attribute used to sort the returned fields
11998
12368
 
11999
- Allowed values are: "name", "dataType"
12369
+ Allowed values are: "name", "dataType", "timeUpdated"
12000
12370
 
12001
12371
  :param str opc_request_id: (optional)
12002
12372
  The client request ID for tracing.
@@ -12017,7 +12387,7 @@ class LogAnalyticsClient(object):
12017
12387
  :rtype: :class:`~oci.response.Response`
12018
12388
 
12019
12389
  :example:
12020
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_fields.py.html>`__ to see an example of how to use list_fields API.
12390
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_fields.py.html>`__ to see an example of how to use list_fields API.
12021
12391
  """
12022
12392
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
12023
12393
  required_arguments = ['namespaceName']
@@ -12074,7 +12444,7 @@ class LogAnalyticsClient(object):
12074
12444
  )
12075
12445
 
12076
12446
  if 'sort_by' in kwargs:
12077
- sort_by_allowed_values = ["name", "dataType"]
12447
+ sort_by_allowed_values = ["name", "dataType", "timeUpdated"]
12078
12448
  if kwargs['sort_by'] not in sort_by_allowed_values:
12079
12449
  raise ValueError(
12080
12450
  f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
@@ -12209,7 +12579,7 @@ class LogAnalyticsClient(object):
12209
12579
  :rtype: :class:`~oci.response.Response`
12210
12580
 
12211
12581
  :example:
12212
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_ingest_time_rules.py.html>`__ to see an example of how to use list_ingest_time_rules API.
12582
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_ingest_time_rules.py.html>`__ to see an example of how to use list_ingest_time_rules API.
12213
12583
  """
12214
12584
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
12215
12585
  required_arguments = ['namespaceName', 'compartmentId']
@@ -12366,7 +12736,7 @@ class LogAnalyticsClient(object):
12366
12736
  :rtype: :class:`~oci.response.Response`
12367
12737
 
12368
12738
  :example:
12369
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_label_priorities.py.html>`__ to see an example of how to use list_label_priorities API.
12739
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_label_priorities.py.html>`__ to see an example of how to use list_label_priorities API.
12370
12740
  """
12371
12741
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
12372
12742
  required_arguments = ['namespaceName']
@@ -12494,7 +12864,7 @@ class LogAnalyticsClient(object):
12494
12864
  :rtype: :class:`~oci.response.Response`
12495
12865
 
12496
12866
  :example:
12497
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_label_source_details.py.html>`__ to see an example of how to use list_label_source_details API.
12867
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_label_source_details.py.html>`__ to see an example of how to use list_label_source_details API.
12498
12868
  """
12499
12869
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
12500
12870
  required_arguments = ['namespaceName']
@@ -12665,7 +13035,7 @@ class LogAnalyticsClient(object):
12665
13035
  :rtype: :class:`~oci.response.Response`
12666
13036
 
12667
13037
  :example:
12668
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_labels.py.html>`__ to see an example of how to use list_labels API.
13038
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_labels.py.html>`__ to see an example of how to use list_labels API.
12669
13039
  """
12670
13040
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
12671
13041
  required_arguments = ['namespaceName']
@@ -12854,7 +13224,7 @@ class LogAnalyticsClient(object):
12854
13224
  :rtype: :class:`~oci.response.Response`
12855
13225
 
12856
13226
  :example:
12857
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_log_analytics_em_bridges.py.html>`__ to see an example of how to use list_log_analytics_em_bridges API.
13227
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_log_analytics_em_bridges.py.html>`__ to see an example of how to use list_log_analytics_em_bridges API.
12858
13228
  """
12859
13229
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
12860
13230
  required_arguments = ['namespaceName', 'compartmentId']
@@ -13058,6 +13428,34 @@ class LogAnalyticsClient(object):
13058
13428
  A filter to return only log analytics entities whose metadata name, value and type matches the specified string.
13059
13429
  Each item in the array has the format \"{name}:{value}:{type}\". All inputs are case-insensitive.
13060
13430
 
13431
+ :param list[str] defined_tag_equals: (optional)
13432
+ A list of tag filters to apply. Only entities with a defined tag matching the value will be returned.
13433
+ Each item in the list has the format \"{namespace}.{tagName}.{value}\". All inputs are case-insensitive.
13434
+ Multiple values for the same key (i.e. same namespace and tag name) are interpreted as \"OR\".
13435
+ Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as \"AND\".
13436
+
13437
+ :param list[str] freeform_tag_equals: (optional)
13438
+ A list of tag filters to apply. Only entities with a freeform tag matching the value will be returned.
13439
+ The key for each tag is \"{tagName}.{value}\". All inputs are case-insensitive.
13440
+ Multiple values for the same tag name are interpreted as \"OR\". Values for different tag names are interpreted as \"AND\".
13441
+
13442
+ :param list[str] defined_tag_exists: (optional)
13443
+ A list of tag existence filters to apply. Only entities for which the specified defined tags exist will be returned.
13444
+ Each item in the list has the format \"{namespace}.{tagName}.true\" (for checking existence of a defined tag)
13445
+ or \"{namespace}.true\". All inputs are case-insensitive.
13446
+ Currently, only existence (\"true\" at the end) is supported. Absence (\"false\" at the end) is not supported.
13447
+ Multiple values for the same key (i.e. same namespace and tag name) are interpreted as \"OR\".
13448
+ Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as \"AND\".
13449
+
13450
+ :param list[str] freeform_tag_exists: (optional)
13451
+ A list of tag existence filters to apply. Only entities for which the specified freeform tags exist the value will be returned.
13452
+ The key for each tag is \"{tagName}.true\". All inputs are case-insensitive.
13453
+ Currently, only existence (\"true\" at the end) is supported. Absence (\"false\" at the end) is not supported.
13454
+ Multiple values for different tag names are interpreted as \"AND\".
13455
+
13456
+ :param bool is_show_associated_sources_count: (optional)
13457
+ Option to return count of associated log sources for log analytics entity(s).
13458
+
13061
13459
  :param obj retry_strategy: (optional)
13062
13460
  A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
13063
13461
 
@@ -13074,7 +13472,7 @@ class LogAnalyticsClient(object):
13074
13472
  :rtype: :class:`~oci.response.Response`
13075
13473
 
13076
13474
  :example:
13077
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_log_analytics_entities.py.html>`__ to see an example of how to use list_log_analytics_entities API.
13475
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_log_analytics_entities.py.html>`__ to see an example of how to use list_log_analytics_entities API.
13078
13476
  """
13079
13477
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
13080
13478
  required_arguments = ['namespaceName', 'compartmentId']
@@ -13104,7 +13502,12 @@ class LogAnalyticsClient(object):
13104
13502
  "sort_order",
13105
13503
  "sort_by",
13106
13504
  "opc_request_id",
13107
- "metadata_equals"
13505
+ "metadata_equals",
13506
+ "defined_tag_equals",
13507
+ "freeform_tag_equals",
13508
+ "defined_tag_exists",
13509
+ "freeform_tag_exists",
13510
+ "is_show_associated_sources_count"
13108
13511
  ]
13109
13512
  extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
13110
13513
  if extra_kwargs:
@@ -13175,7 +13578,12 @@ class LogAnalyticsClient(object):
13175
13578
  "page": kwargs.get("page", missing),
13176
13579
  "sortOrder": kwargs.get("sort_order", missing),
13177
13580
  "sortBy": kwargs.get("sort_by", missing),
13178
- "metadataEquals": self.base_client.generate_collection_format_param(kwargs.get("metadata_equals", missing), 'multi')
13581
+ "metadataEquals": self.base_client.generate_collection_format_param(kwargs.get("metadata_equals", missing), 'multi'),
13582
+ "definedTagEquals": self.base_client.generate_collection_format_param(kwargs.get("defined_tag_equals", missing), 'multi'),
13583
+ "freeformTagEquals": self.base_client.generate_collection_format_param(kwargs.get("freeform_tag_equals", missing), 'multi'),
13584
+ "definedTagExists": self.base_client.generate_collection_format_param(kwargs.get("defined_tag_exists", missing), 'multi'),
13585
+ "freeformTagExists": self.base_client.generate_collection_format_param(kwargs.get("freeform_tag_exists", missing), 'multi'),
13586
+ "isShowAssociatedSourcesCount": kwargs.get("is_show_associated_sources_count", missing)
13179
13587
  }
13180
13588
  query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
13181
13589
 
@@ -13261,6 +13669,9 @@ class LogAnalyticsClient(object):
13261
13669
  A filter to return only log analytics entities whose metadata name, value and type matches the specified string.
13262
13670
  Each item in the array has the format \"{name}:{value}:{type}\". All inputs are case-insensitive.
13263
13671
 
13672
+ :param str context: (optional)
13673
+ A filter to return log analytics entity toplogy whose context matches the specified string.
13674
+
13264
13675
  :param obj retry_strategy: (optional)
13265
13676
  A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
13266
13677
 
@@ -13277,7 +13688,7 @@ class LogAnalyticsClient(object):
13277
13688
  :rtype: :class:`~oci.response.Response`
13278
13689
 
13279
13690
  :example:
13280
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_log_analytics_entity_topology.py.html>`__ to see an example of how to use list_log_analytics_entity_topology API.
13691
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_log_analytics_entity_topology.py.html>`__ to see an example of how to use list_log_analytics_entity_topology API.
13281
13692
  """
13282
13693
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
13283
13694
  required_arguments = ['namespaceName', 'logAnalyticsEntityId']
@@ -13296,7 +13707,8 @@ class LogAnalyticsClient(object):
13296
13707
  "sort_order",
13297
13708
  "sort_by",
13298
13709
  "opc_request_id",
13299
- "metadata_equals"
13710
+ "metadata_equals",
13711
+ "context"
13300
13712
  ]
13301
13713
  extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
13302
13714
  if extra_kwargs:
@@ -13341,7 +13753,8 @@ class LogAnalyticsClient(object):
13341
13753
  "page": kwargs.get("page", missing),
13342
13754
  "sortOrder": kwargs.get("sort_order", missing),
13343
13755
  "sortBy": kwargs.get("sort_by", missing),
13344
- "metadataEquals": self.base_client.generate_collection_format_param(kwargs.get("metadata_equals", missing), 'multi')
13756
+ "metadataEquals": self.base_client.generate_collection_format_param(kwargs.get("metadata_equals", missing), 'multi'),
13757
+ "context": kwargs.get("context", missing)
13345
13758
  }
13346
13759
  query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
13347
13760
 
@@ -13449,7 +13862,7 @@ class LogAnalyticsClient(object):
13449
13862
  :rtype: :class:`~oci.response.Response`
13450
13863
 
13451
13864
  :example:
13452
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_log_analytics_entity_types.py.html>`__ to see an example of how to use list_log_analytics_entity_types API.
13865
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_log_analytics_entity_types.py.html>`__ to see an example of how to use list_log_analytics_entity_types API.
13453
13866
  """
13454
13867
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
13455
13868
  required_arguments = ['namespaceName']
@@ -13618,7 +14031,7 @@ class LogAnalyticsClient(object):
13618
14031
  :rtype: :class:`~oci.response.Response`
13619
14032
 
13620
14033
  :example:
13621
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_log_analytics_log_groups.py.html>`__ to see an example of how to use list_log_analytics_log_groups API.
14034
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_log_analytics_log_groups.py.html>`__ to see an example of how to use list_log_analytics_log_groups API.
13622
14035
  """
13623
14036
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
13624
14037
  required_arguments = ['namespaceName', 'compartmentId']
@@ -13775,7 +14188,7 @@ class LogAnalyticsClient(object):
13775
14188
  :rtype: :class:`~oci.response.Response`
13776
14189
 
13777
14190
  :example:
13778
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_log_analytics_object_collection_rules.py.html>`__ to see an example of how to use list_log_analytics_object_collection_rules API.
14191
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_log_analytics_object_collection_rules.py.html>`__ to see an example of how to use list_log_analytics_object_collection_rules API.
13779
14192
  """
13780
14193
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
13781
14194
  required_arguments = ['namespaceName', 'compartmentId']
@@ -13927,7 +14340,7 @@ class LogAnalyticsClient(object):
13927
14340
  :rtype: :class:`~oci.response.Response`
13928
14341
 
13929
14342
  :example:
13930
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_log_sets.py.html>`__ to see an example of how to use list_log_sets API.
14343
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_log_sets.py.html>`__ to see an example of how to use list_log_sets API.
13931
14344
  """
13932
14345
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
13933
14346
  required_arguments = ['namespaceName']
@@ -14056,6 +14469,9 @@ class LogAnalyticsClient(object):
14056
14469
  :param str categories: (optional)
14057
14470
  A comma-separated list of categories used for filtering
14058
14471
 
14472
+ :param str compartment_id: (optional)
14473
+ The compartment id
14474
+
14059
14475
  :param bool is_hide_special: (optional)
14060
14476
  A flag indicating whether or not to return OMC annotated or hidden lookups.
14061
14477
 
@@ -14089,7 +14505,7 @@ class LogAnalyticsClient(object):
14089
14505
  :rtype: :class:`~oci.response.Response`
14090
14506
 
14091
14507
  :example:
14092
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_lookups.py.html>`__ to see an example of how to use list_lookups API.
14508
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_lookups.py.html>`__ to see an example of how to use list_lookups API.
14093
14509
  """
14094
14510
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
14095
14511
  required_arguments = ['namespaceName', 'type']
@@ -14107,6 +14523,7 @@ class LogAnalyticsClient(object):
14107
14523
  "sort_by",
14108
14524
  "status",
14109
14525
  "categories",
14526
+ "compartment_id",
14110
14527
  "is_hide_special",
14111
14528
  "limit",
14112
14529
  "page",
@@ -14169,6 +14586,7 @@ class LogAnalyticsClient(object):
14169
14586
  "sortBy": kwargs.get("sort_by", missing),
14170
14587
  "status": kwargs.get("status", missing),
14171
14588
  "categories": kwargs.get("categories", missing),
14589
+ "compartmentId": kwargs.get("compartment_id", missing),
14172
14590
  "isHideSpecial": kwargs.get("is_hide_special", missing),
14173
14591
  "limit": kwargs.get("limit", missing),
14174
14592
  "page": kwargs.get("page", missing),
@@ -14262,7 +14680,7 @@ class LogAnalyticsClient(object):
14262
14680
  :rtype: :class:`~oci.response.Response`
14263
14681
 
14264
14682
  :example:
14265
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_meta_source_types.py.html>`__ to see an example of how to use list_meta_source_types API.
14683
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_meta_source_types.py.html>`__ to see an example of how to use list_meta_source_types API.
14266
14684
  """
14267
14685
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
14268
14686
  required_arguments = ['namespaceName']
@@ -14389,7 +14807,7 @@ class LogAnalyticsClient(object):
14389
14807
  :rtype: :class:`~oci.response.Response`
14390
14808
 
14391
14809
  :example:
14392
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_namespaces.py.html>`__ to see an example of how to use list_namespaces API.
14810
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_namespaces.py.html>`__ to see an example of how to use list_namespaces API.
14393
14811
  """
14394
14812
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
14395
14813
  required_arguments = ['compartmentId']
@@ -14505,7 +14923,7 @@ class LogAnalyticsClient(object):
14505
14923
  :rtype: :class:`~oci.response.Response`
14506
14924
 
14507
14925
  :example:
14508
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_overlapping_recalls.py.html>`__ to see an example of how to use list_overlapping_recalls API.
14926
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_overlapping_recalls.py.html>`__ to see an example of how to use list_overlapping_recalls API.
14509
14927
  """
14510
14928
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
14511
14929
  required_arguments = ['namespaceName']
@@ -14608,6 +15026,158 @@ class LogAnalyticsClient(object):
14608
15026
  api_reference_link=api_reference_link,
14609
15027
  required_arguments=required_arguments)
14610
15028
 
15029
+ def list_parser_actions(self, namespace_name, **kwargs):
15030
+ """
15031
+ Returns a list of parser actions. You may limit the number of results and provide sorting order.
15032
+
15033
+
15034
+ :param str namespace_name: (required)
15035
+ The Logging Analytics namespace used for the request.
15036
+
15037
+ :param str name: (optional)
15038
+ The parser action name used for filtering.
15039
+
15040
+ :param str action_display_text: (optional)
15041
+ The parser action display text used for filtering.
15042
+
15043
+ :param int limit: (optional)
15044
+ The maximum number of items to return.
15045
+
15046
+ :param str page: (optional)
15047
+ The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
15048
+
15049
+ :param str sort_order: (optional)
15050
+ The sort order to use, either ascending (`ASC`) or descending (`DESC`).
15051
+
15052
+ Allowed values are: "ASC", "DESC"
15053
+
15054
+ :param str sort_by: (optional)
15055
+ The attribute used to sort the returned parser actions
15056
+
15057
+ Allowed values are: "displayName"
15058
+
15059
+ :param str opc_request_id: (optional)
15060
+ The client request ID for tracing.
15061
+
15062
+ :param obj retry_strategy: (optional)
15063
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
15064
+
15065
+ 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.
15066
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
15067
+
15068
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
15069
+
15070
+ :param bool allow_control_chars: (optional)
15071
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
15072
+ By default, the response will not allow control characters in strings
15073
+
15074
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.log_analytics.models.ParserActionSummaryCollection`
15075
+ :rtype: :class:`~oci.response.Response`
15076
+
15077
+ :example:
15078
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_parser_actions.py.html>`__ to see an example of how to use list_parser_actions API.
15079
+ """
15080
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
15081
+ required_arguments = ['namespaceName']
15082
+ resource_path = "/namespaces/{namespaceName}/parserActions"
15083
+ method = "GET"
15084
+ operation_name = "list_parser_actions"
15085
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/logan-api-spec/20200601/LogAnalyticsParser/ListParserActions"
15086
+
15087
+ # Don't accept unknown kwargs
15088
+ expected_kwargs = [
15089
+ "allow_control_chars",
15090
+ "retry_strategy",
15091
+ "name",
15092
+ "action_display_text",
15093
+ "limit",
15094
+ "page",
15095
+ "sort_order",
15096
+ "sort_by",
15097
+ "opc_request_id"
15098
+ ]
15099
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
15100
+ if extra_kwargs:
15101
+ raise ValueError(
15102
+ f"list_parser_actions got unknown kwargs: {extra_kwargs!r}")
15103
+
15104
+ path_params = {
15105
+ "namespaceName": namespace_name
15106
+ }
15107
+
15108
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
15109
+
15110
+ for (k, v) in six.iteritems(path_params):
15111
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
15112
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
15113
+
15114
+ if 'sort_order' in kwargs:
15115
+ sort_order_allowed_values = ["ASC", "DESC"]
15116
+ if kwargs['sort_order'] not in sort_order_allowed_values:
15117
+ raise ValueError(
15118
+ f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
15119
+ )
15120
+
15121
+ if 'sort_by' in kwargs:
15122
+ sort_by_allowed_values = ["displayName"]
15123
+ if kwargs['sort_by'] not in sort_by_allowed_values:
15124
+ raise ValueError(
15125
+ f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
15126
+ )
15127
+
15128
+ query_params = {
15129
+ "name": kwargs.get("name", missing),
15130
+ "actionDisplayText": kwargs.get("action_display_text", missing),
15131
+ "limit": kwargs.get("limit", missing),
15132
+ "page": kwargs.get("page", missing),
15133
+ "sortOrder": kwargs.get("sort_order", missing),
15134
+ "sortBy": kwargs.get("sort_by", missing)
15135
+ }
15136
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
15137
+
15138
+ header_params = {
15139
+ "accept": "application/json;charset=UTF-8",
15140
+ "content-type": "application/json",
15141
+ "opc-request-id": kwargs.get("opc_request_id", missing)
15142
+ }
15143
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
15144
+
15145
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
15146
+ operation_retry_strategy=kwargs.get('retry_strategy'),
15147
+ client_retry_strategy=self.retry_strategy
15148
+ )
15149
+ if retry_strategy is None:
15150
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
15151
+
15152
+ if retry_strategy:
15153
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
15154
+ self.base_client.add_opc_client_retries_header(header_params)
15155
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
15156
+ return retry_strategy.make_retrying_call(
15157
+ self.base_client.call_api,
15158
+ resource_path=resource_path,
15159
+ method=method,
15160
+ path_params=path_params,
15161
+ query_params=query_params,
15162
+ header_params=header_params,
15163
+ response_type="ParserActionSummaryCollection",
15164
+ allow_control_chars=kwargs.get('allow_control_chars'),
15165
+ operation_name=operation_name,
15166
+ api_reference_link=api_reference_link,
15167
+ required_arguments=required_arguments)
15168
+ else:
15169
+ return self.base_client.call_api(
15170
+ resource_path=resource_path,
15171
+ method=method,
15172
+ path_params=path_params,
15173
+ query_params=query_params,
15174
+ header_params=header_params,
15175
+ response_type="ParserActionSummaryCollection",
15176
+ allow_control_chars=kwargs.get('allow_control_chars'),
15177
+ operation_name=operation_name,
15178
+ api_reference_link=api_reference_link,
15179
+ required_arguments=required_arguments)
15180
+
14611
15181
  def list_parser_functions(self, namespace_name, **kwargs):
14612
15182
  """
14613
15183
  Lists the parser functions defined for the specified parser.
@@ -14654,7 +15224,7 @@ class LogAnalyticsClient(object):
14654
15224
  :rtype: :class:`~oci.response.Response`
14655
15225
 
14656
15226
  :example:
14657
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_parser_functions.py.html>`__ to see an example of how to use list_parser_functions API.
15227
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_parser_functions.py.html>`__ to see an example of how to use list_parser_functions API.
14658
15228
  """
14659
15229
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
14660
15230
  required_arguments = ['namespaceName']
@@ -14798,7 +15368,7 @@ class LogAnalyticsClient(object):
14798
15368
  :rtype: :class:`~oci.response.Response`
14799
15369
 
14800
15370
  :example:
14801
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_parser_meta_plugins.py.html>`__ to see an example of how to use list_parser_meta_plugins API.
15371
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_parser_meta_plugins.py.html>`__ to see an example of how to use list_parser_meta_plugins API.
14802
15372
  """
14803
15373
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
14804
15374
  required_arguments = ['namespaceName']
@@ -14976,7 +15546,7 @@ class LogAnalyticsClient(object):
14976
15546
  :rtype: :class:`~oci.response.Response`
14977
15547
 
14978
15548
  :example:
14979
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_parsers.py.html>`__ to see an example of how to use list_parsers API.
15549
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_parsers.py.html>`__ to see an example of how to use list_parsers API.
14980
15550
  """
14981
15551
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
14982
15552
  required_arguments = ['namespaceName']
@@ -15166,7 +15736,7 @@ class LogAnalyticsClient(object):
15166
15736
  :rtype: :class:`~oci.response.Response`
15167
15737
 
15168
15738
  :example:
15169
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_properties_metadata.py.html>`__ to see an example of how to use list_properties_metadata API.
15739
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_properties_metadata.py.html>`__ to see an example of how to use list_properties_metadata API.
15170
15740
  """
15171
15741
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
15172
15742
  required_arguments = ['namespaceName']
@@ -15324,7 +15894,7 @@ class LogAnalyticsClient(object):
15324
15894
  :rtype: :class:`~oci.response.Response`
15325
15895
 
15326
15896
  :example:
15327
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_query_work_requests.py.html>`__ to see an example of how to use list_query_work_requests API.
15897
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_query_work_requests.py.html>`__ to see an example of how to use list_query_work_requests API.
15328
15898
  """
15329
15899
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
15330
15900
  required_arguments = ['namespaceName', 'compartmentId']
@@ -15483,7 +16053,7 @@ class LogAnalyticsClient(object):
15483
16053
  :rtype: :class:`~oci.response.Response`
15484
16054
 
15485
16055
  :example:
15486
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_recalled_data.py.html>`__ to see an example of how to use list_recalled_data API.
16056
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_recalled_data.py.html>`__ to see an example of how to use list_recalled_data API.
15487
16057
  """
15488
16058
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
15489
16059
  required_arguments = ['namespaceName']
@@ -15586,6 +16156,164 @@ class LogAnalyticsClient(object):
15586
16156
  api_reference_link=api_reference_link,
15587
16157
  required_arguments=required_arguments)
15588
16158
 
16159
+ def list_recalled_info(self, namespace_name, **kwargs):
16160
+ """
16161
+ This API returns the list of recalled data of a tenancy.
16162
+
16163
+
16164
+ :param str namespace_name: (required)
16165
+ The Logging Analytics namespace used for the request.
16166
+
16167
+ :param str opc_request_id: (optional)
16168
+ The client request ID for tracing.
16169
+
16170
+ :param int limit: (optional)
16171
+ The maximum number of items to return.
16172
+
16173
+ :param str page: (optional)
16174
+ The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
16175
+
16176
+ :param str sort_by: (optional)
16177
+ This is the query parameter of which field to sort by. Only one sort order may be provided. Default order for timeDataStarted
16178
+ is descending. If no value is specified timeDataStarted is default.
16179
+
16180
+ Allowed values are: "timeStarted", "timeDataStarted"
16181
+
16182
+ :param str sort_order: (optional)
16183
+ The sort order to use, either ascending (`ASC`) or descending (`DESC`).
16184
+
16185
+ Allowed values are: "ASC", "DESC"
16186
+
16187
+ :param datetime time_data_started_greater_than_or_equal: (optional)
16188
+ This is the start of the time range for recalled data
16189
+
16190
+ :param datetime time_data_ended_less_than: (optional)
16191
+ This is the end of the time range for recalled data
16192
+
16193
+ :param list[str] log_sets: (optional)
16194
+ This is the set of logsets to filter recalled collection by if any
16195
+
16196
+ :param obj retry_strategy: (optional)
16197
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
16198
+
16199
+ 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.
16200
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
16201
+
16202
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
16203
+
16204
+ :param bool allow_control_chars: (optional)
16205
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
16206
+ By default, the response will not allow control characters in strings
16207
+
16208
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.log_analytics.models.RecalledInfoCollection`
16209
+ :rtype: :class:`~oci.response.Response`
16210
+
16211
+ :example:
16212
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_recalled_info.py.html>`__ to see an example of how to use list_recalled_info API.
16213
+ """
16214
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
16215
+ required_arguments = ['namespaceName']
16216
+ resource_path = "/namespaces/{namespaceName}/storage/recalledInfoCollection"
16217
+ method = "GET"
16218
+ operation_name = "list_recalled_info"
16219
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/logan-api-spec/20200601/Storage/ListRecalledInfo"
16220
+
16221
+ # Don't accept unknown kwargs
16222
+ expected_kwargs = [
16223
+ "allow_control_chars",
16224
+ "retry_strategy",
16225
+ "opc_request_id",
16226
+ "limit",
16227
+ "page",
16228
+ "sort_by",
16229
+ "sort_order",
16230
+ "time_data_started_greater_than_or_equal",
16231
+ "time_data_ended_less_than",
16232
+ "log_sets"
16233
+ ]
16234
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
16235
+ if extra_kwargs:
16236
+ raise ValueError(
16237
+ f"list_recalled_info got unknown kwargs: {extra_kwargs!r}")
16238
+
16239
+ path_params = {
16240
+ "namespaceName": namespace_name
16241
+ }
16242
+
16243
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
16244
+
16245
+ for (k, v) in six.iteritems(path_params):
16246
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
16247
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
16248
+
16249
+ if 'sort_by' in kwargs:
16250
+ sort_by_allowed_values = ["timeStarted", "timeDataStarted"]
16251
+ if kwargs['sort_by'] not in sort_by_allowed_values:
16252
+ raise ValueError(
16253
+ f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
16254
+ )
16255
+
16256
+ if 'sort_order' in kwargs:
16257
+ sort_order_allowed_values = ["ASC", "DESC"]
16258
+ if kwargs['sort_order'] not in sort_order_allowed_values:
16259
+ raise ValueError(
16260
+ f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
16261
+ )
16262
+
16263
+ query_params = {
16264
+ "limit": kwargs.get("limit", missing),
16265
+ "page": kwargs.get("page", missing),
16266
+ "sortBy": kwargs.get("sort_by", missing),
16267
+ "sortOrder": kwargs.get("sort_order", missing),
16268
+ "timeDataStartedGreaterThanOrEqual": kwargs.get("time_data_started_greater_than_or_equal", missing),
16269
+ "timeDataEndedLessThan": kwargs.get("time_data_ended_less_than", missing),
16270
+ "logSets": self.base_client.generate_collection_format_param(kwargs.get("log_sets", missing), 'multi')
16271
+ }
16272
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
16273
+
16274
+ header_params = {
16275
+ "accept": "application/json",
16276
+ "content-type": "application/json",
16277
+ "opc-request-id": kwargs.get("opc_request_id", missing)
16278
+ }
16279
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
16280
+
16281
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
16282
+ operation_retry_strategy=kwargs.get('retry_strategy'),
16283
+ client_retry_strategy=self.retry_strategy
16284
+ )
16285
+ if retry_strategy is None:
16286
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
16287
+
16288
+ if retry_strategy:
16289
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
16290
+ self.base_client.add_opc_client_retries_header(header_params)
16291
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
16292
+ return retry_strategy.make_retrying_call(
16293
+ self.base_client.call_api,
16294
+ resource_path=resource_path,
16295
+ method=method,
16296
+ path_params=path_params,
16297
+ query_params=query_params,
16298
+ header_params=header_params,
16299
+ response_type="RecalledInfoCollection",
16300
+ allow_control_chars=kwargs.get('allow_control_chars'),
16301
+ operation_name=operation_name,
16302
+ api_reference_link=api_reference_link,
16303
+ required_arguments=required_arguments)
16304
+ else:
16305
+ return self.base_client.call_api(
16306
+ resource_path=resource_path,
16307
+ method=method,
16308
+ path_params=path_params,
16309
+ query_params=query_params,
16310
+ header_params=header_params,
16311
+ response_type="RecalledInfoCollection",
16312
+ allow_control_chars=kwargs.get('allow_control_chars'),
16313
+ operation_name=operation_name,
16314
+ api_reference_link=api_reference_link,
16315
+ required_arguments=required_arguments)
16316
+
15589
16317
  def list_resource_categories(self, namespace_name, **kwargs):
15590
16318
  """
15591
16319
  Returns a list of resources and their category assignments.
@@ -15606,6 +16334,9 @@ class LogAnalyticsClient(object):
15606
16334
  A comma-separated list of resource unique identifiers used for filtering. Only resources
15607
16335
  with matching unique identifiers will be returned.
15608
16336
 
16337
+ :param str compartment_id: (optional)
16338
+ The compartment id
16339
+
15609
16340
  :param str sort_order: (optional)
15610
16341
  The sort order to use, either ascending (`ASC`) or descending (`DESC`).
15611
16342
 
@@ -15641,7 +16372,7 @@ class LogAnalyticsClient(object):
15641
16372
  :rtype: :class:`~oci.response.Response`
15642
16373
 
15643
16374
  :example:
15644
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_resource_categories.py.html>`__ to see an example of how to use list_resource_categories API.
16375
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_resource_categories.py.html>`__ to see an example of how to use list_resource_categories API.
15645
16376
  """
15646
16377
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
15647
16378
  required_arguments = ['namespaceName']
@@ -15657,6 +16388,7 @@ class LogAnalyticsClient(object):
15657
16388
  "categories",
15658
16389
  "resource_types",
15659
16390
  "resource_ids",
16391
+ "compartment_id",
15660
16392
  "sort_order",
15661
16393
  "sort_by",
15662
16394
  "limit",
@@ -15696,6 +16428,7 @@ class LogAnalyticsClient(object):
15696
16428
  "categories": kwargs.get("categories", missing),
15697
16429
  "resourceTypes": kwargs.get("resource_types", missing),
15698
16430
  "resourceIds": kwargs.get("resource_ids", missing),
16431
+ "compartmentId": kwargs.get("compartment_id", missing),
15699
16432
  "sortOrder": kwargs.get("sort_order", missing),
15700
16433
  "sortBy": kwargs.get("sort_by", missing),
15701
16434
  "limit": kwargs.get("limit", missing),
@@ -15811,7 +16544,7 @@ class LogAnalyticsClient(object):
15811
16544
  :rtype: :class:`~oci.response.Response`
15812
16545
 
15813
16546
  :example:
15814
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_rules.py.html>`__ to see an example of how to use list_rules API.
16547
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_rules.py.html>`__ to see an example of how to use list_rules API.
15815
16548
  """
15816
16549
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
15817
16550
  required_arguments = ['namespaceName', 'compartmentId']
@@ -15971,6 +16704,10 @@ class LogAnalyticsClient(object):
15971
16704
 
15972
16705
  Allowed values are: "timeCreated", "timeUpdated", "displayName"
15973
16706
 
16707
+ :param str template_id: (optional)
16708
+ A filter to return only scheduled tasks whose stream action templateId matches the given
16709
+ id exactly.
16710
+
15974
16711
  :param str saved_search_id: (optional)
15975
16712
  A filter to return only scheduled tasks whose stream action savedSearchId matches the given
15976
16713
  ManagementSavedSearch id [OCID] exactly.
@@ -15997,7 +16734,7 @@ class LogAnalyticsClient(object):
15997
16734
  :rtype: :class:`~oci.response.Response`
15998
16735
 
15999
16736
  :example:
16000
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_scheduled_tasks.py.html>`__ to see an example of how to use list_scheduled_tasks API.
16737
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_scheduled_tasks.py.html>`__ to see an example of how to use list_scheduled_tasks API.
16001
16738
  """
16002
16739
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
16003
16740
  required_arguments = ['namespaceName', 'taskType', 'compartmentId']
@@ -16016,6 +16753,7 @@ class LogAnalyticsClient(object):
16016
16753
  "display_name",
16017
16754
  "sort_order",
16018
16755
  "sort_by",
16756
+ "template_id",
16019
16757
  "saved_search_id",
16020
16758
  "display_name_contains",
16021
16759
  "target_service"
@@ -16063,6 +16801,7 @@ class LogAnalyticsClient(object):
16063
16801
  "displayName": kwargs.get("display_name", missing),
16064
16802
  "sortOrder": kwargs.get("sort_order", missing),
16065
16803
  "sortBy": kwargs.get("sort_by", missing),
16804
+ "templateId": kwargs.get("template_id", missing),
16066
16805
  "savedSearchId": kwargs.get("saved_search_id", missing),
16067
16806
  "displayNameContains": kwargs.get("display_name_contains", missing),
16068
16807
  "targetService": kwargs.get("target_service", missing)
@@ -16173,7 +16912,7 @@ class LogAnalyticsClient(object):
16173
16912
  :rtype: :class:`~oci.response.Response`
16174
16913
 
16175
16914
  :example:
16176
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_source_associations.py.html>`__ to see an example of how to use list_source_associations API.
16915
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_source_associations.py.html>`__ to see an example of how to use list_source_associations API.
16177
16916
  """
16178
16917
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
16179
16918
  required_arguments = ['namespaceName', 'sourceName', 'compartmentId']
@@ -16347,7 +17086,7 @@ class LogAnalyticsClient(object):
16347
17086
  :rtype: :class:`~oci.response.Response`
16348
17087
 
16349
17088
  :example:
16350
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_source_event_types.py.html>`__ to see an example of how to use list_source_event_types API.
17089
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_source_event_types.py.html>`__ to see an example of how to use list_source_event_types API.
16351
17090
  """
16352
17091
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
16353
17092
  required_arguments = ['namespaceName', 'sourceName']
@@ -16506,7 +17245,7 @@ class LogAnalyticsClient(object):
16506
17245
  :rtype: :class:`~oci.response.Response`
16507
17246
 
16508
17247
  :example:
16509
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_source_extended_field_definitions.py.html>`__ to see an example of how to use list_source_extended_field_definitions API.
17248
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_source_extended_field_definitions.py.html>`__ to see an example of how to use list_source_extended_field_definitions API.
16510
17249
  """
16511
17250
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
16512
17251
  required_arguments = ['namespaceName', 'sourceName']
@@ -16649,7 +17388,7 @@ class LogAnalyticsClient(object):
16649
17388
  :rtype: :class:`~oci.response.Response`
16650
17389
 
16651
17390
  :example:
16652
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_source_label_operators.py.html>`__ to see an example of how to use list_source_label_operators API.
17391
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_source_label_operators.py.html>`__ to see an example of how to use list_source_label_operators API.
16653
17392
  """
16654
17393
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
16655
17394
  required_arguments = ['namespaceName']
@@ -16791,7 +17530,7 @@ class LogAnalyticsClient(object):
16791
17530
  :rtype: :class:`~oci.response.Response`
16792
17531
 
16793
17532
  :example:
16794
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_source_meta_functions.py.html>`__ to see an example of how to use list_source_meta_functions API.
17533
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_source_meta_functions.py.html>`__ to see an example of how to use list_source_meta_functions API.
16795
17534
  """
16796
17535
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
16797
17536
  required_arguments = ['namespaceName']
@@ -16939,7 +17678,7 @@ class LogAnalyticsClient(object):
16939
17678
  :rtype: :class:`~oci.response.Response`
16940
17679
 
16941
17680
  :example:
16942
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_source_patterns.py.html>`__ to see an example of how to use list_source_patterns API.
17681
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_source_patterns.py.html>`__ to see an example of how to use list_source_patterns API.
16943
17682
  """
16944
17683
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
16945
17684
  required_arguments = ['namespaceName', 'sourceName']
@@ -17097,6 +17836,10 @@ class LogAnalyticsClient(object):
17097
17836
  :param str categories: (optional)
17098
17837
  A comma-separated list of categories used for filtering
17099
17838
 
17839
+ :param str pattern_text: (optional)
17840
+ The pattern text filter. Only sources with a pattern |
17841
+ which contains text with the specified string will be returned.
17842
+
17100
17843
  :param bool is_simplified: (optional)
17101
17844
  A flag specifying whether or not to return all source information, or a subset of the
17102
17845
  information about each source. A value of true will return only the source unique
@@ -17122,7 +17865,7 @@ class LogAnalyticsClient(object):
17122
17865
  :rtype: :class:`~oci.response.Response`
17123
17866
 
17124
17867
  :example:
17125
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_sources.py.html>`__ to see an example of how to use list_sources API.
17868
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_sources.py.html>`__ to see an example of how to use list_sources API.
17126
17869
  """
17127
17870
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
17128
17871
  required_arguments = ['namespaceName', 'compartmentId']
@@ -17146,6 +17889,7 @@ class LogAnalyticsClient(object):
17146
17889
  "name",
17147
17890
  "source_type",
17148
17891
  "categories",
17892
+ "pattern_text",
17149
17893
  "is_simplified",
17150
17894
  "opc_request_id"
17151
17895
  ]
@@ -17197,6 +17941,7 @@ class LogAnalyticsClient(object):
17197
17941
  "name": kwargs.get("name", missing),
17198
17942
  "sourceType": kwargs.get("source_type", missing),
17199
17943
  "categories": kwargs.get("categories", missing),
17944
+ "patternText": kwargs.get("pattern_text", missing),
17200
17945
  "isSimplified": kwargs.get("is_simplified", missing),
17201
17946
  "compartmentId": compartment_id
17202
17947
  }
@@ -17296,7 +18041,7 @@ class LogAnalyticsClient(object):
17296
18041
  :rtype: :class:`~oci.response.Response`
17297
18042
 
17298
18043
  :example:
17299
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_storage_work_request_errors.py.html>`__ to see an example of how to use list_storage_work_request_errors API.
18044
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_storage_work_request_errors.py.html>`__ to see an example of how to use list_storage_work_request_errors API.
17300
18045
  """
17301
18046
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
17302
18047
  required_arguments = ['workRequestId', 'namespaceName', 'compartmentId']
@@ -17466,7 +18211,7 @@ class LogAnalyticsClient(object):
17466
18211
  :rtype: :class:`~oci.response.Response`
17467
18212
 
17468
18213
  :example:
17469
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_storage_work_requests.py.html>`__ to see an example of how to use list_storage_work_requests API.
18214
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_storage_work_requests.py.html>`__ to see an example of how to use list_storage_work_requests API.
17470
18215
  """
17471
18216
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
17472
18217
  required_arguments = ['namespaceName', 'compartmentId']
@@ -17574,7 +18319,121 @@ class LogAnalyticsClient(object):
17574
18319
  path_params=path_params,
17575
18320
  query_params=query_params,
17576
18321
  header_params=header_params,
17577
- response_type="StorageWorkRequestCollection",
18322
+ response_type="StorageWorkRequestCollection",
18323
+ allow_control_chars=kwargs.get('allow_control_chars'),
18324
+ operation_name=operation_name,
18325
+ api_reference_link=api_reference_link,
18326
+ required_arguments=required_arguments)
18327
+ else:
18328
+ return self.base_client.call_api(
18329
+ resource_path=resource_path,
18330
+ method=method,
18331
+ path_params=path_params,
18332
+ query_params=query_params,
18333
+ header_params=header_params,
18334
+ response_type="StorageWorkRequestCollection",
18335
+ allow_control_chars=kwargs.get('allow_control_chars'),
18336
+ operation_name=operation_name,
18337
+ api_reference_link=api_reference_link,
18338
+ required_arguments=required_arguments)
18339
+
18340
+ def list_supported_char_encodings(self, namespace_name, **kwargs):
18341
+ """
18342
+ Gets list of character encodings which are supported by on-demand upload.
18343
+
18344
+
18345
+ :param str namespace_name: (required)
18346
+ The Logging Analytics namespace used for the request.
18347
+
18348
+ :param int limit: (optional)
18349
+ The maximum number of items to return.
18350
+
18351
+ :param str page: (optional)
18352
+ The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
18353
+
18354
+ :param str opc_request_id: (optional)
18355
+ The client request ID for tracing.
18356
+
18357
+ :param obj retry_strategy: (optional)
18358
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
18359
+
18360
+ 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.
18361
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
18362
+
18363
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
18364
+
18365
+ :param bool allow_control_chars: (optional)
18366
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
18367
+ By default, the response will not allow control characters in strings
18368
+
18369
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.log_analytics.models.CharEncodingCollection`
18370
+ :rtype: :class:`~oci.response.Response`
18371
+
18372
+ :example:
18373
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_supported_char_encodings.py.html>`__ to see an example of how to use list_supported_char_encodings API.
18374
+ """
18375
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
18376
+ required_arguments = ['namespaceName']
18377
+ resource_path = "/namespaces/{namespaceName}/supportedCharEncodings"
18378
+ method = "GET"
18379
+ operation_name = "list_supported_char_encodings"
18380
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/logan-api-spec/20200601/CharEncodingCollection/ListSupportedCharEncodings"
18381
+
18382
+ # Don't accept unknown kwargs
18383
+ expected_kwargs = [
18384
+ "allow_control_chars",
18385
+ "retry_strategy",
18386
+ "limit",
18387
+ "page",
18388
+ "opc_request_id"
18389
+ ]
18390
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
18391
+ if extra_kwargs:
18392
+ raise ValueError(
18393
+ f"list_supported_char_encodings got unknown kwargs: {extra_kwargs!r}")
18394
+
18395
+ path_params = {
18396
+ "namespaceName": namespace_name
18397
+ }
18398
+
18399
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
18400
+
18401
+ for (k, v) in six.iteritems(path_params):
18402
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
18403
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
18404
+
18405
+ query_params = {
18406
+ "limit": kwargs.get("limit", missing),
18407
+ "page": kwargs.get("page", missing)
18408
+ }
18409
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
18410
+
18411
+ header_params = {
18412
+ "accept": "application/json",
18413
+ "content-type": "application/json",
18414
+ "opc-request-id": kwargs.get("opc_request_id", missing)
18415
+ }
18416
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
18417
+
18418
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
18419
+ operation_retry_strategy=kwargs.get('retry_strategy'),
18420
+ client_retry_strategy=self.retry_strategy
18421
+ )
18422
+ if retry_strategy is None:
18423
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
18424
+
18425
+ if retry_strategy:
18426
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
18427
+ self.base_client.add_opc_client_retries_header(header_params)
18428
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
18429
+ return retry_strategy.make_retrying_call(
18430
+ self.base_client.call_api,
18431
+ resource_path=resource_path,
18432
+ method=method,
18433
+ path_params=path_params,
18434
+ query_params=query_params,
18435
+ header_params=header_params,
18436
+ response_type="CharEncodingCollection",
17578
18437
  allow_control_chars=kwargs.get('allow_control_chars'),
17579
18438
  operation_name=operation_name,
17580
18439
  api_reference_link=api_reference_link,
@@ -17586,15 +18445,15 @@ class LogAnalyticsClient(object):
17586
18445
  path_params=path_params,
17587
18446
  query_params=query_params,
17588
18447
  header_params=header_params,
17589
- response_type="StorageWorkRequestCollection",
18448
+ response_type="CharEncodingCollection",
17590
18449
  allow_control_chars=kwargs.get('allow_control_chars'),
17591
18450
  operation_name=operation_name,
17592
18451
  api_reference_link=api_reference_link,
17593
18452
  required_arguments=required_arguments)
17594
18453
 
17595
- def list_supported_char_encodings(self, namespace_name, **kwargs):
18454
+ def list_supported_timezones(self, namespace_name, **kwargs):
17596
18455
  """
17597
- Gets list of character encodings which are supported by on-demand upload.
18456
+ Gets list of timezones which are supported by on-demand upload.
17598
18457
 
17599
18458
 
17600
18459
  :param str namespace_name: (required)
@@ -17621,18 +18480,18 @@ class LogAnalyticsClient(object):
17621
18480
  allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
17622
18481
  By default, the response will not allow control characters in strings
17623
18482
 
17624
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.log_analytics.models.CharEncodingCollection`
18483
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.log_analytics.models.TimezoneCollection`
17625
18484
  :rtype: :class:`~oci.response.Response`
17626
18485
 
17627
18486
  :example:
17628
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_supported_char_encodings.py.html>`__ to see an example of how to use list_supported_char_encodings API.
18487
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_supported_timezones.py.html>`__ to see an example of how to use list_supported_timezones API.
17629
18488
  """
17630
18489
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
17631
18490
  required_arguments = ['namespaceName']
17632
- resource_path = "/namespaces/{namespaceName}/supportedCharEncodings"
18491
+ resource_path = "/namespaces/{namespaceName}/supportedTimezones"
17633
18492
  method = "GET"
17634
- operation_name = "list_supported_char_encodings"
17635
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/logan-api-spec/20200601/CharEncodingCollection/ListSupportedCharEncodings"
18493
+ operation_name = "list_supported_timezones"
18494
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/logan-api-spec/20200601/TimezoneCollection/ListSupportedTimezones"
17636
18495
 
17637
18496
  # Don't accept unknown kwargs
17638
18497
  expected_kwargs = [
@@ -17645,7 +18504,7 @@ class LogAnalyticsClient(object):
17645
18504
  extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
17646
18505
  if extra_kwargs:
17647
18506
  raise ValueError(
17648
- f"list_supported_char_encodings got unknown kwargs: {extra_kwargs!r}")
18507
+ f"list_supported_timezones got unknown kwargs: {extra_kwargs!r}")
17649
18508
 
17650
18509
  path_params = {
17651
18510
  "namespaceName": namespace_name
@@ -17688,7 +18547,7 @@ class LogAnalyticsClient(object):
17688
18547
  path_params=path_params,
17689
18548
  query_params=query_params,
17690
18549
  header_params=header_params,
17691
- response_type="CharEncodingCollection",
18550
+ response_type="TimezoneCollection",
17692
18551
  allow_control_chars=kwargs.get('allow_control_chars'),
17693
18552
  operation_name=operation_name,
17694
18553
  api_reference_link=api_reference_link,
@@ -17700,26 +18559,59 @@ class LogAnalyticsClient(object):
17700
18559
  path_params=path_params,
17701
18560
  query_params=query_params,
17702
18561
  header_params=header_params,
17703
- response_type="CharEncodingCollection",
18562
+ response_type="TimezoneCollection",
17704
18563
  allow_control_chars=kwargs.get('allow_control_chars'),
17705
18564
  operation_name=operation_name,
17706
18565
  api_reference_link=api_reference_link,
17707
18566
  required_arguments=required_arguments)
17708
18567
 
17709
- def list_supported_timezones(self, namespace_name, **kwargs):
18568
+ def list_templates(self, namespace_name, compartment_id, **kwargs):
17710
18569
  """
17711
- Gets list of timezones which are supported by on-demand upload.
18570
+ Returns a list of templates, containing detailed information about them. You may limit the number of results, provide sorting order, and filter by information such as template name, type, display name and description.
17712
18571
 
17713
18572
 
17714
18573
  :param str namespace_name: (required)
17715
18574
  The Logging Analytics namespace used for the request.
17716
18575
 
18576
+ :param str compartment_id: (required)
18577
+ The ID of the compartment in which to list resources.
18578
+
18579
+ :param str type: (optional)
18580
+ The template type used for filtering. Only templates of the
18581
+ specified type will be returned.
18582
+
18583
+ :param str name: (optional)
18584
+ The template name used for filtering.
18585
+
18586
+ :param str template_display_text: (optional)
18587
+ The template display text used for filtering. Only templates with the specified name or
18588
+ description will be returned.
18589
+
18590
+ :param str lifecycle_state: (optional)
18591
+ The template lifecycle state used for filtering. Currently supported
18592
+ values are ACTIVE and DELETED.
18593
+
18594
+ Allowed values are: "ACTIVE", "DELETED"
18595
+
18596
+ :param str filter: (optional)
18597
+ filter
18598
+
17717
18599
  :param int limit: (optional)
17718
18600
  The maximum number of items to return.
17719
18601
 
17720
18602
  :param str page: (optional)
17721
18603
  The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
17722
18604
 
18605
+ :param str sort_order: (optional)
18606
+ The sort order to use, either ascending (`ASC`) or descending (`DESC`).
18607
+
18608
+ Allowed values are: "ASC", "DESC"
18609
+
18610
+ :param str sort_by: (optional)
18611
+ The attribute used to sort the returned templates
18612
+
18613
+ Allowed values are: "displayName", "timeCreated", "timeUpdated"
18614
+
17723
18615
  :param str opc_request_id: (optional)
17724
18616
  The client request ID for tracing.
17725
18617
 
@@ -17735,31 +18627,38 @@ class LogAnalyticsClient(object):
17735
18627
  allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
17736
18628
  By default, the response will not allow control characters in strings
17737
18629
 
17738
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.log_analytics.models.TimezoneCollection`
18630
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.log_analytics.models.LogAnalyticsTemplateCollection`
17739
18631
  :rtype: :class:`~oci.response.Response`
17740
18632
 
17741
18633
  :example:
17742
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_supported_timezones.py.html>`__ to see an example of how to use list_supported_timezones API.
18634
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_templates.py.html>`__ to see an example of how to use list_templates API.
17743
18635
  """
17744
18636
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
17745
- required_arguments = ['namespaceName']
17746
- resource_path = "/namespaces/{namespaceName}/supportedTimezones"
18637
+ required_arguments = ['namespaceName', 'compartmentId']
18638
+ resource_path = "/namespaces/{namespaceName}/templates"
17747
18639
  method = "GET"
17748
- operation_name = "list_supported_timezones"
17749
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/logan-api-spec/20200601/TimezoneCollection/ListSupportedTimezones"
18640
+ operation_name = "list_templates"
18641
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/logan-api-spec/20200601/LogAnalyticsTemplate/ListTemplates"
17750
18642
 
17751
18643
  # Don't accept unknown kwargs
17752
18644
  expected_kwargs = [
17753
18645
  "allow_control_chars",
17754
18646
  "retry_strategy",
18647
+ "type",
18648
+ "name",
18649
+ "template_display_text",
18650
+ "lifecycle_state",
18651
+ "filter",
17755
18652
  "limit",
17756
18653
  "page",
18654
+ "sort_order",
18655
+ "sort_by",
17757
18656
  "opc_request_id"
17758
18657
  ]
17759
18658
  extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
17760
18659
  if extra_kwargs:
17761
18660
  raise ValueError(
17762
- f"list_supported_timezones got unknown kwargs: {extra_kwargs!r}")
18661
+ f"list_templates got unknown kwargs: {extra_kwargs!r}")
17763
18662
 
17764
18663
  path_params = {
17765
18664
  "namespaceName": namespace_name
@@ -17771,14 +18670,43 @@ class LogAnalyticsClient(object):
17771
18670
  if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
17772
18671
  raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
17773
18672
 
18673
+ if 'lifecycle_state' in kwargs:
18674
+ lifecycle_state_allowed_values = ["ACTIVE", "DELETED"]
18675
+ if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
18676
+ raise ValueError(
18677
+ f"Invalid value for `lifecycle_state`, must be one of { lifecycle_state_allowed_values }"
18678
+ )
18679
+
18680
+ if 'sort_order' in kwargs:
18681
+ sort_order_allowed_values = ["ASC", "DESC"]
18682
+ if kwargs['sort_order'] not in sort_order_allowed_values:
18683
+ raise ValueError(
18684
+ f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
18685
+ )
18686
+
18687
+ if 'sort_by' in kwargs:
18688
+ sort_by_allowed_values = ["displayName", "timeCreated", "timeUpdated"]
18689
+ if kwargs['sort_by'] not in sort_by_allowed_values:
18690
+ raise ValueError(
18691
+ f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
18692
+ )
18693
+
17774
18694
  query_params = {
18695
+ "compartmentId": compartment_id,
18696
+ "type": kwargs.get("type", missing),
18697
+ "name": kwargs.get("name", missing),
18698
+ "templateDisplayText": kwargs.get("template_display_text", missing),
18699
+ "lifecycleState": kwargs.get("lifecycle_state", missing),
18700
+ "filter": kwargs.get("filter", missing),
17775
18701
  "limit": kwargs.get("limit", missing),
17776
- "page": kwargs.get("page", missing)
18702
+ "page": kwargs.get("page", missing),
18703
+ "sortOrder": kwargs.get("sort_order", missing),
18704
+ "sortBy": kwargs.get("sort_by", missing)
17777
18705
  }
17778
18706
  query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
17779
18707
 
17780
18708
  header_params = {
17781
- "accept": "application/json",
18709
+ "accept": "application/json;charset=UTF-8",
17782
18710
  "content-type": "application/json",
17783
18711
  "opc-request-id": kwargs.get("opc_request_id", missing)
17784
18712
  }
@@ -17802,7 +18730,7 @@ class LogAnalyticsClient(object):
17802
18730
  path_params=path_params,
17803
18731
  query_params=query_params,
17804
18732
  header_params=header_params,
17805
- response_type="TimezoneCollection",
18733
+ response_type="LogAnalyticsTemplateCollection",
17806
18734
  allow_control_chars=kwargs.get('allow_control_chars'),
17807
18735
  operation_name=operation_name,
17808
18736
  api_reference_link=api_reference_link,
@@ -17814,7 +18742,7 @@ class LogAnalyticsClient(object):
17814
18742
  path_params=path_params,
17815
18743
  query_params=query_params,
17816
18744
  header_params=header_params,
17817
- response_type="TimezoneCollection",
18745
+ response_type="LogAnalyticsTemplateCollection",
17818
18746
  allow_control_chars=kwargs.get('allow_control_chars'),
17819
18747
  operation_name=operation_name,
17820
18748
  api_reference_link=api_reference_link,
@@ -17875,7 +18803,7 @@ class LogAnalyticsClient(object):
17875
18803
  :rtype: :class:`~oci.response.Response`
17876
18804
 
17877
18805
  :example:
17878
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_upload_files.py.html>`__ to see an example of how to use list_upload_files API.
18806
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_upload_files.py.html>`__ to see an example of how to use list_upload_files API.
17879
18807
  """
17880
18808
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
17881
18809
  required_arguments = ['namespaceName', 'uploadReference']
@@ -18023,7 +18951,7 @@ class LogAnalyticsClient(object):
18023
18951
  :rtype: :class:`~oci.response.Response`
18024
18952
 
18025
18953
  :example:
18026
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_upload_warnings.py.html>`__ to see an example of how to use list_upload_warnings API.
18954
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_upload_warnings.py.html>`__ to see an example of how to use list_upload_warnings API.
18027
18955
  """
18028
18956
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
18029
18957
  required_arguments = ['namespaceName', 'uploadReference']
@@ -18162,7 +19090,7 @@ class LogAnalyticsClient(object):
18162
19090
  :rtype: :class:`~oci.response.Response`
18163
19091
 
18164
19092
  :example:
18165
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_uploads.py.html>`__ to see an example of how to use list_uploads API.
19093
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_uploads.py.html>`__ to see an example of how to use list_uploads API.
18166
19094
  """
18167
19095
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
18168
19096
  required_arguments = ['namespaceName']
@@ -18360,7 +19288,7 @@ class LogAnalyticsClient(object):
18360
19288
  :rtype: :class:`~oci.response.Response`
18361
19289
 
18362
19290
  :example:
18363
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_warnings.py.html>`__ to see an example of how to use list_warnings API.
19291
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_warnings.py.html>`__ to see an example of how to use list_warnings API.
18364
19292
  """
18365
19293
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
18366
19294
  required_arguments = ['namespaceName', 'compartmentId']
@@ -18525,7 +19453,7 @@ class LogAnalyticsClient(object):
18525
19453
  :rtype: :class:`~oci.response.Response`
18526
19454
 
18527
19455
  :example:
18528
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
19456
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
18529
19457
  """
18530
19458
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
18531
19459
  required_arguments = ['namespaceName', 'workRequestId']
@@ -18643,7 +19571,7 @@ class LogAnalyticsClient(object):
18643
19571
  :rtype: :class:`~oci.response.Response`
18644
19572
 
18645
19573
  :example:
18646
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
19574
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
18647
19575
  """
18648
19576
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
18649
19577
  required_arguments = ['namespaceName', 'workRequestId']
@@ -18759,7 +19687,7 @@ class LogAnalyticsClient(object):
18759
19687
  :rtype: :class:`~oci.response.Response`
18760
19688
 
18761
19689
  :example:
18762
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
19690
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
18763
19691
  """
18764
19692
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
18765
19693
  required_arguments = ['namespaceName', 'compartmentId']
@@ -18873,7 +19801,7 @@ class LogAnalyticsClient(object):
18873
19801
  :rtype: :class:`~oci.response.Response`
18874
19802
 
18875
19803
  :example:
18876
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/offboard_namespace.py.html>`__ to see an example of how to use offboard_namespace API.
19804
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/offboard_namespace.py.html>`__ to see an example of how to use offboard_namespace API.
18877
19805
  """
18878
19806
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
18879
19807
  required_arguments = ['namespaceName']
@@ -18977,7 +19905,7 @@ class LogAnalyticsClient(object):
18977
19905
  :rtype: :class:`~oci.response.Response`
18978
19906
 
18979
19907
  :example:
18980
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/onboard_namespace.py.html>`__ to see an example of how to use onboard_namespace API.
19908
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/onboard_namespace.py.html>`__ to see an example of how to use onboard_namespace API.
18981
19909
  """
18982
19910
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
18983
19911
  required_arguments = ['namespaceName']
@@ -19077,7 +20005,7 @@ class LogAnalyticsClient(object):
19077
20005
  :rtype: :class:`~oci.response.Response`
19078
20006
 
19079
20007
  :example:
19080
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/parse_query.py.html>`__ to see an example of how to use parse_query API.
20008
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/parse_query.py.html>`__ to see an example of how to use parse_query API.
19081
20009
  """
19082
20010
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
19083
20011
  required_arguments = ['namespaceName']
@@ -19192,7 +20120,7 @@ class LogAnalyticsClient(object):
19192
20120
  :rtype: :class:`~oci.response.Response`
19193
20121
 
19194
20122
  :example:
19195
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/pause_scheduled_task.py.html>`__ to see an example of how to use pause_scheduled_task API.
20123
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/pause_scheduled_task.py.html>`__ to see an example of how to use pause_scheduled_task API.
19196
20124
  """
19197
20125
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
19198
20126
  required_arguments = ['namespaceName', 'scheduledTaskId']
@@ -19311,7 +20239,7 @@ class LogAnalyticsClient(object):
19311
20239
  :rtype: :class:`~oci.response.Response`
19312
20240
 
19313
20241
  :example:
19314
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/purge_storage_data.py.html>`__ to see an example of how to use purge_storage_data API.
20242
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/purge_storage_data.py.html>`__ to see an example of how to use purge_storage_data API.
19315
20243
  """
19316
20244
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
19317
20245
  required_arguments = ['namespaceName']
@@ -19428,7 +20356,7 @@ class LogAnalyticsClient(object):
19428
20356
  :rtype: :class:`~oci.response.Response`
19429
20357
 
19430
20358
  :example:
19431
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/put_query_work_request_background.py.html>`__ to see an example of how to use put_query_work_request_background API.
20359
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/put_query_work_request_background.py.html>`__ to see an example of how to use put_query_work_request_background API.
19432
20360
  """
19433
20361
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
19434
20362
  required_arguments = ['namespaceName', 'workRequestId']
@@ -19536,7 +20464,7 @@ class LogAnalyticsClient(object):
19536
20464
  :rtype: :class:`~oci.response.Response`
19537
20465
 
19538
20466
  :example:
19539
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/query.py.html>`__ to see an example of how to use query API.
20467
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/query.py.html>`__ to see an example of how to use query API.
19540
20468
  """
19541
20469
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
19542
20470
  required_arguments = ['namespaceName']
@@ -19667,7 +20595,7 @@ class LogAnalyticsClient(object):
19667
20595
  :rtype: :class:`~oci.response.Response`
19668
20596
 
19669
20597
  :example:
19670
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/recall_archived_data.py.html>`__ to see an example of how to use recall_archived_data API.
20598
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/recall_archived_data.py.html>`__ to see an example of how to use recall_archived_data API.
19671
20599
  """
19672
20600
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
19673
20601
  required_arguments = ['namespaceName']
@@ -19749,7 +20677,7 @@ class LogAnalyticsClient(object):
19749
20677
 
19750
20678
  def register_lookup(self, namespace_name, type, register_lookup_content_file_body, **kwargs):
19751
20679
  """
19752
- Creates a lookup with the specified name, type and description. The csv file containing the lookup content is passed in as binary data in the request.
20680
+ Creates a lookup with the specified name, type and description.
19753
20681
 
19754
20682
 
19755
20683
  :param str namespace_name: (required)
@@ -19761,7 +20689,9 @@ class LogAnalyticsClient(object):
19761
20689
  Allowed values are: "Lookup", "Dictionary", "Module"
19762
20690
 
19763
20691
  :param stream register_lookup_content_file_body: (required)
19764
- file containing data for lookup creation
20692
+ The lookup content to be created, with or without tags. The following formats are supported as binary data:
20693
+ 1. If there are no tags: file containing the lookup content.
20694
+ 2. If there are tags: JSON file containing the lookup content and tags.
19765
20695
 
19766
20696
  :param str name: (optional)
19767
20697
  A filter to return only log analytics entities whose name matches the entire name given. The match
@@ -19791,6 +20721,9 @@ class LogAnalyticsClient(object):
19791
20721
  If no error results from such verification, the server will send a 100 (Continue) interim response to indicate readiness for the request body.
19792
20722
  The only allowed value for this parameter is \"100-Continue\" (case-insensitive).
19793
20723
 
20724
+ :param str compartment_id: (optional)
20725
+ The compartment id
20726
+
19794
20727
  :param obj retry_strategy: (optional)
19795
20728
  A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
19796
20729
 
@@ -19814,7 +20747,7 @@ class LogAnalyticsClient(object):
19814
20747
  :rtype: :class:`~oci.response.Response`
19815
20748
 
19816
20749
  :example:
19817
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/register_lookup.py.html>`__ to see an example of how to use register_lookup API.
20750
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/register_lookup.py.html>`__ to see an example of how to use register_lookup API.
19818
20751
  """
19819
20752
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
19820
20753
  required_arguments = ['namespaceName', 'type']
@@ -19834,7 +20767,8 @@ class LogAnalyticsClient(object):
19834
20767
  "is_hidden",
19835
20768
  "opc_retry_token",
19836
20769
  "opc_request_id",
19837
- "expect"
20770
+ "expect",
20771
+ "compartment_id"
19838
20772
  ]
19839
20773
  extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
19840
20774
  if extra_kwargs:
@@ -19862,7 +20796,8 @@ class LogAnalyticsClient(object):
19862
20796
  "description": kwargs.get("description", missing),
19863
20797
  "charEncoding": kwargs.get("char_encoding", missing),
19864
20798
  "isHidden": kwargs.get("is_hidden", missing),
19865
- "type": type
20799
+ "type": type,
20800
+ "compartmentId": kwargs.get("compartment_id", missing)
19866
20801
  }
19867
20802
  query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
19868
20803
 
@@ -19982,7 +20917,7 @@ class LogAnalyticsClient(object):
19982
20917
  :rtype: :class:`~oci.response.Response`
19983
20918
 
19984
20919
  :example:
19985
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/release_recalled_data.py.html>`__ to see an example of how to use release_recalled_data API.
20920
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/release_recalled_data.py.html>`__ to see an example of how to use release_recalled_data API.
19986
20921
  """
19987
20922
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
19988
20923
  required_arguments = ['namespaceName']
@@ -20107,7 +21042,7 @@ class LogAnalyticsClient(object):
20107
21042
  :rtype: :class:`~oci.response.Response`
20108
21043
 
20109
21044
  :example:
20110
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/remove_entity_associations.py.html>`__ to see an example of how to use remove_entity_associations API.
21045
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/remove_entity_associations.py.html>`__ to see an example of how to use remove_entity_associations API.
20111
21046
  """
20112
21047
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
20113
21048
  required_arguments = ['namespaceName', 'logAnalyticsEntityId']
@@ -20225,7 +21160,7 @@ class LogAnalyticsClient(object):
20225
21160
  :rtype: :class:`~oci.response.Response`
20226
21161
 
20227
21162
  :example:
20228
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/remove_preferences.py.html>`__ to see an example of how to use remove_preferences API.
21163
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/remove_preferences.py.html>`__ to see an example of how to use remove_preferences API.
20229
21164
  """
20230
21165
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
20231
21166
  required_arguments = ['namespaceName']
@@ -20333,7 +21268,7 @@ class LogAnalyticsClient(object):
20333
21268
  :rtype: :class:`~oci.response.Response`
20334
21269
 
20335
21270
  :example:
20336
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/remove_resource_categories.py.html>`__ to see an example of how to use remove_resource_categories API.
21271
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/remove_resource_categories.py.html>`__ to see an example of how to use remove_resource_categories API.
20337
21272
  """
20338
21273
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
20339
21274
  required_arguments = ['namespaceName']
@@ -20448,7 +21383,7 @@ class LogAnalyticsClient(object):
20448
21383
  :rtype: :class:`~oci.response.Response`
20449
21384
 
20450
21385
  :example:
20451
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/remove_source_event_types.py.html>`__ to see an example of how to use remove_source_event_types API.
21386
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/remove_source_event_types.py.html>`__ to see an example of how to use remove_source_event_types API.
20452
21387
  """
20453
21388
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
20454
21389
  required_arguments = ['namespaceName', 'sourceName']
@@ -20565,7 +21500,7 @@ class LogAnalyticsClient(object):
20565
21500
  :rtype: :class:`~oci.response.Response`
20566
21501
 
20567
21502
  :example:
20568
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/resume_scheduled_task.py.html>`__ to see an example of how to use resume_scheduled_task API.
21503
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/resume_scheduled_task.py.html>`__ to see an example of how to use resume_scheduled_task API.
20569
21504
  """
20570
21505
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
20571
21506
  required_arguments = ['namespaceName', 'scheduledTaskId']
@@ -20687,7 +21622,7 @@ class LogAnalyticsClient(object):
20687
21622
  :rtype: :class:`~oci.response.Response`
20688
21623
 
20689
21624
  :example:
20690
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/run.py.html>`__ to see an example of how to use run API.
21625
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/run.py.html>`__ to see an example of how to use run API.
20691
21626
  """
20692
21627
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
20693
21628
  required_arguments = ['namespaceName', 'scheduledTaskId']
@@ -20804,7 +21739,7 @@ class LogAnalyticsClient(object):
20804
21739
  :rtype: :class:`~oci.response.Response`
20805
21740
 
20806
21741
  :example:
20807
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/set_unprocessed_data_bucket.py.html>`__ to see an example of how to use set_unprocessed_data_bucket API.
21742
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/set_unprocessed_data_bucket.py.html>`__ to see an example of how to use set_unprocessed_data_bucket API.
20808
21743
  """
20809
21744
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
20810
21745
  required_arguments = ['namespaceName', 'bucketName']
@@ -20912,7 +21847,7 @@ class LogAnalyticsClient(object):
20912
21847
  :rtype: :class:`~oci.response.Response`
20913
21848
 
20914
21849
  :example:
20915
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/suggest.py.html>`__ to see an example of how to use suggest API.
21850
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/suggest.py.html>`__ to see an example of how to use suggest API.
20916
21851
  """
20917
21852
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
20918
21853
  required_arguments = ['namespaceName']
@@ -21029,7 +21964,7 @@ class LogAnalyticsClient(object):
21029
21964
  :rtype: :class:`~oci.response.Response`
21030
21965
 
21031
21966
  :example:
21032
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/suppress_warning.py.html>`__ to see an example of how to use suppress_warning API.
21967
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/suppress_warning.py.html>`__ to see an example of how to use suppress_warning API.
21033
21968
  """
21034
21969
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
21035
21970
  required_arguments = ['namespaceName', 'compartmentId']
@@ -21160,7 +22095,7 @@ class LogAnalyticsClient(object):
21160
22095
  :rtype: :class:`~oci.response.Response`
21161
22096
 
21162
22097
  :example:
21163
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/test_parser.py.html>`__ to see an example of how to use test_parser API.
22098
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/test_parser.py.html>`__ to see an example of how to use test_parser API.
21164
22099
  """
21165
22100
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
21166
22101
  required_arguments = ['namespaceName']
@@ -21297,7 +22232,7 @@ class LogAnalyticsClient(object):
21297
22232
  :rtype: :class:`~oci.response.Response`
21298
22233
 
21299
22234
  :example:
21300
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/unsuppress_warning.py.html>`__ to see an example of how to use unsuppress_warning API.
22235
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/unsuppress_warning.py.html>`__ to see an example of how to use unsuppress_warning API.
21301
22236
  """
21302
22237
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
21303
22238
  required_arguments = ['namespaceName', 'compartmentId']
@@ -21422,7 +22357,7 @@ class LogAnalyticsClient(object):
21422
22357
  :rtype: :class:`~oci.response.Response`
21423
22358
 
21424
22359
  :example:
21425
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/update_ingest_time_rule.py.html>`__ to see an example of how to use update_ingest_time_rule API.
22360
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/update_ingest_time_rule.py.html>`__ to see an example of how to use update_ingest_time_rule API.
21426
22361
  """
21427
22362
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
21428
22363
  required_arguments = ['namespaceName', 'ingestTimeRuleId']
@@ -21542,7 +22477,7 @@ class LogAnalyticsClient(object):
21542
22477
  :rtype: :class:`~oci.response.Response`
21543
22478
 
21544
22479
  :example:
21545
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/update_log_analytics_em_bridge.py.html>`__ to see an example of how to use update_log_analytics_em_bridge API.
22480
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/update_log_analytics_em_bridge.py.html>`__ to see an example of how to use update_log_analytics_em_bridge API.
21546
22481
  """
21547
22482
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
21548
22483
  required_arguments = ['namespaceName', 'logAnalyticsEmBridgeId']
@@ -21660,7 +22595,7 @@ class LogAnalyticsClient(object):
21660
22595
  :rtype: :class:`~oci.response.Response`
21661
22596
 
21662
22597
  :example:
21663
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/update_log_analytics_entity.py.html>`__ to see an example of how to use update_log_analytics_entity API.
22598
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/update_log_analytics_entity.py.html>`__ to see an example of how to use update_log_analytics_entity API.
21664
22599
  """
21665
22600
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
21666
22601
  required_arguments = ['namespaceName', 'logAnalyticsEntityId']
@@ -21778,7 +22713,7 @@ class LogAnalyticsClient(object):
21778
22713
  :rtype: :class:`~oci.response.Response`
21779
22714
 
21780
22715
  :example:
21781
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/update_log_analytics_entity_type.py.html>`__ to see an example of how to use update_log_analytics_entity_type API.
22716
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/update_log_analytics_entity_type.py.html>`__ to see an example of how to use update_log_analytics_entity_type API.
21782
22717
  """
21783
22718
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
21784
22719
  required_arguments = ['namespaceName', 'entityTypeName']
@@ -21894,7 +22829,7 @@ class LogAnalyticsClient(object):
21894
22829
  :rtype: :class:`~oci.response.Response`
21895
22830
 
21896
22831
  :example:
21897
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/update_log_analytics_log_group.py.html>`__ to see an example of how to use update_log_analytics_log_group API.
22832
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/update_log_analytics_log_group.py.html>`__ to see an example of how to use update_log_analytics_log_group API.
21898
22833
  """
21899
22834
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
21900
22835
  required_arguments = ['namespaceName', 'logAnalyticsLogGroupId']
@@ -22016,7 +22951,7 @@ class LogAnalyticsClient(object):
22016
22951
  :rtype: :class:`~oci.response.Response`
22017
22952
 
22018
22953
  :example:
22019
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/update_log_analytics_object_collection_rule.py.html>`__ to see an example of how to use update_log_analytics_object_collection_rule API.
22954
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/update_log_analytics_object_collection_rule.py.html>`__ to see an example of how to use update_log_analytics_object_collection_rule API.
22020
22955
  """
22021
22956
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
22022
22957
  required_arguments = ['namespaceName', 'logAnalyticsObjectCollectionRuleId']
@@ -22141,7 +23076,7 @@ class LogAnalyticsClient(object):
22141
23076
  :rtype: :class:`~oci.response.Response`
22142
23077
 
22143
23078
  :example:
22144
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/update_lookup.py.html>`__ to see an example of how to use update_lookup API.
23079
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/update_lookup.py.html>`__ to see an example of how to use update_lookup API.
22145
23080
  """
22146
23081
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
22147
23082
  required_arguments = ['namespaceName', 'lookupName']
@@ -22289,7 +23224,7 @@ class LogAnalyticsClient(object):
22289
23224
  :rtype: :class:`~oci.response.Response`
22290
23225
 
22291
23226
  :example:
22292
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/update_lookup_data.py.html>`__ to see an example of how to use update_lookup_data API.
23227
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/update_lookup_data.py.html>`__ to see an example of how to use update_lookup_data API.
22293
23228
  """
22294
23229
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
22295
23230
  required_arguments = ['namespaceName', 'lookupName']
@@ -22440,7 +23375,7 @@ class LogAnalyticsClient(object):
22440
23375
  :rtype: :class:`~oci.response.Response`
22441
23376
 
22442
23377
  :example:
22443
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/update_preferences.py.html>`__ to see an example of how to use update_preferences API.
23378
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/update_preferences.py.html>`__ to see an example of how to use update_preferences API.
22444
23379
  """
22445
23380
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
22446
23381
  required_arguments = ['namespaceName']
@@ -22548,7 +23483,7 @@ class LogAnalyticsClient(object):
22548
23483
  :rtype: :class:`~oci.response.Response`
22549
23484
 
22550
23485
  :example:
22551
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/update_resource_categories.py.html>`__ to see an example of how to use update_resource_categories API.
23486
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/update_resource_categories.py.html>`__ to see an example of how to use update_resource_categories API.
22552
23487
  """
22553
23488
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
22554
23489
  required_arguments = ['namespaceName']
@@ -22665,7 +23600,7 @@ class LogAnalyticsClient(object):
22665
23600
  :rtype: :class:`~oci.response.Response`
22666
23601
 
22667
23602
  :example:
22668
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/update_scheduled_task.py.html>`__ to see an example of how to use update_scheduled_task API.
23603
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/update_scheduled_task.py.html>`__ to see an example of how to use update_scheduled_task API.
22669
23604
  """
22670
23605
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
22671
23606
  required_arguments = ['namespaceName', 'scheduledTaskId']
@@ -22782,7 +23717,7 @@ class LogAnalyticsClient(object):
22782
23717
  :rtype: :class:`~oci.response.Response`
22783
23718
 
22784
23719
  :example:
22785
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/update_storage.py.html>`__ to see an example of how to use update_storage API.
23720
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/update_storage.py.html>`__ to see an example of how to use update_storage API.
22786
23721
  """
22787
23722
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
22788
23723
  required_arguments = ['namespaceName']
@@ -22929,7 +23864,7 @@ class LogAnalyticsClient(object):
22929
23864
  :rtype: :class:`~oci.response.Response`
22930
23865
 
22931
23866
  :example:
22932
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/upload_discovery_data.py.html>`__ to see an example of how to use upload_discovery_data API.
23867
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/upload_discovery_data.py.html>`__ to see an example of how to use upload_discovery_data API.
22933
23868
  """
22934
23869
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
22935
23870
  required_arguments = ['namespaceName']
@@ -23132,7 +24067,7 @@ class LogAnalyticsClient(object):
23132
24067
  :rtype: :class:`~oci.response.Response`
23133
24068
 
23134
24069
  :example:
23135
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/upload_log_events_file.py.html>`__ to see an example of how to use upload_log_events_file API.
24070
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/upload_log_events_file.py.html>`__ to see an example of how to use upload_log_events_file API.
23136
24071
  """
23137
24072
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
23138
24073
  required_arguments = ['namespaceName', 'logGroupId']
@@ -23257,7 +24192,7 @@ class LogAnalyticsClient(object):
23257
24192
  api_reference_link=api_reference_link,
23258
24193
  required_arguments=required_arguments)
23259
24194
 
23260
- def upload_log_file(self, namespace_name, upload_name, log_source_name, filename, opc_meta_loggrpid, upload_log_file_body, **kwargs):
24195
+ def upload_log_file(self, namespace_name, log_source_name, filename, opc_meta_loggrpid, upload_log_file_body, **kwargs):
23261
24196
  """
23262
24197
  Accepts log data for processing by Logging Analytics.
23263
24198
 
@@ -23265,9 +24200,6 @@ class LogAnalyticsClient(object):
23265
24200
  :param str namespace_name: (required)
23266
24201
  The Logging Analytics namespace used for the request.
23267
24202
 
23268
- :param str upload_name: (required)
23269
- The name of the upload. This can be considered as a container name where different kind of logs will be collected and searched together. This upload name/id can further be used for retrieving the details of the upload, including its status or deleting the upload.
23270
-
23271
24203
  :param str log_source_name: (required)
23272
24204
  Name of the log source that will be used to process the files being uploaded.
23273
24205
 
@@ -23280,6 +24212,9 @@ class LogAnalyticsClient(object):
23280
24212
  :param stream upload_log_file_body: (required)
23281
24213
  Log data
23282
24214
 
24215
+ :param str upload_name: (optional)
24216
+ The name of the upload. This can be considered as a container name where different kind of logs will be collected and searched together. This upload name/id can further be used for retrieving the details of the upload, including its status or deleting the upload.
24217
+
23283
24218
  :param str entity_id: (optional)
23284
24219
  The entity OCID.
23285
24220
 
@@ -23350,10 +24285,10 @@ class LogAnalyticsClient(object):
23350
24285
  :rtype: :class:`~oci.response.Response`
23351
24286
 
23352
24287
  :example:
23353
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/upload_log_file.py.html>`__ to see an example of how to use upload_log_file API.
24288
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/upload_log_file.py.html>`__ to see an example of how to use upload_log_file API.
23354
24289
  """
23355
24290
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
23356
- required_arguments = ['namespaceName', 'uploadName', 'logSourceName', 'filename']
24291
+ required_arguments = ['namespaceName', 'logSourceName', 'filename']
23357
24292
  resource_path = "/namespaces/{namespaceName}/actions/uploadLogFile"
23358
24293
  method = "POST"
23359
24294
  operation_name = "upload_log_file"
@@ -23364,6 +24299,7 @@ class LogAnalyticsClient(object):
23364
24299
  "allow_control_chars",
23365
24300
  "retry_strategy",
23366
24301
  "buffer_limit",
24302
+ "upload_name",
23367
24303
  "entity_id",
23368
24304
  "timezone",
23369
24305
  "char_encoding",
@@ -23393,7 +24329,7 @@ class LogAnalyticsClient(object):
23393
24329
  raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
23394
24330
 
23395
24331
  query_params = {
23396
- "uploadName": upload_name,
24332
+ "uploadName": kwargs.get("upload_name", missing),
23397
24333
  "logSourceName": log_source_name,
23398
24334
  "entityId": kwargs.get("entity_id", missing),
23399
24335
  "timezone": kwargs.get("timezone", missing),
@@ -23483,6 +24419,178 @@ class LogAnalyticsClient(object):
23483
24419
  api_reference_link=api_reference_link,
23484
24420
  required_arguments=required_arguments)
23485
24421
 
24422
+ def upload_otlp_logs(self, namespace_name, opc_meta_loggrpid, upload_otlp_logs_details, **kwargs):
24423
+ """
24424
+ Accepts log data in OTLP JSON-encoded Protobuf format.
24425
+
24426
+
24427
+ :param str namespace_name: (required)
24428
+ The Logging Analytics namespace used for the request.
24429
+
24430
+ :param str opc_meta_loggrpid: (required)
24431
+ The log group OCID to which the log data in this upload will be mapped to.
24432
+
24433
+ :param stream upload_otlp_logs_details: (required)
24434
+ Accepts log data in OTLP JSON-encoded Protobuf format.
24435
+ Sample format: https://github.com/open-telemetry/opentelemetry-proto/blob/v1.3.1/examples/logs.json
24436
+
24437
+ :param str opc_request_id: (optional)
24438
+ The client request ID for tracing.
24439
+
24440
+ :param str log_set: (optional)
24441
+ The log set that gets associated with the uploaded logs.
24442
+
24443
+ :param str content_type: (optional)
24444
+ The content type of the log data.
24445
+
24446
+ :param str opc_retry_token: (optional)
24447
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
24448
+ server error without risk of executing that same action again. Retry tokens expire after 24
24449
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
24450
+ has been deleted and purged from the system, then a retry of the original creation request
24451
+ might be rejected.
24452
+
24453
+ :param str opc_meta_properties: (optional)
24454
+ Metadata key and value pairs separated by a semicolon. Example k1:v1;k2:v2;k3:v3
24455
+
24456
+ :param str expect: (optional)
24457
+ A value of `100-continue` requests preliminary verification of the request method, path, and headers before the request body is sent.
24458
+ If no error results from such verification, the server will send a 100 (Continue) interim response to indicate readiness for the request body.
24459
+ The only allowed value for this parameter is \"100-Continue\" (case-insensitive).
24460
+
24461
+ :param obj retry_strategy: (optional)
24462
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
24463
+
24464
+ 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.
24465
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
24466
+
24467
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
24468
+
24469
+ :param bool allow_control_chars: (optional)
24470
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
24471
+ By default, the response will not allow control characters in strings
24472
+ :param int buffer_limit: (optional)
24473
+ A buffer limit for the stream to be buffered. buffer_limit is used to set the buffer size capacity. Streams will be read until the size of the buffer reaches the buffer_limit.
24474
+ If the stream size is greater than the buffer_limit, a BufferError exception will be thrown.
24475
+
24476
+ The buffer_limit parameter is used when the stream object does not have a `seek`, `tell`, or `fileno` property for the Python Request library to calculate out the content length.
24477
+ If buffer_limit is not passed, then the buffer_limit will be defaulted to 100MB.
24478
+ Large streams can cause the process to freeze, consider passing in content-length for large streams instead.
24479
+
24480
+ :return: A :class:`~oci.response.Response` object with data of type None
24481
+ :rtype: :class:`~oci.response.Response`
24482
+
24483
+ :example:
24484
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/upload_otlp_logs.py.html>`__ to see an example of how to use upload_otlp_logs API.
24485
+ """
24486
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
24487
+ required_arguments = ['namespaceName']
24488
+ resource_path = "/namespaces/{namespaceName}/actions/otlp/v1/logs"
24489
+ method = "POST"
24490
+ operation_name = "upload_otlp_logs"
24491
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/logan-api-spec/20200601/Upload/UploadOtlpLogs"
24492
+
24493
+ # Don't accept unknown kwargs
24494
+ expected_kwargs = [
24495
+ "allow_control_chars",
24496
+ "retry_strategy",
24497
+ "buffer_limit",
24498
+ "opc_request_id",
24499
+ "log_set",
24500
+ "content_type",
24501
+ "opc_retry_token",
24502
+ "opc_meta_properties",
24503
+ "expect"
24504
+ ]
24505
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
24506
+ if extra_kwargs:
24507
+ raise ValueError(
24508
+ f"upload_otlp_logs got unknown kwargs: {extra_kwargs!r}")
24509
+
24510
+ path_params = {
24511
+ "namespaceName": namespace_name
24512
+ }
24513
+
24514
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
24515
+
24516
+ for (k, v) in six.iteritems(path_params):
24517
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
24518
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
24519
+
24520
+ header_params = {
24521
+ "accept": "application/json",
24522
+ "opc-request-id": kwargs.get("opc_request_id", missing),
24523
+ "opc-meta-loggrpid": opc_meta_loggrpid,
24524
+ "log-set": kwargs.get("log_set", missing),
24525
+ "content-type": kwargs.get("content_type", missing),
24526
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
24527
+ "opc-meta-properties": kwargs.get("opc_meta_properties", missing),
24528
+ "expect": kwargs.get("expect", missing)
24529
+ }
24530
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
24531
+ # Set default value for expect header if user has not overridden it
24532
+ lowercase_header_params_keys = [k.lower() for k in header_params]
24533
+ if "expect" not in lowercase_header_params_keys:
24534
+ header_params["expect"] = "100-continue"
24535
+
24536
+ # If the body parameter is optional we need to assign it to a variable so additional type checking can be performed.
24537
+ try:
24538
+ upload_otlp_logs_details
24539
+ except NameError:
24540
+ upload_otlp_logs_details = kwargs.get("upload_otlp_logs_details", missing)
24541
+
24542
+ if upload_otlp_logs_details is not missing and upload_otlp_logs_details is not None:
24543
+ if (not isinstance(upload_otlp_logs_details, (six.binary_type, six.string_types)) and
24544
+ not hasattr(upload_otlp_logs_details, "read")):
24545
+ raise TypeError('The body must be a string, bytes, or provide a read() method.')
24546
+
24547
+ if hasattr(upload_otlp_logs_details, 'fileno') and hasattr(upload_otlp_logs_details, 'name') and upload_otlp_logs_details.name != '<stdin>':
24548
+ if requests.utils.super_len(upload_otlp_logs_details) == 0:
24549
+ header_params['Content-Length'] = '0'
24550
+
24551
+ # If content length is not given and stream object have no 'fileno' and is not a string or bytes, try to calculate content length
24552
+ elif 'Content-Length' not in header_params and not is_content_length_calculable_by_req_util(upload_otlp_logs_details):
24553
+ calculated_obj = back_up_body_calculate_stream_content_length(upload_otlp_logs_details, kwargs.get("buffer_limit"))
24554
+ header_params['Content-Length'] = calculated_obj["content_length"]
24555
+ upload_otlp_logs_details = calculated_obj["byte_content"]
24556
+
24557
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
24558
+ operation_retry_strategy=kwargs.get('retry_strategy'),
24559
+ client_retry_strategy=self.retry_strategy
24560
+ )
24561
+ if retry_strategy is None:
24562
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
24563
+
24564
+ if retry_strategy:
24565
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
24566
+ self.base_client.add_opc_retry_token_if_needed(header_params)
24567
+ self.base_client.add_opc_client_retries_header(header_params)
24568
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
24569
+ return retry_strategy.make_retrying_call(
24570
+ self.base_client.call_api,
24571
+ resource_path=resource_path,
24572
+ method=method,
24573
+ path_params=path_params,
24574
+ header_params=header_params,
24575
+ body=upload_otlp_logs_details,
24576
+ enforce_content_headers=False,
24577
+ allow_control_chars=kwargs.get('allow_control_chars'),
24578
+ operation_name=operation_name,
24579
+ api_reference_link=api_reference_link,
24580
+ required_arguments=required_arguments)
24581
+ else:
24582
+ return self.base_client.call_api(
24583
+ resource_path=resource_path,
24584
+ method=method,
24585
+ path_params=path_params,
24586
+ header_params=header_params,
24587
+ body=upload_otlp_logs_details,
24588
+ enforce_content_headers=False,
24589
+ allow_control_chars=kwargs.get('allow_control_chars'),
24590
+ operation_name=operation_name,
24591
+ api_reference_link=api_reference_link,
24592
+ required_arguments=required_arguments)
24593
+
23486
24594
  def upsert_associations(self, namespace_name, upsert_log_analytics_association_details, **kwargs):
23487
24595
  """
23488
24596
  Creates or updates associations between sources and entities. All entities should belong to the specified input compartment.
@@ -23523,7 +24631,7 @@ class LogAnalyticsClient(object):
23523
24631
  :rtype: :class:`~oci.response.Response`
23524
24632
 
23525
24633
  :example:
23526
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/upsert_associations.py.html>`__ to see an example of how to use upsert_associations API.
24634
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/upsert_associations.py.html>`__ to see an example of how to use upsert_associations API.
23527
24635
  """
23528
24636
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
23529
24637
  required_arguments = ['namespaceName']
@@ -23653,7 +24761,7 @@ class LogAnalyticsClient(object):
23653
24761
  :rtype: :class:`~oci.response.Response`
23654
24762
 
23655
24763
  :example:
23656
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/upsert_field.py.html>`__ to see an example of how to use upsert_field API.
24764
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/upsert_field.py.html>`__ to see an example of how to use upsert_field API.
23657
24765
  """
23658
24766
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
23659
24767
  required_arguments = ['namespaceName']
@@ -23779,7 +24887,7 @@ class LogAnalyticsClient(object):
23779
24887
  :rtype: :class:`~oci.response.Response`
23780
24888
 
23781
24889
  :example:
23782
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/upsert_label.py.html>`__ to see an example of how to use upsert_label API.
24890
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/upsert_label.py.html>`__ to see an example of how to use upsert_label API.
23783
24891
  """
23784
24892
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
23785
24893
  required_arguments = ['namespaceName']
@@ -23905,7 +25013,7 @@ class LogAnalyticsClient(object):
23905
25013
  :rtype: :class:`~oci.response.Response`
23906
25014
 
23907
25015
  :example:
23908
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/upsert_parser.py.html>`__ to see an example of how to use upsert_parser API.
25016
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/upsert_parser.py.html>`__ to see an example of how to use upsert_parser API.
23909
25017
  """
23910
25018
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
23911
25019
  required_arguments = ['namespaceName']
@@ -24042,7 +25150,7 @@ class LogAnalyticsClient(object):
24042
25150
  :rtype: :class:`~oci.response.Response`
24043
25151
 
24044
25152
  :example:
24045
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/upsert_source.py.html>`__ to see an example of how to use upsert_source API.
25153
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/upsert_source.py.html>`__ to see an example of how to use upsert_source API.
24046
25154
  """
24047
25155
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
24048
25156
  required_arguments = ['namespaceName']
@@ -24189,7 +25297,7 @@ class LogAnalyticsClient(object):
24189
25297
  :rtype: :class:`~oci.response.Response`
24190
25298
 
24191
25299
  :example:
24192
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/validate_association_parameters.py.html>`__ to see an example of how to use validate_association_parameters API.
25300
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/validate_association_parameters.py.html>`__ to see an example of how to use validate_association_parameters API.
24193
25301
  """
24194
25302
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
24195
25303
  required_arguments = ['namespaceName']
@@ -24327,7 +25435,7 @@ class LogAnalyticsClient(object):
24327
25435
  :rtype: :class:`~oci.response.Response`
24328
25436
 
24329
25437
  :example:
24330
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/validate_endpoint.py.html>`__ to see an example of how to use validate_endpoint API.
25438
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/validate_endpoint.py.html>`__ to see an example of how to use validate_endpoint API.
24331
25439
  """
24332
25440
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
24333
25441
  required_arguments = ['namespaceName']
@@ -24437,7 +25545,7 @@ class LogAnalyticsClient(object):
24437
25545
  :rtype: :class:`~oci.response.Response`
24438
25546
 
24439
25547
  :example:
24440
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/validate_file.py.html>`__ to see an example of how to use validate_file API.
25548
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/validate_file.py.html>`__ to see an example of how to use validate_file API.
24441
25549
  """
24442
25550
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
24443
25551
  required_arguments = ['namespaceName', 'objectLocation', 'filename']
@@ -24550,7 +25658,7 @@ class LogAnalyticsClient(object):
24550
25658
  :rtype: :class:`~oci.response.Response`
24551
25659
 
24552
25660
  :example:
24553
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/validate_label_condition.py.html>`__ to see an example of how to use validate_label_condition API.
25661
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/validate_label_condition.py.html>`__ to see an example of how to use validate_label_condition API.
24554
25662
  """
24555
25663
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
24556
25664
  required_arguments = ['namespaceName']
@@ -24675,7 +25783,7 @@ class LogAnalyticsClient(object):
24675
25783
  :rtype: :class:`~oci.response.Response`
24676
25784
 
24677
25785
  :example:
24678
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/validate_source.py.html>`__ to see an example of how to use validate_source API.
25786
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/validate_source.py.html>`__ to see an example of how to use validate_source API.
24679
25787
  """
24680
25788
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
24681
25789
  required_arguments = ['namespaceName']
@@ -24804,7 +25912,7 @@ class LogAnalyticsClient(object):
24804
25912
  :rtype: :class:`~oci.response.Response`
24805
25913
 
24806
25914
  :example:
24807
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/validate_source_extended_field_details.py.html>`__ to see an example of how to use validate_source_extended_field_details API.
25915
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/validate_source_extended_field_details.py.html>`__ to see an example of how to use validate_source_extended_field_details API.
24808
25916
  """
24809
25917
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
24810
25918
  required_arguments = ['namespaceName']
@@ -24920,7 +26028,7 @@ class LogAnalyticsClient(object):
24920
26028
  :rtype: :class:`~oci.response.Response`
24921
26029
 
24922
26030
  :example:
24923
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/validate_source_mapping.py.html>`__ to see an example of how to use validate_source_mapping API.
26031
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/validate_source_mapping.py.html>`__ to see an example of how to use validate_source_mapping API.
24924
26032
  """
24925
26033
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
24926
26034
  required_arguments = ['namespaceName', 'objectLocation', 'filename', 'logSourceName']
@@ -25045,7 +26153,7 @@ class LogAnalyticsClient(object):
25045
26153
  :rtype: :class:`~oci.response.Response`
25046
26154
 
25047
26155
  :example:
25048
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/loganalytics/verify.py.html>`__ to see an example of how to use verify API.
26156
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.151.0/loganalytics/verify.py.html>`__ to see an example of how to use verify API.
25049
26157
  """
25050
26158
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
25051
26159
  required_arguments = ['namespaceName', 'scheduledTaskId']