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,439 @@
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: 20210330
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 MaintenanceWindow(object):
14
+ """
15
+ Maintenance Window object. It contains all the information of the Maintenance window.
16
+ Used in the Create and Get operations.
17
+ """
18
+
19
+ #: A constant which can be used with the lifecycle_state property of a MaintenanceWindow.
20
+ #: This constant has a value of "CREATING"
21
+ LIFECYCLE_STATE_CREATING = "CREATING"
22
+
23
+ #: A constant which can be used with the lifecycle_state property of a MaintenanceWindow.
24
+ #: This constant has a value of "UPDATING"
25
+ LIFECYCLE_STATE_UPDATING = "UPDATING"
26
+
27
+ #: A constant which can be used with the lifecycle_state property of a MaintenanceWindow.
28
+ #: This constant has a value of "ACTIVE"
29
+ LIFECYCLE_STATE_ACTIVE = "ACTIVE"
30
+
31
+ #: A constant which can be used with the lifecycle_state property of a MaintenanceWindow.
32
+ #: This constant has a value of "DELETING"
33
+ LIFECYCLE_STATE_DELETING = "DELETING"
34
+
35
+ #: A constant which can be used with the lifecycle_state property of a MaintenanceWindow.
36
+ #: This constant has a value of "DELETED"
37
+ LIFECYCLE_STATE_DELETED = "DELETED"
38
+
39
+ #: A constant which can be used with the lifecycle_state property of a MaintenanceWindow.
40
+ #: This constant has a value of "FAILED"
41
+ LIFECYCLE_STATE_FAILED = "FAILED"
42
+
43
+ #: A constant which can be used with the lifecycle_details property of a MaintenanceWindow.
44
+ #: This constant has a value of "IN_PROGRESS"
45
+ LIFECYCLE_DETAILS_IN_PROGRESS = "IN_PROGRESS"
46
+
47
+ #: A constant which can be used with the lifecycle_details property of a MaintenanceWindow.
48
+ #: This constant has a value of "SCHEDULED"
49
+ LIFECYCLE_DETAILS_SCHEDULED = "SCHEDULED"
50
+
51
+ #: A constant which can be used with the lifecycle_details property of a MaintenanceWindow.
52
+ #: This constant has a value of "COMPLETED"
53
+ LIFECYCLE_DETAILS_COMPLETED = "COMPLETED"
54
+
55
+ def __init__(self, **kwargs):
56
+ """
57
+ Initializes a new MaintenanceWindow object with values from keyword arguments.
58
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
59
+
60
+ :param id:
61
+ The value to assign to the id property of this MaintenanceWindow.
62
+ :type id: str
63
+
64
+ :param name:
65
+ The value to assign to the name property of this MaintenanceWindow.
66
+ :type name: str
67
+
68
+ :param description:
69
+ The value to assign to the description property of this MaintenanceWindow.
70
+ :type description: str
71
+
72
+ :param compartment_id:
73
+ The value to assign to the compartment_id property of this MaintenanceWindow.
74
+ :type compartment_id: str
75
+
76
+ :param resources:
77
+ The value to assign to the resources property of this MaintenanceWindow.
78
+ :type resources: list[oci.stack_monitoring.models.CreateMaintenanceWindowResourceDetails]
79
+
80
+ :param resources_details:
81
+ The value to assign to the resources_details property of this MaintenanceWindow.
82
+ :type resources_details: list[oci.stack_monitoring.models.MonitoredResourceDetails]
83
+
84
+ :param lifecycle_state:
85
+ The value to assign to the lifecycle_state property of this MaintenanceWindow.
86
+ Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
87
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
88
+ :type lifecycle_state: str
89
+
90
+ :param lifecycle_details:
91
+ The value to assign to the lifecycle_details property of this MaintenanceWindow.
92
+ Allowed values for this property are: "IN_PROGRESS", "SCHEDULED", "COMPLETED", 'UNKNOWN_ENUM_VALUE'.
93
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
94
+ :type lifecycle_details: str
95
+
96
+ :param schedule:
97
+ The value to assign to the schedule property of this MaintenanceWindow.
98
+ :type schedule: oci.stack_monitoring.models.MaintenanceWindowSchedule
99
+
100
+ :param time_created:
101
+ The value to assign to the time_created property of this MaintenanceWindow.
102
+ :type time_created: datetime
103
+
104
+ :param time_updated:
105
+ The value to assign to the time_updated property of this MaintenanceWindow.
106
+ :type time_updated: datetime
107
+
108
+ """
109
+ self.swagger_types = {
110
+ 'id': 'str',
111
+ 'name': 'str',
112
+ 'description': 'str',
113
+ 'compartment_id': 'str',
114
+ 'resources': 'list[CreateMaintenanceWindowResourceDetails]',
115
+ 'resources_details': 'list[MonitoredResourceDetails]',
116
+ 'lifecycle_state': 'str',
117
+ 'lifecycle_details': 'str',
118
+ 'schedule': 'MaintenanceWindowSchedule',
119
+ 'time_created': 'datetime',
120
+ 'time_updated': 'datetime'
121
+ }
122
+
123
+ self.attribute_map = {
124
+ 'id': 'id',
125
+ 'name': 'name',
126
+ 'description': 'description',
127
+ 'compartment_id': 'compartmentId',
128
+ 'resources': 'resources',
129
+ 'resources_details': 'resourcesDetails',
130
+ 'lifecycle_state': 'lifecycleState',
131
+ 'lifecycle_details': 'lifecycleDetails',
132
+ 'schedule': 'schedule',
133
+ 'time_created': 'timeCreated',
134
+ 'time_updated': 'timeUpdated'
135
+ }
136
+
137
+ self._id = None
138
+ self._name = None
139
+ self._description = None
140
+ self._compartment_id = None
141
+ self._resources = None
142
+ self._resources_details = None
143
+ self._lifecycle_state = None
144
+ self._lifecycle_details = None
145
+ self._schedule = None
146
+ self._time_created = None
147
+ self._time_updated = None
148
+
149
+ @property
150
+ def id(self):
151
+ """
152
+ **[Required]** Gets the id of this MaintenanceWindow.
153
+ The `OCID`__ of maintenance window.
154
+
155
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
156
+
157
+
158
+ :return: The id of this MaintenanceWindow.
159
+ :rtype: str
160
+ """
161
+ return self._id
162
+
163
+ @id.setter
164
+ def id(self, id):
165
+ """
166
+ Sets the id of this MaintenanceWindow.
167
+ The `OCID`__ of maintenance window.
168
+
169
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
170
+
171
+
172
+ :param id: The id of this MaintenanceWindow.
173
+ :type: str
174
+ """
175
+ self._id = id
176
+
177
+ @property
178
+ def name(self):
179
+ """
180
+ **[Required]** Gets the name of this MaintenanceWindow.
181
+ Maintenance Window name.
182
+
183
+
184
+ :return: The name of this MaintenanceWindow.
185
+ :rtype: str
186
+ """
187
+ return self._name
188
+
189
+ @name.setter
190
+ def name(self, name):
191
+ """
192
+ Sets the name of this MaintenanceWindow.
193
+ Maintenance Window name.
194
+
195
+
196
+ :param name: The name of this MaintenanceWindow.
197
+ :type: str
198
+ """
199
+ self._name = name
200
+
201
+ @property
202
+ def description(self):
203
+ """
204
+ Gets the description of this MaintenanceWindow.
205
+ Maintenance Window description.
206
+
207
+
208
+ :return: The description of this MaintenanceWindow.
209
+ :rtype: str
210
+ """
211
+ return self._description
212
+
213
+ @description.setter
214
+ def description(self, description):
215
+ """
216
+ Sets the description of this MaintenanceWindow.
217
+ Maintenance Window description.
218
+
219
+
220
+ :param description: The description of this MaintenanceWindow.
221
+ :type: str
222
+ """
223
+ self._description = description
224
+
225
+ @property
226
+ def compartment_id(self):
227
+ """
228
+ **[Required]** Gets the compartment_id of this MaintenanceWindow.
229
+ Compartment Identifier `OCID`__.
230
+
231
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
232
+
233
+
234
+ :return: The compartment_id of this MaintenanceWindow.
235
+ :rtype: str
236
+ """
237
+ return self._compartment_id
238
+
239
+ @compartment_id.setter
240
+ def compartment_id(self, compartment_id):
241
+ """
242
+ Sets the compartment_id of this MaintenanceWindow.
243
+ Compartment Identifier `OCID`__.
244
+
245
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
246
+
247
+
248
+ :param compartment_id: The compartment_id of this MaintenanceWindow.
249
+ :type: str
250
+ """
251
+ self._compartment_id = compartment_id
252
+
253
+ @property
254
+ def resources(self):
255
+ """
256
+ Gets the resources of this MaintenanceWindow.
257
+ List of resource Ids which are part of the Maintenance Window
258
+
259
+
260
+ :return: The resources of this MaintenanceWindow.
261
+ :rtype: list[oci.stack_monitoring.models.CreateMaintenanceWindowResourceDetails]
262
+ """
263
+ return self._resources
264
+
265
+ @resources.setter
266
+ def resources(self, resources):
267
+ """
268
+ Sets the resources of this MaintenanceWindow.
269
+ List of resource Ids which are part of the Maintenance Window
270
+
271
+
272
+ :param resources: The resources of this MaintenanceWindow.
273
+ :type: list[oci.stack_monitoring.models.CreateMaintenanceWindowResourceDetails]
274
+ """
275
+ self._resources = resources
276
+
277
+ @property
278
+ def resources_details(self):
279
+ """
280
+ Gets the resources_details of this MaintenanceWindow.
281
+ List of resource details that are part of the Maintenance Window.
282
+
283
+
284
+ :return: The resources_details of this MaintenanceWindow.
285
+ :rtype: list[oci.stack_monitoring.models.MonitoredResourceDetails]
286
+ """
287
+ return self._resources_details
288
+
289
+ @resources_details.setter
290
+ def resources_details(self, resources_details):
291
+ """
292
+ Sets the resources_details of this MaintenanceWindow.
293
+ List of resource details that are part of the Maintenance Window.
294
+
295
+
296
+ :param resources_details: The resources_details of this MaintenanceWindow.
297
+ :type: list[oci.stack_monitoring.models.MonitoredResourceDetails]
298
+ """
299
+ self._resources_details = resources_details
300
+
301
+ @property
302
+ def lifecycle_state(self):
303
+ """
304
+ Gets the lifecycle_state of this MaintenanceWindow.
305
+ Lifecycle state of the monitored resource.
306
+
307
+ Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
308
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
309
+
310
+
311
+ :return: The lifecycle_state of this MaintenanceWindow.
312
+ :rtype: str
313
+ """
314
+ return self._lifecycle_state
315
+
316
+ @lifecycle_state.setter
317
+ def lifecycle_state(self, lifecycle_state):
318
+ """
319
+ Sets the lifecycle_state of this MaintenanceWindow.
320
+ Lifecycle state of the monitored resource.
321
+
322
+
323
+ :param lifecycle_state: The lifecycle_state of this MaintenanceWindow.
324
+ :type: str
325
+ """
326
+ allowed_values = ["CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"]
327
+ if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values):
328
+ lifecycle_state = 'UNKNOWN_ENUM_VALUE'
329
+ self._lifecycle_state = lifecycle_state
330
+
331
+ @property
332
+ def lifecycle_details(self):
333
+ """
334
+ Gets the lifecycle_details of this MaintenanceWindow.
335
+ Lifecycle Details of the Maintenance Window.
336
+
337
+ Allowed values for this property are: "IN_PROGRESS", "SCHEDULED", "COMPLETED", 'UNKNOWN_ENUM_VALUE'.
338
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
339
+
340
+
341
+ :return: The lifecycle_details of this MaintenanceWindow.
342
+ :rtype: str
343
+ """
344
+ return self._lifecycle_details
345
+
346
+ @lifecycle_details.setter
347
+ def lifecycle_details(self, lifecycle_details):
348
+ """
349
+ Sets the lifecycle_details of this MaintenanceWindow.
350
+ Lifecycle Details of the Maintenance Window.
351
+
352
+
353
+ :param lifecycle_details: The lifecycle_details of this MaintenanceWindow.
354
+ :type: str
355
+ """
356
+ allowed_values = ["IN_PROGRESS", "SCHEDULED", "COMPLETED"]
357
+ if not value_allowed_none_or_none_sentinel(lifecycle_details, allowed_values):
358
+ lifecycle_details = 'UNKNOWN_ENUM_VALUE'
359
+ self._lifecycle_details = lifecycle_details
360
+
361
+ @property
362
+ def schedule(self):
363
+ """
364
+ Gets the schedule of this MaintenanceWindow.
365
+
366
+ :return: The schedule of this MaintenanceWindow.
367
+ :rtype: oci.stack_monitoring.models.MaintenanceWindowSchedule
368
+ """
369
+ return self._schedule
370
+
371
+ @schedule.setter
372
+ def schedule(self, schedule):
373
+ """
374
+ Sets the schedule of this MaintenanceWindow.
375
+
376
+ :param schedule: The schedule of this MaintenanceWindow.
377
+ :type: oci.stack_monitoring.models.MaintenanceWindowSchedule
378
+ """
379
+ self._schedule = schedule
380
+
381
+ @property
382
+ def time_created(self):
383
+ """
384
+ Gets the time_created of this MaintenanceWindow.
385
+ The time the the maintenance window was created. An RFC3339 formatted datetime string
386
+
387
+
388
+ :return: The time_created of this MaintenanceWindow.
389
+ :rtype: datetime
390
+ """
391
+ return self._time_created
392
+
393
+ @time_created.setter
394
+ def time_created(self, time_created):
395
+ """
396
+ Sets the time_created of this MaintenanceWindow.
397
+ The time the the maintenance window was created. An RFC3339 formatted datetime string
398
+
399
+
400
+ :param time_created: The time_created of this MaintenanceWindow.
401
+ :type: datetime
402
+ """
403
+ self._time_created = time_created
404
+
405
+ @property
406
+ def time_updated(self):
407
+ """
408
+ Gets the time_updated of this MaintenanceWindow.
409
+ The time the the mainteance window was updated. An RFC3339 formatted datetime string
410
+
411
+
412
+ :return: The time_updated of this MaintenanceWindow.
413
+ :rtype: datetime
414
+ """
415
+ return self._time_updated
416
+
417
+ @time_updated.setter
418
+ def time_updated(self, time_updated):
419
+ """
420
+ Sets the time_updated of this MaintenanceWindow.
421
+ The time the the mainteance window was updated. An RFC3339 formatted datetime string
422
+
423
+
424
+ :param time_updated: The time_updated of this MaintenanceWindow.
425
+ :type: datetime
426
+ """
427
+ self._time_updated = time_updated
428
+
429
+ def __repr__(self):
430
+ return formatted_flat_dict(self)
431
+
432
+ def __eq__(self, other):
433
+ if other is None:
434
+ return False
435
+
436
+ return self.__dict__ == other.__dict__
437
+
438
+ def __ne__(self, other):
439
+ 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: 20210330
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 MaintenanceWindowCollection(object):
14
+ """
15
+ Result of List of maintenance window. Contains MaintenanceWindowSummary items and other data.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new MaintenanceWindowCollection 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 MaintenanceWindowCollection.
25
+ :type items: list[oci.stack_monitoring.models.MaintenanceWindowSummary]
26
+
27
+ """
28
+ self.swagger_types = {
29
+ 'items': 'list[MaintenanceWindowSummary]'
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 MaintenanceWindowCollection.
42
+ List of maintenance window.
43
+
44
+
45
+ :return: The items of this MaintenanceWindowCollection.
46
+ :rtype: list[oci.stack_monitoring.models.MaintenanceWindowSummary]
47
+ """
48
+ return self._items
49
+
50
+ @items.setter
51
+ def items(self, items):
52
+ """
53
+ Sets the items of this MaintenanceWindowCollection.
54
+ List of maintenance window.
55
+
56
+
57
+ :param items: The items of this MaintenanceWindowCollection.
58
+ :type: list[oci.stack_monitoring.models.MaintenanceWindowSummary]
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
@@ -0,0 +1,109 @@
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: 20210330
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 MaintenanceWindowSchedule(object):
14
+ """
15
+ Schedule information of the Maintenance Window
16
+ """
17
+
18
+ #: A constant which can be used with the schedule_type property of a MaintenanceWindowSchedule.
19
+ #: This constant has a value of "ONE_TIME"
20
+ SCHEDULE_TYPE_ONE_TIME = "ONE_TIME"
21
+
22
+ #: A constant which can be used with the schedule_type property of a MaintenanceWindowSchedule.
23
+ #: This constant has a value of "RECURRENT"
24
+ SCHEDULE_TYPE_RECURRENT = "RECURRENT"
25
+
26
+ def __init__(self, **kwargs):
27
+ """
28
+ Initializes a new MaintenanceWindowSchedule object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
29
+ to a service operations then you should favor using a subclass over the base class:
30
+
31
+ * :class:`~oci.stack_monitoring.models.RecurrentMaintenanceWindowSchedule`
32
+ * :class:`~oci.stack_monitoring.models.OneTimeMaintenanceWindowSchedule`
33
+
34
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
35
+
36
+ :param schedule_type:
37
+ The value to assign to the schedule_type property of this MaintenanceWindowSchedule.
38
+ Allowed values for this property are: "ONE_TIME", "RECURRENT", 'UNKNOWN_ENUM_VALUE'.
39
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
40
+ :type schedule_type: str
41
+
42
+ """
43
+ self.swagger_types = {
44
+ 'schedule_type': 'str'
45
+ }
46
+
47
+ self.attribute_map = {
48
+ 'schedule_type': 'scheduleType'
49
+ }
50
+
51
+ self._schedule_type = None
52
+
53
+ @staticmethod
54
+ def get_subtype(object_dictionary):
55
+ """
56
+ Given the hash representation of a subtype of this class,
57
+ use the info in the hash to return the class of the subtype.
58
+ """
59
+ type = object_dictionary['scheduleType']
60
+
61
+ if type == 'RECURRENT':
62
+ return 'RecurrentMaintenanceWindowSchedule'
63
+
64
+ if type == 'ONE_TIME':
65
+ return 'OneTimeMaintenanceWindowSchedule'
66
+ else:
67
+ return 'MaintenanceWindowSchedule'
68
+
69
+ @property
70
+ def schedule_type(self):
71
+ """
72
+ **[Required]** Gets the schedule_type of this MaintenanceWindowSchedule.
73
+ Property to identify the type of the Maintenance Window.
74
+
75
+ Allowed values for this property are: "ONE_TIME", "RECURRENT", 'UNKNOWN_ENUM_VALUE'.
76
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
77
+
78
+
79
+ :return: The schedule_type of this MaintenanceWindowSchedule.
80
+ :rtype: str
81
+ """
82
+ return self._schedule_type
83
+
84
+ @schedule_type.setter
85
+ def schedule_type(self, schedule_type):
86
+ """
87
+ Sets the schedule_type of this MaintenanceWindowSchedule.
88
+ Property to identify the type of the Maintenance Window.
89
+
90
+
91
+ :param schedule_type: The schedule_type of this MaintenanceWindowSchedule.
92
+ :type: str
93
+ """
94
+ allowed_values = ["ONE_TIME", "RECURRENT"]
95
+ if not value_allowed_none_or_none_sentinel(schedule_type, allowed_values):
96
+ schedule_type = 'UNKNOWN_ENUM_VALUE'
97
+ self._schedule_type = schedule_type
98
+
99
+ def __repr__(self):
100
+ return formatted_flat_dict(self)
101
+
102
+ def __eq__(self, other):
103
+ if other is None:
104
+ return False
105
+
106
+ return self.__dict__ == other.__dict__
107
+
108
+ def __ne__(self, other):
109
+ return not self == other