oci 2.135.1__py3-none-any.whl → 2.135.2__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 (327) 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/autoscaling/auto_scaling_client.py +11 -11
  29. oci/bastion/bastion_client.py +15 -15
  30. oci/bds/bds_client.py +72 -72
  31. oci/blockchain/blockchain_platform_client.py +27 -27
  32. oci/budget/budget_client.py +10 -10
  33. oci/capacity_management/capacity_management_client.py +32 -32
  34. oci/certificates/certificates_client.py +5 -5
  35. oci/certificates_management/certificates_management_client.py +32 -32
  36. oci/cims/incident_client.py +8 -8
  37. oci/cims/user_client.py +1 -1
  38. oci/cloud_bridge/common_client.py +5 -5
  39. oci/cloud_bridge/discovery_client.py +14 -14
  40. oci/cloud_bridge/inventory_client.py +16 -16
  41. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  42. oci/cloud_guard/cloud_guard_client.py +155 -155
  43. oci/cloud_migrations/migration_client.py +43 -43
  44. oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
  45. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  46. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  47. oci/compute_instance_agent/plugin_client.py +2 -2
  48. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  49. oci/container_engine/container_engine_client.py +98 -94
  50. oci/container_engine/models/cluster.py +6 -2
  51. oci/container_engine/models/cluster_summary.py +6 -2
  52. oci/container_engine/models/node.py +6 -2
  53. oci/container_engine/models/node_pool.py +6 -2
  54. oci/container_engine/models/node_pool_summary.py +6 -2
  55. oci/container_engine/models/start_credential_rotation_details.py +2 -2
  56. oci/container_engine/models/work_request.py +7 -3
  57. oci/container_engine/models/work_request_summary.py +7 -3
  58. oci/container_engine/models/workload_mapping.py +35 -2
  59. oci/container_engine/models/workload_mapping_summary.py +35 -2
  60. oci/container_instances/container_instance_client.py +18 -18
  61. oci/core/blockstorage_client.py +60 -60
  62. oci/core/compute_client.py +102 -102
  63. oci/core/compute_management_client.py +32 -32
  64. oci/core/models/__init__.py +2 -0
  65. oci/core/models/launch_attach_paravirtualized_volume_details.py +123 -0
  66. oci/core/models/launch_attach_volume_details.py +4 -0
  67. oci/core/virtual_network_client.py +247 -247
  68. oci/dashboard_service/dashboard_client.py +6 -6
  69. oci/dashboard_service/dashboard_group_client.py +6 -6
  70. oci/data_catalog/data_catalog_client.py +149 -149
  71. oci/data_flow/data_flow_client.py +42 -42
  72. oci/data_integration/data_integration_client.py +163 -163
  73. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  74. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  75. oci/data_safe/data_safe_client.py +292 -292
  76. oci/data_science/data_science_client.py +91 -91
  77. oci/database/database_client.py +396 -396
  78. oci/database/models/cloud_vm_cluster.py +29 -2
  79. oci/database/models/cloud_vm_cluster_summary.py +29 -2
  80. oci/database/models/create_cloud_vm_cluster_details.py +29 -2
  81. oci/database/models/create_vm_cluster_details.py +29 -2
  82. oci/database/models/update_cloud_vm_cluster_details.py +29 -2
  83. oci/database/models/update_vm_cluster_details.py +29 -2
  84. oci/database/models/vm_cluster.py +29 -2
  85. oci/database/models/vm_cluster_summary.py +29 -2
  86. oci/database_management/db_management_client.py +211 -211
  87. oci/database_management/diagnosability_client.py +4 -4
  88. oci/database_management/managed_my_sql_databases_client.py +7 -7
  89. oci/database_management/perfhub_client.py +1 -1
  90. oci/database_management/sql_tuning_client.py +17 -17
  91. oci/database_migration/database_migration_client.py +42 -42
  92. oci/database_tools/database_tools_client.py +23 -23
  93. oci/delegate_access_control/delegate_access_control_client.py +26 -26
  94. oci/delegate_access_control/work_request_client.py +4 -4
  95. oci/demand_signal/occ_demand_signal_client.py +7 -7
  96. oci/desktops/desktop_service_client.py +33 -22
  97. oci/desktops/models/__init__.py +18 -0
  98. oci/desktops/models/create_desktop_pool_desktop_session_lifecycle_actions.py +95 -0
  99. oci/desktops/models/create_desktop_pool_details.py +136 -4
  100. oci/desktops/models/create_desktop_pool_private_access_details.py +142 -0
  101. oci/desktops/models/create_desktop_pool_shape_config_details.py +170 -0
  102. oci/desktops/models/desktop_image.py +33 -2
  103. oci/desktops/models/desktop_network_configuration.py +14 -4
  104. oci/desktops/models/desktop_pool.py +136 -4
  105. oci/desktops/models/desktop_pool_private_access_details.py +212 -0
  106. oci/desktops/models/desktop_pool_shape_config.py +170 -0
  107. oci/desktops/models/desktop_session_lifecycle_actions.py +95 -0
  108. oci/desktops/models/disconnect_config.py +121 -0
  109. oci/desktops/models/inactivity_config.py +121 -0
  110. oci/desktops/models/update_desktop_pool_desktop_session_lifecycle_actions.py +95 -0
  111. oci/desktops/models/update_desktop_pool_details.py +29 -2
  112. oci/devops/devops_client.py +141 -141
  113. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  114. oci/dns/dns_client.py +52 -52
  115. oci/dts/appliance_export_job_client.py +6 -6
  116. oci/dts/shipping_vendors_client.py +1 -1
  117. oci/dts/transfer_appliance_client.py +8 -8
  118. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  119. oci/dts/transfer_device_client.py +5 -5
  120. oci/dts/transfer_job_client.py +6 -6
  121. oci/dts/transfer_package_client.py +7 -7
  122. oci/em_warehouse/em_data_lake_client.py +13 -13
  123. oci/em_warehouse/em_warehouse_client.py +13 -13
  124. oci/email/email_client.py +31 -31
  125. oci/email_data_plane/email_dp_client.py +1 -1
  126. oci/events/events_client.py +6 -6
  127. oci/file_storage/file_storage_client.py +54 -54
  128. oci/fleet_apps_management/fleet_apps_management_admin_client.py +8 -8
  129. oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
  130. oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
  131. oci/fleet_apps_management/fleet_apps_management_operations_client.py +13 -13
  132. oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +4 -4
  133. oci/fleet_software_update/fleet_software_update_client.py +46 -46
  134. oci/functions/functions_invoke_client.py +1 -1
  135. oci/functions/functions_management_client.py +16 -16
  136. oci/fusion_apps/data_masking_activity_client.py +3 -3
  137. oci/fusion_apps/fusion_applications_client.py +42 -42
  138. oci/fusion_apps/fusion_environment_client.py +15 -15
  139. oci/fusion_apps/fusion_environment_family_client.py +8 -8
  140. oci/fusion_apps/models/create_fusion_environment_admin_user_details.py +1 -1
  141. oci/fusion_apps/refresh_activity_client.py +4 -4
  142. oci/fusion_apps/scheduled_activity_client.py +2 -2
  143. oci/fusion_apps/service_attachment_client.py +2 -2
  144. oci/generative_ai/generative_ai_client.py +22 -22
  145. oci/generative_ai_agent/generative_ai_agent_client.py +33 -33
  146. oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +5 -5
  147. oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
  148. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  149. oci/globally_distributed_database/sharded_database_service_client.py +30 -30
  150. oci/golden_gate/golden_gate_client.py +68 -68
  151. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  152. oci/governance_rules_control_plane/work_request_client.py +5 -5
  153. oci/healthchecks/health_checks_client.py +17 -17
  154. oci/identity/identity_client.py +145 -145
  155. oci/identity_data_plane/dataplane_client.py +2 -2
  156. oci/identity_domains/identity_domains_client.py +307 -307
  157. oci/integration/integration_instance_client.py +19 -19
  158. oci/jms/java_management_service_client.py +75 -75
  159. oci/jms_java_downloads/java_download_client.py +25 -25
  160. oci/key_management/ekm_client.py +5 -5
  161. oci/key_management/kms_crypto_client.py +6 -6
  162. oci/key_management/kms_hsm_cluster_client.py +12 -12
  163. oci/key_management/kms_management_client.py +21 -21
  164. oci/key_management/kms_vault_client.py +14 -14
  165. oci/license_manager/license_manager_client.py +18 -18
  166. oci/limits/limits_client.py +4 -4
  167. oci/limits/quotas_client.py +7 -7
  168. oci/load_balancer/load_balancer_client.py +61 -61
  169. oci/load_balancer/models/connection_configuration.py +47 -2
  170. oci/lockbox/lockbox_client.py +24 -24
  171. oci/log_analytics/log_analytics_client.py +193 -193
  172. oci/logging/logging_management_client.py +30 -30
  173. oci/loggingingestion/logging_client.py +1 -1
  174. oci/loggingsearch/log_search_client.py +1 -1
  175. oci/management_agent/management_agent_client.py +28 -28
  176. oci/management_dashboard/dashx_apis_client.py +14 -14
  177. oci/marketplace/account_client.py +2 -2
  178. oci/marketplace/marketplace_client.py +30 -30
  179. oci/marketplace_private_offer/attachment_client.py +5 -5
  180. oci/marketplace_private_offer/offer_client.py +6 -6
  181. oci/marketplace_publisher/attachment_client.py +5 -5
  182. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  183. oci/marketplace_publisher/offer_client.py +6 -6
  184. oci/media_services/media_services_client.py +60 -60
  185. oci/media_services/media_stream_client.py +2 -2
  186. oci/monitoring/monitoring_client.py +18 -18
  187. oci/mysql/channels_client.py +7 -7
  188. oci/mysql/db_backups_client.py +7 -7
  189. oci/mysql/db_system_client.py +17 -17
  190. oci/mysql/mysqlaas_client.py +7 -7
  191. oci/mysql/replicas_client.py +5 -5
  192. oci/mysql/work_requests_client.py +4 -4
  193. oci/network_firewall/network_firewall_client.py +86 -86
  194. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  195. oci/nosql/nosql_client.py +24 -24
  196. oci/object_storage/object_storage_client.py +55 -55
  197. oci/oce/oce_instance_client.py +10 -10
  198. oci/oci_control_center/occ_metrics_client.py +3 -3
  199. oci/ocvp/cluster_client.py +5 -5
  200. oci/ocvp/esxi_host_client.py +8 -8
  201. oci/ocvp/sddc_client.py +14 -14
  202. oci/ocvp/work_request_client.py +4 -4
  203. oci/oda/management_client.py +59 -59
  204. oci/oda/oda_client.py +17 -17
  205. oci/oda/odapackage_client.py +7 -7
  206. oci/onesubscription/billing_schedule_client.py +1 -1
  207. oci/onesubscription/commitment_client.py +2 -2
  208. oci/onesubscription/computed_usage_client.py +3 -3
  209. oci/onesubscription/invoice_summary_client.py +2 -2
  210. oci/onesubscription/organization_subscription_client.py +1 -1
  211. oci/onesubscription/ratecard_client.py +1 -1
  212. oci/onesubscription/subscribed_service_client.py +2 -2
  213. oci/onesubscription/subscription_client.py +1 -1
  214. oci/ons/notification_control_plane_client.py +6 -6
  215. oci/ons/notification_data_plane_client.py +10 -10
  216. oci/opa/opa_instance_client.py +13 -13
  217. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  218. oci/opensearch/opensearch_cluster_client.py +14 -14
  219. oci/operator_access_control/access_requests_client.py +10 -10
  220. oci/operator_access_control/operator_actions_client.py +2 -2
  221. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  222. oci/operator_access_control/operator_control_client.py +6 -6
  223. oci/opsi/models/__init__.py +6 -0
  224. oci/opsi/models/create_autonomous_database_insight_details.py +291 -0
  225. oci/opsi/models/create_database_insight_details.py +4 -0
  226. oci/opsi/models/credential_by_iam.py +58 -0
  227. oci/opsi/models/credential_by_vault.py +1 -1
  228. oci/opsi/models/credential_details.py +13 -5
  229. oci/opsi/models/credentials_by_source.py +1 -1
  230. oci/opsi/models/enable_autonomous_database_insight_details.py +301 -0
  231. oci/opsi/models/enable_database_insight_details.py +4 -0
  232. oci/opsi/operations_insights_client.py +179 -179
  233. oci/optimizer/optimizer_client.py +26 -26
  234. oci/os_management/event_client.py +8 -8
  235. oci/os_management/os_management_client.py +69 -69
  236. oci/os_management_hub/event_client.py +8 -8
  237. oci/os_management_hub/lifecycle_environment_client.py +12 -12
  238. oci/os_management_hub/managed_instance_client.py +31 -31
  239. oci/os_management_hub/managed_instance_group_client.py +25 -25
  240. oci/os_management_hub/management_station_client.py +10 -10
  241. oci/os_management_hub/onboarding_client.py +6 -6
  242. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  243. oci/os_management_hub/scheduled_job_client.py +7 -7
  244. oci/os_management_hub/software_source_client.py +27 -27
  245. oci/os_management_hub/work_request_client.py +4 -4
  246. oci/osp_gateway/address_rule_service_client.py +1 -1
  247. oci/osp_gateway/address_service_client.py +2 -2
  248. oci/osp_gateway/invoice_service_client.py +5 -5
  249. oci/osp_gateway/subscription_service_client.py +5 -5
  250. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  251. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  252. oci/osub_subscription/commitment_client.py +2 -2
  253. oci/osub_subscription/ratecard_client.py +1 -1
  254. oci/osub_subscription/subscription_client.py +1 -1
  255. oci/osub_usage/computed_usage_client.py +3 -3
  256. oci/psql/postgresql_client.py +33 -33
  257. oci/queue/queue_admin_client.py +11 -11
  258. oci/queue/queue_client.py +8 -8
  259. oci/recovery/database_recovery_client.py +26 -26
  260. oci/redis/redis_cluster_client.py +12 -12
  261. oci/resource_manager/resource_manager_client.py +52 -52
  262. oci/resource_scheduler/schedule_client.py +13 -13
  263. oci/resource_search/resource_search_client.py +3 -3
  264. oci/rover/rover_bundle_client.py +8 -8
  265. oci/rover/rover_cluster_client.py +8 -8
  266. oci/rover/rover_entitlement_client.py +6 -6
  267. oci/rover/rover_node_client.py +15 -15
  268. oci/rover/shape_client.py +1 -1
  269. oci/rover/work_requests_client.py +5 -5
  270. oci/sch/connector_plugins_client.py +2 -2
  271. oci/sch/service_connector_client.py +12 -12
  272. oci/secrets/secrets_client.py +3 -3
  273. oci/security_attribute/security_attribute_client.py +18 -18
  274. oci/service_catalog/service_catalog_client.py +26 -26
  275. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  276. oci/service_mesh/service_mesh_client.py +48 -48
  277. oci/stack_monitoring/models/__init__.py +20 -0
  278. oci/stack_monitoring/models/create_maintenance_window_details.py +196 -0
  279. oci/stack_monitoring/models/create_maintenance_window_resource_details.py +111 -0
  280. oci/stack_monitoring/models/maintenance_window.py +439 -0
  281. oci/stack_monitoring/models/maintenance_window_collection.py +72 -0
  282. oci/stack_monitoring/models/maintenance_window_schedule.py +109 -0
  283. oci/stack_monitoring/models/maintenance_window_summary.py +519 -0
  284. oci/stack_monitoring/models/monitored_resource_details.py +171 -0
  285. oci/stack_monitoring/models/one_time_maintenance_window_schedule.py +113 -0
  286. oci/stack_monitoring/models/recurrent_maintenance_window_schedule.py +191 -0
  287. oci/stack_monitoring/models/update_maintenance_window_details.py +130 -0
  288. oci/stack_monitoring/models/work_request.py +19 -3
  289. oci/stack_monitoring/models/work_request_summary.py +19 -3
  290. oci/stack_monitoring/stack_monitoring_client.py +921 -113
  291. oci/stack_monitoring/stack_monitoring_client_composite_operations.py +214 -0
  292. oci/streaming/stream_admin_client.py +18 -18
  293. oci/streaming/stream_client.py +8 -8
  294. oci/tenant_manager_control_plane/domain_client.py +5 -5
  295. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  296. oci/tenant_manager_control_plane/governance_client.py +2 -2
  297. oci/tenant_manager_control_plane/link_client.py +3 -3
  298. oci/tenant_manager_control_plane/orders_client.py +2 -2
  299. oci/tenant_manager_control_plane/organization_client.py +10 -10
  300. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  301. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  302. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  303. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  304. oci/threat_intelligence/threatintel_client.py +5 -5
  305. oci/usage/resources_client.py +2 -2
  306. oci/usage/rewards_client.py +6 -6
  307. oci/usage/usagelimits_client.py +1 -1
  308. oci/usage_api/usageapi_client.py +33 -33
  309. oci/vault/vaults_client.py +13 -13
  310. oci/vbs_inst/vbs_instance_client.py +10 -10
  311. oci/version.py +1 -1
  312. oci/visual_builder/vb_instance_client.py +13 -13
  313. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  314. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  315. oci/waa/waa_client.py +13 -13
  316. oci/waa/work_request_client.py +4 -4
  317. oci/waas/redirect_client.py +6 -6
  318. oci/waas/waas_client.py +66 -66
  319. oci/waf/waf_client.py +24 -24
  320. oci/work_requests/work_request_client.py +4 -4
  321. oci/zpr/zpr_client.py +16 -17
  322. {oci-2.135.1.dist-info → oci-2.135.2.dist-info}/METADATA +2 -2
  323. {oci-2.135.1.dist-info → oci-2.135.2.dist-info}/RECORD +327 -304
  324. {oci-2.135.1.dist-info → oci-2.135.2.dist-info}/LICENSE.txt +0 -0
  325. {oci-2.135.1.dist-info → oci-2.135.2.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  326. {oci-2.135.1.dist-info → oci-2.135.2.dist-info}/WHEEL +0 -0
  327. {oci-2.135.1.dist-info → oci-2.135.2.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,121 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
3
+ # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
+
5
+ # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20220618
6
+
7
+
8
+ from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
9
+ from oci.decorators import init_model_state_from_kwargs
10
+
11
+
12
+ @init_model_state_from_kwargs
13
+ class InactivityConfig(object):
14
+ """
15
+ Action and grace period for inactivity
16
+ """
17
+
18
+ #: A constant which can be used with the action property of a InactivityConfig.
19
+ #: This constant has a value of "NONE"
20
+ ACTION_NONE = "NONE"
21
+
22
+ #: A constant which can be used with the action property of a InactivityConfig.
23
+ #: This constant has a value of "DISCONNECT"
24
+ ACTION_DISCONNECT = "DISCONNECT"
25
+
26
+ def __init__(self, **kwargs):
27
+ """
28
+ Initializes a new InactivityConfig object with values from keyword arguments.
29
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
30
+
31
+ :param action:
32
+ The value to assign to the action property of this InactivityConfig.
33
+ Allowed values for this property are: "NONE", "DISCONNECT", 'UNKNOWN_ENUM_VALUE'.
34
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
35
+ :type action: str
36
+
37
+ :param grace_period_in_minutes:
38
+ The value to assign to the grace_period_in_minutes property of this InactivityConfig.
39
+ :type grace_period_in_minutes: int
40
+
41
+ """
42
+ self.swagger_types = {
43
+ 'action': 'str',
44
+ 'grace_period_in_minutes': 'int'
45
+ }
46
+
47
+ self.attribute_map = {
48
+ 'action': 'action',
49
+ 'grace_period_in_minutes': 'gracePeriodInMinutes'
50
+ }
51
+
52
+ self._action = None
53
+ self._grace_period_in_minutes = None
54
+
55
+ @property
56
+ def action(self):
57
+ """
58
+ **[Required]** Gets the action of this InactivityConfig.
59
+ an inactivity action to be triggered
60
+
61
+ Allowed values for this property are: "NONE", "DISCONNECT", 'UNKNOWN_ENUM_VALUE'.
62
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
63
+
64
+
65
+ :return: The action of this InactivityConfig.
66
+ :rtype: str
67
+ """
68
+ return self._action
69
+
70
+ @action.setter
71
+ def action(self, action):
72
+ """
73
+ Sets the action of this InactivityConfig.
74
+ an inactivity action to be triggered
75
+
76
+
77
+ :param action: The action of this InactivityConfig.
78
+ :type: str
79
+ """
80
+ allowed_values = ["NONE", "DISCONNECT"]
81
+ if not value_allowed_none_or_none_sentinel(action, allowed_values):
82
+ action = 'UNKNOWN_ENUM_VALUE'
83
+ self._action = action
84
+
85
+ @property
86
+ def grace_period_in_minutes(self):
87
+ """
88
+ Gets the grace_period_in_minutes of this InactivityConfig.
89
+ The period of time (in minutes) during which the session must remain inactive before any action occurs.
90
+ If the value is not provided, a default value is used.
91
+
92
+
93
+ :return: The grace_period_in_minutes of this InactivityConfig.
94
+ :rtype: int
95
+ """
96
+ return self._grace_period_in_minutes
97
+
98
+ @grace_period_in_minutes.setter
99
+ def grace_period_in_minutes(self, grace_period_in_minutes):
100
+ """
101
+ Sets the grace_period_in_minutes of this InactivityConfig.
102
+ The period of time (in minutes) during which the session must remain inactive before any action occurs.
103
+ If the value is not provided, a default value is used.
104
+
105
+
106
+ :param grace_period_in_minutes: The grace_period_in_minutes of this InactivityConfig.
107
+ :type: int
108
+ """
109
+ self._grace_period_in_minutes = grace_period_in_minutes
110
+
111
+ def __repr__(self):
112
+ return formatted_flat_dict(self)
113
+
114
+ def __eq__(self, other):
115
+ if other is None:
116
+ return False
117
+
118
+ return self.__dict__ == other.__dict__
119
+
120
+ def __ne__(self, other):
121
+ return not self == other
@@ -0,0 +1,95 @@
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: 20220618
6
+
7
+
8
+ from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
9
+ from oci.decorators import init_model_state_from_kwargs
10
+
11
+
12
+ @init_model_state_from_kwargs
13
+ class UpdateDesktopPoolDesktopSessionLifecycleActions(object):
14
+ """
15
+ The update details of action to be triggered in case of inactivity or disconnect
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new UpdateDesktopPoolDesktopSessionLifecycleActions object with values from keyword arguments.
21
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
22
+
23
+ :param inactivity:
24
+ The value to assign to the inactivity property of this UpdateDesktopPoolDesktopSessionLifecycleActions.
25
+ :type inactivity: oci.desktops.models.InactivityConfig
26
+
27
+ :param disconnect:
28
+ The value to assign to the disconnect property of this UpdateDesktopPoolDesktopSessionLifecycleActions.
29
+ :type disconnect: oci.desktops.models.DisconnectConfig
30
+
31
+ """
32
+ self.swagger_types = {
33
+ 'inactivity': 'InactivityConfig',
34
+ 'disconnect': 'DisconnectConfig'
35
+ }
36
+
37
+ self.attribute_map = {
38
+ 'inactivity': 'inactivity',
39
+ 'disconnect': 'disconnect'
40
+ }
41
+
42
+ self._inactivity = None
43
+ self._disconnect = None
44
+
45
+ @property
46
+ def inactivity(self):
47
+ """
48
+ Gets the inactivity of this UpdateDesktopPoolDesktopSessionLifecycleActions.
49
+
50
+ :return: The inactivity of this UpdateDesktopPoolDesktopSessionLifecycleActions.
51
+ :rtype: oci.desktops.models.InactivityConfig
52
+ """
53
+ return self._inactivity
54
+
55
+ @inactivity.setter
56
+ def inactivity(self, inactivity):
57
+ """
58
+ Sets the inactivity of this UpdateDesktopPoolDesktopSessionLifecycleActions.
59
+
60
+ :param inactivity: The inactivity of this UpdateDesktopPoolDesktopSessionLifecycleActions.
61
+ :type: oci.desktops.models.InactivityConfig
62
+ """
63
+ self._inactivity = inactivity
64
+
65
+ @property
66
+ def disconnect(self):
67
+ """
68
+ Gets the disconnect of this UpdateDesktopPoolDesktopSessionLifecycleActions.
69
+
70
+ :return: The disconnect of this UpdateDesktopPoolDesktopSessionLifecycleActions.
71
+ :rtype: oci.desktops.models.DisconnectConfig
72
+ """
73
+ return self._disconnect
74
+
75
+ @disconnect.setter
76
+ def disconnect(self, disconnect):
77
+ """
78
+ Sets the disconnect of this UpdateDesktopPoolDesktopSessionLifecycleActions.
79
+
80
+ :param disconnect: The disconnect of this UpdateDesktopPoolDesktopSessionLifecycleActions.
81
+ :type: oci.desktops.models.DisconnectConfig
82
+ """
83
+ self._disconnect = disconnect
84
+
85
+ def __repr__(self):
86
+ return formatted_flat_dict(self)
87
+
88
+ def __eq__(self, other):
89
+ if other is None:
90
+ return False
91
+
92
+ return self.__dict__ == other.__dict__
93
+
94
+ def __ne__(self, other):
95
+ return not self == other
@@ -64,6 +64,10 @@ class UpdateDesktopPoolDetails(object):
64
64
  The value to assign to the defined_tags property of this UpdateDesktopPoolDetails.
65
65
  :type defined_tags: dict(str, dict(str, object))
66
66
 
67
+ :param session_lifecycle_actions:
68
+ The value to assign to the session_lifecycle_actions property of this UpdateDesktopPoolDetails.
69
+ :type session_lifecycle_actions: oci.desktops.models.UpdateDesktopPoolDesktopSessionLifecycleActions
70
+
67
71
  """
68
72
  self.swagger_types = {
69
73
  'display_name': 'str',
@@ -76,7 +80,8 @@ class UpdateDesktopPoolDetails(object):
76
80
  'time_start_scheduled': 'datetime',
77
81
  'time_stop_scheduled': 'datetime',
78
82
  'freeform_tags': 'dict(str, str)',
79
- 'defined_tags': 'dict(str, dict(str, object))'
83
+ 'defined_tags': 'dict(str, dict(str, object))',
84
+ 'session_lifecycle_actions': 'UpdateDesktopPoolDesktopSessionLifecycleActions'
80
85
  }
81
86
 
82
87
  self.attribute_map = {
@@ -90,7 +95,8 @@ class UpdateDesktopPoolDetails(object):
90
95
  'time_start_scheduled': 'timeStartScheduled',
91
96
  'time_stop_scheduled': 'timeStopScheduled',
92
97
  'freeform_tags': 'freeformTags',
93
- 'defined_tags': 'definedTags'
98
+ 'defined_tags': 'definedTags',
99
+ 'session_lifecycle_actions': 'sessionLifecycleActions'
94
100
  }
95
101
 
96
102
  self._display_name = None
@@ -104,6 +110,7 @@ class UpdateDesktopPoolDetails(object):
104
110
  self._time_stop_scheduled = None
105
111
  self._freeform_tags = None
106
112
  self._defined_tags = None
113
+ self._session_lifecycle_actions = None
107
114
 
108
115
  @property
109
116
  def display_name(self):
@@ -379,6 +386,26 @@ class UpdateDesktopPoolDetails(object):
379
386
  """
380
387
  self._defined_tags = defined_tags
381
388
 
389
+ @property
390
+ def session_lifecycle_actions(self):
391
+ """
392
+ Gets the session_lifecycle_actions of this UpdateDesktopPoolDetails.
393
+
394
+ :return: The session_lifecycle_actions of this UpdateDesktopPoolDetails.
395
+ :rtype: oci.desktops.models.UpdateDesktopPoolDesktopSessionLifecycleActions
396
+ """
397
+ return self._session_lifecycle_actions
398
+
399
+ @session_lifecycle_actions.setter
400
+ def session_lifecycle_actions(self, session_lifecycle_actions):
401
+ """
402
+ Sets the session_lifecycle_actions of this UpdateDesktopPoolDetails.
403
+
404
+ :param session_lifecycle_actions: The session_lifecycle_actions of this UpdateDesktopPoolDetails.
405
+ :type: oci.desktops.models.UpdateDesktopPoolDesktopSessionLifecycleActions
406
+ """
407
+ self._session_lifecycle_actions = session_lifecycle_actions
408
+
382
409
  def __repr__(self):
383
410
  return formatted_flat_dict(self)
384
411