oci 2.137.0__py3-none-any.whl → 2.138.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 (319) hide show
  1. oci/access_governance_cp/access_governance_cp_client.py +8 -8
  2. oci/adm/application_dependency_management_client.py +36 -36
  3. oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
  4. oci/ai_document/ai_service_document_client.py +26 -26
  5. oci/ai_language/ai_service_language_client.py +44 -44
  6. oci/ai_speech/ai_service_speech_client.py +19 -19
  7. oci/ai_vision/ai_service_vision_client.py +25 -25
  8. oci/analytics/analytics_client.py +24 -24
  9. oci/announcements_service/announcement_client.py +5 -5
  10. oci/announcements_service/announcement_subscription_client.py +9 -9
  11. oci/announcements_service/announcements_preferences_client.py +4 -4
  12. oci/announcements_service/service_client.py +1 -1
  13. oci/apigateway/api_gateway_client.py +21 -21
  14. oci/apigateway/deployment_client.py +6 -6
  15. oci/apigateway/gateway_client.py +6 -6
  16. oci/apigateway/subscribers_client.py +6 -6
  17. oci/apigateway/usage_plans_client.py +6 -6
  18. oci/apigateway/work_requests_client.py +5 -5
  19. oci/apm_config/config_client.py +9 -9
  20. oci/apm_control_plane/apm_domain_client.py +14 -14
  21. oci/apm_synthetics/apm_synthetic_client.py +28 -28
  22. oci/apm_traces/attributes_client.py +8 -8
  23. oci/apm_traces/query_client.py +2 -2
  24. oci/apm_traces/trace_client.py +4 -4
  25. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  26. oci/artifacts/artifacts_client.py +32 -32
  27. oci/audit/audit_client.py +3 -3
  28. oci/auth/auth_utils.py +9 -6
  29. oci/auth/federation_client.py +59 -5
  30. oci/auth/rpt_path_providers.py +3 -3
  31. oci/autoscaling/auto_scaling_client.py +11 -11
  32. oci/base_client.py +5 -12
  33. oci/bastion/bastion_client.py +15 -15
  34. oci/bds/bds_client.py +72 -72
  35. oci/blockchain/blockchain_platform_client.py +27 -27
  36. oci/budget/budget_client.py +10 -10
  37. oci/capacity_management/capacity_management_client.py +32 -32
  38. oci/certificates/certificates_client.py +5 -5
  39. oci/certificates_management/certificates_management_client.py +32 -32
  40. oci/cims/incident_client.py +69 -245
  41. oci/cims/models/__init__.py +6 -0
  42. oci/cims/models/activity_item.py +37 -6
  43. oci/cims/models/create_account_item_details.py +3 -0
  44. oci/cims/models/create_incident.py +22 -2
  45. oci/cims/models/create_limit_item_details.py +10 -3
  46. oci/cims/models/create_tech_support_item_details.py +3 -0
  47. oci/cims/models/create_user_details.py +22 -2
  48. oci/cims/models/incident.py +22 -2
  49. oci/cims/models/incident_resource_type.py +46 -15
  50. oci/cims/models/incident_summary.py +22 -2
  51. oci/cims/models/item.py +1 -1
  52. oci/cims/models/limit_item.py +40 -5
  53. oci/cims/models/service_categories.py +34 -34
  54. oci/cims/models/service_category.py +31 -0
  55. oci/cims/models/sub_categories.py +165 -0
  56. oci/cims/models/sub_components.py +103 -0
  57. oci/cims/models/subscription_info.py +103 -0
  58. oci/cims/models/ticket.py +4 -4
  59. oci/cims/models/update_incident.py +22 -2
  60. oci/cims/models/user.py +22 -2
  61. oci/circuit_breaker/__init__.py +24 -2
  62. oci/circuit_breaker/circuit_breaker.py +11 -1
  63. oci/cloud_bridge/common_client.py +5 -5
  64. oci/cloud_bridge/discovery_client.py +15 -15
  65. oci/cloud_bridge/inventory_client.py +16 -16
  66. oci/cloud_bridge/ocb_agent_svc_client.py +22 -22
  67. oci/cloud_guard/cloud_guard_client.py +155 -155
  68. oci/cloud_migrations/migration_client.py +43 -43
  69. oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
  70. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  71. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  72. oci/compute_instance_agent/plugin_client.py +2 -2
  73. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  74. oci/container_engine/container_engine_client.py +44 -44
  75. oci/container_engine/models/install_addon_details.py +33 -2
  76. oci/container_instances/container_instance_client.py +18 -18
  77. oci/core/blockstorage_client.py +60 -60
  78. oci/core/compute_client.py +102 -102
  79. oci/core/compute_management_client.py +32 -32
  80. oci/core/virtual_network_client.py +247 -247
  81. oci/dashboard_service/dashboard_client.py +6 -6
  82. oci/dashboard_service/dashboard_group_client.py +6 -6
  83. oci/data_catalog/data_catalog_client.py +149 -149
  84. oci/data_flow/data_flow_client.py +270 -44
  85. oci/data_flow/data_flow_client_composite_operations.py +78 -0
  86. oci/data_flow/models/sql_endpoint.py +7 -3
  87. oci/data_flow/models/sql_endpoint_summary.py +7 -3
  88. oci/data_flow/models/update_sql_endpoint_details.py +344 -3
  89. oci/data_integration/data_integration_client.py +163 -163
  90. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  91. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  92. oci/data_safe/data_safe_client.py +292 -292
  93. oci/data_science/data_science_client.py +92 -92
  94. oci/database/database_client.py +396 -396
  95. oci/database_management/db_management_client.py +211 -211
  96. oci/database_management/diagnosability_client.py +4 -4
  97. oci/database_management/managed_my_sql_databases_client.py +7 -7
  98. oci/database_management/perfhub_client.py +1 -1
  99. oci/database_management/sql_tuning_client.py +17 -17
  100. oci/database_migration/database_migration_client.py +42 -42
  101. oci/database_tools/database_tools_client.py +23 -23
  102. oci/delegate_access_control/delegate_access_control_client.py +26 -26
  103. oci/delegate_access_control/work_request_client.py +4 -4
  104. oci/demand_signal/occ_demand_signal_client.py +7 -7
  105. oci/desktops/desktop_service_client.py +21 -21
  106. oci/devops/devops_client.py +141 -141
  107. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  108. oci/dns/dns_client.py +54 -54
  109. oci/dts/appliance_export_job_client.py +6 -6
  110. oci/dts/shipping_vendors_client.py +1 -1
  111. oci/dts/transfer_appliance_client.py +8 -8
  112. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  113. oci/dts/transfer_device_client.py +5 -5
  114. oci/dts/transfer_job_client.py +6 -6
  115. oci/dts/transfer_package_client.py +7 -7
  116. oci/em_warehouse/em_warehouse_client.py +13 -13
  117. oci/email/email_client.py +31 -31
  118. oci/email_data_plane/email_dp_client.py +1 -1
  119. oci/events/events_client.py +6 -6
  120. oci/file_storage/file_storage_client.py +68 -68
  121. oci/fleet_apps_management/fleet_apps_management_admin_client.py +25 -25
  122. oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
  123. oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
  124. oci/fleet_apps_management/fleet_apps_management_operations_client.py +26 -26
  125. oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +12 -12
  126. oci/fleet_software_update/fleet_software_update_client.py +46 -46
  127. oci/functions/functions_invoke_client.py +1 -1
  128. oci/functions/functions_management_client.py +16 -16
  129. oci/fusion_apps/fusion_applications_client.py +41 -41
  130. oci/generative_ai/generative_ai_client.py +22 -22
  131. oci/generative_ai_agent/generative_ai_agent_client.py +33 -33
  132. oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +5 -5
  133. oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
  134. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  135. oci/globally_distributed_database/sharded_database_service_client.py +30 -30
  136. oci/golden_gate/golden_gate_client.py +69 -69
  137. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  138. oci/governance_rules_control_plane/work_request_client.py +5 -5
  139. oci/healthchecks/health_checks_client.py +17 -17
  140. oci/identity/identity_client.py +145 -145
  141. oci/identity_data_plane/dataplane_client.py +2 -2
  142. oci/identity_domains/identity_domains_client.py +874 -333
  143. oci/identity_domains/models/__init__.py +20 -0
  144. oci/identity_domains/models/condition.py +31 -2
  145. oci/identity_domains/models/condition_extension_ociconsolesignonpolicyconsent_policy.py +194 -0
  146. oci/identity_domains/models/oci_console_sign_on_policy_consent.py +1041 -0
  147. oci/identity_domains/models/oci_console_sign_on_policy_consent_consent_signed_by.py +260 -0
  148. oci/identity_domains/models/oci_console_sign_on_policy_consent_modified_resource.py +223 -0
  149. oci/identity_domains/models/oci_console_sign_on_policy_consent_policy_resource.py +148 -0
  150. oci/identity_domains/models/oci_console_sign_on_policy_consent_search_request.py +364 -0
  151. oci/identity_domains/models/oci_console_sign_on_policy_consents.py +196 -0
  152. oci/identity_domains/models/policy.py +31 -2
  153. oci/identity_domains/models/policy_extension_ociconsolesignonpolicyconsent_policy.py +194 -0
  154. oci/identity_domains/models/policy_policy_type.py +2 -2
  155. oci/identity_domains/models/restore_oci_console_policy.py +722 -0
  156. oci/identity_domains/models/rule.py +31 -2
  157. oci/identity_domains/models/rule_condition_group.py +2 -2
  158. oci/identity_domains/models/rule_extension_ociconsolesignonpolicyconsent_policy.py +194 -0
  159. oci/integration/integration_instance_client.py +19 -19
  160. oci/jms/java_management_service_client.py +75 -75
  161. oci/jms_java_downloads/java_download_client.py +25 -25
  162. oci/key_management/ekm_client.py +5 -5
  163. oci/key_management/kms_crypto_client.py +6 -6
  164. oci/key_management/kms_hsm_cluster_client.py +12 -12
  165. oci/key_management/kms_management_client.py +21 -21
  166. oci/key_management/kms_vault_client.py +14 -14
  167. oci/license_manager/license_manager_client.py +18 -18
  168. oci/limits/limits_client.py +4 -4
  169. oci/limits/quotas_client.py +7 -7
  170. oci/load_balancer/load_balancer_client.py +61 -61
  171. oci/load_balancer/models/create_listener_details.py +4 -6
  172. oci/load_balancer/models/listener.py +4 -6
  173. oci/load_balancer/models/listener_details.py +4 -6
  174. oci/load_balancer/models/update_listener_details.py +4 -6
  175. oci/lockbox/lockbox_client.py +24 -24
  176. oci/log_analytics/log_analytics_client.py +193 -193
  177. oci/logging/logging_management_client.py +30 -30
  178. oci/loggingingestion/logging_client.py +1 -1
  179. oci/loggingsearch/log_search_client.py +1 -1
  180. oci/management_agent/management_agent_client.py +28 -28
  181. oci/management_dashboard/dashx_apis_client.py +14 -14
  182. oci/marketplace/account_client.py +2 -2
  183. oci/marketplace/marketplace_client.py +30 -30
  184. oci/marketplace_private_offer/attachment_client.py +5 -5
  185. oci/marketplace_private_offer/offer_client.py +6 -6
  186. oci/marketplace_publisher/attachment_client.py +5 -5
  187. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  188. oci/marketplace_publisher/offer_client.py +6 -6
  189. oci/media_services/media_services_client.py +60 -60
  190. oci/media_services/media_stream_client.py +2 -2
  191. oci/monitoring/monitoring_client.py +18 -18
  192. oci/mysql/channels_client.py +7 -7
  193. oci/mysql/db_backups_client.py +7 -7
  194. oci/mysql/db_system_client.py +17 -17
  195. oci/mysql/mysqlaas_client.py +7 -7
  196. oci/mysql/replicas_client.py +5 -5
  197. oci/mysql/work_requests_client.py +4 -4
  198. oci/network_firewall/network_firewall_client.py +86 -86
  199. oci/network_load_balancer/models/backend_set.py +0 -4
  200. oci/network_load_balancer/models/backend_set_details.py +0 -4
  201. oci/network_load_balancer/models/backend_set_summary.py +7 -5
  202. oci/network_load_balancer/models/create_listener_details.py +42 -5
  203. oci/network_load_balancer/models/listener.py +42 -5
  204. oci/network_load_balancer/models/listener_details.py +42 -5
  205. oci/network_load_balancer/models/listener_summary.py +42 -5
  206. oci/network_load_balancer/models/update_listener_details.py +42 -5
  207. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  208. oci/nosql/nosql_client.py +24 -24
  209. oci/object_storage/object_storage_client.py +55 -55
  210. oci/oce/oce_instance_client.py +10 -10
  211. oci/oci_control_center/occ_metrics_client.py +3 -3
  212. oci/ocvp/cluster_client.py +5 -5
  213. oci/ocvp/esxi_host_client.py +8 -8
  214. oci/ocvp/sddc_client.py +14 -14
  215. oci/ocvp/work_request_client.py +4 -4
  216. oci/oda/management_client.py +59 -59
  217. oci/oda/oda_client.py +17 -17
  218. oci/oda/odapackage_client.py +7 -7
  219. oci/onesubscription/billing_schedule_client.py +1 -1
  220. oci/onesubscription/commitment_client.py +2 -2
  221. oci/onesubscription/computed_usage_client.py +3 -3
  222. oci/onesubscription/invoice_summary_client.py +2 -2
  223. oci/onesubscription/organization_subscription_client.py +1 -1
  224. oci/onesubscription/ratecard_client.py +1 -1
  225. oci/onesubscription/subscribed_service_client.py +2 -2
  226. oci/onesubscription/subscription_client.py +1 -1
  227. oci/ons/notification_control_plane_client.py +6 -6
  228. oci/ons/notification_data_plane_client.py +10 -10
  229. oci/opa/opa_instance_client.py +13 -13
  230. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  231. oci/opensearch/opensearch_cluster_client.py +14 -14
  232. oci/operator_access_control/access_requests_client.py +20 -20
  233. oci/operator_access_control/operator_actions_client.py +4 -4
  234. oci/operator_access_control/operator_control_assignment_client.py +16 -16
  235. oci/operator_access_control/operator_control_client.py +12 -12
  236. oci/opsi/operations_insights_client.py +180 -180
  237. oci/optimizer/optimizer_client.py +26 -26
  238. oci/os_management/event_client.py +8 -8
  239. oci/os_management/os_management_client.py +69 -69
  240. oci/os_management_hub/event_client.py +8 -8
  241. oci/os_management_hub/lifecycle_environment_client.py +12 -12
  242. oci/os_management_hub/managed_instance_client.py +31 -31
  243. oci/os_management_hub/managed_instance_group_client.py +25 -25
  244. oci/os_management_hub/management_station_client.py +10 -10
  245. oci/os_management_hub/onboarding_client.py +6 -6
  246. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  247. oci/os_management_hub/scheduled_job_client.py +7 -7
  248. oci/os_management_hub/software_source_client.py +27 -27
  249. oci/os_management_hub/work_request_client.py +4 -4
  250. oci/osp_gateway/address_rule_service_client.py +1 -1
  251. oci/osp_gateway/address_service_client.py +2 -2
  252. oci/osp_gateway/invoice_service_client.py +5 -5
  253. oci/osp_gateway/subscription_service_client.py +5 -5
  254. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  255. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  256. oci/osub_subscription/commitment_client.py +2 -2
  257. oci/osub_subscription/ratecard_client.py +1 -1
  258. oci/osub_subscription/subscription_client.py +1 -1
  259. oci/osub_usage/computed_usage_client.py +3 -3
  260. oci/psql/postgresql_client.py +33 -33
  261. oci/queue/queue_admin_client.py +11 -11
  262. oci/queue/queue_client.py +8 -8
  263. oci/recovery/database_recovery_client.py +26 -26
  264. oci/redis/redis_cluster_client.py +12 -12
  265. oci/regions_definitions.py +15 -4
  266. oci/resource_manager/resource_manager_client.py +52 -52
  267. oci/resource_scheduler/schedule_client.py +13 -13
  268. oci/resource_search/resource_search_client.py +3 -3
  269. oci/retry/__init__.py +20 -0
  270. oci/rover/rover_bundle_client.py +8 -8
  271. oci/rover/rover_cluster_client.py +8 -8
  272. oci/rover/rover_entitlement_client.py +6 -6
  273. oci/rover/rover_node_client.py +15 -15
  274. oci/rover/shape_client.py +1 -1
  275. oci/rover/work_requests_client.py +5 -5
  276. oci/sch/connector_plugins_client.py +2 -2
  277. oci/sch/service_connector_client.py +12 -12
  278. oci/secrets/secrets_client.py +3 -3
  279. oci/security_attribute/security_attribute_client.py +18 -18
  280. oci/service_catalog/service_catalog_client.py +26 -26
  281. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  282. oci/service_mesh/service_mesh_client.py +48 -48
  283. oci/stack_monitoring/stack_monitoring_client.py +71 -71
  284. oci/streaming/stream_admin_client.py +18 -18
  285. oci/streaming/stream_client.py +8 -8
  286. oci/tenant_manager_control_plane/domain_client.py +5 -5
  287. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  288. oci/tenant_manager_control_plane/governance_client.py +2 -2
  289. oci/tenant_manager_control_plane/link_client.py +3 -3
  290. oci/tenant_manager_control_plane/orders_client.py +2 -2
  291. oci/tenant_manager_control_plane/organization_client.py +10 -10
  292. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  293. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  294. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  295. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  296. oci/threat_intelligence/threatintel_client.py +5 -5
  297. oci/usage/resources_client.py +2 -2
  298. oci/usage/rewards_client.py +6 -6
  299. oci/usage/usagelimits_client.py +1 -1
  300. oci/usage_api/usageapi_client.py +33 -33
  301. oci/vault/vaults_client.py +13 -13
  302. oci/vbs_inst/vbs_instance_client.py +10 -10
  303. oci/version.py +1 -1
  304. oci/visual_builder/vb_instance_client.py +13 -13
  305. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  306. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  307. oci/waa/waa_client.py +13 -13
  308. oci/waa/work_request_client.py +4 -4
  309. oci/waas/redirect_client.py +6 -6
  310. oci/waas/waas_client.py +66 -66
  311. oci/waf/waf_client.py +24 -24
  312. oci/work_requests/work_request_client.py +4 -4
  313. oci/zpr/zpr_client.py +15 -15
  314. {oci-2.137.0.dist-info → oci-2.138.0.dist-info}/METADATA +1 -1
  315. {oci-2.137.0.dist-info → oci-2.138.0.dist-info}/RECORD +319 -306
  316. {oci-2.137.0.dist-info → oci-2.138.0.dist-info}/LICENSE.txt +0 -0
  317. {oci-2.137.0.dist-info → oci-2.138.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  318. {oci-2.137.0.dist-info → oci-2.138.0.dist-info}/WHEEL +0 -0
  319. {oci-2.137.0.dist-info → oci-2.138.0.dist-info}/top_level.txt +0 -0
@@ -665,6 +665,45 @@ class DataFlowClientCompositeOperations(object):
665
665
  except Exception as e:
666
666
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
667
667
 
668
+ def start_sql_endpoint_and_wait_for_state(self, sql_endpoint_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
669
+ """
670
+ Calls :py:func:`~oci.data_flow.DataFlowClient.start_sql_endpoint` and waits for the :py:class:`~oci.data_flow.models.WorkRequest`
671
+ to enter the given state(s).
672
+
673
+ :param str sql_endpoint_id: (required)
674
+ The unique id of the SQL Endpoint.
675
+
676
+ :param list[str] wait_for_states:
677
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.data_flow.models.WorkRequest.status`
678
+
679
+ :param dict operation_kwargs:
680
+ A dictionary of keyword arguments to pass to :py:func:`~oci.data_flow.DataFlowClient.start_sql_endpoint`
681
+
682
+ :param dict waiter_kwargs:
683
+ A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
684
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
685
+ """
686
+ operation_result = self.client.start_sql_endpoint(sql_endpoint_id, **operation_kwargs)
687
+ if not wait_for_states:
688
+ return operation_result
689
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
690
+ if 'opc-work-request-id' not in operation_result.headers:
691
+ return operation_result
692
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
693
+
694
+ try:
695
+ waiter_result = oci.wait_until(
696
+ self.client,
697
+ self.client.get_work_request(wait_for_resource_id),
698
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
699
+ **waiter_kwargs
700
+ )
701
+ result_to_return = waiter_result
702
+
703
+ return result_to_return
704
+ except Exception as e:
705
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
706
+
668
707
  def stop_pool_and_wait_for_state(self, pool_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
669
708
  """
670
709
  Calls :py:func:`~oci.data_flow.DataFlowClient.stop_pool` and waits for the :py:class:`~oci.data_flow.models.WorkRequest`
@@ -704,6 +743,45 @@ class DataFlowClientCompositeOperations(object):
704
743
  except Exception as e:
705
744
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
706
745
 
746
+ def stop_sql_endpoint_and_wait_for_state(self, sql_endpoint_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
747
+ """
748
+ Calls :py:func:`~oci.data_flow.DataFlowClient.stop_sql_endpoint` and waits for the :py:class:`~oci.data_flow.models.WorkRequest`
749
+ to enter the given state(s).
750
+
751
+ :param str sql_endpoint_id: (required)
752
+ The unique id of the SQL Endpoint.
753
+
754
+ :param list[str] wait_for_states:
755
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.data_flow.models.WorkRequest.status`
756
+
757
+ :param dict operation_kwargs:
758
+ A dictionary of keyword arguments to pass to :py:func:`~oci.data_flow.DataFlowClient.stop_sql_endpoint`
759
+
760
+ :param dict waiter_kwargs:
761
+ A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
762
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
763
+ """
764
+ operation_result = self.client.stop_sql_endpoint(sql_endpoint_id, **operation_kwargs)
765
+ if not wait_for_states:
766
+ return operation_result
767
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
768
+ if 'opc-work-request-id' not in operation_result.headers:
769
+ return operation_result
770
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
771
+
772
+ try:
773
+ waiter_result = oci.wait_until(
774
+ self.client,
775
+ self.client.get_work_request(wait_for_resource_id),
776
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
777
+ **waiter_kwargs
778
+ )
779
+ result_to_return = waiter_result
780
+
781
+ return result_to_return
782
+ except Exception as e:
783
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
784
+
707
785
  def update_application_and_wait_for_state(self, update_application_details, application_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
708
786
  """
709
787
  Calls :py:func:`~oci.data_flow.DataFlowClient.update_application` and waits for the :py:class:`~oci.data_flow.models.Application` acted upon
@@ -43,6 +43,10 @@ class SqlEndpoint(object):
43
43
  #: This constant has a value of "NEEDS_ATTENTION"
44
44
  LIFECYCLE_STATE_NEEDS_ATTENTION = "NEEDS_ATTENTION"
45
45
 
46
+ #: A constant which can be used with the lifecycle_state property of a SqlEndpoint.
47
+ #: This constant has a value of "INACTIVE"
48
+ LIFECYCLE_STATE_INACTIVE = "INACTIVE"
49
+
46
50
  def __init__(self, **kwargs):
47
51
  """
48
52
  Initializes a new SqlEndpoint object with values from keyword arguments.
@@ -74,7 +78,7 @@ class SqlEndpoint(object):
74
78
 
75
79
  :param lifecycle_state:
76
80
  The value to assign to the lifecycle_state property of this SqlEndpoint.
77
- Allowed values for this property are: "CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "UPDATING", "NEEDS_ATTENTION", 'UNKNOWN_ENUM_VALUE'.
81
+ Allowed values for this property are: "CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "UPDATING", "NEEDS_ATTENTION", "INACTIVE", 'UNKNOWN_ENUM_VALUE'.
78
82
  Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
79
83
  :type lifecycle_state: str
80
84
 
@@ -390,7 +394,7 @@ class SqlEndpoint(object):
390
394
  Gets the lifecycle_state of this SqlEndpoint.
391
395
  The current state of the Sql Endpoint.
392
396
 
393
- Allowed values for this property are: "CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "UPDATING", "NEEDS_ATTENTION", 'UNKNOWN_ENUM_VALUE'.
397
+ Allowed values for this property are: "CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "UPDATING", "NEEDS_ATTENTION", "INACTIVE", 'UNKNOWN_ENUM_VALUE'.
394
398
  Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
395
399
 
396
400
 
@@ -409,7 +413,7 @@ class SqlEndpoint(object):
409
413
  :param lifecycle_state: The lifecycle_state of this SqlEndpoint.
410
414
  :type: str
411
415
  """
412
- allowed_values = ["CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "UPDATING", "NEEDS_ATTENTION"]
416
+ allowed_values = ["CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "UPDATING", "NEEDS_ATTENTION", "INACTIVE"]
413
417
  if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values):
414
418
  lifecycle_state = 'UNKNOWN_ENUM_VALUE'
415
419
  self._lifecycle_state = lifecycle_state
@@ -43,6 +43,10 @@ class SqlEndpointSummary(object):
43
43
  #: This constant has a value of "NEEDS_ATTENTION"
44
44
  LIFECYCLE_STATE_NEEDS_ATTENTION = "NEEDS_ATTENTION"
45
45
 
46
+ #: A constant which can be used with the lifecycle_state property of a SqlEndpointSummary.
47
+ #: This constant has a value of "INACTIVE"
48
+ LIFECYCLE_STATE_INACTIVE = "INACTIVE"
49
+
46
50
  def __init__(self, **kwargs):
47
51
  """
48
52
  Initializes a new SqlEndpointSummary object with values from keyword arguments.
@@ -74,7 +78,7 @@ class SqlEndpointSummary(object):
74
78
 
75
79
  :param lifecycle_state:
76
80
  The value to assign to the lifecycle_state property of this SqlEndpointSummary.
77
- Allowed values for this property are: "CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "UPDATING", "NEEDS_ATTENTION", 'UNKNOWN_ENUM_VALUE'.
81
+ Allowed values for this property are: "CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "UPDATING", "NEEDS_ATTENTION", "INACTIVE", 'UNKNOWN_ENUM_VALUE'.
78
82
  Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
79
83
  :type lifecycle_state: str
80
84
 
@@ -390,7 +394,7 @@ class SqlEndpointSummary(object):
390
394
  Gets the lifecycle_state of this SqlEndpointSummary.
391
395
  The current state of the Sql Endpoint.
392
396
 
393
- Allowed values for this property are: "CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "UPDATING", "NEEDS_ATTENTION", 'UNKNOWN_ENUM_VALUE'.
397
+ Allowed values for this property are: "CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "UPDATING", "NEEDS_ATTENTION", "INACTIVE", 'UNKNOWN_ENUM_VALUE'.
394
398
  Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
395
399
 
396
400
 
@@ -409,7 +413,7 @@ class SqlEndpointSummary(object):
409
413
  :param lifecycle_state: The lifecycle_state of this SqlEndpointSummary.
410
414
  :type: str
411
415
  """
412
- allowed_values = ["CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "UPDATING", "NEEDS_ATTENTION"]
416
+ allowed_values = ["CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "UPDATING", "NEEDS_ATTENTION", "INACTIVE"]
413
417
  if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values):
414
418
  lifecycle_state = 'UNKNOWN_ENUM_VALUE'
415
419
  self._lifecycle_state = lifecycle_state
@@ -12,7 +12,7 @@ from oci.decorators import init_model_state_from_kwargs
12
12
  @init_model_state_from_kwargs
13
13
  class UpdateSqlEndpointDetails(object):
14
14
  """
15
- Currently only the tags of a SQL Endpoint can be updated.
15
+ The information about all updatable parameters of a SQL Endpoint.
16
16
  """
17
17
 
18
18
  def __init__(self, **kwargs):
@@ -28,19 +28,96 @@ class UpdateSqlEndpointDetails(object):
28
28
  The value to assign to the freeform_tags property of this UpdateSqlEndpointDetails.
29
29
  :type freeform_tags: dict(str, str)
30
30
 
31
+ :param display_name:
32
+ The value to assign to the display_name property of this UpdateSqlEndpointDetails.
33
+ :type display_name: str
34
+
35
+ :param description:
36
+ The value to assign to the description property of this UpdateSqlEndpointDetails.
37
+ :type description: str
38
+
39
+ :param driver_shape:
40
+ The value to assign to the driver_shape property of this UpdateSqlEndpointDetails.
41
+ :type driver_shape: str
42
+
43
+ :param driver_shape_config:
44
+ The value to assign to the driver_shape_config property of this UpdateSqlEndpointDetails.
45
+ :type driver_shape_config: oci.data_flow.models.ShapeConfig
46
+
47
+ :param executor_shape:
48
+ The value to assign to the executor_shape property of this UpdateSqlEndpointDetails.
49
+ :type executor_shape: str
50
+
51
+ :param executor_shape_config:
52
+ The value to assign to the executor_shape_config property of this UpdateSqlEndpointDetails.
53
+ :type executor_shape_config: oci.data_flow.models.ShapeConfig
54
+
55
+ :param min_executor_count:
56
+ The value to assign to the min_executor_count property of this UpdateSqlEndpointDetails.
57
+ :type min_executor_count: int
58
+
59
+ :param max_executor_count:
60
+ The value to assign to the max_executor_count property of this UpdateSqlEndpointDetails.
61
+ :type max_executor_count: int
62
+
63
+ :param metastore_id:
64
+ The value to assign to the metastore_id property of this UpdateSqlEndpointDetails.
65
+ :type metastore_id: str
66
+
67
+ :param lake_id:
68
+ The value to assign to the lake_id property of this UpdateSqlEndpointDetails.
69
+ :type lake_id: str
70
+
71
+ :param spark_advanced_configurations:
72
+ The value to assign to the spark_advanced_configurations property of this UpdateSqlEndpointDetails.
73
+ :type spark_advanced_configurations: dict(str, str)
74
+
31
75
  """
32
76
  self.swagger_types = {
33
77
  'defined_tags': 'dict(str, dict(str, object))',
34
- 'freeform_tags': 'dict(str, str)'
78
+ 'freeform_tags': 'dict(str, str)',
79
+ 'display_name': 'str',
80
+ 'description': 'str',
81
+ 'driver_shape': 'str',
82
+ 'driver_shape_config': 'ShapeConfig',
83
+ 'executor_shape': 'str',
84
+ 'executor_shape_config': 'ShapeConfig',
85
+ 'min_executor_count': 'int',
86
+ 'max_executor_count': 'int',
87
+ 'metastore_id': 'str',
88
+ 'lake_id': 'str',
89
+ 'spark_advanced_configurations': 'dict(str, str)'
35
90
  }
36
91
 
37
92
  self.attribute_map = {
38
93
  'defined_tags': 'definedTags',
39
- 'freeform_tags': 'freeformTags'
94
+ 'freeform_tags': 'freeformTags',
95
+ 'display_name': 'displayName',
96
+ 'description': 'description',
97
+ 'driver_shape': 'driverShape',
98
+ 'driver_shape_config': 'driverShapeConfig',
99
+ 'executor_shape': 'executorShape',
100
+ 'executor_shape_config': 'executorShapeConfig',
101
+ 'min_executor_count': 'minExecutorCount',
102
+ 'max_executor_count': 'maxExecutorCount',
103
+ 'metastore_id': 'metastoreId',
104
+ 'lake_id': 'lakeId',
105
+ 'spark_advanced_configurations': 'sparkAdvancedConfigurations'
40
106
  }
41
107
 
42
108
  self._defined_tags = None
43
109
  self._freeform_tags = None
110
+ self._display_name = None
111
+ self._description = None
112
+ self._driver_shape = None
113
+ self._driver_shape_config = None
114
+ self._executor_shape = None
115
+ self._executor_shape_config = None
116
+ self._min_executor_count = None
117
+ self._max_executor_count = None
118
+ self._metastore_id = None
119
+ self._lake_id = None
120
+ self._spark_advanced_configurations = None
44
121
 
45
122
  @property
46
123
  def defined_tags(self):
@@ -104,6 +181,270 @@ class UpdateSqlEndpointDetails(object):
104
181
  """
105
182
  self._freeform_tags = freeform_tags
106
183
 
184
+ @property
185
+ def display_name(self):
186
+ """
187
+ Gets the display_name of this UpdateSqlEndpointDetails.
188
+ The SQL Endpoint name, which can be changed.
189
+
190
+
191
+ :return: The display_name of this UpdateSqlEndpointDetails.
192
+ :rtype: str
193
+ """
194
+ return self._display_name
195
+
196
+ @display_name.setter
197
+ def display_name(self, display_name):
198
+ """
199
+ Sets the display_name of this UpdateSqlEndpointDetails.
200
+ The SQL Endpoint name, which can be changed.
201
+
202
+
203
+ :param display_name: The display_name of this UpdateSqlEndpointDetails.
204
+ :type: str
205
+ """
206
+ self._display_name = display_name
207
+
208
+ @property
209
+ def description(self):
210
+ """
211
+ Gets the description of this UpdateSqlEndpointDetails.
212
+ The description of CreateSQLEndpointDetails.
213
+
214
+
215
+ :return: The description of this UpdateSqlEndpointDetails.
216
+ :rtype: str
217
+ """
218
+ return self._description
219
+
220
+ @description.setter
221
+ def description(self, description):
222
+ """
223
+ Sets the description of this UpdateSqlEndpointDetails.
224
+ The description of CreateSQLEndpointDetails.
225
+
226
+
227
+ :param description: The description of this UpdateSqlEndpointDetails.
228
+ :type: str
229
+ """
230
+ self._description = description
231
+
232
+ @property
233
+ def driver_shape(self):
234
+ """
235
+ Gets the driver_shape of this UpdateSqlEndpointDetails.
236
+ The shape of the SQL Endpoint driver instance.
237
+
238
+
239
+ :return: The driver_shape of this UpdateSqlEndpointDetails.
240
+ :rtype: str
241
+ """
242
+ return self._driver_shape
243
+
244
+ @driver_shape.setter
245
+ def driver_shape(self, driver_shape):
246
+ """
247
+ Sets the driver_shape of this UpdateSqlEndpointDetails.
248
+ The shape of the SQL Endpoint driver instance.
249
+
250
+
251
+ :param driver_shape: The driver_shape of this UpdateSqlEndpointDetails.
252
+ :type: str
253
+ """
254
+ self._driver_shape = driver_shape
255
+
256
+ @property
257
+ def driver_shape_config(self):
258
+ """
259
+ Gets the driver_shape_config of this UpdateSqlEndpointDetails.
260
+
261
+ :return: The driver_shape_config of this UpdateSqlEndpointDetails.
262
+ :rtype: oci.data_flow.models.ShapeConfig
263
+ """
264
+ return self._driver_shape_config
265
+
266
+ @driver_shape_config.setter
267
+ def driver_shape_config(self, driver_shape_config):
268
+ """
269
+ Sets the driver_shape_config of this UpdateSqlEndpointDetails.
270
+
271
+ :param driver_shape_config: The driver_shape_config of this UpdateSqlEndpointDetails.
272
+ :type: oci.data_flow.models.ShapeConfig
273
+ """
274
+ self._driver_shape_config = driver_shape_config
275
+
276
+ @property
277
+ def executor_shape(self):
278
+ """
279
+ Gets the executor_shape of this UpdateSqlEndpointDetails.
280
+ The shape of the SQL Endpoint worker instance.
281
+
282
+
283
+ :return: The executor_shape of this UpdateSqlEndpointDetails.
284
+ :rtype: str
285
+ """
286
+ return self._executor_shape
287
+
288
+ @executor_shape.setter
289
+ def executor_shape(self, executor_shape):
290
+ """
291
+ Sets the executor_shape of this UpdateSqlEndpointDetails.
292
+ The shape of the SQL Endpoint worker instance.
293
+
294
+
295
+ :param executor_shape: The executor_shape of this UpdateSqlEndpointDetails.
296
+ :type: str
297
+ """
298
+ self._executor_shape = executor_shape
299
+
300
+ @property
301
+ def executor_shape_config(self):
302
+ """
303
+ Gets the executor_shape_config of this UpdateSqlEndpointDetails.
304
+
305
+ :return: The executor_shape_config of this UpdateSqlEndpointDetails.
306
+ :rtype: oci.data_flow.models.ShapeConfig
307
+ """
308
+ return self._executor_shape_config
309
+
310
+ @executor_shape_config.setter
311
+ def executor_shape_config(self, executor_shape_config):
312
+ """
313
+ Sets the executor_shape_config of this UpdateSqlEndpointDetails.
314
+
315
+ :param executor_shape_config: The executor_shape_config of this UpdateSqlEndpointDetails.
316
+ :type: oci.data_flow.models.ShapeConfig
317
+ """
318
+ self._executor_shape_config = executor_shape_config
319
+
320
+ @property
321
+ def min_executor_count(self):
322
+ """
323
+ Gets the min_executor_count of this UpdateSqlEndpointDetails.
324
+ The minimum number of executors.
325
+
326
+
327
+ :return: The min_executor_count of this UpdateSqlEndpointDetails.
328
+ :rtype: int
329
+ """
330
+ return self._min_executor_count
331
+
332
+ @min_executor_count.setter
333
+ def min_executor_count(self, min_executor_count):
334
+ """
335
+ Sets the min_executor_count of this UpdateSqlEndpointDetails.
336
+ The minimum number of executors.
337
+
338
+
339
+ :param min_executor_count: The min_executor_count of this UpdateSqlEndpointDetails.
340
+ :type: int
341
+ """
342
+ self._min_executor_count = min_executor_count
343
+
344
+ @property
345
+ def max_executor_count(self):
346
+ """
347
+ Gets the max_executor_count of this UpdateSqlEndpointDetails.
348
+ The maximum number of executors.
349
+
350
+
351
+ :return: The max_executor_count of this UpdateSqlEndpointDetails.
352
+ :rtype: int
353
+ """
354
+ return self._max_executor_count
355
+
356
+ @max_executor_count.setter
357
+ def max_executor_count(self, max_executor_count):
358
+ """
359
+ Sets the max_executor_count of this UpdateSqlEndpointDetails.
360
+ The maximum number of executors.
361
+
362
+
363
+ :param max_executor_count: The max_executor_count of this UpdateSqlEndpointDetails.
364
+ :type: int
365
+ """
366
+ self._max_executor_count = max_executor_count
367
+
368
+ @property
369
+ def metastore_id(self):
370
+ """
371
+ Gets the metastore_id of this UpdateSqlEndpointDetails.
372
+ Metastore OCID
373
+
374
+
375
+ :return: The metastore_id of this UpdateSqlEndpointDetails.
376
+ :rtype: str
377
+ """
378
+ return self._metastore_id
379
+
380
+ @metastore_id.setter
381
+ def metastore_id(self, metastore_id):
382
+ """
383
+ Sets the metastore_id of this UpdateSqlEndpointDetails.
384
+ Metastore OCID
385
+
386
+
387
+ :param metastore_id: The metastore_id of this UpdateSqlEndpointDetails.
388
+ :type: str
389
+ """
390
+ self._metastore_id = metastore_id
391
+
392
+ @property
393
+ def lake_id(self):
394
+ """
395
+ Gets the lake_id of this UpdateSqlEndpointDetails.
396
+ OCI lake OCID
397
+
398
+
399
+ :return: The lake_id of this UpdateSqlEndpointDetails.
400
+ :rtype: str
401
+ """
402
+ return self._lake_id
403
+
404
+ @lake_id.setter
405
+ def lake_id(self, lake_id):
406
+ """
407
+ Sets the lake_id of this UpdateSqlEndpointDetails.
408
+ OCI lake OCID
409
+
410
+
411
+ :param lake_id: The lake_id of this UpdateSqlEndpointDetails.
412
+ :type: str
413
+ """
414
+ self._lake_id = lake_id
415
+
416
+ @property
417
+ def spark_advanced_configurations(self):
418
+ """
419
+ Gets the spark_advanced_configurations of this UpdateSqlEndpointDetails.
420
+ The Spark configuration passed to the running process.
421
+ See https://spark.apache.org/docs/latest/configuration.html#available-properties.
422
+ Example: { \"spark.app.name\" : \"My App Name\", \"spark.shuffle.io.maxRetries\" : \"4\" }
423
+ Note: Not all Spark properties are permitted to be set. Attempting to set a property that is
424
+ not allowed to be overwritten will cause a 400 status to be returned.
425
+
426
+
427
+ :return: The spark_advanced_configurations of this UpdateSqlEndpointDetails.
428
+ :rtype: dict(str, str)
429
+ """
430
+ return self._spark_advanced_configurations
431
+
432
+ @spark_advanced_configurations.setter
433
+ def spark_advanced_configurations(self, spark_advanced_configurations):
434
+ """
435
+ Sets the spark_advanced_configurations of this UpdateSqlEndpointDetails.
436
+ The Spark configuration passed to the running process.
437
+ See https://spark.apache.org/docs/latest/configuration.html#available-properties.
438
+ Example: { \"spark.app.name\" : \"My App Name\", \"spark.shuffle.io.maxRetries\" : \"4\" }
439
+ Note: Not all Spark properties are permitted to be set. Attempting to set a property that is
440
+ not allowed to be overwritten will cause a 400 status to be returned.
441
+
442
+
443
+ :param spark_advanced_configurations: The spark_advanced_configurations of this UpdateSqlEndpointDetails.
444
+ :type: dict(str, str)
445
+ """
446
+ self._spark_advanced_configurations = spark_advanced_configurations
447
+
107
448
  def __repr__(self):
108
449
  return formatted_flat_dict(self)
109
450