oci 2.154.0__py3-none-any.whl → 2.154.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 (417) 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 +26 -26
  6. oci/ai_language/ai_service_language_client.py +44 -44
  7. oci/ai_speech/ai_service_speech_client.py +19 -19
  8. oci/ai_vision/ai_service_vision_client.py +28 -28
  9. oci/analytics/analytics_client.py +24 -24
  10. oci/announcements_service/announcement_client.py +5 -5
  11. oci/announcements_service/announcement_subscription_client.py +9 -9
  12. oci/announcements_service/announcements_preferences_client.py +4 -4
  13. oci/announcements_service/service_client.py +1 -1
  14. oci/apiaccesscontrol/__init__.py +20 -0
  15. oci/apiaccesscontrol/api_metadata_client.py +567 -0
  16. oci/apiaccesscontrol/api_metadata_client_composite_operations.py +26 -0
  17. oci/apiaccesscontrol/models/__init__.py +72 -0
  18. oci/apiaccesscontrol/models/api_metadata.py +596 -0
  19. oci/apiaccesscontrol/models/api_metadata_by_entity_type_collection.py +70 -0
  20. oci/apiaccesscontrol/models/api_metadata_by_entity_type_summary.py +218 -0
  21. oci/apiaccesscontrol/models/api_metadata_collection.py +70 -0
  22. oci/apiaccesscontrol/models/api_metadata_summary.py +486 -0
  23. oci/apiaccesscontrol/models/approve_privileged_api_request_details.py +105 -0
  24. oci/apiaccesscontrol/models/approver_detail.py +202 -0
  25. oci/apiaccesscontrol/models/change_privileged_api_control_compartment_details.py +74 -0
  26. oci/apiaccesscontrol/models/close_privileged_api_request_details.py +70 -0
  27. oci/apiaccesscontrol/models/create_privileged_api_control_details.py +404 -0
  28. oci/apiaccesscontrol/models/create_privileged_api_request_details.py +502 -0
  29. oci/apiaccesscontrol/models/privileged_api_control.py +761 -0
  30. oci/apiaccesscontrol/models/privileged_api_control_collection.py +70 -0
  31. oci/apiaccesscontrol/models/privileged_api_control_summary.py +494 -0
  32. oci/apiaccesscontrol/models/privileged_api_details.py +132 -0
  33. oci/apiaccesscontrol/models/privileged_api_request.py +1209 -0
  34. oci/apiaccesscontrol/models/privileged_api_request_collection.py +70 -0
  35. oci/apiaccesscontrol/models/privileged_api_request_operation_details.py +101 -0
  36. oci/apiaccesscontrol/models/privileged_api_request_summary.py +750 -0
  37. oci/apiaccesscontrol/models/reject_privileged_api_request_details.py +70 -0
  38. oci/apiaccesscontrol/models/revoke_privileged_api_request_details.py +70 -0
  39. oci/apiaccesscontrol/models/update_privileged_api_control_details.py +369 -0
  40. oci/apiaccesscontrol/models/work_request.py +525 -0
  41. oci/apiaccesscontrol/models/work_request_error.py +144 -0
  42. oci/apiaccesscontrol/models/work_request_error_collection.py +70 -0
  43. oci/apiaccesscontrol/models/work_request_log_entry.py +107 -0
  44. oci/apiaccesscontrol/models/work_request_log_entry_collection.py +70 -0
  45. oci/apiaccesscontrol/models/work_request_resource.py +236 -0
  46. oci/apiaccesscontrol/models/work_request_summary.py +523 -0
  47. oci/apiaccesscontrol/models/work_request_summary_collection.py +70 -0
  48. oci/apiaccesscontrol/privileged_api_control_client.py +865 -0
  49. oci/apiaccesscontrol/privileged_api_control_client_composite_operations.py +202 -0
  50. oci/apiaccesscontrol/privileged_api_requests_client.py +1012 -0
  51. oci/apiaccesscontrol/privileged_api_requests_client_composite_operations.py +233 -0
  52. oci/apiaccesscontrol/privileged_api_work_request_client.py +817 -0
  53. oci/apiaccesscontrol/privileged_api_work_request_client_composite_operations.py +26 -0
  54. oci/apigateway/api_gateway_client.py +21 -21
  55. oci/apigateway/deployment_client.py +6 -6
  56. oci/apigateway/gateway_client.py +6 -6
  57. oci/apigateway/subscribers_client.py +6 -6
  58. oci/apigateway/usage_plans_client.py +6 -6
  59. oci/apigateway/work_requests_client.py +5 -5
  60. oci/apm_config/config_client.py +12 -12
  61. oci/apm_control_plane/apm_domain_client.py +14 -14
  62. oci/apm_synthetics/apm_synthetic_client.py +56 -56
  63. oci/apm_traces/attributes_client.py +8 -8
  64. oci/apm_traces/query_client.py +2 -2
  65. oci/apm_traces/trace_client.py +4 -4
  66. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  67. oci/artifacts/artifacts_client.py +32 -32
  68. oci/audit/audit_client.py +3 -3
  69. oci/autoscaling/auto_scaling_client.py +11 -11
  70. oci/bastion/bastion_client.py +15 -15
  71. oci/bds/bds_client.py +88 -88
  72. oci/blockchain/blockchain_platform_client.py +27 -27
  73. oci/budget/budget_client.py +10 -10
  74. oci/capacity_management/capacity_management_client.py +32 -32
  75. oci/capacity_management/demand_signal_client.py +13 -13
  76. oci/capacity_management/internal_demand_signal_client.py +12 -12
  77. oci/certificates/certificates_client.py +5 -5
  78. oci/certificates_management/certificates_management_client.py +32 -32
  79. oci/cims/incident_client.py +6 -6
  80. oci/cloud_bridge/common_client.py +5 -5
  81. oci/cloud_bridge/discovery_client.py +15 -15
  82. oci/cloud_bridge/inventory_client.py +16 -16
  83. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  84. oci/cloud_guard/cloud_guard_client.py +155 -155
  85. oci/cloud_migrations/migration_client.py +43 -43
  86. oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
  87. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  88. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  89. oci/compute_instance_agent/models/available_plugin_summary.py +9 -9
  90. oci/compute_instance_agent/models/instance_agent_command_content.py +37 -2
  91. oci/compute_instance_agent/models/instance_agent_plugin.py +33 -9
  92. oci/compute_instance_agent/models/instance_agent_plugin_summary.py +31 -7
  93. oci/compute_instance_agent/models/plugin.py +11 -11
  94. oci/compute_instance_agent/plugin_client.py +13 -8
  95. oci/compute_instance_agent/pluginconfig_client.py +14 -10
  96. oci/container_engine/container_engine_client.py +46 -46
  97. oci/container_instances/container_instance_client.py +18 -18
  98. oci/core/blockstorage_client.py +60 -60
  99. oci/core/compute_client.py +125 -125
  100. oci/core/compute_management_client.py +32 -32
  101. oci/core/models/__init__.py +2 -0
  102. oci/core/models/capacity_bin.py +225 -0
  103. oci/core/models/compute_bare_metal_host_placement_constraint_details.py +4 -3
  104. oci/core/models/dedicated_vm_host.py +64 -2
  105. oci/core/models/host_group_placement_constraint_details.py +3 -3
  106. oci/core/models/placement_constraint_details.py +7 -3
  107. oci/core/virtual_network_client.py +258 -258
  108. oci/dashboard_service/dashboard_client.py +6 -6
  109. oci/dashboard_service/dashboard_group_client.py +6 -6
  110. oci/data_catalog/data_catalog_client.py +149 -149
  111. oci/data_flow/data_flow_client.py +45 -45
  112. oci/data_integration/data_integration_client.py +163 -163
  113. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  114. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  115. oci/data_safe/data_safe_client.py +317 -317
  116. oci/data_science/data_science_client.py +145 -145
  117. oci/database/database_client.py +425 -419
  118. oci/database_management/db_management_client.py +229 -229
  119. oci/database_management/diagnosability_client.py +4 -4
  120. oci/database_management/managed_my_sql_databases_client.py +15 -15
  121. oci/database_management/perfhub_client.py +1 -1
  122. oci/database_management/sql_tuning_client.py +17 -17
  123. oci/database_migration/database_migration_client.py +42 -42
  124. oci/database_tools/database_tools_client.py +23 -23
  125. oci/dblm/db_life_cycle_management_client.py +14 -14
  126. oci/delegate_access_control/delegate_access_control_client.py +26 -26
  127. oci/delegate_access_control/work_request_client.py +4 -4
  128. oci/demand_signal/occ_demand_signal_client.py +7 -7
  129. oci/desktops/desktop_service_client.py +21 -21
  130. oci/devops/devops_client.py +141 -141
  131. oci/disaster_recovery/disaster_recovery_client.py +31 -31
  132. oci/distributed_database/distributed_autonomous_db_service_client.py +18 -18
  133. oci/distributed_database/distributed_db_private_endpoint_service_client.py +7 -7
  134. oci/distributed_database/distributed_db_service_client.py +19 -19
  135. oci/distributed_database/distributed_db_work_request_service_client.py +4 -4
  136. oci/dns/dns_client.py +54 -54
  137. oci/dts/appliance_export_job_client.py +6 -6
  138. oci/dts/shipping_vendors_client.py +1 -1
  139. oci/dts/transfer_appliance_client.py +8 -8
  140. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  141. oci/dts/transfer_device_client.py +5 -5
  142. oci/dts/transfer_job_client.py +6 -6
  143. oci/dts/transfer_package_client.py +7 -7
  144. oci/em_warehouse/em_warehouse_client.py +13 -13
  145. oci/email/email_client.py +31 -31
  146. oci/email_data_plane/email_dp_client.py +1 -1
  147. oci/events/events_client.py +6 -6
  148. oci/file_storage/file_storage_client.py +74 -74
  149. oci/fleet_apps_management/fleet_apps_management_admin_client.py +27 -27
  150. oci/fleet_apps_management/fleet_apps_management_catalog_client.py +7 -7
  151. oci/fleet_apps_management/fleet_apps_management_client.py +32 -32
  152. oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
  153. oci/fleet_apps_management/fleet_apps_management_operations_client.py +29 -29
  154. oci/fleet_apps_management/fleet_apps_management_provision_client.py +6 -6
  155. oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +19 -19
  156. oci/fleet_apps_management/fleet_apps_management_work_request_client.py +4 -4
  157. oci/fleet_software_update/fleet_software_update_client.py +46 -46
  158. oci/functions/functions_invoke_client.py +1 -1
  159. oci/functions/functions_management_client.py +16 -16
  160. oci/fusion_apps/fusion_applications_client.py +41 -41
  161. oci/generative_ai/generative_ai_client.py +22 -22
  162. oci/generative_ai_agent/generative_ai_agent_client.py +38 -38
  163. oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +6 -6
  164. oci/generative_ai_inference/generative_ai_inference_client.py +6 -6
  165. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  166. oci/globally_distributed_database/sharded_database_service_client.py +30 -30
  167. oci/golden_gate/golden_gate_client.py +89 -89
  168. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  169. oci/governance_rules_control_plane/work_request_client.py +5 -5
  170. oci/healthchecks/health_checks_client.py +17 -17
  171. oci/identity/identity_client.py +145 -145
  172. oci/identity_data_plane/dataplane_client.py +2 -2
  173. oci/identity_domains/identity_domains_client.py +311 -311
  174. oci/integration/integration_instance_client.py +19 -19
  175. oci/jms/java_management_service_client.py +79 -79
  176. oci/jms_java_downloads/java_download_client.py +25 -25
  177. oci/key_management/ekm_client.py +5 -5
  178. oci/key_management/kms_crypto_client.py +6 -6
  179. oci/key_management/kms_hsm_cluster_client.py +12 -12
  180. oci/key_management/kms_management_client.py +21 -21
  181. oci/key_management/kms_vault_client.py +14 -14
  182. oci/license_manager/license_manager_client.py +18 -18
  183. oci/limits/limits_client.py +4 -4
  184. oci/limits/quotas_client.py +7 -7
  185. oci/load_balancer/load_balancer_client.py +61 -61
  186. oci/lockbox/lockbox_client.py +24 -24
  187. oci/log_analytics/log_analytics_client.py +200 -200
  188. oci/logging/logging_management_client.py +30 -30
  189. oci/loggingingestion/logging_client.py +1 -1
  190. oci/loggingsearch/log_search_client.py +1 -1
  191. oci/lustre_file_storage/lustre_file_storage_client.py +11 -11
  192. oci/management_agent/management_agent_client.py +28 -28
  193. oci/management_dashboard/dashx_apis_client.py +18 -18
  194. oci/marketplace/account_client.py +2 -2
  195. oci/marketplace/marketplace_client.py +30 -30
  196. oci/marketplace_private_offer/attachment_client.py +5 -5
  197. oci/marketplace_private_offer/offer_client.py +6 -6
  198. oci/marketplace_publisher/attachment_client.py +5 -5
  199. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  200. oci/marketplace_publisher/offer_client.py +6 -6
  201. oci/media_services/media_services_client.py +60 -60
  202. oci/media_services/media_stream_client.py +2 -2
  203. oci/mngdmac/mac_device_client.py +3 -3
  204. oci/mngdmac/mac_order_client.py +11 -11
  205. oci/model_deployment/model_deployment_client.py +2 -2
  206. oci/monitoring/monitoring_client.py +18 -18
  207. oci/mysql/channels_client.py +7 -7
  208. oci/mysql/db_backups_client.py +8 -8
  209. oci/mysql/db_system_client.py +17 -17
  210. oci/mysql/mysqlaas_client.py +7 -7
  211. oci/mysql/replicas_client.py +5 -5
  212. oci/mysql/work_requests_client.py +4 -4
  213. oci/network_firewall/network_firewall_client.py +92 -92
  214. oci/network_load_balancer/network_load_balancer_client.py +35 -35
  215. oci/nosql/nosql_client.py +24 -24
  216. oci/object_storage/object_storage_client.py +55 -55
  217. oci/oce/oce_instance_client.py +10 -10
  218. oci/oci_control_center/occ_metrics_client.py +3 -3
  219. oci/ocvp/cluster_client.py +5 -5
  220. oci/ocvp/esxi_host_client.py +8 -8
  221. oci/ocvp/sddc_client.py +14 -14
  222. oci/ocvp/work_request_client.py +4 -4
  223. oci/oda/management_client.py +59 -59
  224. oci/oda/oda_client.py +17 -17
  225. oci/oda/odapackage_client.py +7 -7
  226. oci/onesubscription/billing_schedule_client.py +1 -1
  227. oci/onesubscription/commitment_client.py +2 -2
  228. oci/onesubscription/computed_usage_client.py +3 -3
  229. oci/onesubscription/invoice_summary_client.py +2 -2
  230. oci/onesubscription/organization_subscription_client.py +1 -1
  231. oci/onesubscription/ratecard_client.py +1 -1
  232. oci/onesubscription/subscribed_service_client.py +2 -2
  233. oci/onesubscription/subscription_client.py +1 -1
  234. oci/ons/notification_control_plane_client.py +6 -6
  235. oci/ons/notification_data_plane_client.py +10 -10
  236. oci/opa/opa_instance_client.py +13 -13
  237. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  238. oci/opensearch/opensearch_cluster_client.py +17 -17
  239. oci/opensearch/opensearch_cluster_pipeline_client.py +5 -5
  240. oci/operator_access_control/access_requests_client.py +10 -10
  241. oci/operator_access_control/operator_actions_client.py +2 -2
  242. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  243. oci/operator_access_control/operator_control_client.py +6 -6
  244. oci/opsi/operations_insights_client.py +181 -181
  245. oci/optimizer/optimizer_client.py +26 -26
  246. oci/os_management/event_client.py +8 -8
  247. oci/os_management/os_management_client.py +69 -69
  248. oci/os_management_hub/event_client.py +8 -8
  249. oci/os_management_hub/lifecycle_environment_client.py +13 -13
  250. oci/os_management_hub/managed_instance_client.py +33 -33
  251. oci/os_management_hub/managed_instance_group_client.py +26 -26
  252. oci/os_management_hub/management_station_client.py +10 -10
  253. oci/os_management_hub/onboarding_client.py +13 -13
  254. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  255. oci/os_management_hub/scheduled_job_client.py +7 -7
  256. oci/os_management_hub/software_source_client.py +33 -33
  257. oci/os_management_hub/work_request_client.py +5 -5
  258. oci/osp_gateway/address_rule_service_client.py +1 -1
  259. oci/osp_gateway/address_service_client.py +2 -2
  260. oci/osp_gateway/invoice_service_client.py +5 -5
  261. oci/osp_gateway/subscription_service_client.py +5 -5
  262. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  263. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  264. oci/osub_subscription/commitment_client.py +2 -2
  265. oci/osub_subscription/ratecard_client.py +1 -1
  266. oci/osub_subscription/subscription_client.py +1 -1
  267. oci/osub_usage/computed_usage_client.py +3 -3
  268. oci/psql/postgresql_client.py +34 -34
  269. oci/queue/queue_admin_client.py +11 -11
  270. oci/queue/queue_client.py +8 -8
  271. oci/recovery/database_recovery_client.py +26 -26
  272. oci/redis/__init__.py +5 -1
  273. oci/redis/models/__init__.py +30 -0
  274. oci/redis/models/attach_oci_cache_users_details.py +70 -0
  275. oci/redis/models/attached_oci_cache_cluster.py +70 -0
  276. oci/redis/models/attached_oci_cache_user.py +70 -0
  277. oci/redis/models/authentication_mode.py +107 -0
  278. oci/redis/models/change_oci_cache_user_compartment_details.py +70 -0
  279. oci/redis/models/create_identity_token_details.py +167 -0
  280. oci/redis/models/create_oci_cache_user_details.py +287 -0
  281. oci/redis/models/detach_oci_cache_users_details.py +70 -0
  282. oci/redis/models/iam_authentication_mode.py +49 -0
  283. oci/redis/models/identity_token_details_response.py +101 -0
  284. oci/redis/models/oci_cache_user.py +492 -0
  285. oci/redis/models/oci_cache_user_collection.py +70 -0
  286. oci/redis/models/oci_cache_user_summary.py +386 -0
  287. oci/redis/models/password_authentication_mode.py +80 -0
  288. oci/redis/models/update_oci_cache_user_details.py +225 -0
  289. oci/redis/models/work_request.py +27 -3
  290. oci/redis/models/work_request_summary.py +27 -3
  291. oci/redis/oci_cache_user_client.py +951 -0
  292. oci/redis/oci_cache_user_client_composite_operations.py +196 -0
  293. oci/redis/redis_cluster_client.py +410 -12
  294. oci/redis/redis_cluster_client_composite_operations.py +88 -0
  295. oci/redis/redis_identity_client.py +241 -0
  296. oci/redis/redis_identity_client_composite_operations.py +26 -0
  297. oci/resource_manager/resource_manager_client.py +52 -52
  298. oci/resource_scheduler/schedule_client.py +14 -14
  299. oci/resource_search/resource_search_client.py +3 -3
  300. oci/rover/rover_bundle_client.py +8 -8
  301. oci/rover/rover_cluster_client.py +8 -8
  302. oci/rover/rover_entitlement_client.py +6 -6
  303. oci/rover/rover_node_client.py +15 -15
  304. oci/rover/shape_client.py +1 -1
  305. oci/rover/work_requests_client.py +5 -5
  306. oci/sch/connector_plugins_client.py +2 -2
  307. oci/sch/service_connector_client.py +12 -12
  308. oci/secrets/secrets_client.py +3 -3
  309. oci/security_attribute/security_attribute_client.py +18 -18
  310. oci/service_catalog/service_catalog_client.py +26 -26
  311. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  312. oci/service_mesh/service_mesh_client.py +48 -48
  313. oci/stack_monitoring/stack_monitoring_client.py +87 -87
  314. oci/streaming/stream_admin_client.py +18 -18
  315. oci/streaming/stream_client.py +8 -8
  316. oci/tenant_manager_control_plane/domain_client.py +5 -5
  317. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  318. oci/tenant_manager_control_plane/governance_client.py +2 -2
  319. oci/tenant_manager_control_plane/link_client.py +3 -3
  320. oci/tenant_manager_control_plane/orders_client.py +2 -2
  321. oci/tenant_manager_control_plane/organization_client.py +10 -10
  322. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  323. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  324. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  325. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  326. oci/threat_intelligence/threatintel_client.py +5 -5
  327. oci/usage/resources_client.py +2 -2
  328. oci/usage/rewards_client.py +6 -6
  329. oci/usage/usagelimits_client.py +1 -1
  330. oci/usage_api/usageapi_client.py +33 -33
  331. oci/vault/vaults_client.py +13 -13
  332. oci/vbs_inst/vbs_instance_client.py +10 -10
  333. oci/version.py +1 -1
  334. oci/visual_builder/vb_instance_client.py +14 -14
  335. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  336. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  337. oci/waa/waa_client.py +13 -13
  338. oci/waa/work_request_client.py +4 -4
  339. oci/waas/redirect_client.py +6 -6
  340. oci/waas/waas_client.py +66 -66
  341. oci/waf/waf_client.py +24 -24
  342. oci/wlms/__init__.py +16 -0
  343. oci/wlms/models/__init__.py +136 -0
  344. oci/wlms/models/agreement.py +132 -0
  345. oci/wlms/models/agreement_record.py +132 -0
  346. oci/wlms/models/agreement_record_collection.py +70 -0
  347. oci/wlms/models/agreement_record_summary.py +132 -0
  348. oci/wlms/models/applicable_patch_collection.py +70 -0
  349. oci/wlms/models/applicable_patch_summary.py +245 -0
  350. oci/wlms/models/backup.py +265 -0
  351. oci/wlms/models/backup_collection.py +70 -0
  352. oci/wlms/models/backup_content.py +99 -0
  353. oci/wlms/models/backup_summary.py +265 -0
  354. oci/wlms/models/backup_to_restore.py +121 -0
  355. oci/wlms/models/binary_backup_content.py +76 -0
  356. oci/wlms/models/change_wls_domain_compartment_details.py +74 -0
  357. oci/wlms/models/configuration.py +101 -0
  358. oci/wlms/models/create_agreement_record_details.py +101 -0
  359. oci/wlms/models/default_error.py +101 -0
  360. oci/wlms/models/install_latest_patches_on_wls_domain_details.py +101 -0
  361. oci/wlms/models/installed_patch_collection.py +70 -0
  362. oci/wlms/models/installed_patch_summary.py +140 -0
  363. oci/wlms/models/managed_instance.py +406 -0
  364. oci/wlms/models/managed_instance_collection.py +70 -0
  365. oci/wlms/models/managed_instance_configuration.py +101 -0
  366. oci/wlms/models/managed_instance_summary.py +311 -0
  367. oci/wlms/models/middleware_backup_patch.py +140 -0
  368. oci/wlms/models/middleware_binary_backup_content.py +101 -0
  369. oci/wlms/models/patch.py +245 -0
  370. oci/wlms/models/required_policy_collection.py +70 -0
  371. oci/wlms/models/required_policy_summary.py +132 -0
  372. oci/wlms/models/resource_inventory.py +262 -0
  373. oci/wlms/models/restart_wls_domain_details.py +70 -0
  374. oci/wlms/models/restore_wls_domain_details.py +132 -0
  375. oci/wlms/models/scan_result_collection.py +70 -0
  376. oci/wlms/models/scan_result_summary.py +288 -0
  377. oci/wlms/models/server.py +696 -0
  378. oci/wlms/models/server_collection.py +70 -0
  379. oci/wlms/models/server_summary.py +696 -0
  380. oci/wlms/models/server_to_restore.py +117 -0
  381. oci/wlms/models/set_restart_order_details.py +66 -0
  382. oci/wlms/models/set_restart_order_server_collection.py +70 -0
  383. oci/wlms/models/set_restart_order_server_summary.py +101 -0
  384. oci/wlms/models/stop_wls_domain_details.py +70 -0
  385. oci/wlms/models/update_configuration_details.py +101 -0
  386. oci/wlms/models/update_managed_instance_configuration_details.py +101 -0
  387. oci/wlms/models/update_managed_instance_details.py +66 -0
  388. oci/wlms/models/update_wls_domain_configuration_details.py +350 -0
  389. oci/wlms/models/update_wls_domain_credential_details.py +132 -0
  390. oci/wlms/models/update_wls_domain_details.py +148 -0
  391. oci/wlms/models/wls_domain.py +616 -0
  392. oci/wlms/models/wls_domain_collection.py +70 -0
  393. oci/wlms/models/wls_domain_configuration.py +350 -0
  394. oci/wlms/models/wls_domain_credential.py +183 -0
  395. oci/wlms/models/wls_domain_credential_collection.py +70 -0
  396. oci/wlms/models/wls_domain_credential_summary.py +101 -0
  397. oci/wlms/models/wls_domain_summary.py +516 -0
  398. oci/wlms/models/work_request.py +453 -0
  399. oci/wlms/models/work_request_error.py +142 -0
  400. oci/wlms/models/work_request_error_collection.py +70 -0
  401. oci/wlms/models/work_request_log_entry.py +105 -0
  402. oci/wlms/models/work_request_log_entry_collection.py +70 -0
  403. oci/wlms/models/work_request_resource.py +236 -0
  404. oci/wlms/models/work_request_summary.py +451 -0
  405. oci/wlms/models/work_request_summary_collection.py +70 -0
  406. oci/wlms/weblogic_management_service_client.py +5410 -0
  407. oci/wlms/weblogic_management_service_client_composite_operations.py +433 -0
  408. oci/wlms/weblogic_management_service_configuration_client.py +331 -0
  409. oci/wlms/weblogic_management_service_configuration_client_composite_operations.py +26 -0
  410. oci/work_requests/work_request_client.py +4 -4
  411. oci/zpr/zpr_client.py +15 -15
  412. {oci-2.154.0.dist-info → oci-2.154.2.dist-info}/METADATA +1 -1
  413. {oci-2.154.0.dist-info → oci-2.154.2.dist-info}/RECORD +417 -289
  414. {oci-2.154.0.dist-info → oci-2.154.2.dist-info}/LICENSE.txt +0 -0
  415. {oci-2.154.0.dist-info → oci-2.154.2.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  416. {oci-2.154.0.dist-info → oci-2.154.2.dist-info}/WHEEL +0 -0
  417. {oci-2.154.0.dist-info → oci-2.154.2.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,525 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2025, 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: 20241130
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
+ An asynchronous work request. Work requests help you monitor long-running operations. When you start a long-running operation,
16
+ the service creates a work request. A work request is an activity log that lets you track each step in the operation's
17
+ progress. Each work request has an OCID that lets you interact with it programmatically and use it for automation.
18
+ """
19
+
20
+ #: A constant which can be used with the operation_type property of a WorkRequest.
21
+ #: This constant has a value of "CREATE_PRIVILEGED_API_CONTROL"
22
+ OPERATION_TYPE_CREATE_PRIVILEGED_API_CONTROL = "CREATE_PRIVILEGED_API_CONTROL"
23
+
24
+ #: A constant which can be used with the operation_type property of a WorkRequest.
25
+ #: This constant has a value of "GET_PRIVILEGED_API_CONTROL"
26
+ OPERATION_TYPE_GET_PRIVILEGED_API_CONTROL = "GET_PRIVILEGED_API_CONTROL"
27
+
28
+ #: A constant which can be used with the operation_type property of a WorkRequest.
29
+ #: This constant has a value of "LIST_PRIVILEGED_API_CONTROL"
30
+ OPERATION_TYPE_LIST_PRIVILEGED_API_CONTROL = "LIST_PRIVILEGED_API_CONTROL"
31
+
32
+ #: A constant which can be used with the operation_type property of a WorkRequest.
33
+ #: This constant has a value of "UPDATE_PRIVILEGED_API_CONTROL"
34
+ OPERATION_TYPE_UPDATE_PRIVILEGED_API_CONTROL = "UPDATE_PRIVILEGED_API_CONTROL"
35
+
36
+ #: A constant which can be used with the operation_type property of a WorkRequest.
37
+ #: This constant has a value of "DELETE_PRIVILEGED_API_CONTROL"
38
+ OPERATION_TYPE_DELETE_PRIVILEGED_API_CONTROL = "DELETE_PRIVILEGED_API_CONTROL"
39
+
40
+ #: A constant which can be used with the operation_type property of a WorkRequest.
41
+ #: This constant has a value of "MOVE_PRIVILEGED_API_CONTROL"
42
+ OPERATION_TYPE_MOVE_PRIVILEGED_API_CONTROL = "MOVE_PRIVILEGED_API_CONTROL"
43
+
44
+ #: A constant which can be used with the operation_type property of a WorkRequest.
45
+ #: This constant has a value of "CREATE_PRIVILEGED_API_REQUEST"
46
+ OPERATION_TYPE_CREATE_PRIVILEGED_API_REQUEST = "CREATE_PRIVILEGED_API_REQUEST"
47
+
48
+ #: A constant which can be used with the operation_type property of a WorkRequest.
49
+ #: This constant has a value of "GET_PRIVILEGED_API_REQUEST"
50
+ OPERATION_TYPE_GET_PRIVILEGED_API_REQUEST = "GET_PRIVILEGED_API_REQUEST"
51
+
52
+ #: A constant which can be used with the operation_type property of a WorkRequest.
53
+ #: This constant has a value of "LIST_PRIVILEGED_API_REQUEST"
54
+ OPERATION_TYPE_LIST_PRIVILEGED_API_REQUEST = "LIST_PRIVILEGED_API_REQUEST"
55
+
56
+ #: A constant which can be used with the operation_type property of a WorkRequest.
57
+ #: This constant has a value of "APPROVE_PRIVILEGED_API_REQUEST"
58
+ OPERATION_TYPE_APPROVE_PRIVILEGED_API_REQUEST = "APPROVE_PRIVILEGED_API_REQUEST"
59
+
60
+ #: A constant which can be used with the operation_type property of a WorkRequest.
61
+ #: This constant has a value of "REJECT_PRIVILEGED_API_REQUEST"
62
+ OPERATION_TYPE_REJECT_PRIVILEGED_API_REQUEST = "REJECT_PRIVILEGED_API_REQUEST"
63
+
64
+ #: A constant which can be used with the operation_type property of a WorkRequest.
65
+ #: This constant has a value of "REVOKE_PRIVILEGED_API_REQUEST"
66
+ OPERATION_TYPE_REVOKE_PRIVILEGED_API_REQUEST = "REVOKE_PRIVILEGED_API_REQUEST"
67
+
68
+ #: A constant which can be used with the operation_type property of a WorkRequest.
69
+ #: This constant has a value of "CLOSE_PRIVILEGED_API_REQUEST"
70
+ OPERATION_TYPE_CLOSE_PRIVILEGED_API_REQUEST = "CLOSE_PRIVILEGED_API_REQUEST"
71
+
72
+ #: A constant which can be used with the operation_type property of a WorkRequest.
73
+ #: This constant has a value of "TIMEOUT_PRIVILEGED_API_REQUEST"
74
+ OPERATION_TYPE_TIMEOUT_PRIVILEGED_API_REQUEST = "TIMEOUT_PRIVILEGED_API_REQUEST"
75
+
76
+ #: A constant which can be used with the operation_type property of a WorkRequest.
77
+ #: This constant has a value of "CUSTOMER_APPROVAL_CHECK_PRIVILEGED_API_REQUEST"
78
+ OPERATION_TYPE_CUSTOMER_APPROVAL_CHECK_PRIVILEGED_API_REQUEST = "CUSTOMER_APPROVAL_CHECK_PRIVILEGED_API_REQUEST"
79
+
80
+ #: A constant which can be used with the operation_type property of a WorkRequest.
81
+ #: This constant has a value of "CHECK_PRIVILEGED_API_REQUEST_STATUS"
82
+ OPERATION_TYPE_CHECK_PRIVILEGED_API_REQUEST_STATUS = "CHECK_PRIVILEGED_API_REQUEST_STATUS"
83
+
84
+ #: A constant which can be used with the operation_type property of a WorkRequest.
85
+ #: This constant has a value of "GET_PRIVILEGED_API_WORK_REQUEST"
86
+ OPERATION_TYPE_GET_PRIVILEGED_API_WORK_REQUEST = "GET_PRIVILEGED_API_WORK_REQUEST"
87
+
88
+ #: A constant which can be used with the operation_type property of a WorkRequest.
89
+ #: This constant has a value of "LIST_PRIVILEGED_API_WORK_REQUEST"
90
+ OPERATION_TYPE_LIST_PRIVILEGED_API_WORK_REQUEST = "LIST_PRIVILEGED_API_WORK_REQUEST"
91
+
92
+ #: A constant which can be used with the operation_type property of a WorkRequest.
93
+ #: This constant has a value of "LIST_PRIVILEGED_API_WORK_REQUEST_ERRORS"
94
+ OPERATION_TYPE_LIST_PRIVILEGED_API_WORK_REQUEST_ERRORS = "LIST_PRIVILEGED_API_WORK_REQUEST_ERRORS"
95
+
96
+ #: A constant which can be used with the operation_type property of a WorkRequest.
97
+ #: This constant has a value of "LIST_PRIVILEGED_API_WORK_REQUEST_LOGS"
98
+ OPERATION_TYPE_LIST_PRIVILEGED_API_WORK_REQUEST_LOGS = "LIST_PRIVILEGED_API_WORK_REQUEST_LOGS"
99
+
100
+ #: A constant which can be used with the operation_type property of a WorkRequest.
101
+ #: This constant has a value of "CANCEL_PRIVILEGED_API_WORK_REQUEST"
102
+ OPERATION_TYPE_CANCEL_PRIVILEGED_API_WORK_REQUEST = "CANCEL_PRIVILEGED_API_WORK_REQUEST"
103
+
104
+ #: A constant which can be used with the operation_type property of a WorkRequest.
105
+ #: This constant has a value of "LIST_API_METADATA"
106
+ OPERATION_TYPE_LIST_API_METADATA = "LIST_API_METADATA"
107
+
108
+ #: A constant which can be used with the operation_type property of a WorkRequest.
109
+ #: This constant has a value of "LIST_API_METADATA_BY_ENTITY_TYPE"
110
+ OPERATION_TYPE_LIST_API_METADATA_BY_ENTITY_TYPE = "LIST_API_METADATA_BY_ENTITY_TYPE"
111
+
112
+ #: A constant which can be used with the status property of a WorkRequest.
113
+ #: This constant has a value of "ACCEPTED"
114
+ STATUS_ACCEPTED = "ACCEPTED"
115
+
116
+ #: A constant which can be used with the status property of a WorkRequest.
117
+ #: This constant has a value of "IN_PROGRESS"
118
+ STATUS_IN_PROGRESS = "IN_PROGRESS"
119
+
120
+ #: A constant which can be used with the status property of a WorkRequest.
121
+ #: This constant has a value of "WAITING"
122
+ STATUS_WAITING = "WAITING"
123
+
124
+ #: A constant which can be used with the status property of a WorkRequest.
125
+ #: This constant has a value of "NEEDS_ATTENTION"
126
+ STATUS_NEEDS_ATTENTION = "NEEDS_ATTENTION"
127
+
128
+ #: A constant which can be used with the status property of a WorkRequest.
129
+ #: This constant has a value of "FAILED"
130
+ STATUS_FAILED = "FAILED"
131
+
132
+ #: A constant which can be used with the status property of a WorkRequest.
133
+ #: This constant has a value of "SUCCEEDED"
134
+ STATUS_SUCCEEDED = "SUCCEEDED"
135
+
136
+ #: A constant which can be used with the status property of a WorkRequest.
137
+ #: This constant has a value of "CANCELING"
138
+ STATUS_CANCELING = "CANCELING"
139
+
140
+ #: A constant which can be used with the status property of a WorkRequest.
141
+ #: This constant has a value of "CANCELED"
142
+ STATUS_CANCELED = "CANCELED"
143
+
144
+ def __init__(self, **kwargs):
145
+ """
146
+ Initializes a new WorkRequest object with values from keyword arguments.
147
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
148
+
149
+ :param operation_type:
150
+ The value to assign to the operation_type property of this WorkRequest.
151
+ Allowed values for this property are: "CREATE_PRIVILEGED_API_CONTROL", "GET_PRIVILEGED_API_CONTROL", "LIST_PRIVILEGED_API_CONTROL", "UPDATE_PRIVILEGED_API_CONTROL", "DELETE_PRIVILEGED_API_CONTROL", "MOVE_PRIVILEGED_API_CONTROL", "CREATE_PRIVILEGED_API_REQUEST", "GET_PRIVILEGED_API_REQUEST", "LIST_PRIVILEGED_API_REQUEST", "APPROVE_PRIVILEGED_API_REQUEST", "REJECT_PRIVILEGED_API_REQUEST", "REVOKE_PRIVILEGED_API_REQUEST", "CLOSE_PRIVILEGED_API_REQUEST", "TIMEOUT_PRIVILEGED_API_REQUEST", "CUSTOMER_APPROVAL_CHECK_PRIVILEGED_API_REQUEST", "CHECK_PRIVILEGED_API_REQUEST_STATUS", "GET_PRIVILEGED_API_WORK_REQUEST", "LIST_PRIVILEGED_API_WORK_REQUEST", "LIST_PRIVILEGED_API_WORK_REQUEST_ERRORS", "LIST_PRIVILEGED_API_WORK_REQUEST_LOGS", "CANCEL_PRIVILEGED_API_WORK_REQUEST", "LIST_API_METADATA", "LIST_API_METADATA_BY_ENTITY_TYPE", 'UNKNOWN_ENUM_VALUE'.
152
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
153
+ :type operation_type: str
154
+
155
+ :param status:
156
+ The value to assign to the status property of this WorkRequest.
157
+ Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "WAITING", "NEEDS_ATTENTION", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED", 'UNKNOWN_ENUM_VALUE'.
158
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
159
+ :type status: str
160
+
161
+ :param id:
162
+ The value to assign to the id property of this WorkRequest.
163
+ :type id: str
164
+
165
+ :param compartment_id:
166
+ The value to assign to the compartment_id property of this WorkRequest.
167
+ :type compartment_id: str
168
+
169
+ :param resources:
170
+ The value to assign to the resources property of this WorkRequest.
171
+ :type resources: list[oci.apiaccesscontrol.models.WorkRequestResource]
172
+
173
+ :param percent_complete:
174
+ The value to assign to the percent_complete property of this WorkRequest.
175
+ :type percent_complete: float
176
+
177
+ :param time_accepted:
178
+ The value to assign to the time_accepted property of this WorkRequest.
179
+ :type time_accepted: datetime
180
+
181
+ :param time_started:
182
+ The value to assign to the time_started property of this WorkRequest.
183
+ :type time_started: datetime
184
+
185
+ :param time_finished:
186
+ The value to assign to the time_finished property of this WorkRequest.
187
+ :type time_finished: datetime
188
+
189
+ :param time_updated:
190
+ The value to assign to the time_updated property of this WorkRequest.
191
+ :type time_updated: datetime
192
+
193
+ """
194
+ self.swagger_types = {
195
+ 'operation_type': 'str',
196
+ 'status': 'str',
197
+ 'id': 'str',
198
+ 'compartment_id': 'str',
199
+ 'resources': 'list[WorkRequestResource]',
200
+ 'percent_complete': 'float',
201
+ 'time_accepted': 'datetime',
202
+ 'time_started': 'datetime',
203
+ 'time_finished': 'datetime',
204
+ 'time_updated': 'datetime'
205
+ }
206
+ self.attribute_map = {
207
+ 'operation_type': 'operationType',
208
+ 'status': 'status',
209
+ 'id': 'id',
210
+ 'compartment_id': 'compartmentId',
211
+ 'resources': 'resources',
212
+ 'percent_complete': 'percentComplete',
213
+ 'time_accepted': 'timeAccepted',
214
+ 'time_started': 'timeStarted',
215
+ 'time_finished': 'timeFinished',
216
+ 'time_updated': 'timeUpdated'
217
+ }
218
+ self._operation_type = None
219
+ self._status = None
220
+ self._id = None
221
+ self._compartment_id = None
222
+ self._resources = None
223
+ self._percent_complete = None
224
+ self._time_accepted = None
225
+ self._time_started = None
226
+ self._time_finished = None
227
+ self._time_updated = None
228
+
229
+ @property
230
+ def operation_type(self):
231
+ """
232
+ **[Required]** Gets the operation_type of this WorkRequest.
233
+ The asynchronous operation tracked by this work request.
234
+
235
+ Allowed values for this property are: "CREATE_PRIVILEGED_API_CONTROL", "GET_PRIVILEGED_API_CONTROL", "LIST_PRIVILEGED_API_CONTROL", "UPDATE_PRIVILEGED_API_CONTROL", "DELETE_PRIVILEGED_API_CONTROL", "MOVE_PRIVILEGED_API_CONTROL", "CREATE_PRIVILEGED_API_REQUEST", "GET_PRIVILEGED_API_REQUEST", "LIST_PRIVILEGED_API_REQUEST", "APPROVE_PRIVILEGED_API_REQUEST", "REJECT_PRIVILEGED_API_REQUEST", "REVOKE_PRIVILEGED_API_REQUEST", "CLOSE_PRIVILEGED_API_REQUEST", "TIMEOUT_PRIVILEGED_API_REQUEST", "CUSTOMER_APPROVAL_CHECK_PRIVILEGED_API_REQUEST", "CHECK_PRIVILEGED_API_REQUEST_STATUS", "GET_PRIVILEGED_API_WORK_REQUEST", "LIST_PRIVILEGED_API_WORK_REQUEST", "LIST_PRIVILEGED_API_WORK_REQUEST_ERRORS", "LIST_PRIVILEGED_API_WORK_REQUEST_LOGS", "CANCEL_PRIVILEGED_API_WORK_REQUEST", "LIST_API_METADATA", "LIST_API_METADATA_BY_ENTITY_TYPE", 'UNKNOWN_ENUM_VALUE'.
236
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
237
+
238
+
239
+ :return: The operation_type of this WorkRequest.
240
+ :rtype: str
241
+ """
242
+ return self._operation_type
243
+
244
+ @operation_type.setter
245
+ def operation_type(self, operation_type):
246
+ """
247
+ Sets the operation_type of this WorkRequest.
248
+ The asynchronous operation tracked by this work request.
249
+
250
+
251
+ :param operation_type: The operation_type of this WorkRequest.
252
+ :type: str
253
+ """
254
+ allowed_values = ["CREATE_PRIVILEGED_API_CONTROL", "GET_PRIVILEGED_API_CONTROL", "LIST_PRIVILEGED_API_CONTROL", "UPDATE_PRIVILEGED_API_CONTROL", "DELETE_PRIVILEGED_API_CONTROL", "MOVE_PRIVILEGED_API_CONTROL", "CREATE_PRIVILEGED_API_REQUEST", "GET_PRIVILEGED_API_REQUEST", "LIST_PRIVILEGED_API_REQUEST", "APPROVE_PRIVILEGED_API_REQUEST", "REJECT_PRIVILEGED_API_REQUEST", "REVOKE_PRIVILEGED_API_REQUEST", "CLOSE_PRIVILEGED_API_REQUEST", "TIMEOUT_PRIVILEGED_API_REQUEST", "CUSTOMER_APPROVAL_CHECK_PRIVILEGED_API_REQUEST", "CHECK_PRIVILEGED_API_REQUEST_STATUS", "GET_PRIVILEGED_API_WORK_REQUEST", "LIST_PRIVILEGED_API_WORK_REQUEST", "LIST_PRIVILEGED_API_WORK_REQUEST_ERRORS", "LIST_PRIVILEGED_API_WORK_REQUEST_LOGS", "CANCEL_PRIVILEGED_API_WORK_REQUEST", "LIST_API_METADATA", "LIST_API_METADATA_BY_ENTITY_TYPE"]
255
+ if not value_allowed_none_or_none_sentinel(operation_type, allowed_values):
256
+ operation_type = 'UNKNOWN_ENUM_VALUE'
257
+ self._operation_type = operation_type
258
+
259
+ @property
260
+ def status(self):
261
+ """
262
+ **[Required]** Gets the status of this WorkRequest.
263
+ The status of the work request.
264
+
265
+ Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "WAITING", "NEEDS_ATTENTION", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED", 'UNKNOWN_ENUM_VALUE'.
266
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
267
+
268
+
269
+ :return: The status of this WorkRequest.
270
+ :rtype: str
271
+ """
272
+ return self._status
273
+
274
+ @status.setter
275
+ def status(self, status):
276
+ """
277
+ Sets the status of this WorkRequest.
278
+ The status of the work request.
279
+
280
+
281
+ :param status: The status of this WorkRequest.
282
+ :type: str
283
+ """
284
+ allowed_values = ["ACCEPTED", "IN_PROGRESS", "WAITING", "NEEDS_ATTENTION", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"]
285
+ if not value_allowed_none_or_none_sentinel(status, allowed_values):
286
+ status = 'UNKNOWN_ENUM_VALUE'
287
+ self._status = status
288
+
289
+ @property
290
+ def id(self):
291
+ """
292
+ **[Required]** Gets the id of this WorkRequest.
293
+ The `OCID`__ of the work request.
294
+
295
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
296
+
297
+
298
+ :return: The id of this WorkRequest.
299
+ :rtype: str
300
+ """
301
+ return self._id
302
+
303
+ @id.setter
304
+ def id(self, id):
305
+ """
306
+ Sets the id of this WorkRequest.
307
+ The `OCID`__ of the work request.
308
+
309
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
310
+
311
+
312
+ :param id: The id of this WorkRequest.
313
+ :type: str
314
+ """
315
+ self._id = id
316
+
317
+ @property
318
+ def compartment_id(self):
319
+ """
320
+ **[Required]** Gets the compartment_id of this WorkRequest.
321
+ The `OCID`__ of the compartment that contains the work request.
322
+
323
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
324
+
325
+
326
+ :return: The compartment_id of this WorkRequest.
327
+ :rtype: str
328
+ """
329
+ return self._compartment_id
330
+
331
+ @compartment_id.setter
332
+ def compartment_id(self, compartment_id):
333
+ """
334
+ Sets the compartment_id of this WorkRequest.
335
+ The `OCID`__ of the compartment that contains the work request.
336
+
337
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
338
+
339
+
340
+ :param compartment_id: The compartment_id of this WorkRequest.
341
+ :type: str
342
+ """
343
+ self._compartment_id = compartment_id
344
+
345
+ @property
346
+ def resources(self):
347
+ """
348
+ **[Required]** Gets the resources of this WorkRequest.
349
+ The resources that are affected by the work request.
350
+
351
+
352
+ :return: The resources of this WorkRequest.
353
+ :rtype: list[oci.apiaccesscontrol.models.WorkRequestResource]
354
+ """
355
+ return self._resources
356
+
357
+ @resources.setter
358
+ def resources(self, resources):
359
+ """
360
+ Sets the resources of this WorkRequest.
361
+ The resources that are affected by the work request.
362
+
363
+
364
+ :param resources: The resources of this WorkRequest.
365
+ :type: list[oci.apiaccesscontrol.models.WorkRequestResource]
366
+ """
367
+ self._resources = resources
368
+
369
+ @property
370
+ def percent_complete(self):
371
+ """
372
+ **[Required]** Gets the percent_complete of this WorkRequest.
373
+ Shows the progress of the operation tracked by the work request, as a percentage of the total work
374
+ that must be performed.
375
+
376
+
377
+ :return: The percent_complete of this WorkRequest.
378
+ :rtype: float
379
+ """
380
+ return self._percent_complete
381
+
382
+ @percent_complete.setter
383
+ def percent_complete(self, percent_complete):
384
+ """
385
+ Sets the percent_complete of this WorkRequest.
386
+ Shows the progress of the operation tracked by the work request, as a percentage of the total work
387
+ that must be performed.
388
+
389
+
390
+ :param percent_complete: The percent_complete of this WorkRequest.
391
+ :type: float
392
+ """
393
+ self._percent_complete = percent_complete
394
+
395
+ @property
396
+ def time_accepted(self):
397
+ """
398
+ **[Required]** Gets the time_accepted of this WorkRequest.
399
+ The date and time the work request was created, in the format defined by
400
+ `RFC 3339`__.
401
+
402
+ __ https://tools.ietf.org/html/rfc3339
403
+
404
+
405
+ :return: The time_accepted of this WorkRequest.
406
+ :rtype: datetime
407
+ """
408
+ return self._time_accepted
409
+
410
+ @time_accepted.setter
411
+ def time_accepted(self, time_accepted):
412
+ """
413
+ Sets the time_accepted of this WorkRequest.
414
+ The date and time the work request was created, in the format defined by
415
+ `RFC 3339`__.
416
+
417
+ __ https://tools.ietf.org/html/rfc3339
418
+
419
+
420
+ :param time_accepted: The time_accepted of this WorkRequest.
421
+ :type: datetime
422
+ """
423
+ self._time_accepted = time_accepted
424
+
425
+ @property
426
+ def time_started(self):
427
+ """
428
+ Gets the time_started of this WorkRequest.
429
+ The date and time the work request was started, in the format defined by
430
+ `RFC 3339`__.
431
+
432
+ __ https://tools.ietf.org/html/rfc3339
433
+
434
+
435
+ :return: The time_started of this WorkRequest.
436
+ :rtype: datetime
437
+ """
438
+ return self._time_started
439
+
440
+ @time_started.setter
441
+ def time_started(self, time_started):
442
+ """
443
+ Sets the time_started of this WorkRequest.
444
+ The date and time the work request was started, in the format defined by
445
+ `RFC 3339`__.
446
+
447
+ __ https://tools.ietf.org/html/rfc3339
448
+
449
+
450
+ :param time_started: The time_started of this WorkRequest.
451
+ :type: datetime
452
+ """
453
+ self._time_started = time_started
454
+
455
+ @property
456
+ def time_finished(self):
457
+ """
458
+ Gets the time_finished of this WorkRequest.
459
+ The date and time the work request was finished, in the format defined by
460
+ `RFC 3339`__.
461
+
462
+ __ https://tools.ietf.org/rfc/rfc3339
463
+
464
+
465
+ :return: The time_finished of this WorkRequest.
466
+ :rtype: datetime
467
+ """
468
+ return self._time_finished
469
+
470
+ @time_finished.setter
471
+ def time_finished(self, time_finished):
472
+ """
473
+ Sets the time_finished of this WorkRequest.
474
+ The date and time the work request was finished, in the format defined by
475
+ `RFC 3339`__.
476
+
477
+ __ https://tools.ietf.org/rfc/rfc3339
478
+
479
+
480
+ :param time_finished: The time_finished of this WorkRequest.
481
+ :type: datetime
482
+ """
483
+ self._time_finished = time_finished
484
+
485
+ @property
486
+ def time_updated(self):
487
+ """
488
+ Gets the time_updated of this WorkRequest.
489
+ The date and time the work request was updated, in the format defined by
490
+ `RFC 3339`__.
491
+
492
+ __ https://tools.ietf.org/rfc/rfc3339
493
+
494
+
495
+ :return: The time_updated of this WorkRequest.
496
+ :rtype: datetime
497
+ """
498
+ return self._time_updated
499
+
500
+ @time_updated.setter
501
+ def time_updated(self, time_updated):
502
+ """
503
+ Sets the time_updated of this WorkRequest.
504
+ The date and time the work request was updated, in the format defined by
505
+ `RFC 3339`__.
506
+
507
+ __ https://tools.ietf.org/rfc/rfc3339
508
+
509
+
510
+ :param time_updated: The time_updated of this WorkRequest.
511
+ :type: datetime
512
+ """
513
+ self._time_updated = time_updated
514
+
515
+ def __repr__(self):
516
+ return formatted_flat_dict(self)
517
+
518
+ def __eq__(self, other):
519
+ if other is None:
520
+ return False
521
+
522
+ return self.__dict__ == other.__dict__
523
+
524
+ def __ne__(self, other):
525
+ return not self == other
@@ -0,0 +1,144 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2025, 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: 20241130
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 performing an operation that is tracked by 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
+ self.attribute_map = {
42
+ 'code': 'code',
43
+ 'message': 'message',
44
+ 'timestamp': 'timestamp'
45
+ }
46
+ self._code = None
47
+ self._message = None
48
+ self._timestamp = None
49
+
50
+ @property
51
+ def code(self):
52
+ """
53
+ **[Required]** Gets the code of this WorkRequestError.
54
+ A machine-usable code for the error that occurred. For a list of error codes, see
55
+ `API Errors`__.
56
+
57
+ __ https://docs.cloud.oracle.com/iaas/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 occurred. For a list of error codes, see
70
+ `API Errors`__.
71
+
72
+ __ https://docs.cloud.oracle.com/iaas/Content/API/References/apierrors.htm
73
+
74
+
75
+ :param code: The code of this WorkRequestError.
76
+ :type: str
77
+ """
78
+ self._code = code
79
+
80
+ @property
81
+ def message(self):
82
+ """
83
+ **[Required]** Gets the message of this WorkRequestError.
84
+ A human-readable error message.
85
+
86
+
87
+ :return: The message of this WorkRequestError.
88
+ :rtype: str
89
+ """
90
+ return self._message
91
+
92
+ @message.setter
93
+ def message(self, message):
94
+ """
95
+ Sets the message of this WorkRequestError.
96
+ A human-readable error message.
97
+
98
+
99
+ :param message: The message of this WorkRequestError.
100
+ :type: str
101
+ """
102
+ self._message = message
103
+
104
+ @property
105
+ def timestamp(self):
106
+ """
107
+ **[Required]** Gets the timestamp of this WorkRequestError.
108
+ The date and time the error occurred, in the format defined by
109
+ `RFC 3339`__.
110
+
111
+ __ https://tools.ietf.org/html/rfc3339
112
+
113
+
114
+ :return: The timestamp of this WorkRequestError.
115
+ :rtype: datetime
116
+ """
117
+ return self._timestamp
118
+
119
+ @timestamp.setter
120
+ def timestamp(self, timestamp):
121
+ """
122
+ Sets the timestamp of this WorkRequestError.
123
+ The date and time the error occurred, in the format defined by
124
+ `RFC 3339`__.
125
+
126
+ __ https://tools.ietf.org/html/rfc3339
127
+
128
+
129
+ :param timestamp: The timestamp of this WorkRequestError.
130
+ :type: datetime
131
+ """
132
+ self._timestamp = timestamp
133
+
134
+ def __repr__(self):
135
+ return formatted_flat_dict(self)
136
+
137
+ def __eq__(self, other):
138
+ if other is None:
139
+ return False
140
+
141
+ return self.__dict__ == other.__dict__
142
+
143
+ def __ne__(self, other):
144
+ return not self == other