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,1077 @@
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 FleetAppsManagementAdminClient(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_admin", 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_onboarding(self, create_onboarding_details, **kwargs):
121
+ """
122
+ Onboard a tenant to Fleet Application Management Service
123
+
124
+
125
+ :param oci.fleet_apps_management.models.CreateOnboardingDetails create_onboarding_details: (required)
126
+ Details for onboarding FAMS.
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.Onboarding`
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_onboarding.py.html>`__ to see an example of how to use create_onboarding API.
155
+ """
156
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
157
+ required_arguments = []
158
+ resource_path = "/Onboardings"
159
+ method = "POST"
160
+ operation_name = "create_onboarding"
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_onboarding 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_onboarding_details,
201
+ response_type="Onboarding",
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_onboarding_details,
212
+ response_type="Onboarding",
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 create_property(self, create_property_details, **kwargs):
219
+ """
220
+ Creates a new Property.
221
+
222
+
223
+ :param oci.fleet_apps_management.models.CreatePropertyDetails create_property_details: (required)
224
+ Details for the new Property.
225
+
226
+ :param str opc_retry_token: (optional)
227
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
228
+ server error without risk of executing that same action again. Retry tokens expire after 24
229
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
230
+ has been deleted and purged from the system, then a retry of the original creation request
231
+ might be rejected.
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 ModelProperty
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/create_property.py.html>`__ to see an example of how to use create_property API.
253
+ """
254
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
255
+ required_arguments = []
256
+ resource_path = "/properties"
257
+ method = "POST"
258
+ operation_name = "create_property"
259
+ api_reference_link = ""
260
+
261
+ # Don't accept unknown kwargs
262
+ expected_kwargs = [
263
+ "allow_control_chars",
264
+ "retry_strategy",
265
+ "opc_retry_token",
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"create_property got unknown kwargs: {extra_kwargs!r}")
272
+
273
+ header_params = {
274
+ "accept": "application/json",
275
+ "content-type": "application/json",
276
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
277
+ "opc-request-id": kwargs.get("opc_request_id", missing)
278
+ }
279
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
280
+
281
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
282
+ operation_retry_strategy=kwargs.get('retry_strategy'),
283
+ client_retry_strategy=self.retry_strategy
284
+ )
285
+ if retry_strategy is None:
286
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
287
+
288
+ if retry_strategy:
289
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
290
+ self.base_client.add_opc_retry_token_if_needed(header_params)
291
+ self.base_client.add_opc_client_retries_header(header_params)
292
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
293
+ return retry_strategy.make_retrying_call(
294
+ self.base_client.call_api,
295
+ resource_path=resource_path,
296
+ method=method,
297
+ header_params=header_params,
298
+ body=create_property_details,
299
+ response_type="ModelProperty",
300
+ allow_control_chars=kwargs.get('allow_control_chars'),
301
+ operation_name=operation_name,
302
+ api_reference_link=api_reference_link,
303
+ required_arguments=required_arguments)
304
+ else:
305
+ return self.base_client.call_api(
306
+ resource_path=resource_path,
307
+ method=method,
308
+ header_params=header_params,
309
+ body=create_property_details,
310
+ response_type="ModelProperty",
311
+ allow_control_chars=kwargs.get('allow_control_chars'),
312
+ operation_name=operation_name,
313
+ api_reference_link=api_reference_link,
314
+ required_arguments=required_arguments)
315
+
316
+ def delete_property(self, property_id, **kwargs):
317
+ """
318
+ Deletes a Property resource by identifier
319
+
320
+
321
+ :param str property_id: (required)
322
+ unique Property identifier
323
+
324
+ :param str if_match: (optional)
325
+ For optimistic concurrency control. In the PUT or DELETE call
326
+ for a resource, set the `if-match` parameter to the value of the
327
+ etag from a previous GET or POST response for that resource.
328
+ The resource will be updated or deleted only if the etag you
329
+ provide matches the resource's current etag value.
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 None
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/delete_property.py.html>`__ to see an example of how to use delete_property API.
351
+ """
352
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
353
+ required_arguments = ['propertyId']
354
+ resource_path = "/properties/{propertyId}"
355
+ method = "DELETE"
356
+ operation_name = "delete_property"
357
+ api_reference_link = ""
358
+
359
+ # Don't accept unknown kwargs
360
+ expected_kwargs = [
361
+ "allow_control_chars",
362
+ "retry_strategy",
363
+ "if_match",
364
+ "opc_request_id"
365
+ ]
366
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
367
+ if extra_kwargs:
368
+ raise ValueError(
369
+ f"delete_property got unknown kwargs: {extra_kwargs!r}")
370
+
371
+ path_params = {
372
+ "propertyId": property_id
373
+ }
374
+
375
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
376
+
377
+ for (k, v) in six.iteritems(path_params):
378
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
379
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
380
+
381
+ header_params = {
382
+ "accept": "application/json",
383
+ "content-type": "application/json",
384
+ "if-match": kwargs.get("if_match", missing),
385
+ "opc-request-id": kwargs.get("opc_request_id", missing)
386
+ }
387
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
388
+
389
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
390
+ operation_retry_strategy=kwargs.get('retry_strategy'),
391
+ client_retry_strategy=self.retry_strategy
392
+ )
393
+ if retry_strategy is None:
394
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
395
+
396
+ if retry_strategy:
397
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
398
+ self.base_client.add_opc_client_retries_header(header_params)
399
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
400
+ return retry_strategy.make_retrying_call(
401
+ self.base_client.call_api,
402
+ resource_path=resource_path,
403
+ method=method,
404
+ path_params=path_params,
405
+ header_params=header_params,
406
+ allow_control_chars=kwargs.get('allow_control_chars'),
407
+ operation_name=operation_name,
408
+ api_reference_link=api_reference_link,
409
+ required_arguments=required_arguments)
410
+ else:
411
+ return self.base_client.call_api(
412
+ resource_path=resource_path,
413
+ method=method,
414
+ path_params=path_params,
415
+ header_params=header_params,
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 get_property(self, property_id, **kwargs):
422
+ """
423
+ Gets a Property by identifier
424
+
425
+
426
+ :param str property_id: (required)
427
+ unique Property identifier
428
+
429
+ :param str opc_request_id: (optional)
430
+ The client request ID for tracing.
431
+
432
+ :param obj retry_strategy: (optional)
433
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
434
+
435
+ 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.
436
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
437
+
438
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
439
+
440
+ :param bool allow_control_chars: (optional)
441
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
442
+ By default, the response will not allow control characters in strings
443
+
444
+ :return: A :class:`~oci.response.Response` object with data of type ModelProperty
445
+ :rtype: :class:`~oci.response.Response`
446
+
447
+ :example:
448
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/fleetappsmanagement/get_property.py.html>`__ to see an example of how to use get_property API.
449
+ """
450
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
451
+ required_arguments = ['propertyId']
452
+ resource_path = "/properties/{propertyId}"
453
+ method = "GET"
454
+ operation_name = "get_property"
455
+ api_reference_link = ""
456
+
457
+ # Don't accept unknown kwargs
458
+ expected_kwargs = [
459
+ "allow_control_chars",
460
+ "retry_strategy",
461
+ "opc_request_id"
462
+ ]
463
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
464
+ if extra_kwargs:
465
+ raise ValueError(
466
+ f"get_property got unknown kwargs: {extra_kwargs!r}")
467
+
468
+ path_params = {
469
+ "propertyId": property_id
470
+ }
471
+
472
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
473
+
474
+ for (k, v) in six.iteritems(path_params):
475
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
476
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
477
+
478
+ header_params = {
479
+ "accept": "application/json",
480
+ "content-type": "application/json",
481
+ "opc-request-id": kwargs.get("opc_request_id", missing)
482
+ }
483
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
484
+
485
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
486
+ operation_retry_strategy=kwargs.get('retry_strategy'),
487
+ client_retry_strategy=self.retry_strategy
488
+ )
489
+ if retry_strategy is None:
490
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
491
+
492
+ if retry_strategy:
493
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
494
+ self.base_client.add_opc_client_retries_header(header_params)
495
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
496
+ return retry_strategy.make_retrying_call(
497
+ self.base_client.call_api,
498
+ resource_path=resource_path,
499
+ method=method,
500
+ path_params=path_params,
501
+ header_params=header_params,
502
+ response_type="ModelProperty",
503
+ allow_control_chars=kwargs.get('allow_control_chars'),
504
+ operation_name=operation_name,
505
+ api_reference_link=api_reference_link,
506
+ required_arguments=required_arguments)
507
+ else:
508
+ return self.base_client.call_api(
509
+ resource_path=resource_path,
510
+ method=method,
511
+ path_params=path_params,
512
+ header_params=header_params,
513
+ response_type="ModelProperty",
514
+ allow_control_chars=kwargs.get('allow_control_chars'),
515
+ operation_name=operation_name,
516
+ api_reference_link=api_reference_link,
517
+ required_arguments=required_arguments)
518
+
519
+ def list_onboarding_policies(self, **kwargs):
520
+ """
521
+ Returns a list of onboarding policy information for FAMS.
522
+
523
+
524
+ :param int limit: (optional)
525
+ The maximum number of items to return.
526
+
527
+ :param str page: (optional)
528
+ 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.
529
+
530
+ :param str sort_order: (optional)
531
+ The sort order to use, either 'ASC' or 'DESC'.
532
+
533
+ Allowed values are: "ASC", "DESC"
534
+
535
+ :param str sort_by: (optional)
536
+ The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending.
537
+
538
+ Allowed values are: "timeCreated"
539
+
540
+ :param str opc_request_id: (optional)
541
+ The client request ID for tracing.
542
+
543
+ :param obj retry_strategy: (optional)
544
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
545
+
546
+ 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.
547
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
548
+
549
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
550
+
551
+ :param bool allow_control_chars: (optional)
552
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
553
+ By default, the response will not allow control characters in strings
554
+
555
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.fleet_apps_management.models.OnboardingPolicyCollection`
556
+ :rtype: :class:`~oci.response.Response`
557
+
558
+ :example:
559
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/fleetappsmanagement/list_onboarding_policies.py.html>`__ to see an example of how to use list_onboarding_policies API.
560
+ """
561
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
562
+ required_arguments = []
563
+ resource_path = "/OnboardingPolicies"
564
+ method = "GET"
565
+ operation_name = "list_onboarding_policies"
566
+ api_reference_link = ""
567
+
568
+ # Don't accept unknown kwargs
569
+ expected_kwargs = [
570
+ "allow_control_chars",
571
+ "retry_strategy",
572
+ "limit",
573
+ "page",
574
+ "sort_order",
575
+ "sort_by",
576
+ "opc_request_id"
577
+ ]
578
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
579
+ if extra_kwargs:
580
+ raise ValueError(
581
+ f"list_onboarding_policies got unknown kwargs: {extra_kwargs!r}")
582
+
583
+ if 'sort_order' in kwargs:
584
+ sort_order_allowed_values = ["ASC", "DESC"]
585
+ if kwargs['sort_order'] not in sort_order_allowed_values:
586
+ raise ValueError(
587
+ f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
588
+ )
589
+
590
+ if 'sort_by' in kwargs:
591
+ sort_by_allowed_values = ["timeCreated"]
592
+ if kwargs['sort_by'] not in sort_by_allowed_values:
593
+ raise ValueError(
594
+ f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
595
+ )
596
+
597
+ query_params = {
598
+ "limit": kwargs.get("limit", missing),
599
+ "page": kwargs.get("page", missing),
600
+ "sortOrder": kwargs.get("sort_order", missing),
601
+ "sortBy": kwargs.get("sort_by", missing)
602
+ }
603
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
604
+
605
+ header_params = {
606
+ "accept": "application/json",
607
+ "content-type": "application/json",
608
+ "opc-request-id": kwargs.get("opc_request_id", missing)
609
+ }
610
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
611
+
612
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
613
+ operation_retry_strategy=kwargs.get('retry_strategy'),
614
+ client_retry_strategy=self.retry_strategy
615
+ )
616
+ if retry_strategy is None:
617
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
618
+
619
+ if retry_strategy:
620
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
621
+ self.base_client.add_opc_client_retries_header(header_params)
622
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
623
+ return retry_strategy.make_retrying_call(
624
+ self.base_client.call_api,
625
+ resource_path=resource_path,
626
+ method=method,
627
+ query_params=query_params,
628
+ header_params=header_params,
629
+ response_type="OnboardingPolicyCollection",
630
+ allow_control_chars=kwargs.get('allow_control_chars'),
631
+ operation_name=operation_name,
632
+ api_reference_link=api_reference_link,
633
+ required_arguments=required_arguments)
634
+ else:
635
+ return self.base_client.call_api(
636
+ resource_path=resource_path,
637
+ method=method,
638
+ query_params=query_params,
639
+ header_params=header_params,
640
+ response_type="OnboardingPolicyCollection",
641
+ allow_control_chars=kwargs.get('allow_control_chars'),
642
+ operation_name=operation_name,
643
+ api_reference_link=api_reference_link,
644
+ required_arguments=required_arguments)
645
+
646
+ def list_onboardings(self, **kwargs):
647
+ """
648
+ Returns a list of onboarding information for the Tenancy.
649
+
650
+
651
+ :param str compartment_id: (optional)
652
+ The ID of the compartment in which to list resources.
653
+
654
+ :param str lifecycle_state: (optional)
655
+ A filter to return only resources their lifecycleState matches the given lifecycleState.
656
+
657
+ Allowed values are: "ACTIVE", "INACTIVE", "CREATING", "DELETED", "DELETING", "FAILED", "UPDATING", "NEEDS_ATTENTION"
658
+
659
+ :param str id: (optional)
660
+ unique onboarding identifier
661
+
662
+ :param int limit: (optional)
663
+ The maximum number of items to return.
664
+
665
+ :param str page: (optional)
666
+ 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.
667
+
668
+ :param str sort_order: (optional)
669
+ The sort order to use, either 'ASC' or 'DESC'.
670
+
671
+ Allowed values are: "ASC", "DESC"
672
+
673
+ :param str sort_by: (optional)
674
+ The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
675
+
676
+ Allowed values are: "timeCreated", "displayName"
677
+
678
+ :param str opc_request_id: (optional)
679
+ The client request ID for tracing.
680
+
681
+ :param obj retry_strategy: (optional)
682
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
683
+
684
+ 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.
685
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
686
+
687
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
688
+
689
+ :param bool allow_control_chars: (optional)
690
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
691
+ By default, the response will not allow control characters in strings
692
+
693
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.fleet_apps_management.models.OnboardingCollection`
694
+ :rtype: :class:`~oci.response.Response`
695
+
696
+ :example:
697
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/fleetappsmanagement/list_onboardings.py.html>`__ to see an example of how to use list_onboardings API.
698
+ """
699
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
700
+ required_arguments = []
701
+ resource_path = "/Onboardings"
702
+ method = "GET"
703
+ operation_name = "list_onboardings"
704
+ api_reference_link = ""
705
+
706
+ # Don't accept unknown kwargs
707
+ expected_kwargs = [
708
+ "allow_control_chars",
709
+ "retry_strategy",
710
+ "compartment_id",
711
+ "lifecycle_state",
712
+ "id",
713
+ "limit",
714
+ "page",
715
+ "sort_order",
716
+ "sort_by",
717
+ "opc_request_id"
718
+ ]
719
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
720
+ if extra_kwargs:
721
+ raise ValueError(
722
+ f"list_onboardings got unknown kwargs: {extra_kwargs!r}")
723
+
724
+ if 'lifecycle_state' in kwargs:
725
+ lifecycle_state_allowed_values = ["ACTIVE", "INACTIVE", "CREATING", "DELETED", "DELETING", "FAILED", "UPDATING", "NEEDS_ATTENTION"]
726
+ if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
727
+ raise ValueError(
728
+ f"Invalid value for `lifecycle_state`, must be one of { lifecycle_state_allowed_values }"
729
+ )
730
+
731
+ if 'sort_order' in kwargs:
732
+ sort_order_allowed_values = ["ASC", "DESC"]
733
+ if kwargs['sort_order'] not in sort_order_allowed_values:
734
+ raise ValueError(
735
+ f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
736
+ )
737
+
738
+ if 'sort_by' in kwargs:
739
+ sort_by_allowed_values = ["timeCreated", "displayName"]
740
+ if kwargs['sort_by'] not in sort_by_allowed_values:
741
+ raise ValueError(
742
+ f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
743
+ )
744
+
745
+ query_params = {
746
+ "compartmentId": kwargs.get("compartment_id", missing),
747
+ "lifecycleState": kwargs.get("lifecycle_state", missing),
748
+ "id": kwargs.get("id", missing),
749
+ "limit": kwargs.get("limit", missing),
750
+ "page": kwargs.get("page", missing),
751
+ "sortOrder": kwargs.get("sort_order", missing),
752
+ "sortBy": kwargs.get("sort_by", missing)
753
+ }
754
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
755
+
756
+ header_params = {
757
+ "accept": "application/json",
758
+ "content-type": "application/json",
759
+ "opc-request-id": kwargs.get("opc_request_id", missing)
760
+ }
761
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
762
+
763
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
764
+ operation_retry_strategy=kwargs.get('retry_strategy'),
765
+ client_retry_strategy=self.retry_strategy
766
+ )
767
+ if retry_strategy is None:
768
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
769
+
770
+ if retry_strategy:
771
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
772
+ self.base_client.add_opc_client_retries_header(header_params)
773
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
774
+ return retry_strategy.make_retrying_call(
775
+ self.base_client.call_api,
776
+ resource_path=resource_path,
777
+ method=method,
778
+ query_params=query_params,
779
+ header_params=header_params,
780
+ response_type="OnboardingCollection",
781
+ allow_control_chars=kwargs.get('allow_control_chars'),
782
+ operation_name=operation_name,
783
+ api_reference_link=api_reference_link,
784
+ required_arguments=required_arguments)
785
+ else:
786
+ return self.base_client.call_api(
787
+ resource_path=resource_path,
788
+ method=method,
789
+ query_params=query_params,
790
+ header_params=header_params,
791
+ response_type="OnboardingCollection",
792
+ allow_control_chars=kwargs.get('allow_control_chars'),
793
+ operation_name=operation_name,
794
+ api_reference_link=api_reference_link,
795
+ required_arguments=required_arguments)
796
+
797
+ def list_properties(self, **kwargs):
798
+ """
799
+ Returns a list of Properties for Tenancy.
800
+
801
+
802
+ :param str compartment_id: (optional)
803
+ The ID of the compartment in which to list resources.
804
+
805
+ :param str lifecycle_state: (optional)
806
+ A filter to return only resources their lifecycleState matches the given lifecycleState.
807
+
808
+ Allowed values are: "ACTIVE", "DELETED", "FAILED"
809
+
810
+ :param str display_name: (optional)
811
+ A filter to return only resources that match the entire display name given.
812
+
813
+ :param str id: (optional)
814
+ unique Property identifier
815
+
816
+ :param str scope: (optional)
817
+ A filter to return only resources their scope matches the given lifecycleState.
818
+
819
+ Allowed values are: "TAXONOMY", "PLATFORM_CONFIG"
820
+
821
+ :param int limit: (optional)
822
+ The maximum number of items to return.
823
+
824
+ :param str page: (optional)
825
+ 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.
826
+
827
+ :param str sort_order: (optional)
828
+ The sort order to use, either 'ASC' or 'DESC'.
829
+
830
+ Allowed values are: "ASC", "DESC"
831
+
832
+ :param str sort_by: (optional)
833
+ The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
834
+
835
+ Allowed values are: "timeCreated", "displayName"
836
+
837
+ :param str opc_request_id: (optional)
838
+ The client request ID for tracing.
839
+
840
+ :param obj retry_strategy: (optional)
841
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
842
+
843
+ 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.
844
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
845
+
846
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
847
+
848
+ :param bool allow_control_chars: (optional)
849
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
850
+ By default, the response will not allow control characters in strings
851
+
852
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.fleet_apps_management.models.PropertyCollection`
853
+ :rtype: :class:`~oci.response.Response`
854
+
855
+ :example:
856
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/fleetappsmanagement/list_properties.py.html>`__ to see an example of how to use list_properties API.
857
+ """
858
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
859
+ required_arguments = []
860
+ resource_path = "/properties"
861
+ method = "GET"
862
+ operation_name = "list_properties"
863
+ api_reference_link = ""
864
+
865
+ # Don't accept unknown kwargs
866
+ expected_kwargs = [
867
+ "allow_control_chars",
868
+ "retry_strategy",
869
+ "compartment_id",
870
+ "lifecycle_state",
871
+ "display_name",
872
+ "id",
873
+ "scope",
874
+ "limit",
875
+ "page",
876
+ "sort_order",
877
+ "sort_by",
878
+ "opc_request_id"
879
+ ]
880
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
881
+ if extra_kwargs:
882
+ raise ValueError(
883
+ f"list_properties got unknown kwargs: {extra_kwargs!r}")
884
+
885
+ if 'lifecycle_state' in kwargs:
886
+ lifecycle_state_allowed_values = ["ACTIVE", "DELETED", "FAILED"]
887
+ if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
888
+ raise ValueError(
889
+ f"Invalid value for `lifecycle_state`, must be one of { lifecycle_state_allowed_values }"
890
+ )
891
+
892
+ if 'scope' in kwargs:
893
+ scope_allowed_values = ["TAXONOMY", "PLATFORM_CONFIG"]
894
+ if kwargs['scope'] not in scope_allowed_values:
895
+ raise ValueError(
896
+ f"Invalid value for `scope`, must be one of { scope_allowed_values }"
897
+ )
898
+
899
+ if 'sort_order' in kwargs:
900
+ sort_order_allowed_values = ["ASC", "DESC"]
901
+ if kwargs['sort_order'] not in sort_order_allowed_values:
902
+ raise ValueError(
903
+ f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
904
+ )
905
+
906
+ if 'sort_by' in kwargs:
907
+ sort_by_allowed_values = ["timeCreated", "displayName"]
908
+ if kwargs['sort_by'] not in sort_by_allowed_values:
909
+ raise ValueError(
910
+ f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
911
+ )
912
+
913
+ query_params = {
914
+ "compartmentId": kwargs.get("compartment_id", missing),
915
+ "lifecycleState": kwargs.get("lifecycle_state", missing),
916
+ "displayName": kwargs.get("display_name", missing),
917
+ "id": kwargs.get("id", missing),
918
+ "scope": kwargs.get("scope", missing),
919
+ "limit": kwargs.get("limit", missing),
920
+ "page": kwargs.get("page", missing),
921
+ "sortOrder": kwargs.get("sort_order", missing),
922
+ "sortBy": kwargs.get("sort_by", missing)
923
+ }
924
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
925
+
926
+ header_params = {
927
+ "accept": "application/json",
928
+ "content-type": "application/json",
929
+ "opc-request-id": kwargs.get("opc_request_id", missing)
930
+ }
931
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
932
+
933
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
934
+ operation_retry_strategy=kwargs.get('retry_strategy'),
935
+ client_retry_strategy=self.retry_strategy
936
+ )
937
+ if retry_strategy is None:
938
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
939
+
940
+ if retry_strategy:
941
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
942
+ self.base_client.add_opc_client_retries_header(header_params)
943
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
944
+ return retry_strategy.make_retrying_call(
945
+ self.base_client.call_api,
946
+ resource_path=resource_path,
947
+ method=method,
948
+ query_params=query_params,
949
+ header_params=header_params,
950
+ response_type="PropertyCollection",
951
+ allow_control_chars=kwargs.get('allow_control_chars'),
952
+ operation_name=operation_name,
953
+ api_reference_link=api_reference_link,
954
+ required_arguments=required_arguments)
955
+ else:
956
+ return self.base_client.call_api(
957
+ resource_path=resource_path,
958
+ method=method,
959
+ query_params=query_params,
960
+ header_params=header_params,
961
+ response_type="PropertyCollection",
962
+ allow_control_chars=kwargs.get('allow_control_chars'),
963
+ operation_name=operation_name,
964
+ api_reference_link=api_reference_link,
965
+ required_arguments=required_arguments)
966
+
967
+ def update_property(self, property_id, update_property_details, **kwargs):
968
+ """
969
+ Updates the Property
970
+
971
+
972
+ :param str property_id: (required)
973
+ unique Property identifier
974
+
975
+ :param oci.fleet_apps_management.models.UpdatePropertyDetails update_property_details: (required)
976
+ The information to be updated.
977
+
978
+ :param str if_match: (optional)
979
+ For optimistic concurrency control. In the PUT or DELETE call
980
+ for a resource, set the `if-match` parameter to the value of the
981
+ etag from a previous GET or POST response for that resource.
982
+ The resource will be updated or deleted only if the etag you
983
+ provide matches the resource's current etag value.
984
+
985
+ :param str opc_request_id: (optional)
986
+ The client request ID for tracing.
987
+
988
+ :param obj retry_strategy: (optional)
989
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
990
+
991
+ 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.
992
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
993
+
994
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
995
+
996
+ :param bool allow_control_chars: (optional)
997
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
998
+ By default, the response will not allow control characters in strings
999
+
1000
+ :return: A :class:`~oci.response.Response` object with data of type ModelProperty
1001
+ :rtype: :class:`~oci.response.Response`
1002
+
1003
+ :example:
1004
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.132.0/fleetappsmanagement/update_property.py.html>`__ to see an example of how to use update_property API.
1005
+ """
1006
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1007
+ required_arguments = ['propertyId']
1008
+ resource_path = "/properties/{propertyId}"
1009
+ method = "PUT"
1010
+ operation_name = "update_property"
1011
+ api_reference_link = ""
1012
+
1013
+ # Don't accept unknown kwargs
1014
+ expected_kwargs = [
1015
+ "allow_control_chars",
1016
+ "retry_strategy",
1017
+ "if_match",
1018
+ "opc_request_id"
1019
+ ]
1020
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1021
+ if extra_kwargs:
1022
+ raise ValueError(
1023
+ f"update_property got unknown kwargs: {extra_kwargs!r}")
1024
+
1025
+ path_params = {
1026
+ "propertyId": property_id
1027
+ }
1028
+
1029
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1030
+
1031
+ for (k, v) in six.iteritems(path_params):
1032
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1033
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
1034
+
1035
+ header_params = {
1036
+ "accept": "application/json",
1037
+ "content-type": "application/json",
1038
+ "if-match": kwargs.get("if_match", missing),
1039
+ "opc-request-id": kwargs.get("opc_request_id", missing)
1040
+ }
1041
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1042
+
1043
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
1044
+ operation_retry_strategy=kwargs.get('retry_strategy'),
1045
+ client_retry_strategy=self.retry_strategy
1046
+ )
1047
+ if retry_strategy is None:
1048
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
1049
+
1050
+ if retry_strategy:
1051
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
1052
+ self.base_client.add_opc_client_retries_header(header_params)
1053
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
1054
+ return retry_strategy.make_retrying_call(
1055
+ self.base_client.call_api,
1056
+ resource_path=resource_path,
1057
+ method=method,
1058
+ path_params=path_params,
1059
+ header_params=header_params,
1060
+ body=update_property_details,
1061
+ response_type="ModelProperty",
1062
+ allow_control_chars=kwargs.get('allow_control_chars'),
1063
+ operation_name=operation_name,
1064
+ api_reference_link=api_reference_link,
1065
+ required_arguments=required_arguments)
1066
+ else:
1067
+ return self.base_client.call_api(
1068
+ resource_path=resource_path,
1069
+ method=method,
1070
+ path_params=path_params,
1071
+ header_params=header_params,
1072
+ body=update_property_details,
1073
+ response_type="ModelProperty",
1074
+ allow_control_chars=kwargs.get('allow_control_chars'),
1075
+ operation_name=operation_name,
1076
+ api_reference_link=api_reference_link,
1077
+ required_arguments=required_arguments)