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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (327) hide show
  1. oci/access_governance_cp/access_governance_cp_client.py +8 -8
  2. oci/adm/application_dependency_management_client.py +36 -36
  3. oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
  4. oci/ai_document/ai_service_document_client.py +26 -26
  5. oci/ai_language/ai_service_language_client.py +44 -44
  6. oci/ai_speech/ai_service_speech_client.py +19 -19
  7. oci/ai_vision/ai_service_vision_client.py +25 -25
  8. oci/analytics/analytics_client.py +24 -24
  9. oci/announcements_service/announcement_client.py +5 -5
  10. oci/announcements_service/announcement_subscription_client.py +9 -9
  11. oci/announcements_service/announcements_preferences_client.py +4 -4
  12. oci/announcements_service/service_client.py +1 -1
  13. oci/apigateway/api_gateway_client.py +21 -21
  14. oci/apigateway/deployment_client.py +6 -6
  15. oci/apigateway/gateway_client.py +6 -6
  16. oci/apigateway/subscribers_client.py +6 -6
  17. oci/apigateway/usage_plans_client.py +6 -6
  18. oci/apigateway/work_requests_client.py +5 -5
  19. oci/apm_config/config_client.py +9 -9
  20. oci/apm_control_plane/apm_domain_client.py +14 -14
  21. oci/apm_synthetics/apm_synthetic_client.py +28 -28
  22. oci/apm_traces/attributes_client.py +8 -8
  23. oci/apm_traces/query_client.py +2 -2
  24. oci/apm_traces/trace_client.py +4 -4
  25. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  26. oci/artifacts/artifacts_client.py +32 -32
  27. oci/audit/audit_client.py +3 -3
  28. oci/autoscaling/auto_scaling_client.py +11 -11
  29. oci/bastion/bastion_client.py +15 -15
  30. oci/bds/bds_client.py +72 -72
  31. oci/blockchain/blockchain_platform_client.py +27 -27
  32. oci/budget/budget_client.py +10 -10
  33. oci/capacity_management/capacity_management_client.py +32 -32
  34. oci/certificates/certificates_client.py +5 -5
  35. oci/certificates_management/certificates_management_client.py +32 -32
  36. oci/cims/incident_client.py +8 -8
  37. oci/cims/user_client.py +1 -1
  38. oci/cloud_bridge/common_client.py +5 -5
  39. oci/cloud_bridge/discovery_client.py +14 -14
  40. oci/cloud_bridge/inventory_client.py +16 -16
  41. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  42. oci/cloud_guard/cloud_guard_client.py +155 -155
  43. oci/cloud_migrations/migration_client.py +43 -43
  44. oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
  45. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  46. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  47. oci/compute_instance_agent/plugin_client.py +2 -2
  48. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  49. oci/container_engine/container_engine_client.py +98 -94
  50. oci/container_engine/models/cluster.py +6 -2
  51. oci/container_engine/models/cluster_summary.py +6 -2
  52. oci/container_engine/models/node.py +6 -2
  53. oci/container_engine/models/node_pool.py +6 -2
  54. oci/container_engine/models/node_pool_summary.py +6 -2
  55. oci/container_engine/models/start_credential_rotation_details.py +2 -2
  56. oci/container_engine/models/work_request.py +7 -3
  57. oci/container_engine/models/work_request_summary.py +7 -3
  58. oci/container_engine/models/workload_mapping.py +35 -2
  59. oci/container_engine/models/workload_mapping_summary.py +35 -2
  60. oci/container_instances/container_instance_client.py +18 -18
  61. oci/core/blockstorage_client.py +60 -60
  62. oci/core/compute_client.py +102 -102
  63. oci/core/compute_management_client.py +32 -32
  64. oci/core/models/__init__.py +2 -0
  65. oci/core/models/launch_attach_paravirtualized_volume_details.py +123 -0
  66. oci/core/models/launch_attach_volume_details.py +4 -0
  67. oci/core/virtual_network_client.py +247 -247
  68. oci/dashboard_service/dashboard_client.py +6 -6
  69. oci/dashboard_service/dashboard_group_client.py +6 -6
  70. oci/data_catalog/data_catalog_client.py +149 -149
  71. oci/data_flow/data_flow_client.py +42 -42
  72. oci/data_integration/data_integration_client.py +163 -163
  73. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  74. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  75. oci/data_safe/data_safe_client.py +292 -292
  76. oci/data_science/data_science_client.py +91 -91
  77. oci/database/database_client.py +396 -396
  78. oci/database/models/cloud_vm_cluster.py +29 -2
  79. oci/database/models/cloud_vm_cluster_summary.py +29 -2
  80. oci/database/models/create_cloud_vm_cluster_details.py +29 -2
  81. oci/database/models/create_vm_cluster_details.py +29 -2
  82. oci/database/models/update_cloud_vm_cluster_details.py +29 -2
  83. oci/database/models/update_vm_cluster_details.py +29 -2
  84. oci/database/models/vm_cluster.py +29 -2
  85. oci/database/models/vm_cluster_summary.py +29 -2
  86. oci/database_management/db_management_client.py +211 -211
  87. oci/database_management/diagnosability_client.py +4 -4
  88. oci/database_management/managed_my_sql_databases_client.py +7 -7
  89. oci/database_management/perfhub_client.py +1 -1
  90. oci/database_management/sql_tuning_client.py +17 -17
  91. oci/database_migration/database_migration_client.py +42 -42
  92. oci/database_tools/database_tools_client.py +23 -23
  93. oci/delegate_access_control/delegate_access_control_client.py +26 -26
  94. oci/delegate_access_control/work_request_client.py +4 -4
  95. oci/demand_signal/occ_demand_signal_client.py +7 -7
  96. oci/desktops/desktop_service_client.py +33 -22
  97. oci/desktops/models/__init__.py +18 -0
  98. oci/desktops/models/create_desktop_pool_desktop_session_lifecycle_actions.py +95 -0
  99. oci/desktops/models/create_desktop_pool_details.py +136 -4
  100. oci/desktops/models/create_desktop_pool_private_access_details.py +142 -0
  101. oci/desktops/models/create_desktop_pool_shape_config_details.py +170 -0
  102. oci/desktops/models/desktop_image.py +33 -2
  103. oci/desktops/models/desktop_network_configuration.py +14 -4
  104. oci/desktops/models/desktop_pool.py +136 -4
  105. oci/desktops/models/desktop_pool_private_access_details.py +212 -0
  106. oci/desktops/models/desktop_pool_shape_config.py +170 -0
  107. oci/desktops/models/desktop_session_lifecycle_actions.py +95 -0
  108. oci/desktops/models/disconnect_config.py +121 -0
  109. oci/desktops/models/inactivity_config.py +121 -0
  110. oci/desktops/models/update_desktop_pool_desktop_session_lifecycle_actions.py +95 -0
  111. oci/desktops/models/update_desktop_pool_details.py +29 -2
  112. oci/devops/devops_client.py +141 -141
  113. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  114. oci/dns/dns_client.py +52 -52
  115. oci/dts/appliance_export_job_client.py +6 -6
  116. oci/dts/shipping_vendors_client.py +1 -1
  117. oci/dts/transfer_appliance_client.py +8 -8
  118. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  119. oci/dts/transfer_device_client.py +5 -5
  120. oci/dts/transfer_job_client.py +6 -6
  121. oci/dts/transfer_package_client.py +7 -7
  122. oci/em_warehouse/em_data_lake_client.py +13 -13
  123. oci/em_warehouse/em_warehouse_client.py +13 -13
  124. oci/email/email_client.py +31 -31
  125. oci/email_data_plane/email_dp_client.py +1 -1
  126. oci/events/events_client.py +6 -6
  127. oci/file_storage/file_storage_client.py +54 -54
  128. oci/fleet_apps_management/fleet_apps_management_admin_client.py +8 -8
  129. oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
  130. oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
  131. oci/fleet_apps_management/fleet_apps_management_operations_client.py +13 -13
  132. oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +4 -4
  133. oci/fleet_software_update/fleet_software_update_client.py +46 -46
  134. oci/functions/functions_invoke_client.py +1 -1
  135. oci/functions/functions_management_client.py +16 -16
  136. oci/fusion_apps/data_masking_activity_client.py +3 -3
  137. oci/fusion_apps/fusion_applications_client.py +42 -42
  138. oci/fusion_apps/fusion_environment_client.py +15 -15
  139. oci/fusion_apps/fusion_environment_family_client.py +8 -8
  140. oci/fusion_apps/models/create_fusion_environment_admin_user_details.py +1 -1
  141. oci/fusion_apps/refresh_activity_client.py +4 -4
  142. oci/fusion_apps/scheduled_activity_client.py +2 -2
  143. oci/fusion_apps/service_attachment_client.py +2 -2
  144. oci/generative_ai/generative_ai_client.py +22 -22
  145. oci/generative_ai_agent/generative_ai_agent_client.py +33 -33
  146. oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +5 -5
  147. oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
  148. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  149. oci/globally_distributed_database/sharded_database_service_client.py +30 -30
  150. oci/golden_gate/golden_gate_client.py +68 -68
  151. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  152. oci/governance_rules_control_plane/work_request_client.py +5 -5
  153. oci/healthchecks/health_checks_client.py +17 -17
  154. oci/identity/identity_client.py +145 -145
  155. oci/identity_data_plane/dataplane_client.py +2 -2
  156. oci/identity_domains/identity_domains_client.py +307 -307
  157. oci/integration/integration_instance_client.py +19 -19
  158. oci/jms/java_management_service_client.py +75 -75
  159. oci/jms_java_downloads/java_download_client.py +25 -25
  160. oci/key_management/ekm_client.py +5 -5
  161. oci/key_management/kms_crypto_client.py +6 -6
  162. oci/key_management/kms_hsm_cluster_client.py +12 -12
  163. oci/key_management/kms_management_client.py +21 -21
  164. oci/key_management/kms_vault_client.py +14 -14
  165. oci/license_manager/license_manager_client.py +18 -18
  166. oci/limits/limits_client.py +4 -4
  167. oci/limits/quotas_client.py +7 -7
  168. oci/load_balancer/load_balancer_client.py +61 -61
  169. oci/load_balancer/models/connection_configuration.py +47 -2
  170. oci/lockbox/lockbox_client.py +24 -24
  171. oci/log_analytics/log_analytics_client.py +193 -193
  172. oci/logging/logging_management_client.py +30 -30
  173. oci/loggingingestion/logging_client.py +1 -1
  174. oci/loggingsearch/log_search_client.py +1 -1
  175. oci/management_agent/management_agent_client.py +28 -28
  176. oci/management_dashboard/dashx_apis_client.py +14 -14
  177. oci/marketplace/account_client.py +2 -2
  178. oci/marketplace/marketplace_client.py +30 -30
  179. oci/marketplace_private_offer/attachment_client.py +5 -5
  180. oci/marketplace_private_offer/offer_client.py +6 -6
  181. oci/marketplace_publisher/attachment_client.py +5 -5
  182. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  183. oci/marketplace_publisher/offer_client.py +6 -6
  184. oci/media_services/media_services_client.py +60 -60
  185. oci/media_services/media_stream_client.py +2 -2
  186. oci/monitoring/monitoring_client.py +18 -18
  187. oci/mysql/channels_client.py +7 -7
  188. oci/mysql/db_backups_client.py +7 -7
  189. oci/mysql/db_system_client.py +17 -17
  190. oci/mysql/mysqlaas_client.py +7 -7
  191. oci/mysql/replicas_client.py +5 -5
  192. oci/mysql/work_requests_client.py +4 -4
  193. oci/network_firewall/network_firewall_client.py +86 -86
  194. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  195. oci/nosql/nosql_client.py +24 -24
  196. oci/object_storage/object_storage_client.py +55 -55
  197. oci/oce/oce_instance_client.py +10 -10
  198. oci/oci_control_center/occ_metrics_client.py +3 -3
  199. oci/ocvp/cluster_client.py +5 -5
  200. oci/ocvp/esxi_host_client.py +8 -8
  201. oci/ocvp/sddc_client.py +14 -14
  202. oci/ocvp/work_request_client.py +4 -4
  203. oci/oda/management_client.py +59 -59
  204. oci/oda/oda_client.py +17 -17
  205. oci/oda/odapackage_client.py +7 -7
  206. oci/onesubscription/billing_schedule_client.py +1 -1
  207. oci/onesubscription/commitment_client.py +2 -2
  208. oci/onesubscription/computed_usage_client.py +3 -3
  209. oci/onesubscription/invoice_summary_client.py +2 -2
  210. oci/onesubscription/organization_subscription_client.py +1 -1
  211. oci/onesubscription/ratecard_client.py +1 -1
  212. oci/onesubscription/subscribed_service_client.py +2 -2
  213. oci/onesubscription/subscription_client.py +1 -1
  214. oci/ons/notification_control_plane_client.py +6 -6
  215. oci/ons/notification_data_plane_client.py +10 -10
  216. oci/opa/opa_instance_client.py +13 -13
  217. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  218. oci/opensearch/opensearch_cluster_client.py +14 -14
  219. oci/operator_access_control/access_requests_client.py +10 -10
  220. oci/operator_access_control/operator_actions_client.py +2 -2
  221. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  222. oci/operator_access_control/operator_control_client.py +6 -6
  223. oci/opsi/models/__init__.py +6 -0
  224. oci/opsi/models/create_autonomous_database_insight_details.py +291 -0
  225. oci/opsi/models/create_database_insight_details.py +4 -0
  226. oci/opsi/models/credential_by_iam.py +58 -0
  227. oci/opsi/models/credential_by_vault.py +1 -1
  228. oci/opsi/models/credential_details.py +13 -5
  229. oci/opsi/models/credentials_by_source.py +1 -1
  230. oci/opsi/models/enable_autonomous_database_insight_details.py +301 -0
  231. oci/opsi/models/enable_database_insight_details.py +4 -0
  232. oci/opsi/operations_insights_client.py +179 -179
  233. oci/optimizer/optimizer_client.py +26 -26
  234. oci/os_management/event_client.py +8 -8
  235. oci/os_management/os_management_client.py +69 -69
  236. oci/os_management_hub/event_client.py +8 -8
  237. oci/os_management_hub/lifecycle_environment_client.py +12 -12
  238. oci/os_management_hub/managed_instance_client.py +31 -31
  239. oci/os_management_hub/managed_instance_group_client.py +25 -25
  240. oci/os_management_hub/management_station_client.py +10 -10
  241. oci/os_management_hub/onboarding_client.py +6 -6
  242. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  243. oci/os_management_hub/scheduled_job_client.py +7 -7
  244. oci/os_management_hub/software_source_client.py +27 -27
  245. oci/os_management_hub/work_request_client.py +4 -4
  246. oci/osp_gateway/address_rule_service_client.py +1 -1
  247. oci/osp_gateway/address_service_client.py +2 -2
  248. oci/osp_gateway/invoice_service_client.py +5 -5
  249. oci/osp_gateway/subscription_service_client.py +5 -5
  250. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  251. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  252. oci/osub_subscription/commitment_client.py +2 -2
  253. oci/osub_subscription/ratecard_client.py +1 -1
  254. oci/osub_subscription/subscription_client.py +1 -1
  255. oci/osub_usage/computed_usage_client.py +3 -3
  256. oci/psql/postgresql_client.py +33 -33
  257. oci/queue/queue_admin_client.py +11 -11
  258. oci/queue/queue_client.py +8 -8
  259. oci/recovery/database_recovery_client.py +26 -26
  260. oci/redis/redis_cluster_client.py +12 -12
  261. oci/resource_manager/resource_manager_client.py +52 -52
  262. oci/resource_scheduler/schedule_client.py +13 -13
  263. oci/resource_search/resource_search_client.py +3 -3
  264. oci/rover/rover_bundle_client.py +8 -8
  265. oci/rover/rover_cluster_client.py +8 -8
  266. oci/rover/rover_entitlement_client.py +6 -6
  267. oci/rover/rover_node_client.py +15 -15
  268. oci/rover/shape_client.py +1 -1
  269. oci/rover/work_requests_client.py +5 -5
  270. oci/sch/connector_plugins_client.py +2 -2
  271. oci/sch/service_connector_client.py +12 -12
  272. oci/secrets/secrets_client.py +3 -3
  273. oci/security_attribute/security_attribute_client.py +18 -18
  274. oci/service_catalog/service_catalog_client.py +26 -26
  275. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  276. oci/service_mesh/service_mesh_client.py +48 -48
  277. oci/stack_monitoring/models/__init__.py +20 -0
  278. oci/stack_monitoring/models/create_maintenance_window_details.py +196 -0
  279. oci/stack_monitoring/models/create_maintenance_window_resource_details.py +111 -0
  280. oci/stack_monitoring/models/maintenance_window.py +439 -0
  281. oci/stack_monitoring/models/maintenance_window_collection.py +72 -0
  282. oci/stack_monitoring/models/maintenance_window_schedule.py +109 -0
  283. oci/stack_monitoring/models/maintenance_window_summary.py +519 -0
  284. oci/stack_monitoring/models/monitored_resource_details.py +171 -0
  285. oci/stack_monitoring/models/one_time_maintenance_window_schedule.py +113 -0
  286. oci/stack_monitoring/models/recurrent_maintenance_window_schedule.py +191 -0
  287. oci/stack_monitoring/models/update_maintenance_window_details.py +130 -0
  288. oci/stack_monitoring/models/work_request.py +19 -3
  289. oci/stack_monitoring/models/work_request_summary.py +19 -3
  290. oci/stack_monitoring/stack_monitoring_client.py +921 -113
  291. oci/stack_monitoring/stack_monitoring_client_composite_operations.py +214 -0
  292. oci/streaming/stream_admin_client.py +18 -18
  293. oci/streaming/stream_client.py +8 -8
  294. oci/tenant_manager_control_plane/domain_client.py +5 -5
  295. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  296. oci/tenant_manager_control_plane/governance_client.py +2 -2
  297. oci/tenant_manager_control_plane/link_client.py +3 -3
  298. oci/tenant_manager_control_plane/orders_client.py +2 -2
  299. oci/tenant_manager_control_plane/organization_client.py +10 -10
  300. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  301. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  302. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  303. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  304. oci/threat_intelligence/threatintel_client.py +5 -5
  305. oci/usage/resources_client.py +2 -2
  306. oci/usage/rewards_client.py +6 -6
  307. oci/usage/usagelimits_client.py +1 -1
  308. oci/usage_api/usageapi_client.py +33 -33
  309. oci/vault/vaults_client.py +13 -13
  310. oci/vbs_inst/vbs_instance_client.py +10 -10
  311. oci/version.py +1 -1
  312. oci/visual_builder/vb_instance_client.py +13 -13
  313. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  314. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  315. oci/waa/waa_client.py +13 -13
  316. oci/waa/work_request_client.py +4 -4
  317. oci/waas/redirect_client.py +6 -6
  318. oci/waas/waas_client.py +66 -66
  319. oci/waf/waf_client.py +24 -24
  320. oci/work_requests/work_request_client.py +4 -4
  321. oci/zpr/zpr_client.py +16 -17
  322. {oci-2.135.1.dist-info → oci-2.135.2.dist-info}/METADATA +2 -2
  323. {oci-2.135.1.dist-info → oci-2.135.2.dist-info}/RECORD +327 -304
  324. {oci-2.135.1.dist-info → oci-2.135.2.dist-info}/LICENSE.txt +0 -0
  325. {oci-2.135.1.dist-info → oci-2.135.2.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  326. {oci-2.135.1.dist-info → oci-2.135.2.dist-info}/WHEEL +0 -0
  327. {oci-2.135.1.dist-info → oci-2.135.2.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,196 @@
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 CreateMaintenanceWindowDetails(object):
14
+ """
15
+ Infomation to create a new Maintenance Window.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new CreateMaintenanceWindowDetails object with values from keyword arguments.
21
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
22
+
23
+ :param name:
24
+ The value to assign to the name property of this CreateMaintenanceWindowDetails.
25
+ :type name: str
26
+
27
+ :param description:
28
+ The value to assign to the description property of this CreateMaintenanceWindowDetails.
29
+ :type description: str
30
+
31
+ :param compartment_id:
32
+ The value to assign to the compartment_id property of this CreateMaintenanceWindowDetails.
33
+ :type compartment_id: str
34
+
35
+ :param resources:
36
+ The value to assign to the resources property of this CreateMaintenanceWindowDetails.
37
+ :type resources: list[oci.stack_monitoring.models.CreateMaintenanceWindowResourceDetails]
38
+
39
+ :param schedule:
40
+ The value to assign to the schedule property of this CreateMaintenanceWindowDetails.
41
+ :type schedule: oci.stack_monitoring.models.MaintenanceWindowSchedule
42
+
43
+ """
44
+ self.swagger_types = {
45
+ 'name': 'str',
46
+ 'description': 'str',
47
+ 'compartment_id': 'str',
48
+ 'resources': 'list[CreateMaintenanceWindowResourceDetails]',
49
+ 'schedule': 'MaintenanceWindowSchedule'
50
+ }
51
+
52
+ self.attribute_map = {
53
+ 'name': 'name',
54
+ 'description': 'description',
55
+ 'compartment_id': 'compartmentId',
56
+ 'resources': 'resources',
57
+ 'schedule': 'schedule'
58
+ }
59
+
60
+ self._name = None
61
+ self._description = None
62
+ self._compartment_id = None
63
+ self._resources = None
64
+ self._schedule = None
65
+
66
+ @property
67
+ def name(self):
68
+ """
69
+ **[Required]** Gets the name of this CreateMaintenanceWindowDetails.
70
+ Maintenance Window name.
71
+
72
+
73
+ :return: The name of this CreateMaintenanceWindowDetails.
74
+ :rtype: str
75
+ """
76
+ return self._name
77
+
78
+ @name.setter
79
+ def name(self, name):
80
+ """
81
+ Sets the name of this CreateMaintenanceWindowDetails.
82
+ Maintenance Window name.
83
+
84
+
85
+ :param name: The name of this CreateMaintenanceWindowDetails.
86
+ :type: str
87
+ """
88
+ self._name = name
89
+
90
+ @property
91
+ def description(self):
92
+ """
93
+ Gets the description of this CreateMaintenanceWindowDetails.
94
+ Maintenance Window description.
95
+
96
+
97
+ :return: The description of this CreateMaintenanceWindowDetails.
98
+ :rtype: str
99
+ """
100
+ return self._description
101
+
102
+ @description.setter
103
+ def description(self, description):
104
+ """
105
+ Sets the description of this CreateMaintenanceWindowDetails.
106
+ Maintenance Window description.
107
+
108
+
109
+ :param description: The description of this CreateMaintenanceWindowDetails.
110
+ :type: str
111
+ """
112
+ self._description = description
113
+
114
+ @property
115
+ def compartment_id(self):
116
+ """
117
+ **[Required]** Gets the compartment_id of this CreateMaintenanceWindowDetails.
118
+ Compartment Identifier `OCID`__.
119
+
120
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
121
+
122
+
123
+ :return: The compartment_id of this CreateMaintenanceWindowDetails.
124
+ :rtype: str
125
+ """
126
+ return self._compartment_id
127
+
128
+ @compartment_id.setter
129
+ def compartment_id(self, compartment_id):
130
+ """
131
+ Sets the compartment_id of this CreateMaintenanceWindowDetails.
132
+ Compartment Identifier `OCID`__.
133
+
134
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
135
+
136
+
137
+ :param compartment_id: The compartment_id of this CreateMaintenanceWindowDetails.
138
+ :type: str
139
+ """
140
+ self._compartment_id = compartment_id
141
+
142
+ @property
143
+ def resources(self):
144
+ """
145
+ **[Required]** Gets the resources of this CreateMaintenanceWindowDetails.
146
+ List of resource Ids which are part of the Maintenance Window
147
+
148
+
149
+ :return: The resources of this CreateMaintenanceWindowDetails.
150
+ :rtype: list[oci.stack_monitoring.models.CreateMaintenanceWindowResourceDetails]
151
+ """
152
+ return self._resources
153
+
154
+ @resources.setter
155
+ def resources(self, resources):
156
+ """
157
+ Sets the resources of this CreateMaintenanceWindowDetails.
158
+ List of resource Ids which are part of the Maintenance Window
159
+
160
+
161
+ :param resources: The resources of this CreateMaintenanceWindowDetails.
162
+ :type: list[oci.stack_monitoring.models.CreateMaintenanceWindowResourceDetails]
163
+ """
164
+ self._resources = resources
165
+
166
+ @property
167
+ def schedule(self):
168
+ """
169
+ **[Required]** Gets the schedule of this CreateMaintenanceWindowDetails.
170
+
171
+ :return: The schedule of this CreateMaintenanceWindowDetails.
172
+ :rtype: oci.stack_monitoring.models.MaintenanceWindowSchedule
173
+ """
174
+ return self._schedule
175
+
176
+ @schedule.setter
177
+ def schedule(self, schedule):
178
+ """
179
+ Sets the schedule of this CreateMaintenanceWindowDetails.
180
+
181
+ :param schedule: The schedule of this CreateMaintenanceWindowDetails.
182
+ :type: oci.stack_monitoring.models.MaintenanceWindowSchedule
183
+ """
184
+ self._schedule = schedule
185
+
186
+ def __repr__(self):
187
+ return formatted_flat_dict(self)
188
+
189
+ def __eq__(self, other):
190
+ if other is None:
191
+ return False
192
+
193
+ return self.__dict__ == other.__dict__
194
+
195
+ def __ne__(self, other):
196
+ return not self == other
@@ -0,0 +1,111 @@
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 CreateMaintenanceWindowResourceDetails(object):
14
+ """
15
+ List of resource IDs that are part of the Maintenance Window.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new CreateMaintenanceWindowResourceDetails object with values from keyword arguments.
21
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
22
+
23
+ :param resource_id:
24
+ The value to assign to the resource_id property of this CreateMaintenanceWindowResourceDetails.
25
+ :type resource_id: str
26
+
27
+ :param are_members_included:
28
+ The value to assign to the are_members_included property of this CreateMaintenanceWindowResourceDetails.
29
+ :type are_members_included: bool
30
+
31
+ """
32
+ self.swagger_types = {
33
+ 'resource_id': 'str',
34
+ 'are_members_included': 'bool'
35
+ }
36
+
37
+ self.attribute_map = {
38
+ 'resource_id': 'resourceId',
39
+ 'are_members_included': 'areMembersIncluded'
40
+ }
41
+
42
+ self._resource_id = None
43
+ self._are_members_included = None
44
+
45
+ @property
46
+ def resource_id(self):
47
+ """
48
+ **[Required]** Gets the resource_id of this CreateMaintenanceWindowResourceDetails.
49
+ The `OCID`__ of monitored resource
50
+ part of the Maintenance window.
51
+
52
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
53
+
54
+
55
+ :return: The resource_id of this CreateMaintenanceWindowResourceDetails.
56
+ :rtype: str
57
+ """
58
+ return self._resource_id
59
+
60
+ @resource_id.setter
61
+ def resource_id(self, resource_id):
62
+ """
63
+ Sets the resource_id of this CreateMaintenanceWindowResourceDetails.
64
+ The `OCID`__ of monitored resource
65
+ part of the Maintenance window.
66
+
67
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
68
+
69
+
70
+ :param resource_id: The resource_id of this CreateMaintenanceWindowResourceDetails.
71
+ :type: str
72
+ """
73
+ self._resource_id = resource_id
74
+
75
+ @property
76
+ def are_members_included(self):
77
+ """
78
+ Gets the are_members_included of this CreateMaintenanceWindowResourceDetails.
79
+ Flag to indicate if the members of the resource has to be include in the
80
+ Maintenance Window.
81
+
82
+
83
+ :return: The are_members_included of this CreateMaintenanceWindowResourceDetails.
84
+ :rtype: bool
85
+ """
86
+ return self._are_members_included
87
+
88
+ @are_members_included.setter
89
+ def are_members_included(self, are_members_included):
90
+ """
91
+ Sets the are_members_included of this CreateMaintenanceWindowResourceDetails.
92
+ Flag to indicate if the members of the resource has to be include in the
93
+ Maintenance Window.
94
+
95
+
96
+ :param are_members_included: The are_members_included of this CreateMaintenanceWindowResourceDetails.
97
+ :type: bool
98
+ """
99
+ self._are_members_included = are_members_included
100
+
101
+ def __repr__(self):
102
+ return formatted_flat_dict(self)
103
+
104
+ def __eq__(self, other):
105
+ if other is None:
106
+ return False
107
+
108
+ return self.__dict__ == other.__dict__
109
+
110
+ def __ne__(self, other):
111
+ return not self == other