oci 2.121.1__py3-none-any.whl → 2.123.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 (564) 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 +68 -53
  7. oci/ai_language/models/__init__.py +0 -2
  8. oci/ai_language/models/batch_detect_dominant_language_details.py +101 -0
  9. oci/ai_language/models/batch_detect_language_key_phrases_details.py +31 -0
  10. oci/ai_language/models/batch_detect_language_pii_entities_details.py +31 -0
  11. oci/ai_language/models/batch_detect_language_sentiments_details.py +31 -0
  12. oci/ai_language/models/batch_language_translation_details.py +62 -48
  13. oci/ai_language/models/endpoint.py +4 -4
  14. oci/ai_language/models/endpoint_summary.py +4 -4
  15. oci/ai_language/models/model.py +6 -6
  16. oci/ai_language/models/model_details.py +0 -4
  17. oci/ai_language/models/model_summary.py +8 -8
  18. oci/ai_language/models/project.py +4 -4
  19. oci/ai_language/models/project_summary.py +4 -4
  20. oci/ai_language/models/translation_document_result.py +12 -100
  21. oci/ai_speech/ai_service_speech_client.py +9 -9
  22. oci/ai_vision/ai_service_vision_client.py +25 -25
  23. oci/analytics/analytics_client.py +23 -23
  24. oci/announcements_service/announcement_client.py +4 -4
  25. oci/announcements_service/announcement_subscription_client.py +9 -9
  26. oci/announcements_service/announcements_preferences_client.py +4 -4
  27. oci/apigateway/api_gateway_client.py +21 -21
  28. oci/apigateway/deployment_client.py +6 -6
  29. oci/apigateway/gateway_client.py +6 -6
  30. oci/apigateway/subscribers_client.py +6 -6
  31. oci/apigateway/usage_plans_client.py +6 -6
  32. oci/apigateway/work_requests_client.py +5 -5
  33. oci/apm_config/config_client.py +8 -8
  34. oci/apm_control_plane/apm_domain_client.py +14 -14
  35. oci/apm_synthetics/apm_synthetic_client.py +28 -28
  36. oci/apm_traces/query_client.py +2 -2
  37. oci/apm_traces/trace_client.py +4 -4
  38. oci/application_migration/application_migration_client.py +19 -19
  39. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  40. oci/artifacts/artifacts_client.py +32 -32
  41. oci/audit/audit_client.py +3 -3
  42. oci/autoscaling/auto_scaling_client.py +11 -11
  43. oci/bastion/bastion_client.py +15 -15
  44. oci/bds/bds_client.py +51 -51
  45. oci/blockchain/blockchain_platform_client.py +27 -27
  46. oci/budget/budget_client.py +10 -10
  47. oci/capacity_management/capacity_management_client.py +19 -19
  48. oci/certificates/certificates_client.py +5 -5
  49. oci/certificates_management/certificates_management_client.py +32 -32
  50. oci/cims/incident_client.py +8 -8
  51. oci/cims/user_client.py +1 -1
  52. oci/cloud_bridge/common_client.py +5 -5
  53. oci/cloud_bridge/discovery_client.py +14 -14
  54. oci/cloud_bridge/inventory_client.py +16 -16
  55. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  56. oci/cloud_guard/cloud_guard_client.py +133 -133
  57. oci/cloud_migrations/migration_client.py +43 -43
  58. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  59. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  60. oci/compute_instance_agent/plugin_client.py +2 -2
  61. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  62. oci/container_engine/container_engine_client.py +44 -44
  63. oci/container_instances/container_instance_client.py +31 -19
  64. oci/core/blockstorage_client.py +60 -60
  65. oci/core/compute_client.py +111 -101
  66. oci/core/compute_management_client.py +32 -32
  67. oci/core/models/__init__.py +14 -0
  68. oci/core/models/amd_vm_launch_instance_platform_config.py +45 -2
  69. oci/core/models/amd_vm_platform_config.py +45 -2
  70. oci/core/models/amd_vm_update_instance_platform_config.py +94 -0
  71. oci/core/models/attach_volume_details.py +6 -4
  72. oci/core/models/instance_configuration_amd_vm_launch_instance_platform_config.py +45 -2
  73. oci/core/models/instance_configuration_intel_vm_launch_instance_platform_config.py +45 -2
  74. oci/core/models/intel_vm_launch_instance_platform_config.py +45 -2
  75. oci/core/models/intel_vm_platform_config.py +45 -2
  76. oci/core/models/intel_vm_update_instance_platform_config.py +94 -0
  77. oci/core/models/launch_attach_i_scsi_volume_details.py +203 -0
  78. oci/core/models/launch_attach_volume_details.py +279 -0
  79. oci/core/models/launch_create_volume_details.py +101 -0
  80. oci/core/models/launch_create_volume_from_attributes.py +240 -0
  81. oci/core/models/launch_instance_details.py +31 -0
  82. oci/core/models/update_instance_details.py +29 -2
  83. oci/core/models/update_instance_platform_config.py +109 -0
  84. oci/core/virtual_network_client.py +242 -242
  85. oci/dashboard_service/dashboard_client.py +6 -6
  86. oci/dashboard_service/dashboard_group_client.py +6 -6
  87. oci/data_catalog/data_catalog_client.py +287 -153
  88. oci/data_catalog/models/__init__.py +4 -0
  89. oci/data_catalog/models/asynchronous_export_data_asset_details.py +99 -0
  90. oci/data_catalog/models/asynchronous_export_data_asset_result.py +196 -0
  91. oci/data_catalog/models/create_job_definition_details.py +7 -3
  92. oci/data_catalog/models/create_job_execution_details.py +7 -3
  93. oci/data_catalog/models/job.py +7 -3
  94. oci/data_catalog/models/job_definition.py +7 -3
  95. oci/data_catalog/models/job_definition_summary.py +7 -3
  96. oci/data_catalog/models/job_execution.py +7 -3
  97. oci/data_catalog/models/job_execution_summary.py +7 -3
  98. oci/data_catalog/models/job_summary.py +7 -3
  99. oci/data_flow/data_flow_client.py +42 -42
  100. oci/data_integration/data_integration_client.py +163 -163
  101. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  102. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  103. oci/data_safe/data_safe_client.py +272 -272
  104. oci/data_science/data_science_client.py +91 -91
  105. oci/data_science/models/__init__.py +4 -0
  106. oci/data_science/models/create_job_details.py +27 -0
  107. oci/data_science/models/create_job_run_details.py +27 -0
  108. oci/data_science/models/data_science_private_endpoint.py +33 -0
  109. oci/data_science/models/data_science_private_endpoint_summary.py +33 -0
  110. oci/data_science/models/job.py +27 -0
  111. oci/data_science/models/job_environment_configuration_details.py +101 -0
  112. oci/data_science/models/job_run.py +27 -0
  113. oci/data_science/models/model_version_set.py +35 -2
  114. oci/data_science/models/model_version_set_summary.py +35 -2
  115. oci/data_science/models/ocir_container_job_environment_configuration_details.py +234 -0
  116. oci/data_science/models/project.py +35 -2
  117. oci/data_science/models/project_summary.py +35 -2
  118. oci/database/database_client.py +351 -344
  119. oci/database/models/__init__.py +2 -2
  120. oci/database/models/autonomous_container_database.py +24 -30
  121. oci/database/models/autonomous_container_database_dataguard_association.py +37 -13
  122. oci/database/models/autonomous_container_database_resource_usage.py +6 -6
  123. oci/database/models/autonomous_container_database_summary.py +24 -30
  124. oci/database/models/autonomous_database.py +52 -71
  125. oci/database/models/autonomous_database_backup.py +6 -6
  126. oci/database/models/autonomous_database_backup_summary.py +6 -6
  127. oci/database/models/autonomous_database_dataguard_association.py +63 -11
  128. oci/database/models/autonomous_database_key_history_entry.py +4 -4
  129. oci/database/models/autonomous_database_summary.py +52 -71
  130. oci/database/models/autonomous_db_preview_version_summary.py +1 -1
  131. oci/database/models/autonomous_vm_cluster.py +14 -14
  132. oci/database/models/autonomous_vm_cluster_summary.py +14 -14
  133. oci/database/models/backup.py +6 -6
  134. oci/database/models/backup_summary.py +6 -6
  135. oci/database/models/cloud_autonomous_vm_cluster.py +16 -16
  136. oci/database/models/cloud_autonomous_vm_cluster_summary.py +16 -16
  137. oci/database/models/cloud_exadata_infrastructure.py +72 -0
  138. oci/database/models/cloud_exadata_infrastructure_summary.py +72 -0
  139. oci/database/models/cloud_vm_cluster.py +37 -0
  140. oci/database/models/cloud_vm_cluster_summary.py +37 -0
  141. oci/database/models/compute_performance_summary.py +2 -2
  142. oci/database/models/configure_autonomous_database_vault_key_details.py +2 -2
  143. oci/database/models/create_autonomous_container_database_dataguard_association_details.py +67 -1
  144. oci/database/models/create_autonomous_container_database_details.py +6 -6
  145. oci/database/models/create_autonomous_database_base.py +51 -68
  146. oci/database/models/create_autonomous_database_clone_details.py +0 -7
  147. oci/database/models/create_autonomous_database_details.py +0 -7
  148. oci/database/models/create_autonomous_database_from_backup_details.py +0 -7
  149. oci/database/models/create_autonomous_database_from_backup_timestamp_details.py +0 -7
  150. oci/database/models/create_autonomous_vm_cluster_details.py +2 -2
  151. oci/database/models/create_cloud_autonomous_vm_cluster_details.py +6 -6
  152. oci/database/models/create_cloud_exadata_infrastructure_details.py +35 -0
  153. oci/database/models/create_cross_region_autonomous_database_data_guard_details.py +0 -7
  154. oci/database/models/create_cross_region_disaster_recovery_details.py +0 -7
  155. oci/database/models/create_data_guard_association_with_new_db_system_details.py +4 -4
  156. oci/database/models/create_database_base.py +2 -2
  157. oci/database/models/create_database_details.py +4 -4
  158. oci/database/models/create_db_home_base.py +2 -2
  159. oci/database/models/create_refreshable_autonomous_database_clone_details.py +0 -7
  160. oci/database/models/database.py +6 -6
  161. oci/database/models/database_connection_credentials.py +4 -4
  162. oci/database/models/{database_connection_credentails_by_name.py → database_connection_credentials_by_name.py} +8 -8
  163. oci/database/models/database_summary.py +6 -6
  164. oci/database/models/key_store_type_from_oracle_key_vault_details.py +2 -2
  165. oci/database/models/launch_db_system_base.py +2 -2
  166. oci/database/models/migrate_vault_key_details.py +4 -4
  167. oci/database/models/update_autonomous_database_details.py +45 -66
  168. oci/database/models/update_autonomous_vm_cluster_details.py +6 -6
  169. oci/database/models/update_cloud_autonomous_vm_cluster_details.py +10 -10
  170. oci/database_management/db_management_client.py +832 -198
  171. oci/database_management/db_management_client_composite_operations.py +188 -0
  172. oci/database_management/diagnosability_client.py +4 -4
  173. oci/database_management/managed_my_sql_databases_client.py +6 -6
  174. oci/database_management/models/__init__.py +10 -0
  175. oci/database_management/models/child_database.py +80 -2
  176. oci/database_management/models/create_db_management_private_endpoint_details.py +80 -2
  177. oci/database_management/models/create_external_db_system_details.py +80 -2
  178. oci/database_management/models/create_external_db_system_discovery_details.py +80 -2
  179. oci/database_management/models/create_external_db_system_macs_connector_details.py +80 -2
  180. oci/database_management/models/create_external_exadata_infrastructure_details.py +80 -2
  181. oci/database_management/models/create_external_exadata_storage_connector_details.py +80 -2
  182. oci/database_management/models/create_managed_database_group_details.py +80 -2
  183. oci/database_management/models/create_named_credential_details.py +80 -2
  184. oci/database_management/models/create_sql_job_details.py +80 -2
  185. oci/database_management/models/db_management_private_endpoint.py +80 -2
  186. oci/database_management/models/db_management_private_endpoint_summary.py +80 -2
  187. oci/database_management/models/external_asm.py +80 -2
  188. oci/database_management/models/external_asm_instance.py +80 -2
  189. oci/database_management/models/external_asm_instance_summary.py +80 -2
  190. oci/database_management/models/external_asm_summary.py +80 -2
  191. oci/database_management/models/external_cluster.py +80 -2
  192. oci/database_management/models/external_cluster_instance.py +80 -2
  193. oci/database_management/models/external_cluster_instance_summary.py +80 -2
  194. oci/database_management/models/external_cluster_summary.py +80 -2
  195. oci/database_management/models/external_database_summary.py +80 -2
  196. oci/database_management/models/external_db_home.py +80 -2
  197. oci/database_management/models/external_db_home_summary.py +80 -2
  198. oci/database_management/models/external_db_node.py +80 -2
  199. oci/database_management/models/external_db_node_summary.py +80 -2
  200. oci/database_management/models/external_db_system.py +80 -2
  201. oci/database_management/models/external_db_system_connector_summary.py +80 -2
  202. oci/database_management/models/external_db_system_discovery.py +80 -2
  203. oci/database_management/models/external_db_system_discovery_summary.py +80 -2
  204. oci/database_management/models/external_db_system_macs_connector.py +80 -2
  205. oci/database_management/models/external_db_system_summary.py +80 -2
  206. oci/database_management/models/external_exadata_infrastructure.py +80 -2
  207. oci/database_management/models/external_exadata_infrastructure_summary.py +80 -2
  208. oci/database_management/models/external_exadata_storage_connector.py +80 -2
  209. oci/database_management/models/external_exadata_storage_connector_summary.py +80 -2
  210. oci/database_management/models/external_exadata_storage_grid.py +80 -2
  211. oci/database_management/models/external_exadata_storage_server.py +80 -2
  212. oci/database_management/models/external_exadata_storage_server_summary.py +80 -2
  213. oci/database_management/models/external_listener.py +80 -2
  214. oci/database_management/models/external_listener_summary.py +80 -2
  215. oci/database_management/models/job_summary.py +80 -2
  216. oci/database_management/models/managed_database.py +111 -2
  217. oci/database_management/models/managed_database_group.py +80 -2
  218. oci/database_management/models/managed_database_group_summary.py +80 -2
  219. oci/database_management/models/managed_database_summary.py +111 -2
  220. oci/database_management/models/named_credential.py +80 -2
  221. oci/database_management/models/named_credential_summary.py +80 -2
  222. oci/database_management/models/sql_job.py +80 -2
  223. oci/database_management/models/update_db_management_private_endpoint_details.py +80 -2
  224. oci/database_management/models/update_external_asm_details.py +80 -2
  225. oci/database_management/models/update_external_asm_instance_details.py +119 -0
  226. oci/database_management/models/update_external_cluster_details.py +80 -2
  227. oci/database_management/models/update_external_cluster_instance_details.py +80 -2
  228. oci/database_management/models/update_external_db_home_details.py +119 -0
  229. oci/database_management/models/update_external_db_node_details.py +80 -2
  230. oci/database_management/models/update_external_db_system_details.py +80 -2
  231. oci/database_management/models/update_external_db_system_discovery_details.py +80 -2
  232. oci/database_management/models/update_external_db_system_macs_connector_details.py +80 -2
  233. oci/database_management/models/update_external_exadata_infrastructure_details.py +80 -2
  234. oci/database_management/models/update_external_exadata_storage_connector_details.py +80 -2
  235. oci/database_management/models/update_external_exadata_storage_grid_details.py +119 -0
  236. oci/database_management/models/update_external_exadata_storage_server_details.py +119 -0
  237. oci/database_management/models/update_external_listener_details.py +80 -2
  238. oci/database_management/models/update_managed_database_details.py +119 -0
  239. oci/database_management/models/update_managed_database_group_details.py +80 -2
  240. oci/database_management/models/update_named_credential_details.py +80 -2
  241. oci/database_management/models/update_sql_job_details.py +80 -2
  242. oci/database_management/perfhub_client.py +1 -1
  243. oci/database_management/sql_tuning_client.py +17 -17
  244. oci/database_migration/database_migration_client.py +41 -41
  245. oci/database_tools/database_tools_client.py +23 -23
  246. oci/desktops/__init__.py +14 -0
  247. oci/desktops/desktop_service_client.py +2649 -0
  248. oci/desktops/desktop_service_client_composite_operations.py +441 -0
  249. oci/desktops/models/__init__.py +68 -0
  250. oci/desktops/models/change_desktop_pool_compartment_details.py +72 -0
  251. oci/desktops/models/create_desktop_pool_details.py +694 -0
  252. oci/desktops/models/desktop.py +393 -0
  253. oci/desktops/models/desktop_availability_policy.py +95 -0
  254. oci/desktops/models/desktop_collection.py +72 -0
  255. oci/desktops/models/desktop_device_policy.py +348 -0
  256. oci/desktops/models/desktop_image.py +103 -0
  257. oci/desktops/models/desktop_network_configuration.py +103 -0
  258. oci/desktops/models/desktop_pool.py +823 -0
  259. oci/desktops/models/desktop_pool_collection.py +72 -0
  260. oci/desktops/models/desktop_pool_desktop_collection.py +72 -0
  261. oci/desktops/models/desktop_pool_desktop_summary.py +339 -0
  262. oci/desktops/models/desktop_pool_summary.py +403 -0
  263. oci/desktops/models/desktop_pool_volume_collection.py +72 -0
  264. oci/desktops/models/desktop_pool_volume_summary.py +319 -0
  265. oci/desktops/models/desktop_schedule.py +103 -0
  266. oci/desktops/models/desktop_summary.py +339 -0
  267. oci/desktops/models/hosting_options.py +99 -0
  268. oci/desktops/models/update_desktop_details.py +148 -0
  269. oci/desktops/models/update_desktop_pool_details.py +392 -0
  270. oci/desktops/models/work_request.py +420 -0
  271. oci/desktops/models/work_request_error.py +136 -0
  272. oci/desktops/models/work_request_error_collection.py +72 -0
  273. oci/desktops/models/work_request_log_entry.py +103 -0
  274. oci/desktops/models/work_request_log_entry_collection.py +72 -0
  275. oci/desktops/models/work_request_resource.py +203 -0
  276. oci/desktops/models/work_request_summary.py +420 -0
  277. oci/desktops/models/work_request_summary_collection.py +72 -0
  278. oci/devops/devops_client.py +89 -89
  279. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  280. oci/dns/dns_client.py +52 -52
  281. oci/dts/appliance_export_job_client.py +6 -6
  282. oci/dts/shipping_vendors_client.py +1 -1
  283. oci/dts/transfer_appliance_client.py +8 -8
  284. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  285. oci/dts/transfer_device_client.py +5 -5
  286. oci/dts/transfer_job_client.py +6 -6
  287. oci/dts/transfer_package_client.py +7 -7
  288. oci/em_warehouse/em_data_lake_client.py +13 -13
  289. oci/em_warehouse/em_warehouse_client.py +13 -13
  290. oci/email/email_client.py +25 -25
  291. oci/events/events_client.py +6 -6
  292. oci/file_storage/file_storage_client.py +50 -50
  293. oci/fleet_software_update/fleet_software_update_client.py +44 -44
  294. oci/functions/functions_invoke_client.py +1 -1
  295. oci/functions/functions_management_client.py +16 -16
  296. oci/fusion_apps/data_masking_activity_client.py +3 -3
  297. oci/fusion_apps/fusion_applications_client.py +39 -39
  298. oci/fusion_apps/fusion_environment_client.py +15 -15
  299. oci/fusion_apps/fusion_environment_family_client.py +8 -8
  300. oci/fusion_apps/refresh_activity_client.py +4 -4
  301. oci/fusion_apps/scheduled_activity_client.py +2 -2
  302. oci/fusion_apps/service_attachment_client.py +2 -2
  303. oci/generative_ai/generative_ai_client.py +22 -22
  304. oci/generative_ai_inference/generative_ai_inference_client.py +3 -3
  305. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  306. oci/globally_distributed_database/sharded_database_service_client.py +29 -29
  307. oci/golden_gate/golden_gate_client.py +61 -61
  308. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  309. oci/governance_rules_control_plane/work_request_client.py +5 -5
  310. oci/healthchecks/health_checks_client.py +17 -17
  311. oci/identity/identity_client.py +145 -145
  312. oci/identity_data_plane/dataplane_client.py +2 -2
  313. oci/identity_domains/identity_domains_client.py +300 -300
  314. oci/integration/integration_instance_client.py +15 -15
  315. oci/jms/java_management_service_client.py +66 -66
  316. oci/jms_java_downloads/java_download_client.py +25 -25
  317. oci/key_management/ekm_client.py +5 -5
  318. oci/key_management/kms_crypto_client.py +6 -6
  319. oci/key_management/kms_hsm_cluster_client.py +12 -12
  320. oci/key_management/kms_management_client.py +21 -21
  321. oci/key_management/kms_vault_client.py +14 -14
  322. oci/key_management/models/__init__.py +2 -0
  323. oci/key_management/models/auto_key_rotation_details.py +247 -0
  324. oci/key_management/models/create_key_details.py +58 -0
  325. oci/key_management/models/import_key_details.py +58 -0
  326. oci/key_management/models/key.py +58 -0
  327. oci/key_management/models/key_summary.py +33 -2
  328. oci/key_management/models/key_version.py +33 -2
  329. oci/key_management/models/key_version_summary.py +33 -2
  330. oci/key_management/models/update_key_details.py +58 -0
  331. oci/license_manager/license_manager_client.py +18 -18
  332. oci/limits/limits_client.py +4 -4
  333. oci/limits/quotas_client.py +7 -7
  334. oci/load_balancer/load_balancer_client.py +61 -61
  335. oci/lockbox/lockbox_client.py +23 -23
  336. oci/log_analytics/log_analytics_client.py +193 -193
  337. oci/logging/logging_management_client.py +30 -30
  338. oci/loggingingestion/logging_client.py +1 -1
  339. oci/loggingsearch/log_search_client.py +1 -1
  340. oci/management_agent/management_agent_client.py +28 -28
  341. oci/management_dashboard/dashx_apis_client.py +14 -14
  342. oci/marketplace/account_client.py +2 -2
  343. oci/marketplace/marketplace_client.py +30 -30
  344. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  345. oci/media_services/media_services_client.py +60 -60
  346. oci/media_services/media_stream_client.py +2 -2
  347. oci/monitoring/monitoring_client.py +18 -18
  348. oci/mysql/channels_client.py +7 -7
  349. oci/mysql/db_backups_client.py +6 -6
  350. oci/mysql/db_system_client.py +17 -17
  351. oci/mysql/mysqlaas_client.py +7 -7
  352. oci/mysql/replicas_client.py +5 -5
  353. oci/mysql/work_requests_client.py +4 -4
  354. oci/network_firewall/network_firewall_client.py +80 -80
  355. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  356. oci/nosql/nosql_client.py +24 -24
  357. oci/object_storage/object_storage_client.py +50 -50
  358. oci/oce/oce_instance_client.py +10 -10
  359. oci/oci_control_center/occ_metrics_client.py +3 -3
  360. oci/ocvp/cluster_client.py +5 -5
  361. oci/ocvp/esxi_host_client.py +8 -8
  362. oci/ocvp/sddc_client.py +14 -14
  363. oci/ocvp/work_request_client.py +4 -4
  364. oci/oda/management_client.py +419 -56
  365. oci/oda/management_client_composite_operations.py +132 -0
  366. oci/oda/models/__init__.py +42 -0
  367. oci/oda/models/bot.py +31 -0
  368. oci/oda/models/bulk_create_skill_entities_details.py +72 -0
  369. oci/oda/models/clone_skill_details.py +7 -0
  370. oci/oda/models/composite_entity.py +154 -0
  371. oci/oda/models/create_new_skill_details.py +7 -0
  372. oci/oda/models/create_oda_instance_attachment_details.py +7 -3
  373. oci/oda/models/create_skill_composite_entity_details.py +147 -0
  374. oci/oda/models/create_skill_details.py +31 -0
  375. oci/oda/models/create_skill_entity_details.py +140 -0
  376. oci/oda/models/create_skill_value_list_entity_details.py +89 -0
  377. oci/oda/models/create_skill_version_details.py +7 -0
  378. oci/oda/models/digital_assistant.py +31 -0
  379. oci/oda/models/entity.py +171 -0
  380. oci/oda/models/entity_action.py +161 -0
  381. oci/oda/models/entity_action_argument.py +263 -0
  382. oci/oda/models/entity_action_argument_natural_language_mapping.py +72 -0
  383. oci/oda/models/entity_action_natural_language_mapping.py +72 -0
  384. oci/oda/models/entity_attribute.py +345 -0
  385. oci/oda/models/entity_attribute_natural_language_mapping.py +72 -0
  386. oci/oda/models/entity_natural_language_mapping.py +72 -0
  387. oci/oda/models/extend_skill_details.py +7 -0
  388. oci/oda/models/language_mapping.py +134 -0
  389. oci/oda/models/name_mapping.py +72 -0
  390. oci/oda/models/oda_instance_attachment.py +7 -3
  391. oci/oda/models/oda_instance_attachment_summary.py +7 -3
  392. oci/oda/models/skill.py +31 -0
  393. oci/oda/models/static_entity_value.py +99 -0
  394. oci/oda/models/static_entity_value_natural_language_mapping.py +72 -0
  395. oci/oda/models/train_skill_details.py +72 -0
  396. oci/oda/models/train_skill_parameter.py +101 -0
  397. oci/oda/models/train_skill_query_entity_parameter.py +51 -0
  398. oci/oda/models/value_list_entity.py +96 -0
  399. oci/oda/models/work_request.py +15 -3
  400. oci/oda/oda_client.py +17 -17
  401. oci/oda/odapackage_client.py +7 -7
  402. oci/onesubscription/billing_schedule_client.py +1 -1
  403. oci/onesubscription/commitment_client.py +2 -2
  404. oci/onesubscription/computed_usage_client.py +3 -3
  405. oci/onesubscription/invoice_summary_client.py +2 -2
  406. oci/onesubscription/organization_subscription_client.py +1 -1
  407. oci/onesubscription/ratecard_client.py +1 -1
  408. oci/onesubscription/subscribed_service_client.py +2 -2
  409. oci/onesubscription/subscription_client.py +1 -1
  410. oci/ons/notification_control_plane_client.py +6 -6
  411. oci/ons/notification_data_plane_client.py +10 -10
  412. oci/opa/opa_instance_client.py +11 -11
  413. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  414. oci/opensearch/opensearch_cluster_client.py +14 -14
  415. oci/operator_access_control/access_requests_client.py +118 -9
  416. oci/operator_access_control/models/__init__.py +11 -1
  417. oci/operator_access_control/models/access_request.py +221 -0
  418. oci/operator_access_control/models/access_request_summary.py +35 -0
  419. oci/operator_access_control/models/approver_detail.py +235 -0
  420. oci/operator_access_control/models/assignment_validation_status.py +317 -0
  421. oci/operator_access_control/models/audit_log_report.py +193 -0
  422. oci/operator_access_control/models/create_operator_control_assignment_details.py +31 -0
  423. oci/operator_access_control/models/create_operator_control_details.py +31 -0
  424. oci/operator_access_control/models/operator_control.py +31 -0
  425. oci/operator_access_control/models/operator_control_assignment.py +62 -0
  426. oci/operator_access_control/models/operator_control_assignment_summary.py +93 -0
  427. oci/operator_access_control/models/operator_control_summary.py +31 -0
  428. oci/operator_access_control/models/status_detail.py +169 -0
  429. oci/operator_access_control/models/update_operator_control_assignment_details.py +31 -0
  430. oci/operator_access_control/models/update_operator_control_details.py +31 -0
  431. oci/operator_access_control/models/validate_operator_assignment_details.py +72 -0
  432. oci/operator_access_control/operator_actions_client.py +2 -2
  433. oci/operator_access_control/operator_control_assignment_client.py +224 -6
  434. oci/operator_access_control/operator_control_client.py +6 -6
  435. oci/opsi/operations_insights_client.py +175 -175
  436. oci/optimizer/optimizer_client.py +26 -26
  437. oci/os_management/event_client.py +8 -8
  438. oci/os_management/os_management_client.py +69 -69
  439. oci/os_management_hub/lifecycle_environment_client.py +11 -11
  440. oci/os_management_hub/managed_instance_client.py +22 -22
  441. oci/os_management_hub/managed_instance_group_client.py +22 -22
  442. oci/os_management_hub/management_station_client.py +8 -8
  443. oci/os_management_hub/onboarding_client.py +5 -5
  444. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  445. oci/os_management_hub/scheduled_job_client.py +6 -6
  446. oci/os_management_hub/software_source_client.py +22 -22
  447. oci/os_management_hub/work_request_client.py +4 -4
  448. oci/osp_gateway/address_rule_service_client.py +1 -1
  449. oci/osp_gateway/address_service_client.py +2 -2
  450. oci/osp_gateway/invoice_service_client.py +5 -5
  451. oci/osp_gateway/subscription_service_client.py +5 -5
  452. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  453. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  454. oci/osub_subscription/commitment_client.py +2 -2
  455. oci/osub_subscription/ratecard_client.py +1 -1
  456. oci/osub_subscription/subscription_client.py +1 -1
  457. oci/osub_usage/computed_usage_client.py +3 -3
  458. oci/psql/postgresql_client.py +33 -33
  459. oci/queue/queue_admin_client.py +11 -11
  460. oci/queue/queue_client.py +8 -8
  461. oci/recovery/database_recovery_client.py +23 -23
  462. oci/redis/redis_cluster_client.py +11 -11
  463. oci/regions_definitions.py +5 -0
  464. oci/resource_manager/resource_manager_client.py +52 -52
  465. oci/resource_search/resource_search_client.py +3 -3
  466. oci/rover/rover_bundle_client.py +8 -8
  467. oci/rover/rover_cluster_client.py +8 -8
  468. oci/rover/rover_entitlement_client.py +6 -6
  469. oci/rover/rover_node_client.py +15 -15
  470. oci/rover/shape_client.py +1 -1
  471. oci/rover/work_requests_client.py +5 -5
  472. oci/sch/__init__.py +3 -1
  473. oci/sch/connector_plugins_client.py +386 -0
  474. oci/sch/connector_plugins_client_composite_operations.py +26 -0
  475. oci/sch/models/__init__.py +16 -0
  476. oci/sch/models/change_service_connector_compartment_details.py +3 -3
  477. oci/sch/models/connector_plugin.py +355 -0
  478. oci/sch/models/connector_plugin_collection.py +72 -0
  479. oci/sch/models/connector_plugin_summary.py +322 -0
  480. oci/sch/models/create_service_connector_details.py +3 -3
  481. oci/sch/models/dimension_details.py +2 -2
  482. oci/sch/models/function_task_details.py +2 -2
  483. oci/sch/models/functions_target_details.py +98 -5
  484. oci/sch/models/latest_streaming_cursor.py +4 -2
  485. oci/sch/models/log_rule_task_details.py +5 -5
  486. oci/sch/models/log_source.py +4 -0
  487. oci/sch/models/logging_analytics_target_details.py +5 -5
  488. oci/sch/models/logging_source_details.py +3 -3
  489. oci/sch/models/monitoring_source.py +2 -2
  490. oci/sch/models/monitoring_source_details.py +5 -5
  491. oci/sch/models/monitoring_source_metric_details.py +2 -2
  492. oci/sch/models/monitoring_target_details.py +3 -3
  493. oci/sch/models/notifications_target_details.py +5 -5
  494. oci/sch/models/object_storage_target_details.py +9 -5
  495. oci/sch/models/plugin_source_details.py +123 -0
  496. oci/sch/models/service_connector.py +14 -14
  497. oci/sch/models/service_connector_collection.py +1 -1
  498. oci/sch/models/service_connector_summary.py +11 -11
  499. oci/sch/models/source_connector_plugin.py +132 -0
  500. oci/sch/models/source_connector_plugin_summary.py +125 -0
  501. oci/sch/models/source_details.py +19 -11
  502. oci/sch/models/streaming_cursor_details.py +7 -4
  503. oci/sch/models/streaming_source_details.py +5 -1
  504. oci/sch/models/streaming_target_details.py +3 -3
  505. oci/sch/models/target_connector_plugin.py +99 -0
  506. oci/sch/models/target_connector_plugin_summary.py +92 -0
  507. oci/sch/models/target_details.py +8 -8
  508. oci/sch/models/task_details.py +8 -8
  509. oci/sch/models/trim_horizon_streaming_cursor.py +4 -2
  510. oci/sch/models/update_service_connector_details.py +1 -1
  511. oci/sch/models/work_request.py +2 -2
  512. oci/sch/service_connector_client.py +138 -81
  513. oci/sch/service_connector_client_composite_operations.py +7 -7
  514. oci/secrets/secrets_client.py +3 -3
  515. oci/service_catalog/service_catalog_client.py +26 -26
  516. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  517. oci/service_mesh/service_mesh_client.py +48 -48
  518. oci/stack_monitoring/stack_monitoring_client.py +64 -64
  519. oci/streaming/stream_admin_client.py +18 -18
  520. oci/streaming/stream_client.py +8 -8
  521. oci/tenant_manager_control_plane/domain_client.py +5 -5
  522. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  523. oci/tenant_manager_control_plane/governance_client.py +2 -2
  524. oci/tenant_manager_control_plane/link_client.py +3 -3
  525. oci/tenant_manager_control_plane/orders_client.py +2 -2
  526. oci/tenant_manager_control_plane/organization_client.py +10 -10
  527. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  528. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  529. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  530. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  531. oci/threat_intelligence/threatintel_client.py +5 -5
  532. oci/usage/resources_client.py +2 -2
  533. oci/usage/rewards_client.py +6 -6
  534. oci/usage/usagelimits_client.py +1 -1
  535. oci/usage_api/usageapi_client.py +28 -28
  536. oci/vault/models/__init__.py +8 -0
  537. oci/vault/models/bytes_generation_context.py +107 -0
  538. oci/vault/models/create_secret_details.py +61 -3
  539. oci/vault/models/passphrase_generation_context.py +138 -0
  540. oci/vault/models/secret.py +60 -2
  541. oci/vault/models/secret_generation_context.py +152 -0
  542. oci/vault/models/secret_summary.py +60 -2
  543. oci/vault/models/secret_version.py +33 -2
  544. oci/vault/models/secret_version_summary.py +33 -2
  545. oci/vault/models/ssh_key_generation_context.py +111 -0
  546. oci/vault/models/update_secret_details.py +60 -2
  547. oci/vault/vaults_client.py +13 -13
  548. oci/vbs_inst/vbs_instance_client.py +10 -10
  549. oci/version.py +1 -1
  550. oci/visual_builder/vb_instance_client.py +13 -13
  551. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  552. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  553. oci/waa/waa_client.py +13 -13
  554. oci/waa/work_request_client.py +4 -4
  555. oci/waas/redirect_client.py +6 -6
  556. oci/waas/waas_client.py +66 -66
  557. oci/waf/waf_client.py +24 -24
  558. oci/work_requests/work_request_client.py +4 -4
  559. {oci-2.121.1.dist-info → oci-2.123.0.dist-info}/METADATA +3 -3
  560. {oci-2.121.1.dist-info → oci-2.123.0.dist-info}/RECORD +564 -475
  561. {oci-2.121.1.dist-info → oci-2.123.0.dist-info}/THIRD_PARTY_LICENSES.txt +136 -2
  562. {oci-2.121.1.dist-info → oci-2.123.0.dist-info}/LICENSE.txt +0 -0
  563. {oci-2.121.1.dist-info → oci-2.123.0.dist-info}/WHEEL +0 -0
  564. {oci-2.121.1.dist-info → oci-2.123.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,420 @@
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 WorkRequest(object):
14
+ """
15
+ A description of workrequest status.
16
+ """
17
+
18
+ #: A constant which can be used with the operation_type property of a WorkRequest.
19
+ #: This constant has a value of "CREATE_DESKTOP_POOL"
20
+ OPERATION_TYPE_CREATE_DESKTOP_POOL = "CREATE_DESKTOP_POOL"
21
+
22
+ #: A constant which can be used with the operation_type property of a WorkRequest.
23
+ #: This constant has a value of "UPDATE_DESKTOP_POOL"
24
+ OPERATION_TYPE_UPDATE_DESKTOP_POOL = "UPDATE_DESKTOP_POOL"
25
+
26
+ #: A constant which can be used with the operation_type property of a WorkRequest.
27
+ #: This constant has a value of "DELETE_DESKTOP_POOL"
28
+ OPERATION_TYPE_DELETE_DESKTOP_POOL = "DELETE_DESKTOP_POOL"
29
+
30
+ #: A constant which can be used with the operation_type property of a WorkRequest.
31
+ #: This constant has a value of "MOVE_DESKTOP_POOL"
32
+ OPERATION_TYPE_MOVE_DESKTOP_POOL = "MOVE_DESKTOP_POOL"
33
+
34
+ #: A constant which can be used with the operation_type property of a WorkRequest.
35
+ #: This constant has a value of "START_DESKTOP_POOL"
36
+ OPERATION_TYPE_START_DESKTOP_POOL = "START_DESKTOP_POOL"
37
+
38
+ #: A constant which can be used with the operation_type property of a WorkRequest.
39
+ #: This constant has a value of "STOP_DESKTOP_POOL"
40
+ OPERATION_TYPE_STOP_DESKTOP_POOL = "STOP_DESKTOP_POOL"
41
+
42
+ #: A constant which can be used with the operation_type property of a WorkRequest.
43
+ #: This constant has a value of "DELETE_DESKTOP"
44
+ OPERATION_TYPE_DELETE_DESKTOP = "DELETE_DESKTOP"
45
+
46
+ #: A constant which can be used with the operation_type property of a WorkRequest.
47
+ #: This constant has a value of "UPDATE_DESKTOP"
48
+ OPERATION_TYPE_UPDATE_DESKTOP = "UPDATE_DESKTOP"
49
+
50
+ #: A constant which can be used with the operation_type property of a WorkRequest.
51
+ #: This constant has a value of "START_DESKTOP"
52
+ OPERATION_TYPE_START_DESKTOP = "START_DESKTOP"
53
+
54
+ #: A constant which can be used with the operation_type property of a WorkRequest.
55
+ #: This constant has a value of "STOP_DESKTOP"
56
+ OPERATION_TYPE_STOP_DESKTOP = "STOP_DESKTOP"
57
+
58
+ #: A constant which can be used with the status property of a WorkRequest.
59
+ #: This constant has a value of "ACCEPTED"
60
+ STATUS_ACCEPTED = "ACCEPTED"
61
+
62
+ #: A constant which can be used with the status property of a WorkRequest.
63
+ #: This constant has a value of "IN_PROGRESS"
64
+ STATUS_IN_PROGRESS = "IN_PROGRESS"
65
+
66
+ #: A constant which can be used with the status property of a WorkRequest.
67
+ #: This constant has a value of "WAITING"
68
+ STATUS_WAITING = "WAITING"
69
+
70
+ #: A constant which can be used with the status property of a WorkRequest.
71
+ #: This constant has a value of "FAILED"
72
+ STATUS_FAILED = "FAILED"
73
+
74
+ #: A constant which can be used with the status property of a WorkRequest.
75
+ #: This constant has a value of "SUCCEEDED"
76
+ STATUS_SUCCEEDED = "SUCCEEDED"
77
+
78
+ #: A constant which can be used with the status property of a WorkRequest.
79
+ #: This constant has a value of "CANCELING"
80
+ STATUS_CANCELING = "CANCELING"
81
+
82
+ #: A constant which can be used with the status property of a WorkRequest.
83
+ #: This constant has a value of "CANCELED"
84
+ STATUS_CANCELED = "CANCELED"
85
+
86
+ def __init__(self, **kwargs):
87
+ """
88
+ Initializes a new WorkRequest object with values from keyword arguments.
89
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
90
+
91
+ :param operation_type:
92
+ The value to assign to the operation_type property of this WorkRequest.
93
+ Allowed values for this property are: "CREATE_DESKTOP_POOL", "UPDATE_DESKTOP_POOL", "DELETE_DESKTOP_POOL", "MOVE_DESKTOP_POOL", "START_DESKTOP_POOL", "STOP_DESKTOP_POOL", "DELETE_DESKTOP", "UPDATE_DESKTOP", "START_DESKTOP", "STOP_DESKTOP", 'UNKNOWN_ENUM_VALUE'.
94
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
95
+ :type operation_type: str
96
+
97
+ :param status:
98
+ The value to assign to the status property of this WorkRequest.
99
+ Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "WAITING", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED", 'UNKNOWN_ENUM_VALUE'.
100
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
101
+ :type status: str
102
+
103
+ :param id:
104
+ The value to assign to the id property of this WorkRequest.
105
+ :type id: str
106
+
107
+ :param compartment_id:
108
+ The value to assign to the compartment_id property of this WorkRequest.
109
+ :type compartment_id: str
110
+
111
+ :param resources:
112
+ The value to assign to the resources property of this WorkRequest.
113
+ :type resources: list[oci.desktops.models.WorkRequestResource]
114
+
115
+ :param percent_complete:
116
+ The value to assign to the percent_complete property of this WorkRequest.
117
+ :type percent_complete: float
118
+
119
+ :param time_accepted:
120
+ The value to assign to the time_accepted property of this WorkRequest.
121
+ :type time_accepted: datetime
122
+
123
+ :param time_started:
124
+ The value to assign to the time_started property of this WorkRequest.
125
+ :type time_started: datetime
126
+
127
+ :param time_finished:
128
+ The value to assign to the time_finished property of this WorkRequest.
129
+ :type time_finished: datetime
130
+
131
+ """
132
+ self.swagger_types = {
133
+ 'operation_type': 'str',
134
+ 'status': 'str',
135
+ 'id': 'str',
136
+ 'compartment_id': 'str',
137
+ 'resources': 'list[WorkRequestResource]',
138
+ 'percent_complete': 'float',
139
+ 'time_accepted': 'datetime',
140
+ 'time_started': 'datetime',
141
+ 'time_finished': 'datetime'
142
+ }
143
+
144
+ self.attribute_map = {
145
+ 'operation_type': 'operationType',
146
+ 'status': 'status',
147
+ 'id': 'id',
148
+ 'compartment_id': 'compartmentId',
149
+ 'resources': 'resources',
150
+ 'percent_complete': 'percentComplete',
151
+ 'time_accepted': 'timeAccepted',
152
+ 'time_started': 'timeStarted',
153
+ 'time_finished': 'timeFinished'
154
+ }
155
+
156
+ self._operation_type = None
157
+ self._status = None
158
+ self._id = None
159
+ self._compartment_id = None
160
+ self._resources = None
161
+ self._percent_complete = None
162
+ self._time_accepted = None
163
+ self._time_started = None
164
+ self._time_finished = None
165
+
166
+ @property
167
+ def operation_type(self):
168
+ """
169
+ **[Required]** Gets the operation_type of this WorkRequest.
170
+ Type of the work request.
171
+
172
+ Allowed values for this property are: "CREATE_DESKTOP_POOL", "UPDATE_DESKTOP_POOL", "DELETE_DESKTOP_POOL", "MOVE_DESKTOP_POOL", "START_DESKTOP_POOL", "STOP_DESKTOP_POOL", "DELETE_DESKTOP", "UPDATE_DESKTOP", "START_DESKTOP", "STOP_DESKTOP", 'UNKNOWN_ENUM_VALUE'.
173
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
174
+
175
+
176
+ :return: The operation_type of this WorkRequest.
177
+ :rtype: str
178
+ """
179
+ return self._operation_type
180
+
181
+ @operation_type.setter
182
+ def operation_type(self, operation_type):
183
+ """
184
+ Sets the operation_type of this WorkRequest.
185
+ Type of the work request.
186
+
187
+
188
+ :param operation_type: The operation_type of this WorkRequest.
189
+ :type: str
190
+ """
191
+ allowed_values = ["CREATE_DESKTOP_POOL", "UPDATE_DESKTOP_POOL", "DELETE_DESKTOP_POOL", "MOVE_DESKTOP_POOL", "START_DESKTOP_POOL", "STOP_DESKTOP_POOL", "DELETE_DESKTOP", "UPDATE_DESKTOP", "START_DESKTOP", "STOP_DESKTOP"]
192
+ if not value_allowed_none_or_none_sentinel(operation_type, allowed_values):
193
+ operation_type = 'UNKNOWN_ENUM_VALUE'
194
+ self._operation_type = operation_type
195
+
196
+ @property
197
+ def status(self):
198
+ """
199
+ **[Required]** Gets the status of this WorkRequest.
200
+ Status of current work request.
201
+
202
+ Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "WAITING", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED", 'UNKNOWN_ENUM_VALUE'.
203
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
204
+
205
+
206
+ :return: The status of this WorkRequest.
207
+ :rtype: str
208
+ """
209
+ return self._status
210
+
211
+ @status.setter
212
+ def status(self, status):
213
+ """
214
+ Sets the status of this WorkRequest.
215
+ Status of current work request.
216
+
217
+
218
+ :param status: The status of this WorkRequest.
219
+ :type: str
220
+ """
221
+ allowed_values = ["ACCEPTED", "IN_PROGRESS", "WAITING", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"]
222
+ if not value_allowed_none_or_none_sentinel(status, allowed_values):
223
+ status = 'UNKNOWN_ENUM_VALUE'
224
+ self._status = status
225
+
226
+ @property
227
+ def id(self):
228
+ """
229
+ **[Required]** Gets the id of this WorkRequest.
230
+ The id of the work request.
231
+
232
+
233
+ :return: The id of this WorkRequest.
234
+ :rtype: str
235
+ """
236
+ return self._id
237
+
238
+ @id.setter
239
+ def id(self, id):
240
+ """
241
+ Sets the id of this WorkRequest.
242
+ The id of the work request.
243
+
244
+
245
+ :param id: The id of this WorkRequest.
246
+ :type: str
247
+ """
248
+ self._id = id
249
+
250
+ @property
251
+ def compartment_id(self):
252
+ """
253
+ **[Required]** Gets the compartment_id of this WorkRequest.
254
+ The ocid of the compartment that contains the work request.
255
+
256
+
257
+ :return: The compartment_id of this WorkRequest.
258
+ :rtype: str
259
+ """
260
+ return self._compartment_id
261
+
262
+ @compartment_id.setter
263
+ def compartment_id(self, compartment_id):
264
+ """
265
+ Sets the compartment_id of this WorkRequest.
266
+ The ocid of the compartment that contains the work request.
267
+
268
+
269
+ :param compartment_id: The compartment_id of this WorkRequest.
270
+ :type: str
271
+ """
272
+ self._compartment_id = compartment_id
273
+
274
+ @property
275
+ def resources(self):
276
+ """
277
+ **[Required]** Gets the resources of this WorkRequest.
278
+ The resources affected by this work request.
279
+
280
+
281
+ :return: The resources of this WorkRequest.
282
+ :rtype: list[oci.desktops.models.WorkRequestResource]
283
+ """
284
+ return self._resources
285
+
286
+ @resources.setter
287
+ def resources(self, resources):
288
+ """
289
+ Sets the resources of this WorkRequest.
290
+ The resources affected by this work request.
291
+
292
+
293
+ :param resources: The resources of this WorkRequest.
294
+ :type: list[oci.desktops.models.WorkRequestResource]
295
+ """
296
+ self._resources = resources
297
+
298
+ @property
299
+ def percent_complete(self):
300
+ """
301
+ **[Required]** Gets the percent_complete of this WorkRequest.
302
+ Percentage of the request completed.
303
+
304
+
305
+ :return: The percent_complete of this WorkRequest.
306
+ :rtype: float
307
+ """
308
+ return self._percent_complete
309
+
310
+ @percent_complete.setter
311
+ def percent_complete(self, percent_complete):
312
+ """
313
+ Sets the percent_complete of this WorkRequest.
314
+ Percentage of the request completed.
315
+
316
+
317
+ :param percent_complete: The percent_complete of this WorkRequest.
318
+ :type: float
319
+ """
320
+ self._percent_complete = percent_complete
321
+
322
+ @property
323
+ def time_accepted(self):
324
+ """
325
+ **[Required]** Gets the time_accepted of this WorkRequest.
326
+ The date and time the request was created, as described in
327
+ `RFC 3339`__, section 14.29.
328
+
329
+ __ https://tools.ietf.org/rfc/rfc3339
330
+
331
+
332
+ :return: The time_accepted of this WorkRequest.
333
+ :rtype: datetime
334
+ """
335
+ return self._time_accepted
336
+
337
+ @time_accepted.setter
338
+ def time_accepted(self, time_accepted):
339
+ """
340
+ Sets the time_accepted of this WorkRequest.
341
+ The date and time the request was created, as described in
342
+ `RFC 3339`__, section 14.29.
343
+
344
+ __ https://tools.ietf.org/rfc/rfc3339
345
+
346
+
347
+ :param time_accepted: The time_accepted of this WorkRequest.
348
+ :type: datetime
349
+ """
350
+ self._time_accepted = time_accepted
351
+
352
+ @property
353
+ def time_started(self):
354
+ """
355
+ Gets the time_started of this WorkRequest.
356
+ The date and time the request was started, as described in `RFC 3339`__,
357
+ section 14.29.
358
+
359
+ __ https://tools.ietf.org/rfc/rfc3339
360
+
361
+
362
+ :return: The time_started of this WorkRequest.
363
+ :rtype: datetime
364
+ """
365
+ return self._time_started
366
+
367
+ @time_started.setter
368
+ def time_started(self, time_started):
369
+ """
370
+ Sets the time_started of this WorkRequest.
371
+ The date and time the request was started, as described in `RFC 3339`__,
372
+ section 14.29.
373
+
374
+ __ https://tools.ietf.org/rfc/rfc3339
375
+
376
+
377
+ :param time_started: The time_started of this WorkRequest.
378
+ :type: datetime
379
+ """
380
+ self._time_started = time_started
381
+
382
+ @property
383
+ def time_finished(self):
384
+ """
385
+ Gets the time_finished of this WorkRequest.
386
+ The date and time the object was finished, as described in `RFC 3339`__.
387
+
388
+ __ https://tools.ietf.org/rfc/rfc3339
389
+
390
+
391
+ :return: The time_finished of this WorkRequest.
392
+ :rtype: datetime
393
+ """
394
+ return self._time_finished
395
+
396
+ @time_finished.setter
397
+ def time_finished(self, time_finished):
398
+ """
399
+ Sets the time_finished of this WorkRequest.
400
+ The date and time the object was finished, as described in `RFC 3339`__.
401
+
402
+ __ https://tools.ietf.org/rfc/rfc3339
403
+
404
+
405
+ :param time_finished: The time_finished of this WorkRequest.
406
+ :type: datetime
407
+ """
408
+ self._time_finished = time_finished
409
+
410
+ def __repr__(self):
411
+ return formatted_flat_dict(self)
412
+
413
+ def __eq__(self, other):
414
+ if other is None:
415
+ return False
416
+
417
+ return self.__dict__ == other.__dict__
418
+
419
+ def __ne__(self, other):
420
+ return not self == other
@@ -0,0 +1,136 @@
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 WorkRequestError(object):
14
+ """
15
+ An error encountered while executing a work request.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new WorkRequestError object with values from keyword arguments.
21
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
22
+
23
+ :param code:
24
+ The value to assign to the code property of this WorkRequestError.
25
+ :type code: str
26
+
27
+ :param message:
28
+ The value to assign to the message property of this WorkRequestError.
29
+ :type message: str
30
+
31
+ :param timestamp:
32
+ The value to assign to the timestamp property of this WorkRequestError.
33
+ :type timestamp: datetime
34
+
35
+ """
36
+ self.swagger_types = {
37
+ 'code': 'str',
38
+ 'message': 'str',
39
+ 'timestamp': 'datetime'
40
+ }
41
+
42
+ self.attribute_map = {
43
+ 'code': 'code',
44
+ 'message': 'message',
45
+ 'timestamp': 'timestamp'
46
+ }
47
+
48
+ self._code = None
49
+ self._message = None
50
+ self._timestamp = None
51
+
52
+ @property
53
+ def code(self):
54
+ """
55
+ **[Required]** Gets the code of this WorkRequestError.
56
+ A machine-usable code for the error that occured. Error codes are listed on
57
+ (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm)
58
+
59
+
60
+ :return: The code of this WorkRequestError.
61
+ :rtype: str
62
+ """
63
+ return self._code
64
+
65
+ @code.setter
66
+ def code(self, code):
67
+ """
68
+ Sets the code of this WorkRequestError.
69
+ A machine-usable code for the error that occured. Error codes are listed on
70
+ (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm)
71
+
72
+
73
+ :param code: The code of this WorkRequestError.
74
+ :type: str
75
+ """
76
+ self._code = code
77
+
78
+ @property
79
+ def message(self):
80
+ """
81
+ **[Required]** Gets the message of this WorkRequestError.
82
+ A human readable description of the issue encountered.
83
+
84
+
85
+ :return: The message of this WorkRequestError.
86
+ :rtype: str
87
+ """
88
+ return self._message
89
+
90
+ @message.setter
91
+ def message(self, message):
92
+ """
93
+ Sets the message of this WorkRequestError.
94
+ A human readable description of the issue encountered.
95
+
96
+
97
+ :param message: The message of this WorkRequestError.
98
+ :type: str
99
+ """
100
+ self._message = message
101
+
102
+ @property
103
+ def timestamp(self):
104
+ """
105
+ **[Required]** Gets the timestamp of this WorkRequestError.
106
+ The time the error occured. An RFC3339 formatted datetime string.
107
+
108
+
109
+ :return: The timestamp of this WorkRequestError.
110
+ :rtype: datetime
111
+ """
112
+ return self._timestamp
113
+
114
+ @timestamp.setter
115
+ def timestamp(self, timestamp):
116
+ """
117
+ Sets the timestamp of this WorkRequestError.
118
+ The time the error occured. An RFC3339 formatted datetime string.
119
+
120
+
121
+ :param timestamp: The timestamp of this WorkRequestError.
122
+ :type: datetime
123
+ """
124
+ self._timestamp = timestamp
125
+
126
+ def __repr__(self):
127
+ return formatted_flat_dict(self)
128
+
129
+ def __eq__(self, other):
130
+ if other is None:
131
+ return False
132
+
133
+ return self.__dict__ == other.__dict__
134
+
135
+ def __ne__(self, other):
136
+ return not self == other
@@ -0,0 +1,72 @@
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 WorkRequestErrorCollection(object):
14
+ """
15
+ Results of a workRequestError search.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new WorkRequestErrorCollection object with values from keyword arguments.
21
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
22
+
23
+ :param items:
24
+ The value to assign to the items property of this WorkRequestErrorCollection.
25
+ :type items: list[oci.desktops.models.WorkRequestError]
26
+
27
+ """
28
+ self.swagger_types = {
29
+ 'items': 'list[WorkRequestError]'
30
+ }
31
+
32
+ self.attribute_map = {
33
+ 'items': 'items'
34
+ }
35
+
36
+ self._items = None
37
+
38
+ @property
39
+ def items(self):
40
+ """
41
+ **[Required]** Gets the items of this WorkRequestErrorCollection.
42
+ List of workRequestError objects.
43
+
44
+
45
+ :return: The items of this WorkRequestErrorCollection.
46
+ :rtype: list[oci.desktops.models.WorkRequestError]
47
+ """
48
+ return self._items
49
+
50
+ @items.setter
51
+ def items(self, items):
52
+ """
53
+ Sets the items of this WorkRequestErrorCollection.
54
+ List of workRequestError objects.
55
+
56
+
57
+ :param items: The items of this WorkRequestErrorCollection.
58
+ :type: list[oci.desktops.models.WorkRequestError]
59
+ """
60
+ self._items = items
61
+
62
+ def __repr__(self):
63
+ return formatted_flat_dict(self)
64
+
65
+ def __eq__(self, other):
66
+ if other is None:
67
+ return False
68
+
69
+ return self.__dict__ == other.__dict__
70
+
71
+ def __ne__(self, other):
72
+ return not self == other