oci 2.131.0__py3-none-any.whl → 2.132.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 (539) hide show
  1. oci/__init__.py +2 -2
  2. oci/access_governance_cp/access_governance_cp_client.py +8 -8
  3. oci/adm/application_dependency_management_client.py +36 -36
  4. oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
  5. oci/ai_document/ai_service_document_client.py +22 -22
  6. oci/ai_language/ai_service_language_client.py +44 -44
  7. oci/ai_speech/ai_service_speech_client.py +17 -17
  8. oci/ai_vision/ai_service_vision_client.py +25 -25
  9. oci/analytics/analytics_client.py +142 -23
  10. oci/analytics/analytics_client_composite_operations.py +42 -0
  11. oci/analytics/models/__init__.py +2 -0
  12. oci/analytics/models/analytics_instance.py +123 -8
  13. oci/analytics/models/analytics_instance_summary.py +115 -0
  14. oci/analytics/models/capacity.py +8 -4
  15. oci/analytics/models/create_analytics_instance_details.py +121 -8
  16. oci/analytics/models/set_feature_bundle_details.py +96 -0
  17. oci/announcements_service/announcement_client.py +4 -4
  18. oci/announcements_service/announcement_subscription_client.py +9 -9
  19. oci/announcements_service/announcements_preferences_client.py +4 -4
  20. oci/apigateway/api_gateway_client.py +21 -21
  21. oci/apigateway/deployment_client.py +6 -6
  22. oci/apigateway/gateway_client.py +6 -6
  23. oci/apigateway/subscribers_client.py +6 -6
  24. oci/apigateway/usage_plans_client.py +6 -6
  25. oci/apigateway/work_requests_client.py +5 -5
  26. oci/apm_config/config_client.py +9 -9
  27. oci/apm_control_plane/apm_domain_client.py +14 -14
  28. oci/apm_synthetics/apm_synthetic_client.py +28 -28
  29. oci/apm_traces/attributes_client.py +8 -8
  30. oci/apm_traces/query_client.py +2 -2
  31. oci/apm_traces/trace_client.py +4 -4
  32. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  33. oci/artifacts/artifacts_client.py +32 -32
  34. oci/audit/audit_client.py +3 -3
  35. oci/autoscaling/auto_scaling_client.py +11 -11
  36. oci/bastion/bastion_client.py +15 -15
  37. oci/bds/bds_client.py +72 -72
  38. oci/blockchain/blockchain_platform_client.py +27 -27
  39. oci/budget/budget_client.py +10 -10
  40. oci/capacity_management/capacity_management_client.py +22 -22
  41. oci/certificates/certificates_client.py +5 -5
  42. oci/certificates_management/certificates_management_client.py +32 -32
  43. oci/cims/incident_client.py +8 -8
  44. oci/cims/user_client.py +1 -1
  45. oci/cloud_bridge/common_client.py +5 -5
  46. oci/cloud_bridge/discovery_client.py +14 -14
  47. oci/cloud_bridge/inventory_client.py +16 -16
  48. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  49. oci/cloud_guard/cloud_guard_client.py +155 -155
  50. oci/cloud_migrations/migration_client.py +43 -43
  51. oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
  52. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  53. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  54. oci/compute_instance_agent/plugin_client.py +2 -2
  55. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  56. oci/container_engine/container_engine_client.py +44 -44
  57. oci/container_instances/container_instance_client.py +18 -18
  58. oci/core/blockstorage_client.py +60 -60
  59. oci/core/compute_client.py +102 -102
  60. oci/core/compute_management_client.py +32 -32
  61. oci/core/virtual_network_client.py +247 -247
  62. oci/dashboard_service/dashboard_client.py +6 -6
  63. oci/dashboard_service/dashboard_group_client.py +6 -6
  64. oci/data_catalog/data_catalog_client.py +149 -149
  65. oci/data_flow/data_flow_client.py +42 -42
  66. oci/data_integration/data_integration_client.py +163 -163
  67. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  68. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  69. oci/data_safe/data_safe_client.py +287 -287
  70. oci/data_science/data_science_client.py +91 -91
  71. oci/database/database_client.py +360 -360
  72. oci/database/models/autonomous_database_software_image.py +33 -2
  73. oci/database/models/autonomous_database_software_image_summary.py +33 -2
  74. oci/database/models/create_maintenance_run_details.py +46 -7
  75. oci/database/models/maintenance_run.py +44 -5
  76. oci/database/models/maintenance_run_summary.py +44 -5
  77. oci/database_management/db_management_client.py +208 -208
  78. oci/database_management/diagnosability_client.py +4 -4
  79. oci/database_management/managed_my_sql_databases_client.py +7 -7
  80. oci/database_management/models/__init__.py +18 -0
  81. oci/database_management/models/basic_database_connection_string_details.py +7 -6
  82. oci/database_management/models/connector_details.py +5 -5
  83. oci/database_management/models/database_connection_credentails_by_name.py +1 -1
  84. oci/database_management/models/database_connection_credentials.py +11 -3
  85. oci/database_management/models/database_connection_credentials_by_details.py +1 -1
  86. oci/database_management/models/database_connection_string_details.py +5 -5
  87. oci/database_management/models/database_diagnostics_and_management_feature_configuration.py +9 -7
  88. oci/database_management/models/database_diagnostics_and_management_feature_details.py +1 -1
  89. oci/database_management/models/database_feature_configuration.py +27 -11
  90. oci/database_management/models/database_feature_details.py +19 -3
  91. oci/database_management/models/database_lifecycle_feature_configuration.py +122 -0
  92. oci/database_management/models/database_lifecycle_management_feature_details.py +65 -0
  93. oci/database_management/models/database_named_credential_connection_details.py +88 -0
  94. oci/database_management/models/database_sql_watch_feature_configuration.py +73 -0
  95. oci/database_management/models/database_sql_watch_feature_details.py +65 -0
  96. oci/database_management/models/database_ssl_connection_credentials.py +1 -1
  97. oci/database_management/models/disable_database_management_feature_details.py +11 -3
  98. oci/database_management/models/disable_external_container_database_management_feature_details.py +11 -3
  99. oci/database_management/models/disable_external_non_container_database_management_feature_details.py +11 -3
  100. oci/database_management/models/disable_external_pluggable_database_management_feature_details.py +11 -3
  101. oci/database_management/models/disable_pluggable_database_management_feature_details.py +11 -3
  102. oci/database_management/models/external_database_diagnostics_and_management_feature_details.py +1 -1
  103. oci/database_management/models/external_database_feature_details.py +19 -3
  104. oci/database_management/models/external_database_lifecycle_management_feature_details.py +105 -0
  105. oci/database_management/models/external_database_sql_watch_feature_details.py +58 -0
  106. oci/database_management/models/external_database_summary.py +95 -2
  107. oci/database_management/models/external_pluggable_database_diagnostics_and_management_feature_details.py +1 -1
  108. oci/database_management/models/external_pluggable_database_feature_details.py +19 -3
  109. oci/database_management/models/external_pluggable_database_lifecycle_management_feature_details.py +58 -0
  110. oci/database_management/models/external_pluggable_database_sql_watch_feature_details.py +58 -0
  111. oci/database_management/models/managed_database.py +64 -2
  112. oci/database_management/models/managed_database_summary.py +64 -2
  113. oci/database_management/perfhub_client.py +1 -1
  114. oci/database_management/sql_tuning_client.py +17 -17
  115. oci/database_migration/database_migration_client.py +42 -42
  116. oci/database_tools/database_tools_client.py +23 -23
  117. oci/demand_signal/occ_demand_signal_client.py +7 -7
  118. oci/desktops/desktop_service_client.py +21 -21
  119. oci/devops/devops_client.py +141 -141
  120. oci/disaster_recovery/disaster_recovery_client.py +29 -43
  121. oci/disaster_recovery/models/__init__.py +12 -0
  122. oci/disaster_recovery/models/create_dr_protection_group_member_autonomous_container_database_details.py +107 -0
  123. oci/disaster_recovery/models/create_dr_protection_group_member_autonomous_database_details.py +95 -3
  124. oci/disaster_recovery/models/create_dr_protection_group_member_compute_instance_details.py +1 -1
  125. oci/disaster_recovery/models/create_dr_protection_group_member_compute_instance_movable_details.py +1 -1
  126. oci/disaster_recovery/models/create_dr_protection_group_member_compute_instance_non_movable_details.py +1 -1
  127. oci/disaster_recovery/models/create_dr_protection_group_member_database_details.py +1 -1
  128. oci/disaster_recovery/models/create_dr_protection_group_member_details.py +19 -3
  129. oci/disaster_recovery/models/create_dr_protection_group_member_file_system_details.py +1 -1
  130. oci/disaster_recovery/models/create_dr_protection_group_member_load_balancer_details.py +1 -1
  131. oci/disaster_recovery/models/create_dr_protection_group_member_network_load_balancer_details.py +1 -1
  132. oci/disaster_recovery/models/create_dr_protection_group_member_object_storage_bucket_details.py +128 -0
  133. oci/disaster_recovery/models/create_dr_protection_group_member_volume_group_details.py +1 -1
  134. oci/disaster_recovery/models/dr_plan_step.py +99 -3
  135. oci/disaster_recovery/models/dr_plan_step_execution.py +99 -3
  136. oci/disaster_recovery/models/dr_protection_group_member.py +19 -3
  137. oci/disaster_recovery/models/dr_protection_group_member_autonomous_container_database.py +108 -0
  138. oci/disaster_recovery/models/dr_protection_group_member_autonomous_database.py +96 -3
  139. oci/disaster_recovery/models/dr_protection_group_member_compute_instance.py +1 -1
  140. oci/disaster_recovery/models/dr_protection_group_member_compute_instance_movable.py +1 -1
  141. oci/disaster_recovery/models/dr_protection_group_member_compute_instance_non_movable.py +1 -1
  142. oci/disaster_recovery/models/dr_protection_group_member_database.py +1 -1
  143. oci/disaster_recovery/models/dr_protection_group_member_file_system.py +1 -1
  144. oci/disaster_recovery/models/dr_protection_group_member_load_balancer.py +1 -1
  145. oci/disaster_recovery/models/dr_protection_group_member_network_load_balancer.py +1 -1
  146. oci/disaster_recovery/models/dr_protection_group_member_object_storage_bucket.py +128 -0
  147. oci/disaster_recovery/models/dr_protection_group_member_volume_group.py +1 -1
  148. oci/disaster_recovery/models/update_dr_protection_group_member_autonomous_container_database_details.py +107 -0
  149. oci/disaster_recovery/models/update_dr_protection_group_member_autonomous_database_details.py +95 -3
  150. oci/disaster_recovery/models/update_dr_protection_group_member_compute_instance_details.py +1 -1
  151. oci/disaster_recovery/models/update_dr_protection_group_member_compute_instance_movable_details.py +1 -1
  152. oci/disaster_recovery/models/update_dr_protection_group_member_compute_instance_non_movable_details.py +1 -1
  153. oci/disaster_recovery/models/update_dr_protection_group_member_database_details.py +1 -1
  154. oci/disaster_recovery/models/update_dr_protection_group_member_details.py +19 -3
  155. oci/disaster_recovery/models/update_dr_protection_group_member_file_system_details.py +1 -1
  156. oci/disaster_recovery/models/update_dr_protection_group_member_load_balancer_details.py +1 -1
  157. oci/disaster_recovery/models/update_dr_protection_group_member_network_load_balancer_details.py +1 -1
  158. oci/disaster_recovery/models/update_dr_protection_group_member_object_storage_bucket_details.py +128 -0
  159. oci/disaster_recovery/models/update_dr_protection_group_member_volume_group_details.py +1 -1
  160. oci/dns/dns_client.py +52 -52
  161. oci/dts/appliance_export_job_client.py +6 -6
  162. oci/dts/shipping_vendors_client.py +1 -1
  163. oci/dts/transfer_appliance_client.py +8 -8
  164. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  165. oci/dts/transfer_device_client.py +5 -5
  166. oci/dts/transfer_job_client.py +6 -6
  167. oci/dts/transfer_package_client.py +7 -7
  168. oci/em_warehouse/em_data_lake_client.py +13 -13
  169. oci/em_warehouse/em_warehouse_client.py +13 -13
  170. oci/email/email_client.py +31 -31
  171. oci/email_data_plane/email_dp_client.py +1 -1
  172. oci/events/events_client.py +6 -6
  173. oci/file_storage/file_storage_client.py +51 -51
  174. oci/fleet_apps_management/__init__.py +22 -0
  175. oci/fleet_apps_management/fleet_apps_management_admin_client.py +1077 -0
  176. oci/fleet_apps_management/fleet_apps_management_admin_client_composite_operations.py +124 -0
  177. oci/fleet_apps_management/fleet_apps_management_client.py +4532 -0
  178. oci/fleet_apps_management/fleet_apps_management_client_composite_operations.py +692 -0
  179. oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +685 -0
  180. oci/fleet_apps_management/fleet_apps_management_maintenance_window_client_composite_operations.py +157 -0
  181. oci/fleet_apps_management/fleet_apps_management_operations_client.py +1730 -0
  182. oci/fleet_apps_management/fleet_apps_management_operations_client_composite_operations.py +270 -0
  183. oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +683 -0
  184. oci/fleet_apps_management/fleet_apps_management_runbooks_client_composite_operations.py +26 -0
  185. oci/fleet_apps_management/models/__init__.py +286 -0
  186. oci/fleet_apps_management/models/action_group.py +309 -0
  187. oci/fleet_apps_management/models/action_group_details.py +456 -0
  188. oci/fleet_apps_management/models/activity_resource_target.py +155 -0
  189. oci/fleet_apps_management/models/announcement_collection.py +72 -0
  190. oci/fleet_apps_management/models/announcement_summary.py +606 -0
  191. oci/fleet_apps_management/models/api_based_execution_details.py +82 -0
  192. oci/fleet_apps_management/models/associated_fleet_credential_details.py +190 -0
  193. oci/fleet_apps_management/models/associated_fleet_property_details.py +218 -0
  194. oci/fleet_apps_management/models/associated_fleet_resource_details.py +165 -0
  195. oci/fleet_apps_management/models/associated_local_task_details.py +281 -0
  196. oci/fleet_apps_management/models/associated_scheduler_definition.py +171 -0
  197. oci/fleet_apps_management/models/associated_shared_task_details.py +82 -0
  198. oci/fleet_apps_management/models/associated_task_details.py +109 -0
  199. oci/fleet_apps_management/models/associations.py +161 -0
  200. oci/fleet_apps_management/models/check_resource_tagging_details.py +134 -0
  201. oci/fleet_apps_management/models/compliance_report.py +189 -0
  202. oci/fleet_apps_management/models/compliance_report_patch_detail.py +196 -0
  203. oci/fleet_apps_management/models/compliance_report_product.py +103 -0
  204. oci/fleet_apps_management/models/compliance_report_resource.py +344 -0
  205. oci/fleet_apps_management/models/compliance_report_target.py +251 -0
  206. oci/fleet_apps_management/models/component_properties.py +154 -0
  207. oci/fleet_apps_management/models/condition.py +134 -0
  208. oci/fleet_apps_management/models/confirm_targets_details.py +72 -0
  209. oci/fleet_apps_management/models/content_details.py +101 -0
  210. oci/fleet_apps_management/models/create_fleet_credential_details.py +190 -0
  211. oci/fleet_apps_management/models/create_fleet_details.py +510 -0
  212. oci/fleet_apps_management/models/create_fleet_property_details.py +134 -0
  213. oci/fleet_apps_management/models/create_fleet_resource_details.py +196 -0
  214. oci/fleet_apps_management/models/create_maintenance_window_details.py +437 -0
  215. oci/fleet_apps_management/models/create_onboarding_details.py +134 -0
  216. oci/fleet_apps_management/models/create_property_details.py +238 -0
  217. oci/fleet_apps_management/models/create_scheduler_definition_details.py +328 -0
  218. oci/fleet_apps_management/models/credential_details.py +117 -0
  219. oci/fleet_apps_management/models/credential_entity_specific_details.py +101 -0
  220. oci/fleet_apps_management/models/details.py +224 -0
  221. oci/fleet_apps_management/models/discovered_target.py +196 -0
  222. oci/fleet_apps_management/models/entity_execution_details.py +341 -0
  223. oci/fleet_apps_management/models/execution.py +463 -0
  224. oci/fleet_apps_management/models/execution_collection.py +72 -0
  225. oci/fleet_apps_management/models/execution_details.py +109 -0
  226. oci/fleet_apps_management/models/execution_summary.py +405 -0
  227. oci/fleet_apps_management/models/execution_workflow_details.py +72 -0
  228. oci/fleet_apps_management/models/fleet.py +887 -0
  229. oci/fleet_apps_management/models/fleet_collection.py +72 -0
  230. oci/fleet_apps_management/models/fleet_credential.py +398 -0
  231. oci/fleet_apps_management/models/fleet_credential_collection.py +72 -0
  232. oci/fleet_apps_management/models/fleet_credential_summary.py +378 -0
  233. oci/fleet_apps_management/models/fleet_product_collection.py +72 -0
  234. oci/fleet_apps_management/models/fleet_product_summary.py +200 -0
  235. oci/fleet_apps_management/models/fleet_property.py +477 -0
  236. oci/fleet_apps_management/models/fleet_property_collection.py +72 -0
  237. oci/fleet_apps_management/models/fleet_property_summary.py +375 -0
  238. oci/fleet_apps_management/models/fleet_resource.py +717 -0
  239. oci/fleet_apps_management/models/fleet_resource_collection.py +72 -0
  240. oci/fleet_apps_management/models/fleet_resource_summary.py +693 -0
  241. oci/fleet_apps_management/models/fleet_summary.py +456 -0
  242. oci/fleet_apps_management/models/fleet_target.py +399 -0
  243. oci/fleet_apps_management/models/fleet_target_collection.py +72 -0
  244. oci/fleet_apps_management/models/fleet_target_summary.py +348 -0
  245. oci/fleet_apps_management/models/generate_compliance_report_details.py +72 -0
  246. oci/fleet_apps_management/models/group.py +150 -0
  247. oci/fleet_apps_management/models/input_argument.py +171 -0
  248. oci/fleet_apps_management/models/input_parameter.py +103 -0
  249. oci/fleet_apps_management/models/inventory_resource_collection.py +72 -0
  250. oci/fleet_apps_management/models/inventory_resource_summary.py +425 -0
  251. oci/fleet_apps_management/models/job_activity.py +310 -0
  252. oci/fleet_apps_management/models/key_encryption_credential_details.py +175 -0
  253. oci/fleet_apps_management/models/maintenance_window.py +688 -0
  254. oci/fleet_apps_management/models/maintenance_window_collection.py +72 -0
  255. oci/fleet_apps_management/models/maintenance_window_summary.py +656 -0
  256. oci/fleet_apps_management/models/model_property.py +641 -0
  257. oci/fleet_apps_management/models/notification_preferences.py +130 -0
  258. oci/fleet_apps_management/models/object_storage_bucket_content_details.py +176 -0
  259. oci/fleet_apps_management/models/onboarding.py +393 -0
  260. oci/fleet_apps_management/models/onboarding_collection.py +72 -0
  261. oci/fleet_apps_management/models/onboarding_policy_collection.py +72 -0
  262. oci/fleet_apps_management/models/onboarding_policy_summary.py +198 -0
  263. oci/fleet_apps_management/models/onboarding_summary.py +353 -0
  264. oci/fleet_apps_management/models/operation_runbook.py +103 -0
  265. oci/fleet_apps_management/models/outcome.py +134 -0
  266. oci/fleet_apps_management/models/output_variable_details.py +103 -0
  267. oci/fleet_apps_management/models/output_variable_input_argument.py +65 -0
  268. oci/fleet_apps_management/models/output_variable_mapping.py +99 -0
  269. oci/fleet_apps_management/models/plain_text_credential_details.py +82 -0
  270. oci/fleet_apps_management/models/preferences.py +134 -0
  271. oci/fleet_apps_management/models/properties.py +103 -0
  272. oci/fleet_apps_management/models/property_collection.py +72 -0
  273. oci/fleet_apps_management/models/property_summary.py +601 -0
  274. oci/fleet_apps_management/models/request_resource_validation_details.py +103 -0
  275. oci/fleet_apps_management/models/request_target_discovery_details.py +103 -0
  276. oci/fleet_apps_management/models/resource_tag_check_details.py +72 -0
  277. oci/fleet_apps_management/models/resource_tag_enablement_info.py +103 -0
  278. oci/fleet_apps_management/models/rule.py +165 -0
  279. oci/fleet_apps_management/models/runbook.py +747 -0
  280. oci/fleet_apps_management/models/runbook_collection.py +72 -0
  281. oci/fleet_apps_management/models/runbook_summary.py +664 -0
  282. oci/fleet_apps_management/models/schedule.py +212 -0
  283. oci/fleet_apps_management/models/scheduled_fleet_collection.py +72 -0
  284. oci/fleet_apps_management/models/scheduled_fleet_summary.py +313 -0
  285. oci/fleet_apps_management/models/scheduler_definition.py +847 -0
  286. oci/fleet_apps_management/models/scheduler_definition_collection.py +72 -0
  287. oci/fleet_apps_management/models/scheduler_definition_summary.py +718 -0
  288. oci/fleet_apps_management/models/scheduler_job.py +767 -0
  289. oci/fleet_apps_management/models/scheduler_job_collection.py +72 -0
  290. oci/fleet_apps_management/models/scheduler_job_summary.py +685 -0
  291. oci/fleet_apps_management/models/script_based_execution_details.py +136 -0
  292. oci/fleet_apps_management/models/selection_criteria.py +119 -0
  293. oci/fleet_apps_management/models/string_input_argument.py +65 -0
  294. oci/fleet_apps_management/models/target_credential_entity_specific_details.py +113 -0
  295. oci/fleet_apps_management/models/target_resource.py +109 -0
  296. oci/fleet_apps_management/models/task.py +200 -0
  297. oci/fleet_apps_management/models/task_argument.py +103 -0
  298. oci/fleet_apps_management/models/task_record.py +568 -0
  299. oci/fleet_apps_management/models/task_record_collection.py +72 -0
  300. oci/fleet_apps_management/models/task_record_summary.py +516 -0
  301. oci/fleet_apps_management/models/task_variable.py +103 -0
  302. oci/fleet_apps_management/models/update_fleet_credential_details.py +159 -0
  303. oci/fleet_apps_management/models/update_fleet_details.py +262 -0
  304. oci/fleet_apps_management/models/update_fleet_property_details.py +72 -0
  305. oci/fleet_apps_management/models/update_fleet_resource_details.py +103 -0
  306. oci/fleet_apps_management/models/update_maintenance_window_details.py +406 -0
  307. oci/fleet_apps_management/models/update_property_details.py +207 -0
  308. oci/fleet_apps_management/models/update_scheduler_definition_details.py +297 -0
  309. oci/fleet_apps_management/models/update_scheduler_job_details.py +138 -0
  310. oci/fleet_apps_management/models/vault_secret_credential_details.py +117 -0
  311. oci/fleet_apps_management/models/work_request.py +497 -0
  312. oci/fleet_apps_management/models/work_request_error.py +136 -0
  313. oci/fleet_apps_management/models/work_request_error_collection.py +72 -0
  314. oci/fleet_apps_management/models/work_request_log_entry.py +103 -0
  315. oci/fleet_apps_management/models/work_request_log_entry_collection.py +72 -0
  316. oci/fleet_apps_management/models/work_request_resource.py +234 -0
  317. oci/fleet_apps_management/models/work_request_summary.py +497 -0
  318. oci/fleet_apps_management/models/work_request_summary_collection.py +72 -0
  319. oci/fleet_apps_management/models/workflow_component.py +109 -0
  320. oci/fleet_apps_management/models/workflow_group.py +150 -0
  321. oci/fleet_apps_management/models/workflow_group_component.py +115 -0
  322. oci/fleet_apps_management/models/workflow_task_component.py +82 -0
  323. oci/fleet_software_update/fleet_software_update_client.py +46 -46
  324. oci/functions/functions_invoke_client.py +1 -1
  325. oci/functions/functions_management_client.py +16 -16
  326. oci/fusion_apps/data_masking_activity_client.py +3 -3
  327. oci/fusion_apps/fusion_applications_client.py +41 -41
  328. oci/fusion_apps/fusion_environment_client.py +15 -15
  329. oci/fusion_apps/fusion_environment_family_client.py +8 -8
  330. oci/fusion_apps/refresh_activity_client.py +4 -4
  331. oci/fusion_apps/scheduled_activity_client.py +2 -2
  332. oci/fusion_apps/service_attachment_client.py +2 -2
  333. oci/generative_ai/generative_ai_client.py +22 -22
  334. oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
  335. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  336. oci/globally_distributed_database/sharded_database_service_client.py +30 -30
  337. oci/golden_gate/golden_gate_client.py +68 -68
  338. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  339. oci/governance_rules_control_plane/work_request_client.py +5 -5
  340. oci/healthchecks/health_checks_client.py +17 -17
  341. oci/identity/identity_client.py +145 -145
  342. oci/identity_data_plane/dataplane_client.py +2 -2
  343. oci/identity_domains/identity_domains_client.py +307 -307
  344. oci/integration/integration_instance_client.py +138 -17
  345. oci/integration/integration_instance_client_composite_operations.py +42 -0
  346. oci/integration/models/__init__.py +2 -0
  347. oci/integration/models/create_integration_instance_details.py +7 -3
  348. oci/integration/models/extend_data_retention_details.py +92 -0
  349. oci/integration/models/integration_instance.py +100 -8
  350. oci/integration/models/integration_instance_summary.py +100 -8
  351. oci/integration/models/update_integration_instance_details.py +7 -3
  352. oci/integration/models/work_request.py +7 -3
  353. oci/integration/models/work_request_summary.py +7 -3
  354. oci/jms/java_management_service_client.py +150 -150
  355. oci/jms_java_downloads/java_download_client.py +50 -50
  356. oci/key_management/ekm_client.py +5 -5
  357. oci/key_management/kms_crypto_client.py +6 -6
  358. oci/key_management/kms_hsm_cluster_client.py +12 -12
  359. oci/key_management/kms_management_client.py +21 -21
  360. oci/key_management/kms_vault_client.py +14 -14
  361. oci/license_manager/license_manager_client.py +18 -18
  362. oci/limits/limits_client.py +33 -12
  363. oci/limits/models/limit_definition_summary.py +64 -2
  364. oci/limits/models/service_summary.py +33 -2
  365. oci/limits/quotas_client.py +7 -7
  366. oci/load_balancer/load_balancer_client.py +61 -61
  367. oci/lockbox/lockbox_client.py +24 -24
  368. oci/log_analytics/log_analytics_client.py +193 -193
  369. oci/logging/logging_management_client.py +30 -30
  370. oci/loggingingestion/logging_client.py +1 -1
  371. oci/loggingsearch/log_search_client.py +1 -1
  372. oci/management_agent/management_agent_client.py +28 -28
  373. oci/management_dashboard/dashx_apis_client.py +14 -14
  374. oci/marketplace/account_client.py +2 -2
  375. oci/marketplace/marketplace_client.py +30 -30
  376. oci/marketplace_private_offer/attachment_client.py +5 -5
  377. oci/marketplace_private_offer/offer_client.py +6 -6
  378. oci/marketplace_publisher/attachment_client.py +5 -5
  379. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  380. oci/marketplace_publisher/offer_client.py +6 -6
  381. oci/media_services/media_services_client.py +60 -60
  382. oci/media_services/media_stream_client.py +2 -2
  383. oci/monitoring/monitoring_client.py +18 -18
  384. oci/mysql/channels_client.py +7 -7
  385. oci/mysql/db_backups_client.py +7 -7
  386. oci/mysql/db_system_client.py +17 -17
  387. oci/mysql/models/__init__.py +4 -0
  388. oci/mysql/models/create_db_system_details.py +27 -0
  389. oci/mysql/models/data_storage.py +232 -0
  390. oci/mysql/models/data_storage_details.py +123 -0
  391. oci/mysql/models/db_system.py +31 -2
  392. oci/mysql/models/db_system_snapshot.py +31 -2
  393. oci/mysql/models/update_db_system_details.py +27 -0
  394. oci/mysql/mysqlaas_client.py +7 -7
  395. oci/mysql/replicas_client.py +5 -5
  396. oci/mysql/work_requests_client.py +4 -4
  397. oci/network_firewall/network_firewall_client.py +86 -86
  398. oci/network_load_balancer/models/backend.py +3 -3
  399. oci/network_load_balancer/models/backend_details.py +2 -2
  400. oci/network_load_balancer/models/backend_set.py +7 -3
  401. oci/network_load_balancer/models/backend_set_details.py +5 -1
  402. oci/network_load_balancer/models/backend_set_summary.py +5 -7
  403. oci/network_load_balancer/models/backend_summary.py +3 -3
  404. oci/network_load_balancer/models/create_backend_details.py +3 -3
  405. oci/network_load_balancer/models/create_backend_set_details.py +1 -1
  406. oci/network_load_balancer/models/create_listener_details.py +71 -5
  407. oci/network_load_balancer/models/create_network_load_balancer_details.py +3 -3
  408. oci/network_load_balancer/models/health_checker.py +1 -1
  409. oci/network_load_balancer/models/health_checker_details.py +1 -1
  410. oci/network_load_balancer/models/listener.py +70 -4
  411. oci/network_load_balancer/models/listener_details.py +70 -4
  412. oci/network_load_balancer/models/listener_summary.py +70 -4
  413. oci/network_load_balancer/models/network_load_balancer.py +5 -5
  414. oci/network_load_balancer/models/network_load_balancer_summary.py +4 -4
  415. oci/network_load_balancer/models/update_backend_details.py +4 -4
  416. oci/network_load_balancer/models/update_backend_set_details.py +1 -1
  417. oci/network_load_balancer/models/update_listener_details.py +69 -3
  418. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  419. oci/nosql/nosql_client.py +24 -24
  420. oci/object_storage/object_storage_client.py +50 -50
  421. oci/oce/oce_instance_client.py +10 -10
  422. oci/oci_control_center/occ_metrics_client.py +3 -3
  423. oci/ocvp/cluster_client.py +5 -5
  424. oci/ocvp/esxi_host_client.py +8 -8
  425. oci/ocvp/sddc_client.py +14 -14
  426. oci/ocvp/work_request_client.py +4 -4
  427. oci/oda/management_client.py +59 -59
  428. oci/oda/oda_client.py +17 -17
  429. oci/oda/odapackage_client.py +7 -7
  430. oci/onesubscription/billing_schedule_client.py +1 -1
  431. oci/onesubscription/commitment_client.py +2 -2
  432. oci/onesubscription/computed_usage_client.py +3 -3
  433. oci/onesubscription/invoice_summary_client.py +2 -2
  434. oci/onesubscription/organization_subscription_client.py +1 -1
  435. oci/onesubscription/ratecard_client.py +1 -1
  436. oci/onesubscription/subscribed_service_client.py +2 -2
  437. oci/onesubscription/subscription_client.py +1 -1
  438. oci/ons/notification_control_plane_client.py +6 -6
  439. oci/ons/notification_data_plane_client.py +10 -10
  440. oci/opa/opa_instance_client.py +13 -13
  441. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  442. oci/opensearch/opensearch_cluster_client.py +14 -14
  443. oci/operator_access_control/access_requests_client.py +10 -10
  444. oci/operator_access_control/operator_actions_client.py +2 -2
  445. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  446. oci/operator_access_control/operator_control_client.py +6 -6
  447. oci/opsi/operations_insights_client.py +177 -177
  448. oci/optimizer/optimizer_client.py +26 -26
  449. oci/os_management/event_client.py +8 -8
  450. oci/os_management/os_management_client.py +69 -69
  451. oci/os_management_hub/event_client.py +8 -8
  452. oci/os_management_hub/lifecycle_environment_client.py +12 -12
  453. oci/os_management_hub/managed_instance_client.py +31 -31
  454. oci/os_management_hub/managed_instance_group_client.py +25 -25
  455. oci/os_management_hub/management_station_client.py +10 -10
  456. oci/os_management_hub/onboarding_client.py +6 -6
  457. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  458. oci/os_management_hub/scheduled_job_client.py +7 -7
  459. oci/os_management_hub/software_source_client.py +27 -27
  460. oci/os_management_hub/work_request_client.py +4 -4
  461. oci/osp_gateway/address_rule_service_client.py +1 -1
  462. oci/osp_gateway/address_service_client.py +2 -2
  463. oci/osp_gateway/invoice_service_client.py +5 -5
  464. oci/osp_gateway/subscription_service_client.py +5 -5
  465. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  466. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  467. oci/osub_subscription/commitment_client.py +2 -2
  468. oci/osub_subscription/ratecard_client.py +1 -1
  469. oci/osub_subscription/subscription_client.py +1 -1
  470. oci/osub_usage/computed_usage_client.py +3 -3
  471. oci/psql/postgresql_client.py +33 -33
  472. oci/queue/queue_admin_client.py +11 -11
  473. oci/queue/queue_client.py +8 -8
  474. oci/recovery/database_recovery_client.py +25 -25
  475. oci/redis/models/__init__.py +4 -0
  476. oci/redis/models/change_redis_cluster_compartment_details.py +2 -2
  477. oci/redis/models/create_redis_cluster_details.py +78 -16
  478. oci/redis/models/node.py +3 -3
  479. oci/redis/models/node_collection.py +1 -1
  480. oci/redis/models/node_summary.py +196 -0
  481. oci/redis/models/redis_cluster.py +110 -32
  482. oci/redis/models/redis_cluster_collection.py +4 -4
  483. oci/redis/models/redis_cluster_summary.py +94 -32
  484. oci/redis/models/redis_node_collection.py +72 -0
  485. oci/redis/models/update_redis_cluster_details.py +40 -9
  486. oci/redis/redis_cluster_client.py +190 -41
  487. oci/redis/redis_cluster_client_composite_operations.py +4 -4
  488. oci/regions_definitions.py +6 -3
  489. oci/resource_manager/resource_manager_client.py +52 -52
  490. oci/resource_scheduler/schedule_client.py +13 -13
  491. oci/resource_search/resource_search_client.py +3 -3
  492. oci/rover/rover_bundle_client.py +8 -8
  493. oci/rover/rover_cluster_client.py +8 -8
  494. oci/rover/rover_entitlement_client.py +6 -6
  495. oci/rover/rover_node_client.py +15 -15
  496. oci/rover/shape_client.py +1 -1
  497. oci/rover/work_requests_client.py +5 -5
  498. oci/sch/connector_plugins_client.py +2 -2
  499. oci/sch/service_connector_client.py +12 -12
  500. oci/secrets/secrets_client.py +3 -3
  501. oci/service_catalog/service_catalog_client.py +26 -26
  502. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  503. oci/service_mesh/service_mesh_client.py +48 -48
  504. oci/stack_monitoring/stack_monitoring_client.py +64 -64
  505. oci/streaming/stream_admin_client.py +18 -18
  506. oci/streaming/stream_client.py +8 -8
  507. oci/tenant_manager_control_plane/domain_client.py +5 -5
  508. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  509. oci/tenant_manager_control_plane/governance_client.py +2 -2
  510. oci/tenant_manager_control_plane/link_client.py +3 -3
  511. oci/tenant_manager_control_plane/orders_client.py +2 -2
  512. oci/tenant_manager_control_plane/organization_client.py +10 -10
  513. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  514. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  515. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  516. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  517. oci/threat_intelligence/threatintel_client.py +5 -5
  518. oci/usage/resources_client.py +2 -2
  519. oci/usage/rewards_client.py +6 -6
  520. oci/usage/usagelimits_client.py +1 -1
  521. oci/usage_api/usageapi_client.py +33 -33
  522. oci/vault/vaults_client.py +13 -13
  523. oci/vbs_inst/vbs_instance_client.py +10 -10
  524. oci/version.py +1 -1
  525. oci/visual_builder/vb_instance_client.py +13 -13
  526. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  527. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  528. oci/waa/waa_client.py +13 -13
  529. oci/waa/work_request_client.py +4 -4
  530. oci/waas/redirect_client.py +6 -6
  531. oci/waas/waas_client.py +66 -66
  532. oci/waf/waf_client.py +24 -24
  533. oci/work_requests/work_request_client.py +4 -4
  534. {oci-2.131.0.dist-info → oci-2.132.0.dist-info}/METADATA +3 -2
  535. {oci-2.131.0.dist-info → oci-2.132.0.dist-info}/RECORD +539 -369
  536. {oci-2.131.0.dist-info → oci-2.132.0.dist-info}/LICENSE.txt +0 -0
  537. {oci-2.131.0.dist-info → oci-2.132.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  538. {oci-2.131.0.dist-info → oci-2.132.0.dist-info}/WHEEL +0 -0
  539. {oci-2.131.0.dist-info → oci-2.132.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,685 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
3
+ # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
+
5
+ # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230831
6
+
7
+ from __future__ import absolute_import
8
+
9
+ from oci._vendor import requests # noqa: F401
10
+ from oci._vendor import six
11
+
12
+ from oci import retry, circuit_breaker # noqa: F401
13
+ from oci.base_client import BaseClient
14
+ from oci.config import get_config_value_or_default, validate_config
15
+ from oci.signer import Signer
16
+ from oci.util import Sentinel, get_signer_from_authentication_type, AUTHENTICATION_TYPE_FIELD_NAME
17
+ from oci.exceptions import InvalidAlloyConfig
18
+ from oci.alloy import OCI_SDK_ENABLED_SERVICES_SET
19
+ from .models import fleet_apps_management_type_mapping
20
+ missing = Sentinel("Missing")
21
+
22
+
23
+ class FleetAppsManagementMaintenanceWindowClient(object):
24
+ """
25
+ Fleet Application Management Service API. Use this API to for all FAMS related activities.
26
+ To manage fleets,view complaince report for the Fleet,scedule patches and other lifecycle activities
27
+ """
28
+
29
+ def __init__(self, config, **kwargs):
30
+ """
31
+ Creates a new service client
32
+
33
+ :param dict config:
34
+ Configuration keys and values as per `SDK and Tool Configuration <https://docs.cloud.oracle.com/Content/API/Concepts/sdkconfig.htm>`__.
35
+ The :py:meth:`~oci.config.from_file` method can be used to load configuration from a file. Alternatively, a ``dict`` can be passed. You can validate_config
36
+ the dict using :py:meth:`~oci.config.validate_config`
37
+
38
+ :param str service_endpoint: (optional)
39
+ The endpoint of the service to call using this client. For example ``https://iaas.us-ashburn-1.oraclecloud.com``. If this keyword argument is
40
+ not provided then it will be derived using the region in the config parameter. You should only provide this keyword argument if you have an explicit
41
+ need to specify a service endpoint.
42
+
43
+ :param timeout: (optional)
44
+ The connection and read timeouts for the client. The default values are connection timeout 10 seconds and read timeout 60 seconds. This keyword argument can be provided
45
+ as a single float, in which case the value provided is used for both the read and connection timeouts, or as a tuple of two floats. If
46
+ a tuple is provided then the first value is used as the connection timeout and the second value as the read timeout.
47
+ :type timeout: float or tuple(float, float)
48
+
49
+ :param signer: (optional)
50
+ The signer to use when signing requests made by the service client. The default is to use a :py:class:`~oci.signer.Signer` based on the values
51
+ provided in the config parameter.
52
+
53
+ One use case for this parameter is for `Instance Principals authentication <https://docs.cloud.oracle.com/Content/Identity/Tasks/callingservicesfrominstances.htm>`__
54
+ by passing an instance of :py:class:`~oci.auth.signers.InstancePrincipalsSecurityTokenSigner` as the value for this keyword argument
55
+ :type signer: :py:class:`~oci.signer.AbstractBaseSigner`
56
+
57
+ :param obj retry_strategy: (optional)
58
+ A retry strategy to apply to all calls made by this service client (i.e. at the client level). There is no retry strategy applied by default.
59
+ Retry strategies can also be applied at the operation level by passing a ``retry_strategy`` keyword argument as part of calling the operation.
60
+ Any value provided at the operation level will override whatever is specified at the client level.
61
+
62
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
63
+ is also available. The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
64
+
65
+ :param obj circuit_breaker_strategy: (optional)
66
+ A circuit breaker strategy to apply to all calls made by this service client (i.e. at the client level).
67
+ This client uses :py:data:`~oci.circuit_breaker.DEFAULT_CIRCUIT_BREAKER_STRATEGY` as default if no circuit breaker strategy is provided.
68
+ The specifics of circuit breaker strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/circuit_breakers.html>`__.
69
+
70
+ :param function circuit_breaker_callback: (optional)
71
+ Callback function to receive any exceptions triggerred by the circuit breaker.
72
+
73
+ :param bool client_level_realm_specific_endpoint_template_enabled: (optional)
74
+ A boolean flag to indicate whether or not this client should be created with realm specific endpoint template enabled or disable. By default, this will be set as None.
75
+
76
+ :param allow_control_chars: (optional)
77
+ allow_control_chars is a boolean to indicate whether or not this client should allow control characters in the response object. By default, the client will not
78
+ allow control characters to be in the response object.
79
+ """
80
+ if not OCI_SDK_ENABLED_SERVICES_SET.is_service_enabled("fleet_apps_management"):
81
+ raise InvalidAlloyConfig("The Alloy configuration has disabled this service, this behavior is controlled by OCI_SDK_ENABLED_SERVICES_SET variable. Please check if your local alloy-config file configured the service you're targeting or contact the cloud provider on the availability of this service")
82
+
83
+ validate_config(config, signer=kwargs.get('signer'))
84
+ if 'signer' in kwargs:
85
+ signer = kwargs['signer']
86
+
87
+ elif AUTHENTICATION_TYPE_FIELD_NAME in config:
88
+ signer = get_signer_from_authentication_type(config)
89
+
90
+ else:
91
+ signer = Signer(
92
+ tenancy=config["tenancy"],
93
+ user=config["user"],
94
+ fingerprint=config["fingerprint"],
95
+ private_key_file_location=config.get("key_file"),
96
+ pass_phrase=get_config_value_or_default(config, "pass_phrase"),
97
+ private_key_content=config.get("key_content")
98
+ )
99
+
100
+ base_client_init_kwargs = {
101
+ 'regional_client': True,
102
+ 'service_endpoint': kwargs.get('service_endpoint'),
103
+ 'base_path': '/20230831',
104
+ 'service_endpoint_template': 'https://fams.{region}.oci.{secondLevelDomain}',
105
+ 'service_endpoint_template_per_realm': { }, # noqa: E201 E202
106
+ 'skip_deserialization': kwargs.get('skip_deserialization', False),
107
+ 'circuit_breaker_strategy': kwargs.get('circuit_breaker_strategy', circuit_breaker.GLOBAL_CIRCUIT_BREAKER_STRATEGY),
108
+ 'client_level_realm_specific_endpoint_template_enabled': kwargs.get('client_level_realm_specific_endpoint_template_enabled')
109
+ }
110
+ if 'timeout' in kwargs:
111
+ base_client_init_kwargs['timeout'] = kwargs.get('timeout')
112
+ if base_client_init_kwargs.get('circuit_breaker_strategy') is None:
113
+ base_client_init_kwargs['circuit_breaker_strategy'] = circuit_breaker.DEFAULT_CIRCUIT_BREAKER_STRATEGY
114
+ if 'allow_control_chars' in kwargs:
115
+ base_client_init_kwargs['allow_control_chars'] = kwargs.get('allow_control_chars')
116
+ self.base_client = BaseClient("fleet_apps_management_maintenance_window", config, signer, fleet_apps_management_type_mapping, **base_client_init_kwargs)
117
+ self.retry_strategy = kwargs.get('retry_strategy')
118
+ self.circuit_breaker_callback = kwargs.get('circuit_breaker_callback')
119
+
120
+ def create_maintenance_window(self, create_maintenance_window_details, **kwargs):
121
+ """
122
+ Creates a new MaintenanceWindow.
123
+
124
+
125
+ :param oci.fleet_apps_management.models.CreateMaintenanceWindowDetails create_maintenance_window_details: (required)
126
+ Details for the new MaintenanceWindow.
127
+
128
+ :param str opc_retry_token: (optional)
129
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
130
+ server error without risk of executing that same action again. Retry tokens expire after 24
131
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
132
+ has been deleted and purged from the system, then a retry of the original creation request
133
+ might be rejected.
134
+
135
+ :param str opc_request_id: (optional)
136
+ The client request ID for tracing.
137
+
138
+ :param obj retry_strategy: (optional)
139
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
140
+
141
+ 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.
142
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
143
+
144
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
145
+
146
+ :param bool allow_control_chars: (optional)
147
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
148
+ By default, the response will not allow control characters in strings
149
+
150
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.fleet_apps_management.models.MaintenanceWindow`
151
+ :rtype: :class:`~oci.response.Response`
152
+
153
+ :example:
154
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/fleetappsmanagement/create_maintenance_window.py.html>`__ to see an example of how to use create_maintenance_window API.
155
+ """
156
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
157
+ required_arguments = []
158
+ resource_path = "/maintenanceWindows"
159
+ method = "POST"
160
+ operation_name = "create_maintenance_window"
161
+ api_reference_link = ""
162
+
163
+ # Don't accept unknown kwargs
164
+ expected_kwargs = [
165
+ "allow_control_chars",
166
+ "retry_strategy",
167
+ "opc_retry_token",
168
+ "opc_request_id"
169
+ ]
170
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
171
+ if extra_kwargs:
172
+ raise ValueError(
173
+ f"create_maintenance_window got unknown kwargs: {extra_kwargs!r}")
174
+
175
+ header_params = {
176
+ "accept": "application/json",
177
+ "content-type": "application/json",
178
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
179
+ "opc-request-id": kwargs.get("opc_request_id", missing)
180
+ }
181
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
182
+
183
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
184
+ operation_retry_strategy=kwargs.get('retry_strategy'),
185
+ client_retry_strategy=self.retry_strategy
186
+ )
187
+ if retry_strategy is None:
188
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
189
+
190
+ if retry_strategy:
191
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
192
+ self.base_client.add_opc_retry_token_if_needed(header_params)
193
+ self.base_client.add_opc_client_retries_header(header_params)
194
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
195
+ return retry_strategy.make_retrying_call(
196
+ self.base_client.call_api,
197
+ resource_path=resource_path,
198
+ method=method,
199
+ header_params=header_params,
200
+ body=create_maintenance_window_details,
201
+ response_type="MaintenanceWindow",
202
+ allow_control_chars=kwargs.get('allow_control_chars'),
203
+ operation_name=operation_name,
204
+ api_reference_link=api_reference_link,
205
+ required_arguments=required_arguments)
206
+ else:
207
+ return self.base_client.call_api(
208
+ resource_path=resource_path,
209
+ method=method,
210
+ header_params=header_params,
211
+ body=create_maintenance_window_details,
212
+ response_type="MaintenanceWindow",
213
+ allow_control_chars=kwargs.get('allow_control_chars'),
214
+ operation_name=operation_name,
215
+ api_reference_link=api_reference_link,
216
+ required_arguments=required_arguments)
217
+
218
+ def delete_maintenance_window(self, maintenance_window_id, **kwargs):
219
+ """
220
+ Deletes a MaintenanceWindow resource by identifier
221
+
222
+
223
+ :param str maintenance_window_id: (required)
224
+ unique MaintenanceWindow identifier
225
+
226
+ :param str if_match: (optional)
227
+ For optimistic concurrency control. In the PUT or DELETE call
228
+ for a resource, set the `if-match` parameter to the value of the
229
+ etag from a previous GET or POST response for that resource.
230
+ The resource will be updated or deleted only if the etag you
231
+ provide matches the resource's current etag value.
232
+
233
+ :param str opc_request_id: (optional)
234
+ The client request ID for tracing.
235
+
236
+ :param obj retry_strategy: (optional)
237
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
238
+
239
+ 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.
240
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
241
+
242
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
243
+
244
+ :param bool allow_control_chars: (optional)
245
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
246
+ By default, the response will not allow control characters in strings
247
+
248
+ :return: A :class:`~oci.response.Response` object with data of type None
249
+ :rtype: :class:`~oci.response.Response`
250
+
251
+ :example:
252
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/fleetappsmanagement/delete_maintenance_window.py.html>`__ to see an example of how to use delete_maintenance_window API.
253
+ """
254
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
255
+ required_arguments = ['maintenanceWindowId']
256
+ resource_path = "/maintenanceWindows/{maintenanceWindowId}"
257
+ method = "DELETE"
258
+ operation_name = "delete_maintenance_window"
259
+ api_reference_link = ""
260
+
261
+ # Don't accept unknown kwargs
262
+ expected_kwargs = [
263
+ "allow_control_chars",
264
+ "retry_strategy",
265
+ "if_match",
266
+ "opc_request_id"
267
+ ]
268
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
269
+ if extra_kwargs:
270
+ raise ValueError(
271
+ f"delete_maintenance_window got unknown kwargs: {extra_kwargs!r}")
272
+
273
+ path_params = {
274
+ "maintenanceWindowId": maintenance_window_id
275
+ }
276
+
277
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
278
+
279
+ for (k, v) in six.iteritems(path_params):
280
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
281
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
282
+
283
+ header_params = {
284
+ "accept": "application/json",
285
+ "content-type": "application/json",
286
+ "if-match": kwargs.get("if_match", missing),
287
+ "opc-request-id": kwargs.get("opc_request_id", missing)
288
+ }
289
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
290
+
291
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
292
+ operation_retry_strategy=kwargs.get('retry_strategy'),
293
+ client_retry_strategy=self.retry_strategy
294
+ )
295
+ if retry_strategy is None:
296
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
297
+
298
+ if retry_strategy:
299
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
300
+ self.base_client.add_opc_client_retries_header(header_params)
301
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
302
+ return retry_strategy.make_retrying_call(
303
+ self.base_client.call_api,
304
+ resource_path=resource_path,
305
+ method=method,
306
+ path_params=path_params,
307
+ header_params=header_params,
308
+ allow_control_chars=kwargs.get('allow_control_chars'),
309
+ operation_name=operation_name,
310
+ api_reference_link=api_reference_link,
311
+ required_arguments=required_arguments)
312
+ else:
313
+ return self.base_client.call_api(
314
+ resource_path=resource_path,
315
+ method=method,
316
+ path_params=path_params,
317
+ header_params=header_params,
318
+ allow_control_chars=kwargs.get('allow_control_chars'),
319
+ operation_name=operation_name,
320
+ api_reference_link=api_reference_link,
321
+ required_arguments=required_arguments)
322
+
323
+ def get_maintenance_window(self, maintenance_window_id, **kwargs):
324
+ """
325
+ Gets a MaintenanceWindow by identifier
326
+
327
+
328
+ :param str maintenance_window_id: (required)
329
+ unique MaintenanceWindow identifier
330
+
331
+ :param str opc_request_id: (optional)
332
+ The client request ID for tracing.
333
+
334
+ :param obj retry_strategy: (optional)
335
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
336
+
337
+ 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.
338
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
339
+
340
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
341
+
342
+ :param bool allow_control_chars: (optional)
343
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
344
+ By default, the response will not allow control characters in strings
345
+
346
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.fleet_apps_management.models.MaintenanceWindow`
347
+ :rtype: :class:`~oci.response.Response`
348
+
349
+ :example:
350
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/fleetappsmanagement/get_maintenance_window.py.html>`__ to see an example of how to use get_maintenance_window API.
351
+ """
352
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
353
+ required_arguments = ['maintenanceWindowId']
354
+ resource_path = "/maintenanceWindows/{maintenanceWindowId}"
355
+ method = "GET"
356
+ operation_name = "get_maintenance_window"
357
+ api_reference_link = ""
358
+
359
+ # Don't accept unknown kwargs
360
+ expected_kwargs = [
361
+ "allow_control_chars",
362
+ "retry_strategy",
363
+ "opc_request_id"
364
+ ]
365
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
366
+ if extra_kwargs:
367
+ raise ValueError(
368
+ f"get_maintenance_window got unknown kwargs: {extra_kwargs!r}")
369
+
370
+ path_params = {
371
+ "maintenanceWindowId": maintenance_window_id
372
+ }
373
+
374
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
375
+
376
+ for (k, v) in six.iteritems(path_params):
377
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
378
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
379
+
380
+ header_params = {
381
+ "accept": "application/json",
382
+ "content-type": "application/json",
383
+ "opc-request-id": kwargs.get("opc_request_id", missing)
384
+ }
385
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
386
+
387
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
388
+ operation_retry_strategy=kwargs.get('retry_strategy'),
389
+ client_retry_strategy=self.retry_strategy
390
+ )
391
+ if retry_strategy is None:
392
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
393
+
394
+ if retry_strategy:
395
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
396
+ self.base_client.add_opc_client_retries_header(header_params)
397
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
398
+ return retry_strategy.make_retrying_call(
399
+ self.base_client.call_api,
400
+ resource_path=resource_path,
401
+ method=method,
402
+ path_params=path_params,
403
+ header_params=header_params,
404
+ response_type="MaintenanceWindow",
405
+ allow_control_chars=kwargs.get('allow_control_chars'),
406
+ operation_name=operation_name,
407
+ api_reference_link=api_reference_link,
408
+ required_arguments=required_arguments)
409
+ else:
410
+ return self.base_client.call_api(
411
+ resource_path=resource_path,
412
+ method=method,
413
+ path_params=path_params,
414
+ header_params=header_params,
415
+ response_type="MaintenanceWindow",
416
+ allow_control_chars=kwargs.get('allow_control_chars'),
417
+ operation_name=operation_name,
418
+ api_reference_link=api_reference_link,
419
+ required_arguments=required_arguments)
420
+
421
+ def list_maintenance_windows(self, **kwargs):
422
+ """
423
+ Returns a list of MaintenanceWindows in the specified Tenancy.
424
+
425
+
426
+ :param str compartment_id: (optional)
427
+ The ID of the compartment in which to list resources.
428
+
429
+ :param str lifecycle_state: (optional)
430
+ A filter to return only resources their lifecycleState matches the given lifecycleState.
431
+
432
+ Allowed values are: "ACTIVE", "DELETED", "FAILED", "DELETING", "UPDATING", "NEEDS_ATTENTION"
433
+
434
+ :param str display_name: (optional)
435
+ A filter to return only resources that match the entire display name given.
436
+
437
+ :param str id: (optional)
438
+ unique MaintenanceWindow identifier
439
+
440
+ :param int limit: (optional)
441
+ The maximum number of items to return.
442
+
443
+ :param str page: (optional)
444
+ A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
445
+
446
+ :param str sort_order: (optional)
447
+ The sort order to use, either 'ASC' or 'DESC'.
448
+
449
+ Allowed values are: "ASC", "DESC"
450
+
451
+ :param str sort_by: (optional)
452
+ The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
453
+
454
+ Allowed values are: "timeCreated", "displayName"
455
+
456
+ :param str opc_request_id: (optional)
457
+ The client request ID for tracing.
458
+
459
+ :param obj retry_strategy: (optional)
460
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
461
+
462
+ 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.
463
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
464
+
465
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
466
+
467
+ :param bool allow_control_chars: (optional)
468
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
469
+ By default, the response will not allow control characters in strings
470
+
471
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.fleet_apps_management.models.MaintenanceWindowCollection`
472
+ :rtype: :class:`~oci.response.Response`
473
+
474
+ :example:
475
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/fleetappsmanagement/list_maintenance_windows.py.html>`__ to see an example of how to use list_maintenance_windows API.
476
+ """
477
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
478
+ required_arguments = []
479
+ resource_path = "/maintenanceWindows"
480
+ method = "GET"
481
+ operation_name = "list_maintenance_windows"
482
+ api_reference_link = ""
483
+
484
+ # Don't accept unknown kwargs
485
+ expected_kwargs = [
486
+ "allow_control_chars",
487
+ "retry_strategy",
488
+ "compartment_id",
489
+ "lifecycle_state",
490
+ "display_name",
491
+ "id",
492
+ "limit",
493
+ "page",
494
+ "sort_order",
495
+ "sort_by",
496
+ "opc_request_id"
497
+ ]
498
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
499
+ if extra_kwargs:
500
+ raise ValueError(
501
+ f"list_maintenance_windows got unknown kwargs: {extra_kwargs!r}")
502
+
503
+ if 'lifecycle_state' in kwargs:
504
+ lifecycle_state_allowed_values = ["ACTIVE", "DELETED", "FAILED", "DELETING", "UPDATING", "NEEDS_ATTENTION"]
505
+ if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
506
+ raise ValueError(
507
+ f"Invalid value for `lifecycle_state`, must be one of { lifecycle_state_allowed_values }"
508
+ )
509
+
510
+ if 'sort_order' in kwargs:
511
+ sort_order_allowed_values = ["ASC", "DESC"]
512
+ if kwargs['sort_order'] not in sort_order_allowed_values:
513
+ raise ValueError(
514
+ f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
515
+ )
516
+
517
+ if 'sort_by' in kwargs:
518
+ sort_by_allowed_values = ["timeCreated", "displayName"]
519
+ if kwargs['sort_by'] not in sort_by_allowed_values:
520
+ raise ValueError(
521
+ f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
522
+ )
523
+
524
+ query_params = {
525
+ "compartmentId": kwargs.get("compartment_id", missing),
526
+ "lifecycleState": kwargs.get("lifecycle_state", missing),
527
+ "displayName": kwargs.get("display_name", missing),
528
+ "id": kwargs.get("id", missing),
529
+ "limit": kwargs.get("limit", missing),
530
+ "page": kwargs.get("page", missing),
531
+ "sortOrder": kwargs.get("sort_order", missing),
532
+ "sortBy": kwargs.get("sort_by", missing)
533
+ }
534
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
535
+
536
+ header_params = {
537
+ "accept": "application/json",
538
+ "content-type": "application/json",
539
+ "opc-request-id": kwargs.get("opc_request_id", missing)
540
+ }
541
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
542
+
543
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
544
+ operation_retry_strategy=kwargs.get('retry_strategy'),
545
+ client_retry_strategy=self.retry_strategy
546
+ )
547
+ if retry_strategy is None:
548
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
549
+
550
+ if retry_strategy:
551
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
552
+ self.base_client.add_opc_client_retries_header(header_params)
553
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
554
+ return retry_strategy.make_retrying_call(
555
+ self.base_client.call_api,
556
+ resource_path=resource_path,
557
+ method=method,
558
+ query_params=query_params,
559
+ header_params=header_params,
560
+ response_type="MaintenanceWindowCollection",
561
+ allow_control_chars=kwargs.get('allow_control_chars'),
562
+ operation_name=operation_name,
563
+ api_reference_link=api_reference_link,
564
+ required_arguments=required_arguments)
565
+ else:
566
+ return self.base_client.call_api(
567
+ resource_path=resource_path,
568
+ method=method,
569
+ query_params=query_params,
570
+ header_params=header_params,
571
+ response_type="MaintenanceWindowCollection",
572
+ allow_control_chars=kwargs.get('allow_control_chars'),
573
+ operation_name=operation_name,
574
+ api_reference_link=api_reference_link,
575
+ required_arguments=required_arguments)
576
+
577
+ def update_maintenance_window(self, maintenance_window_id, update_maintenance_window_details, **kwargs):
578
+ """
579
+ Updates the MaintenanceWindow
580
+
581
+
582
+ :param str maintenance_window_id: (required)
583
+ unique MaintenanceWindow identifier
584
+
585
+ :param oci.fleet_apps_management.models.UpdateMaintenanceWindowDetails update_maintenance_window_details: (required)
586
+ The information to be updated.
587
+
588
+ :param str if_match: (optional)
589
+ For optimistic concurrency control. In the PUT or DELETE call
590
+ for a resource, set the `if-match` parameter to the value of the
591
+ etag from a previous GET or POST response for that resource.
592
+ The resource will be updated or deleted only if the etag you
593
+ provide matches the resource's current etag value.
594
+
595
+ :param str opc_request_id: (optional)
596
+ The client request ID for tracing.
597
+
598
+ :param obj retry_strategy: (optional)
599
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
600
+
601
+ 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.
602
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
603
+
604
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
605
+
606
+ :param bool allow_control_chars: (optional)
607
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
608
+ By default, the response will not allow control characters in strings
609
+
610
+ :return: A :class:`~oci.response.Response` object with data of type None
611
+ :rtype: :class:`~oci.response.Response`
612
+
613
+ :example:
614
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/fleetappsmanagement/update_maintenance_window.py.html>`__ to see an example of how to use update_maintenance_window API.
615
+ """
616
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
617
+ required_arguments = ['maintenanceWindowId']
618
+ resource_path = "/maintenanceWindows/{maintenanceWindowId}"
619
+ method = "PUT"
620
+ operation_name = "update_maintenance_window"
621
+ api_reference_link = ""
622
+
623
+ # Don't accept unknown kwargs
624
+ expected_kwargs = [
625
+ "allow_control_chars",
626
+ "retry_strategy",
627
+ "if_match",
628
+ "opc_request_id"
629
+ ]
630
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
631
+ if extra_kwargs:
632
+ raise ValueError(
633
+ f"update_maintenance_window got unknown kwargs: {extra_kwargs!r}")
634
+
635
+ path_params = {
636
+ "maintenanceWindowId": maintenance_window_id
637
+ }
638
+
639
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
640
+
641
+ for (k, v) in six.iteritems(path_params):
642
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
643
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
644
+
645
+ header_params = {
646
+ "accept": "application/json",
647
+ "content-type": "application/json",
648
+ "if-match": kwargs.get("if_match", missing),
649
+ "opc-request-id": kwargs.get("opc_request_id", missing)
650
+ }
651
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
652
+
653
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
654
+ operation_retry_strategy=kwargs.get('retry_strategy'),
655
+ client_retry_strategy=self.retry_strategy
656
+ )
657
+ if retry_strategy is None:
658
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
659
+
660
+ if retry_strategy:
661
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
662
+ self.base_client.add_opc_client_retries_header(header_params)
663
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
664
+ return retry_strategy.make_retrying_call(
665
+ self.base_client.call_api,
666
+ resource_path=resource_path,
667
+ method=method,
668
+ path_params=path_params,
669
+ header_params=header_params,
670
+ body=update_maintenance_window_details,
671
+ allow_control_chars=kwargs.get('allow_control_chars'),
672
+ operation_name=operation_name,
673
+ api_reference_link=api_reference_link,
674
+ required_arguments=required_arguments)
675
+ else:
676
+ return self.base_client.call_api(
677
+ resource_path=resource_path,
678
+ method=method,
679
+ path_params=path_params,
680
+ header_params=header_params,
681
+ body=update_maintenance_window_details,
682
+ allow_control_chars=kwargs.get('allow_control_chars'),
683
+ operation_name=operation_name,
684
+ api_reference_link=api_reference_link,
685
+ required_arguments=required_arguments)