oci 2.135.0__py3-none-any.whl → 2.135.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (431) 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 +25 -25
  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/apigateway/api_gateway_client.py +21 -21
  15. oci/apigateway/deployment_client.py +6 -6
  16. oci/apigateway/gateway_client.py +6 -6
  17. oci/apigateway/subscribers_client.py +6 -6
  18. oci/apigateway/usage_plans_client.py +6 -6
  19. oci/apigateway/work_requests_client.py +5 -5
  20. oci/apm_config/config_client.py +9 -9
  21. oci/apm_control_plane/apm_domain_client.py +14 -14
  22. oci/apm_synthetics/apm_synthetic_client.py +28 -28
  23. oci/apm_traces/attributes_client.py +8 -8
  24. oci/apm_traces/query_client.py +2 -2
  25. oci/apm_traces/trace_client.py +4 -4
  26. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  27. oci/artifacts/artifacts_client.py +32 -32
  28. oci/audit/audit_client.py +3 -3
  29. oci/autoscaling/auto_scaling_client.py +11 -11
  30. oci/bastion/bastion_client.py +15 -15
  31. oci/bds/bds_client.py +72 -72
  32. oci/blockchain/blockchain_platform_client.py +27 -27
  33. oci/budget/budget_client.py +10 -10
  34. oci/capacity_management/capacity_management_client.py +32 -32
  35. oci/certificates/certificates_client.py +5 -5
  36. oci/certificates_management/certificates_management_client.py +32 -32
  37. oci/cims/incident_client.py +8 -8
  38. oci/cims/user_client.py +1 -1
  39. oci/cloud_bridge/common_client.py +5 -5
  40. oci/cloud_bridge/discovery_client.py +14 -14
  41. oci/cloud_bridge/inventory_client.py +16 -16
  42. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  43. oci/cloud_guard/cloud_guard_client.py +155 -155
  44. oci/cloud_migrations/migration_client.py +43 -43
  45. oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
  46. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  47. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  48. oci/compute_instance_agent/plugin_client.py +2 -2
  49. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  50. oci/container_engine/container_engine_client.py +98 -94
  51. oci/container_engine/models/cluster.py +6 -2
  52. oci/container_engine/models/cluster_summary.py +6 -2
  53. oci/container_engine/models/node.py +6 -2
  54. oci/container_engine/models/node_pool.py +6 -2
  55. oci/container_engine/models/node_pool_summary.py +6 -2
  56. oci/container_engine/models/start_credential_rotation_details.py +2 -2
  57. oci/container_engine/models/work_request.py +7 -3
  58. oci/container_engine/models/work_request_summary.py +7 -3
  59. oci/container_engine/models/workload_mapping.py +35 -2
  60. oci/container_engine/models/workload_mapping_summary.py +35 -2
  61. oci/container_instances/container_instance_client.py +18 -18
  62. oci/core/blockstorage_client.py +60 -60
  63. oci/core/compute_client.py +108 -102
  64. oci/core/compute_management_client.py +32 -32
  65. oci/core/models/__init__.py +2 -0
  66. oci/core/models/add_network_security_group_security_rules_details.py +6 -2
  67. oci/core/models/create_service_gateway_details.py +2 -2
  68. oci/core/models/create_vcn_details.py +35 -0
  69. oci/core/models/create_vnic_details.py +35 -0
  70. oci/core/models/instance.py +82 -0
  71. oci/core/models/instance_configuration_create_vnic_details.py +35 -0
  72. oci/core/models/instance_configuration_launch_instance_details.py +35 -0
  73. oci/core/models/launch_attach_paravirtualized_volume_details.py +123 -0
  74. oci/core/models/launch_attach_volume_details.py +4 -0
  75. oci/core/models/launch_instance_details.py +35 -0
  76. oci/core/models/service_gateway.py +4 -4
  77. oci/core/models/update_instance_details.py +35 -0
  78. oci/core/models/update_vcn_details.py +37 -2
  79. oci/core/models/update_vnic_details.py +35 -0
  80. oci/core/models/vcn.py +35 -0
  81. oci/core/models/vnic.py +35 -0
  82. oci/core/virtual_network_client.py +253 -250
  83. oci/dashboard_service/dashboard_client.py +6 -6
  84. oci/dashboard_service/dashboard_group_client.py +6 -6
  85. oci/data_catalog/data_catalog_client.py +149 -149
  86. oci/data_flow/data_flow_client.py +42 -42
  87. oci/data_integration/data_integration_client.py +163 -163
  88. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  89. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  90. oci/data_safe/data_safe_client.py +292 -292
  91. oci/data_science/data_science_client.py +91 -91
  92. oci/database/database_client.py +396 -396
  93. oci/database/models/autonomous_database.py +39 -0
  94. oci/database/models/autonomous_database_summary.py +39 -0
  95. oci/database/models/cloud_autonomous_vm_cluster.py +39 -0
  96. oci/database/models/cloud_autonomous_vm_cluster_summary.py +39 -0
  97. oci/database/models/cloud_vm_cluster.py +68 -2
  98. oci/database/models/cloud_vm_cluster_summary.py +68 -2
  99. oci/database/models/create_autonomous_database_base.py +39 -0
  100. oci/database/models/create_autonomous_database_clone_details.py +7 -0
  101. oci/database/models/create_autonomous_database_details.py +7 -0
  102. oci/database/models/create_autonomous_database_from_backup_details.py +7 -0
  103. oci/database/models/create_autonomous_database_from_backup_timestamp_details.py +7 -0
  104. oci/database/models/create_cloud_autonomous_vm_cluster_details.py +41 -2
  105. oci/database/models/create_cloud_vm_cluster_details.py +68 -2
  106. oci/database/models/create_cross_region_autonomous_database_data_guard_details.py +7 -0
  107. oci/database/models/create_cross_region_disaster_recovery_details.py +7 -0
  108. oci/database/models/create_cross_tenancy_disaster_recovery_details.py +7 -0
  109. oci/database/models/create_data_guard_association_with_new_db_system_details.py +39 -0
  110. oci/database/models/create_exadb_vm_cluster_details.py +39 -0
  111. oci/database/models/create_refreshable_autonomous_database_clone_details.py +7 -0
  112. oci/database/models/create_vm_cluster_details.py +29 -2
  113. oci/database/models/db_system.py +39 -0
  114. oci/database/models/db_system_summary.py +39 -0
  115. oci/database/models/exadb_vm_cluster.py +39 -0
  116. oci/database/models/exadb_vm_cluster_summary.py +39 -0
  117. oci/database/models/launch_db_system_base.py +39 -0
  118. oci/database/models/launch_db_system_details.py +7 -0
  119. oci/database/models/launch_db_system_from_backup_details.py +7 -0
  120. oci/database/models/launch_db_system_from_database_details.py +7 -0
  121. oci/database/models/launch_db_system_from_db_system_details.py +7 -0
  122. oci/database/models/undelete_autonomous_database_details.py +7 -0
  123. oci/database/models/update_autonomous_database_details.py +39 -0
  124. oci/database/models/update_cloud_autonomous_vm_cluster_details.py +41 -2
  125. oci/database/models/update_cloud_vm_cluster_details.py +68 -2
  126. oci/database/models/update_db_system_details.py +39 -0
  127. oci/database/models/update_exadb_vm_cluster_details.py +39 -0
  128. oci/database/models/update_vm_cluster_details.py +29 -2
  129. oci/database/models/vm_cluster.py +29 -2
  130. oci/database/models/vm_cluster_summary.py +29 -2
  131. oci/database_management/db_management_client.py +211 -211
  132. oci/database_management/diagnosability_client.py +4 -4
  133. oci/database_management/managed_my_sql_databases_client.py +7 -7
  134. oci/database_management/perfhub_client.py +1 -1
  135. oci/database_management/sql_tuning_client.py +17 -17
  136. oci/database_migration/database_migration_client.py +42 -42
  137. oci/database_tools/database_tools_client.py +23 -23
  138. oci/delegate_access_control/delegate_access_control_client.py +26 -26
  139. oci/delegate_access_control/work_request_client.py +4 -4
  140. oci/demand_signal/occ_demand_signal_client.py +7 -7
  141. oci/desktops/desktop_service_client.py +33 -22
  142. oci/desktops/models/__init__.py +18 -0
  143. oci/desktops/models/create_desktop_pool_desktop_session_lifecycle_actions.py +95 -0
  144. oci/desktops/models/create_desktop_pool_details.py +136 -4
  145. oci/desktops/models/create_desktop_pool_private_access_details.py +142 -0
  146. oci/desktops/models/create_desktop_pool_shape_config_details.py +170 -0
  147. oci/desktops/models/desktop_image.py +33 -2
  148. oci/desktops/models/desktop_network_configuration.py +14 -4
  149. oci/desktops/models/desktop_pool.py +136 -4
  150. oci/desktops/models/desktop_pool_private_access_details.py +212 -0
  151. oci/desktops/models/desktop_pool_shape_config.py +170 -0
  152. oci/desktops/models/desktop_session_lifecycle_actions.py +95 -0
  153. oci/desktops/models/disconnect_config.py +121 -0
  154. oci/desktops/models/inactivity_config.py +121 -0
  155. oci/desktops/models/update_desktop_pool_desktop_session_lifecycle_actions.py +95 -0
  156. oci/desktops/models/update_desktop_pool_details.py +29 -2
  157. oci/devops/devops_client.py +141 -141
  158. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  159. oci/dns/dns_client.py +52 -52
  160. oci/dts/appliance_export_job_client.py +6 -6
  161. oci/dts/shipping_vendors_client.py +1 -1
  162. oci/dts/transfer_appliance_client.py +8 -8
  163. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  164. oci/dts/transfer_device_client.py +5 -5
  165. oci/dts/transfer_job_client.py +6 -6
  166. oci/dts/transfer_package_client.py +7 -7
  167. oci/em_warehouse/em_data_lake_client.py +13 -13
  168. oci/em_warehouse/em_warehouse_client.py +13 -13
  169. oci/email/email_client.py +31 -31
  170. oci/email_data_plane/email_dp_client.py +1 -1
  171. oci/events/events_client.py +6 -6
  172. oci/file_storage/file_storage_client.py +54 -54
  173. oci/fleet_apps_management/fleet_apps_management_admin_client.py +8 -8
  174. oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
  175. oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
  176. oci/fleet_apps_management/fleet_apps_management_operations_client.py +13 -13
  177. oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +4 -4
  178. oci/fleet_software_update/fleet_software_update_client.py +46 -46
  179. oci/functions/functions_invoke_client.py +1 -1
  180. oci/functions/functions_management_client.py +16 -16
  181. oci/fusion_apps/data_masking_activity_client.py +3 -3
  182. oci/fusion_apps/fusion_applications_client.py +42 -42
  183. oci/fusion_apps/fusion_environment_client.py +15 -15
  184. oci/fusion_apps/fusion_environment_family_client.py +8 -8
  185. oci/fusion_apps/models/create_fusion_environment_admin_user_details.py +1 -1
  186. oci/fusion_apps/refresh_activity_client.py +4 -4
  187. oci/fusion_apps/scheduled_activity_client.py +2 -2
  188. oci/fusion_apps/service_attachment_client.py +2 -2
  189. oci/generative_ai/generative_ai_client.py +22 -22
  190. oci/generative_ai_agent/generative_ai_agent_client.py +33 -33
  191. oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +5 -5
  192. oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
  193. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  194. oci/globally_distributed_database/sharded_database_service_client.py +30 -30
  195. oci/golden_gate/golden_gate_client.py +68 -68
  196. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  197. oci/governance_rules_control_plane/work_request_client.py +5 -5
  198. oci/healthchecks/health_checks_client.py +17 -17
  199. oci/identity/identity_client.py +145 -145
  200. oci/identity_data_plane/dataplane_client.py +2 -2
  201. oci/identity_domains/identity_domains_client.py +307 -307
  202. oci/integration/integration_instance_client.py +137 -18
  203. oci/integration/integration_instance_client_composite_operations.py +39 -0
  204. oci/integration/models/__init__.py +4 -0
  205. oci/integration/models/create_integration_instance_details.py +31 -0
  206. oci/integration/models/cross_region_integration_instance_details.py +185 -0
  207. oci/integration/models/disaster_recovery_details.py +150 -0
  208. oci/integration/models/integration_instance.py +89 -0
  209. oci/integration/models/integration_instance_summary.py +62 -0
  210. oci/integration/models/work_request.py +7 -3
  211. oci/integration/models/work_request_summary.py +7 -3
  212. oci/jms/java_management_service_client.py +75 -75
  213. oci/jms_java_downloads/java_download_client.py +25 -25
  214. oci/key_management/ekm_client.py +5 -5
  215. oci/key_management/kms_crypto_client.py +6 -6
  216. oci/key_management/kms_hsm_cluster_client.py +12 -12
  217. oci/key_management/kms_management_client.py +21 -21
  218. oci/key_management/kms_vault_client.py +14 -14
  219. oci/license_manager/license_manager_client.py +18 -18
  220. oci/limits/limits_client.py +4 -4
  221. oci/limits/quotas_client.py +7 -7
  222. oci/load_balancer/load_balancer_client.py +61 -61
  223. oci/load_balancer/models/connection_configuration.py +47 -2
  224. oci/load_balancer/models/create_load_balancer_details.py +35 -0
  225. oci/load_balancer/models/load_balancer.py +35 -0
  226. oci/load_balancer/models/update_load_balancer_details.py +37 -2
  227. oci/lockbox/lockbox_client.py +24 -24
  228. oci/log_analytics/log_analytics_client.py +193 -193
  229. oci/logging/logging_management_client.py +30 -30
  230. oci/loggingingestion/logging_client.py +1 -1
  231. oci/loggingsearch/log_search_client.py +1 -1
  232. oci/management_agent/management_agent_client.py +28 -28
  233. oci/management_dashboard/dashx_apis_client.py +14 -14
  234. oci/marketplace/account_client.py +2 -2
  235. oci/marketplace/marketplace_client.py +30 -30
  236. oci/marketplace_private_offer/attachment_client.py +5 -5
  237. oci/marketplace_private_offer/offer_client.py +6 -6
  238. oci/marketplace_publisher/attachment_client.py +5 -5
  239. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  240. oci/marketplace_publisher/offer_client.py +6 -6
  241. oci/media_services/media_services_client.py +60 -60
  242. oci/media_services/media_stream_client.py +2 -2
  243. oci/monitoring/monitoring_client.py +18 -18
  244. oci/mysql/channels_client.py +7 -7
  245. oci/mysql/db_backups_client.py +7 -7
  246. oci/mysql/db_system_client.py +17 -17
  247. oci/mysql/mysqlaas_client.py +7 -7
  248. oci/mysql/replicas_client.py +5 -5
  249. oci/mysql/work_requests_client.py +4 -4
  250. oci/network_firewall/network_firewall_client.py +86 -86
  251. oci/network_load_balancer/models/create_network_load_balancer_details.py +43 -2
  252. oci/network_load_balancer/models/network_load_balancer.py +41 -0
  253. oci/network_load_balancer/models/network_load_balancer_summary.py +41 -0
  254. oci/network_load_balancer/models/update_network_load_balancer_details.py +43 -2
  255. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  256. oci/nosql/nosql_client.py +24 -24
  257. oci/object_storage/object_storage_client.py +55 -55
  258. oci/oce/oce_instance_client.py +10 -10
  259. oci/oci_control_center/occ_metrics_client.py +3 -3
  260. oci/ocvp/cluster_client.py +5 -5
  261. oci/ocvp/esxi_host_client.py +8 -8
  262. oci/ocvp/sddc_client.py +14 -14
  263. oci/ocvp/work_request_client.py +4 -4
  264. oci/oda/management_client.py +59 -59
  265. oci/oda/oda_client.py +17 -17
  266. oci/oda/odapackage_client.py +7 -7
  267. oci/onesubscription/billing_schedule_client.py +1 -1
  268. oci/onesubscription/commitment_client.py +2 -2
  269. oci/onesubscription/computed_usage_client.py +3 -3
  270. oci/onesubscription/invoice_summary_client.py +2 -2
  271. oci/onesubscription/organization_subscription_client.py +1 -1
  272. oci/onesubscription/ratecard_client.py +1 -1
  273. oci/onesubscription/subscribed_service_client.py +2 -2
  274. oci/onesubscription/subscription_client.py +1 -1
  275. oci/ons/notification_control_plane_client.py +6 -6
  276. oci/ons/notification_data_plane_client.py +10 -10
  277. oci/opa/opa_instance_client.py +13 -13
  278. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  279. oci/opensearch/opensearch_cluster_client.py +14 -14
  280. oci/operator_access_control/access_requests_client.py +10 -10
  281. oci/operator_access_control/operator_actions_client.py +2 -2
  282. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  283. oci/operator_access_control/operator_control_client.py +6 -6
  284. oci/opsi/models/__init__.py +6 -0
  285. oci/opsi/models/create_autonomous_database_insight_details.py +291 -0
  286. oci/opsi/models/create_database_insight_details.py +4 -0
  287. oci/opsi/models/credential_by_iam.py +58 -0
  288. oci/opsi/models/credential_by_vault.py +1 -1
  289. oci/opsi/models/credential_details.py +13 -5
  290. oci/opsi/models/credentials_by_source.py +1 -1
  291. oci/opsi/models/enable_autonomous_database_insight_details.py +301 -0
  292. oci/opsi/models/enable_database_insight_details.py +4 -0
  293. oci/opsi/operations_insights_client.py +179 -179
  294. oci/optimizer/optimizer_client.py +26 -26
  295. oci/os_management/event_client.py +8 -8
  296. oci/os_management/os_management_client.py +69 -69
  297. oci/os_management_hub/event_client.py +8 -8
  298. oci/os_management_hub/lifecycle_environment_client.py +12 -12
  299. oci/os_management_hub/managed_instance_client.py +31 -31
  300. oci/os_management_hub/managed_instance_group_client.py +25 -25
  301. oci/os_management_hub/management_station_client.py +10 -10
  302. oci/os_management_hub/onboarding_client.py +6 -6
  303. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  304. oci/os_management_hub/scheduled_job_client.py +7 -7
  305. oci/os_management_hub/software_source_client.py +27 -27
  306. oci/os_management_hub/work_request_client.py +4 -4
  307. oci/osp_gateway/address_rule_service_client.py +1 -1
  308. oci/osp_gateway/address_service_client.py +2 -2
  309. oci/osp_gateway/invoice_service_client.py +5 -5
  310. oci/osp_gateway/subscription_service_client.py +5 -5
  311. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  312. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  313. oci/osub_subscription/commitment_client.py +2 -2
  314. oci/osub_subscription/ratecard_client.py +1 -1
  315. oci/osub_subscription/subscription_client.py +1 -1
  316. oci/osub_usage/computed_usage_client.py +3 -3
  317. oci/psql/postgresql_client.py +33 -33
  318. oci/queue/queue_admin_client.py +11 -11
  319. oci/queue/queue_client.py +8 -8
  320. oci/recovery/database_recovery_client.py +26 -26
  321. oci/redis/redis_cluster_client.py +12 -12
  322. oci/regions_definitions.py +8 -0
  323. oci/resource_manager/resource_manager_client.py +52 -52
  324. oci/resource_scheduler/schedule_client.py +13 -13
  325. oci/resource_search/resource_search_client.py +3 -3
  326. oci/rover/rover_bundle_client.py +8 -8
  327. oci/rover/rover_cluster_client.py +8 -8
  328. oci/rover/rover_entitlement_client.py +6 -6
  329. oci/rover/rover_node_client.py +15 -15
  330. oci/rover/shape_client.py +1 -1
  331. oci/rover/work_requests_client.py +5 -5
  332. oci/sch/connector_plugins_client.py +2 -2
  333. oci/sch/service_connector_client.py +12 -12
  334. oci/secrets/secrets_client.py +3 -3
  335. oci/security_attribute/__init__.py +14 -0
  336. oci/security_attribute/models/__init__.py +54 -0
  337. oci/security_attribute/models/base_security_attribute_validator.py +122 -0
  338. oci/security_attribute/models/bulk_delete_security_attributes_details.py +72 -0
  339. oci/security_attribute/models/bulk_edit_resource.py +134 -0
  340. oci/security_attribute/models/bulk_edit_security_attribute_details.py +134 -0
  341. oci/security_attribute/models/bulk_edit_security_attribute_operation_details.py +147 -0
  342. oci/security_attribute/models/change_security_attribute_namespace_compartment_details.py +72 -0
  343. oci/security_attribute/models/create_security_attribute_details.py +132 -0
  344. oci/security_attribute/models/create_security_attribute_namespace_details.py +216 -0
  345. oci/security_attribute/models/default_security_attribute_validator.py +53 -0
  346. oci/security_attribute/models/enum_security_attribute_validator.py +85 -0
  347. oci/security_attribute/models/security_attribute.py +421 -0
  348. oci/security_attribute/models/security_attribute_namespace.py +446 -0
  349. oci/security_attribute/models/security_attribute_namespace_summary.py +410 -0
  350. oci/security_attribute/models/security_attribute_summary.py +361 -0
  351. oci/security_attribute/models/security_attribute_work_request.py +387 -0
  352. oci/security_attribute/models/security_attribute_work_request_error_summary.py +136 -0
  353. oci/security_attribute/models/security_attribute_work_request_log_summary.py +105 -0
  354. oci/security_attribute/models/security_attribute_work_request_summary.py +386 -0
  355. oci/security_attribute/models/update_security_attribute_details.py +136 -0
  356. oci/security_attribute/models/update_security_attribute_namespace_details.py +191 -0
  357. oci/security_attribute/models/work_request_resource.py +197 -0
  358. oci/security_attribute/security_attribute_client.py +2321 -0
  359. oci/security_attribute/security_attribute_client_composite_operations.py +265 -0
  360. oci/service_catalog/service_catalog_client.py +26 -26
  361. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  362. oci/service_mesh/service_mesh_client.py +48 -48
  363. oci/stack_monitoring/models/__init__.py +20 -0
  364. oci/stack_monitoring/models/create_maintenance_window_details.py +196 -0
  365. oci/stack_monitoring/models/create_maintenance_window_resource_details.py +111 -0
  366. oci/stack_monitoring/models/maintenance_window.py +439 -0
  367. oci/stack_monitoring/models/maintenance_window_collection.py +72 -0
  368. oci/stack_monitoring/models/maintenance_window_schedule.py +109 -0
  369. oci/stack_monitoring/models/maintenance_window_summary.py +519 -0
  370. oci/stack_monitoring/models/monitored_resource_details.py +171 -0
  371. oci/stack_monitoring/models/one_time_maintenance_window_schedule.py +113 -0
  372. oci/stack_monitoring/models/recurrent_maintenance_window_schedule.py +191 -0
  373. oci/stack_monitoring/models/update_maintenance_window_details.py +130 -0
  374. oci/stack_monitoring/models/work_request.py +19 -3
  375. oci/stack_monitoring/models/work_request_summary.py +19 -3
  376. oci/stack_monitoring/stack_monitoring_client.py +921 -113
  377. oci/stack_monitoring/stack_monitoring_client_composite_operations.py +214 -0
  378. oci/streaming/stream_admin_client.py +18 -18
  379. oci/streaming/stream_client.py +8 -8
  380. oci/tenant_manager_control_plane/domain_client.py +5 -5
  381. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  382. oci/tenant_manager_control_plane/governance_client.py +2 -2
  383. oci/tenant_manager_control_plane/link_client.py +3 -3
  384. oci/tenant_manager_control_plane/orders_client.py +2 -2
  385. oci/tenant_manager_control_plane/organization_client.py +10 -10
  386. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  387. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  388. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  389. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  390. oci/threat_intelligence/threatintel_client.py +5 -5
  391. oci/usage/resources_client.py +2 -2
  392. oci/usage/rewards_client.py +6 -6
  393. oci/usage/usagelimits_client.py +1 -1
  394. oci/usage_api/usageapi_client.py +33 -33
  395. oci/vault/vaults_client.py +13 -13
  396. oci/vbs_inst/vbs_instance_client.py +10 -10
  397. oci/version.py +1 -1
  398. oci/visual_builder/vb_instance_client.py +13 -13
  399. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  400. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  401. oci/waa/waa_client.py +13 -13
  402. oci/waa/work_request_client.py +4 -4
  403. oci/waas/redirect_client.py +6 -6
  404. oci/waas/waas_client.py +66 -66
  405. oci/waf/waf_client.py +24 -24
  406. oci/work_requests/work_request_client.py +4 -4
  407. oci/zpr/__init__.py +14 -0
  408. oci/zpr/models/__init__.py +42 -0
  409. oci/zpr/models/configuration.py +449 -0
  410. oci/zpr/models/create_configuration_details.py +189 -0
  411. oci/zpr/models/create_zpr_policy_details.py +251 -0
  412. oci/zpr/models/update_zpr_policy_details.py +185 -0
  413. oci/zpr/models/work_request.py +459 -0
  414. oci/zpr/models/work_request_error.py +146 -0
  415. oci/zpr/models/work_request_error_collection.py +72 -0
  416. oci/zpr/models/work_request_log_entry.py +109 -0
  417. oci/zpr/models/work_request_log_entry_collection.py +72 -0
  418. oci/zpr/models/work_request_resource.py +238 -0
  419. oci/zpr/models/work_request_summary.py +457 -0
  420. oci/zpr/models/work_request_summary_collection.py +72 -0
  421. oci/zpr/models/zpr_policy.py +505 -0
  422. oci/zpr/models/zpr_policy_collection.py +72 -0
  423. oci/zpr/models/zpr_policy_summary.py +463 -0
  424. oci/zpr/zpr_client.py +2123 -0
  425. oci/zpr/zpr_client_composite_operations.py +197 -0
  426. {oci-2.135.0.dist-info → oci-2.135.2.dist-info}/METADATA +2 -2
  427. {oci-2.135.0.dist-info → oci-2.135.2.dist-info}/RECORD +431 -362
  428. {oci-2.135.0.dist-info → oci-2.135.2.dist-info}/LICENSE.txt +0 -0
  429. {oci-2.135.0.dist-info → oci-2.135.2.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  430. {oci-2.135.0.dist-info → oci-2.135.2.dist-info}/WHEEL +0 -0
  431. {oci-2.135.0.dist-info → oci-2.135.2.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,459 @@
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: 20240301
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_ZPR_POLICY"
22
+ OPERATION_TYPE_CREATE_ZPR_POLICY = "CREATE_ZPR_POLICY"
23
+
24
+ #: A constant which can be used with the operation_type property of a WorkRequest.
25
+ #: This constant has a value of "UPDATE_ZPR_POLICY"
26
+ OPERATION_TYPE_UPDATE_ZPR_POLICY = "UPDATE_ZPR_POLICY"
27
+
28
+ #: A constant which can be used with the operation_type property of a WorkRequest.
29
+ #: This constant has a value of "DELETE_ZPR_POLICY"
30
+ OPERATION_TYPE_DELETE_ZPR_POLICY = "DELETE_ZPR_POLICY"
31
+
32
+ #: A constant which can be used with the operation_type property of a WorkRequest.
33
+ #: This constant has a value of "CREATE_ZPR_CONFIGURATION"
34
+ OPERATION_TYPE_CREATE_ZPR_CONFIGURATION = "CREATE_ZPR_CONFIGURATION"
35
+
36
+ #: A constant which can be used with the operation_type property of a WorkRequest.
37
+ #: This constant has a value of "UPDATE_ZPR_CONFIGURATION"
38
+ OPERATION_TYPE_UPDATE_ZPR_CONFIGURATION = "UPDATE_ZPR_CONFIGURATION"
39
+
40
+ #: A constant which can be used with the operation_type property of a WorkRequest.
41
+ #: This constant has a value of "DELETE_ZPR_CONFIGURATION"
42
+ OPERATION_TYPE_DELETE_ZPR_CONFIGURATION = "DELETE_ZPR_CONFIGURATION"
43
+
44
+ #: A constant which can be used with the status property of a WorkRequest.
45
+ #: This constant has a value of "ACCEPTED"
46
+ STATUS_ACCEPTED = "ACCEPTED"
47
+
48
+ #: A constant which can be used with the status property of a WorkRequest.
49
+ #: This constant has a value of "IN_PROGRESS"
50
+ STATUS_IN_PROGRESS = "IN_PROGRESS"
51
+
52
+ #: A constant which can be used with the status property of a WorkRequest.
53
+ #: This constant has a value of "WAITING"
54
+ STATUS_WAITING = "WAITING"
55
+
56
+ #: A constant which can be used with the status property of a WorkRequest.
57
+ #: This constant has a value of "NEEDS_ATTENTION"
58
+ STATUS_NEEDS_ATTENTION = "NEEDS_ATTENTION"
59
+
60
+ #: A constant which can be used with the status property of a WorkRequest.
61
+ #: This constant has a value of "FAILED"
62
+ STATUS_FAILED = "FAILED"
63
+
64
+ #: A constant which can be used with the status property of a WorkRequest.
65
+ #: This constant has a value of "SUCCEEDED"
66
+ STATUS_SUCCEEDED = "SUCCEEDED"
67
+
68
+ #: A constant which can be used with the status property of a WorkRequest.
69
+ #: This constant has a value of "CANCELING"
70
+ STATUS_CANCELING = "CANCELING"
71
+
72
+ #: A constant which can be used with the status property of a WorkRequest.
73
+ #: This constant has a value of "CANCELED"
74
+ STATUS_CANCELED = "CANCELED"
75
+
76
+ def __init__(self, **kwargs):
77
+ """
78
+ Initializes a new WorkRequest object with values from keyword arguments.
79
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
80
+
81
+ :param operation_type:
82
+ The value to assign to the operation_type property of this WorkRequest.
83
+ Allowed values for this property are: "CREATE_ZPR_POLICY", "UPDATE_ZPR_POLICY", "DELETE_ZPR_POLICY", "CREATE_ZPR_CONFIGURATION", "UPDATE_ZPR_CONFIGURATION", "DELETE_ZPR_CONFIGURATION", 'UNKNOWN_ENUM_VALUE'.
84
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
85
+ :type operation_type: str
86
+
87
+ :param status:
88
+ The value to assign to the status property of this WorkRequest.
89
+ Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "WAITING", "NEEDS_ATTENTION", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED", 'UNKNOWN_ENUM_VALUE'.
90
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
91
+ :type status: str
92
+
93
+ :param id:
94
+ The value to assign to the id property of this WorkRequest.
95
+ :type id: str
96
+
97
+ :param compartment_id:
98
+ The value to assign to the compartment_id property of this WorkRequest.
99
+ :type compartment_id: str
100
+
101
+ :param resources:
102
+ The value to assign to the resources property of this WorkRequest.
103
+ :type resources: list[oci.zpr.models.WorkRequestResource]
104
+
105
+ :param percent_complete:
106
+ The value to assign to the percent_complete property of this WorkRequest.
107
+ :type percent_complete: float
108
+
109
+ :param time_accepted:
110
+ The value to assign to the time_accepted property of this WorkRequest.
111
+ :type time_accepted: datetime
112
+
113
+ :param time_started:
114
+ The value to assign to the time_started property of this WorkRequest.
115
+ :type time_started: datetime
116
+
117
+ :param time_finished:
118
+ The value to assign to the time_finished property of this WorkRequest.
119
+ :type time_finished: datetime
120
+
121
+ :param time_updated:
122
+ The value to assign to the time_updated property of this WorkRequest.
123
+ :type time_updated: datetime
124
+
125
+ """
126
+ self.swagger_types = {
127
+ 'operation_type': 'str',
128
+ 'status': 'str',
129
+ 'id': 'str',
130
+ 'compartment_id': 'str',
131
+ 'resources': 'list[WorkRequestResource]',
132
+ 'percent_complete': 'float',
133
+ 'time_accepted': 'datetime',
134
+ 'time_started': 'datetime',
135
+ 'time_finished': 'datetime',
136
+ 'time_updated': 'datetime'
137
+ }
138
+
139
+ self.attribute_map = {
140
+ 'operation_type': 'operationType',
141
+ 'status': 'status',
142
+ 'id': 'id',
143
+ 'compartment_id': 'compartmentId',
144
+ 'resources': 'resources',
145
+ 'percent_complete': 'percentComplete',
146
+ 'time_accepted': 'timeAccepted',
147
+ 'time_started': 'timeStarted',
148
+ 'time_finished': 'timeFinished',
149
+ 'time_updated': 'timeUpdated'
150
+ }
151
+
152
+ self._operation_type = None
153
+ self._status = None
154
+ self._id = None
155
+ self._compartment_id = None
156
+ self._resources = None
157
+ self._percent_complete = None
158
+ self._time_accepted = None
159
+ self._time_started = None
160
+ self._time_finished = None
161
+ self._time_updated = None
162
+
163
+ @property
164
+ def operation_type(self):
165
+ """
166
+ **[Required]** Gets the operation_type of this WorkRequest.
167
+ The asynchronous operation tracked by this work request.
168
+
169
+ Allowed values for this property are: "CREATE_ZPR_POLICY", "UPDATE_ZPR_POLICY", "DELETE_ZPR_POLICY", "CREATE_ZPR_CONFIGURATION", "UPDATE_ZPR_CONFIGURATION", "DELETE_ZPR_CONFIGURATION", 'UNKNOWN_ENUM_VALUE'.
170
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
171
+
172
+
173
+ :return: The operation_type of this WorkRequest.
174
+ :rtype: str
175
+ """
176
+ return self._operation_type
177
+
178
+ @operation_type.setter
179
+ def operation_type(self, operation_type):
180
+ """
181
+ Sets the operation_type of this WorkRequest.
182
+ The asynchronous operation tracked by this work request.
183
+
184
+
185
+ :param operation_type: The operation_type of this WorkRequest.
186
+ :type: str
187
+ """
188
+ allowed_values = ["CREATE_ZPR_POLICY", "UPDATE_ZPR_POLICY", "DELETE_ZPR_POLICY", "CREATE_ZPR_CONFIGURATION", "UPDATE_ZPR_CONFIGURATION", "DELETE_ZPR_CONFIGURATION"]
189
+ if not value_allowed_none_or_none_sentinel(operation_type, allowed_values):
190
+ operation_type = 'UNKNOWN_ENUM_VALUE'
191
+ self._operation_type = operation_type
192
+
193
+ @property
194
+ def status(self):
195
+ """
196
+ **[Required]** Gets the status of this WorkRequest.
197
+ The status of the work request.
198
+
199
+ Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "WAITING", "NEEDS_ATTENTION", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED", 'UNKNOWN_ENUM_VALUE'.
200
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
201
+
202
+
203
+ :return: The status of this WorkRequest.
204
+ :rtype: str
205
+ """
206
+ return self._status
207
+
208
+ @status.setter
209
+ def status(self, status):
210
+ """
211
+ Sets the status of this WorkRequest.
212
+ The status of the work request.
213
+
214
+
215
+ :param status: The status of this WorkRequest.
216
+ :type: str
217
+ """
218
+ allowed_values = ["ACCEPTED", "IN_PROGRESS", "WAITING", "NEEDS_ATTENTION", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"]
219
+ if not value_allowed_none_or_none_sentinel(status, allowed_values):
220
+ status = 'UNKNOWN_ENUM_VALUE'
221
+ self._status = status
222
+
223
+ @property
224
+ def id(self):
225
+ """
226
+ **[Required]** Gets the id of this WorkRequest.
227
+ The `OCID`__ of the work request.
228
+
229
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
230
+
231
+
232
+ :return: The id of this WorkRequest.
233
+ :rtype: str
234
+ """
235
+ return self._id
236
+
237
+ @id.setter
238
+ def id(self, id):
239
+ """
240
+ Sets the id of this WorkRequest.
241
+ The `OCID`__ of the work request.
242
+
243
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
244
+
245
+
246
+ :param id: The id of this WorkRequest.
247
+ :type: str
248
+ """
249
+ self._id = id
250
+
251
+ @property
252
+ def compartment_id(self):
253
+ """
254
+ **[Required]** Gets the compartment_id of this WorkRequest.
255
+ The `OCID`__ of the compartment that contains the work request.
256
+
257
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
258
+
259
+
260
+ :return: The compartment_id of this WorkRequest.
261
+ :rtype: str
262
+ """
263
+ return self._compartment_id
264
+
265
+ @compartment_id.setter
266
+ def compartment_id(self, compartment_id):
267
+ """
268
+ Sets the compartment_id of this WorkRequest.
269
+ The `OCID`__ of the compartment that contains the work request.
270
+
271
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
272
+
273
+
274
+ :param compartment_id: The compartment_id of this WorkRequest.
275
+ :type: str
276
+ """
277
+ self._compartment_id = compartment_id
278
+
279
+ @property
280
+ def resources(self):
281
+ """
282
+ **[Required]** Gets the resources of this WorkRequest.
283
+ The resources that are affected by the work request.
284
+
285
+
286
+ :return: The resources of this WorkRequest.
287
+ :rtype: list[oci.zpr.models.WorkRequestResource]
288
+ """
289
+ return self._resources
290
+
291
+ @resources.setter
292
+ def resources(self, resources):
293
+ """
294
+ Sets the resources of this WorkRequest.
295
+ The resources that are affected by the work request.
296
+
297
+
298
+ :param resources: The resources of this WorkRequest.
299
+ :type: list[oci.zpr.models.WorkRequestResource]
300
+ """
301
+ self._resources = resources
302
+
303
+ @property
304
+ def percent_complete(self):
305
+ """
306
+ **[Required]** Gets the percent_complete of this WorkRequest.
307
+ Shows the progress of the operation tracked by the work request, as a percentage of the total work
308
+ that must be performed.
309
+
310
+
311
+ :return: The percent_complete of this WorkRequest.
312
+ :rtype: float
313
+ """
314
+ return self._percent_complete
315
+
316
+ @percent_complete.setter
317
+ def percent_complete(self, percent_complete):
318
+ """
319
+ Sets the percent_complete of this WorkRequest.
320
+ Shows the progress of the operation tracked by the work request, as a percentage of the total work
321
+ that must be performed.
322
+
323
+
324
+ :param percent_complete: The percent_complete of this WorkRequest.
325
+ :type: float
326
+ """
327
+ self._percent_complete = percent_complete
328
+
329
+ @property
330
+ def time_accepted(self):
331
+ """
332
+ **[Required]** Gets the time_accepted of this WorkRequest.
333
+ The date and time the work request was created, in the format defined by
334
+ `RFC 3339`__.
335
+
336
+ __ https://tools.ietf.org/html/rfc3339
337
+
338
+
339
+ :return: The time_accepted of this WorkRequest.
340
+ :rtype: datetime
341
+ """
342
+ return self._time_accepted
343
+
344
+ @time_accepted.setter
345
+ def time_accepted(self, time_accepted):
346
+ """
347
+ Sets the time_accepted of this WorkRequest.
348
+ The date and time the work request was created, in the format defined by
349
+ `RFC 3339`__.
350
+
351
+ __ https://tools.ietf.org/html/rfc3339
352
+
353
+
354
+ :param time_accepted: The time_accepted of this WorkRequest.
355
+ :type: datetime
356
+ """
357
+ self._time_accepted = time_accepted
358
+
359
+ @property
360
+ def time_started(self):
361
+ """
362
+ Gets the time_started of this WorkRequest.
363
+ The date and time the work request was started, in the format defined by
364
+ `RFC 3339`__.
365
+
366
+ __ https://tools.ietf.org/html/rfc3339
367
+
368
+
369
+ :return: The time_started of this WorkRequest.
370
+ :rtype: datetime
371
+ """
372
+ return self._time_started
373
+
374
+ @time_started.setter
375
+ def time_started(self, time_started):
376
+ """
377
+ Sets the time_started of this WorkRequest.
378
+ The date and time the work request was started, in the format defined by
379
+ `RFC 3339`__.
380
+
381
+ __ https://tools.ietf.org/html/rfc3339
382
+
383
+
384
+ :param time_started: The time_started of this WorkRequest.
385
+ :type: datetime
386
+ """
387
+ self._time_started = time_started
388
+
389
+ @property
390
+ def time_finished(self):
391
+ """
392
+ Gets the time_finished of this WorkRequest.
393
+ The date and time the work request was finished, in the format defined by
394
+ `RFC 3339`__.
395
+
396
+ __ https://tools.ietf.org/rfc/rfc3339
397
+
398
+
399
+ :return: The time_finished of this WorkRequest.
400
+ :rtype: datetime
401
+ """
402
+ return self._time_finished
403
+
404
+ @time_finished.setter
405
+ def time_finished(self, time_finished):
406
+ """
407
+ Sets the time_finished of this WorkRequest.
408
+ The date and time the work request was finished, in the format defined by
409
+ `RFC 3339`__.
410
+
411
+ __ https://tools.ietf.org/rfc/rfc3339
412
+
413
+
414
+ :param time_finished: The time_finished of this WorkRequest.
415
+ :type: datetime
416
+ """
417
+ self._time_finished = time_finished
418
+
419
+ @property
420
+ def time_updated(self):
421
+ """
422
+ **[Required]** Gets the time_updated of this WorkRequest.
423
+ The date and time the work request was updated, in the format defined by
424
+ `RFC 3339`__.
425
+
426
+ __ https://tools.ietf.org/rfc/rfc3339
427
+
428
+
429
+ :return: The time_updated of this WorkRequest.
430
+ :rtype: datetime
431
+ """
432
+ return self._time_updated
433
+
434
+ @time_updated.setter
435
+ def time_updated(self, time_updated):
436
+ """
437
+ Sets the time_updated of this WorkRequest.
438
+ The date and time the work request was updated, in the format defined by
439
+ `RFC 3339`__.
440
+
441
+ __ https://tools.ietf.org/rfc/rfc3339
442
+
443
+
444
+ :param time_updated: The time_updated of this WorkRequest.
445
+ :type: datetime
446
+ """
447
+ self._time_updated = time_updated
448
+
449
+ def __repr__(self):
450
+ return formatted_flat_dict(self)
451
+
452
+ def __eq__(self, other):
453
+ if other is None:
454
+ return False
455
+
456
+ return self.__dict__ == other.__dict__
457
+
458
+ def __ne__(self, other):
459
+ return not self == other
@@ -0,0 +1,146 @@
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: 20240301
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
+
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 occurred. For a list of error codes, see
57
+ `API Errors`__.
58
+
59
+ __ https://docs.cloud.oracle.com/iaas/Content/API/References/apierrors.htm
60
+
61
+
62
+ :return: The code of this WorkRequestError.
63
+ :rtype: str
64
+ """
65
+ return self._code
66
+
67
+ @code.setter
68
+ def code(self, code):
69
+ """
70
+ Sets the code of this WorkRequestError.
71
+ A machine-usable code for the error that occurred. For a list of error codes, see
72
+ `API Errors`__.
73
+
74
+ __ https://docs.cloud.oracle.com/iaas/Content/API/References/apierrors.htm
75
+
76
+
77
+ :param code: The code of this WorkRequestError.
78
+ :type: str
79
+ """
80
+ self._code = code
81
+
82
+ @property
83
+ def message(self):
84
+ """
85
+ **[Required]** Gets the message of this WorkRequestError.
86
+ A human-readable error message.
87
+
88
+
89
+ :return: The message of this WorkRequestError.
90
+ :rtype: str
91
+ """
92
+ return self._message
93
+
94
+ @message.setter
95
+ def message(self, message):
96
+ """
97
+ Sets the message of this WorkRequestError.
98
+ A human-readable error message.
99
+
100
+
101
+ :param message: The message of this WorkRequestError.
102
+ :type: str
103
+ """
104
+ self._message = message
105
+
106
+ @property
107
+ def timestamp(self):
108
+ """
109
+ **[Required]** Gets the timestamp of this WorkRequestError.
110
+ The date and time the error occurred, in the format defined by
111
+ `RFC 3339`__.
112
+
113
+ __ https://tools.ietf.org/html/rfc3339
114
+
115
+
116
+ :return: The timestamp of this WorkRequestError.
117
+ :rtype: datetime
118
+ """
119
+ return self._timestamp
120
+
121
+ @timestamp.setter
122
+ def timestamp(self, timestamp):
123
+ """
124
+ Sets the timestamp of this WorkRequestError.
125
+ The date and time the error occurred, in the format defined by
126
+ `RFC 3339`__.
127
+
128
+ __ https://tools.ietf.org/html/rfc3339
129
+
130
+
131
+ :param timestamp: The timestamp of this WorkRequestError.
132
+ :type: datetime
133
+ """
134
+ self._timestamp = timestamp
135
+
136
+ def __repr__(self):
137
+ return formatted_flat_dict(self)
138
+
139
+ def __eq__(self, other):
140
+ if other is None:
141
+ return False
142
+
143
+ return self.__dict__ == other.__dict__
144
+
145
+ def __ne__(self, other):
146
+ 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: 20240301
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
+ A list of work request errors. Can contain both errors and other information, such as metadata.
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.zpr.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
+ A list of work request errors.
43
+
44
+
45
+ :return: The items of this WorkRequestErrorCollection.
46
+ :rtype: list[oci.zpr.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
+ A list of work request errors.
55
+
56
+
57
+ :param items: The items of this WorkRequestErrorCollection.
58
+ :type: list[oci.zpr.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