oci 2.116.0__py3-none-any.whl → 2.117.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (352) hide show
  1. oci/access_governance_cp/access_governance_cp_client.py +8 -8
  2. oci/adm/application_dependency_management_client.py +41 -41
  3. oci/adm/models/__init__.py +4 -0
  4. oci/adm/models/create_vulnerability_audit_details.py +27 -0
  5. oci/adm/models/usage_data_details.py +92 -0
  6. oci/adm/models/usage_data_via_object_storage_tuple_details.py +143 -0
  7. oci/adm/models/vulnerability.py +33 -2
  8. oci/adm/models/vulnerability_audit.py +86 -0
  9. oci/adm/models/work_request_summary.py +35 -2
  10. oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
  11. oci/ai_document/ai_service_document_client.py +22 -22
  12. oci/ai_language/ai_service_language_client.py +36 -36
  13. oci/ai_speech/ai_service_speech_client.py +9 -9
  14. oci/ai_vision/ai_service_vision_client.py +25 -25
  15. oci/analytics/analytics_client.py +23 -23
  16. oci/announcements_service/announcement_client.py +4 -4
  17. oci/announcements_service/announcement_subscription_client.py +9 -9
  18. oci/announcements_service/announcements_preferences_client.py +4 -4
  19. oci/apigateway/api_gateway_client.py +21 -21
  20. oci/apigateway/deployment_client.py +6 -6
  21. oci/apigateway/gateway_client.py +6 -6
  22. oci/apigateway/subscribers_client.py +6 -6
  23. oci/apigateway/usage_plans_client.py +6 -6
  24. oci/apigateway/work_requests_client.py +5 -5
  25. oci/apm_config/config_client.py +8 -8
  26. oci/apm_control_plane/apm_domain_client.py +14 -14
  27. oci/apm_synthetics/apm_synthetic_client.py +18 -18
  28. oci/apm_traces/query_client.py +2 -2
  29. oci/apm_traces/trace_client.py +4 -4
  30. oci/application_migration/application_migration_client.py +19 -19
  31. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  32. oci/artifacts/artifacts_client.py +32 -32
  33. oci/audit/audit_client.py +3 -3
  34. oci/autoscaling/auto_scaling_client.py +11 -11
  35. oci/bastion/bastion_client.py +15 -15
  36. oci/bds/bds_client.py +51 -51
  37. oci/blockchain/blockchain_platform_client.py +27 -27
  38. oci/budget/budget_client.py +10 -10
  39. oci/certificates/certificates_client.py +5 -5
  40. oci/certificates_management/certificates_management_client.py +32 -32
  41. oci/cims/incident_client.py +8 -8
  42. oci/cims/user_client.py +1 -1
  43. oci/cloud_bridge/common_client.py +5 -5
  44. oci/cloud_bridge/discovery_client.py +14 -14
  45. oci/cloud_bridge/inventory_client.py +16 -16
  46. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  47. oci/cloud_guard/cloud_guard_client.py +133 -133
  48. oci/cloud_migrations/migration_client.py +43 -43
  49. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +14 -15
  50. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  51. oci/compute_instance_agent/plugin_client.py +2 -2
  52. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  53. oci/container_engine/container_engine_client.py +44 -44
  54. oci/container_instances/container_instance_client.py +18 -18
  55. oci/core/blockstorage_client.py +60 -60
  56. oci/core/compute_client.py +99 -99
  57. oci/core/compute_management_client.py +32 -32
  58. oci/core/virtual_network_client.py +242 -242
  59. oci/dashboard_service/dashboard_client.py +6 -6
  60. oci/dashboard_service/dashboard_group_client.py +6 -6
  61. oci/data_catalog/data_catalog_client.py +141 -141
  62. oci/data_flow/data_flow_client.py +42 -42
  63. oci/data_integration/data_integration_client.py +163 -163
  64. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  65. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  66. oci/data_safe/data_safe_client.py +252 -252
  67. oci/data_science/data_science_client.py +91 -91
  68. oci/data_science/models/fast_launch_job_config_summary.py +7 -3
  69. oci/data_science/models/job_shape_summary.py +7 -3
  70. oci/data_science/models/model_deployment_shape_summary.py +7 -3
  71. oci/data_science/models/notebook_session_shape_summary.py +7 -3
  72. oci/database/database_client.py +2092 -1268
  73. oci/database/database_client_composite_operations.py +222 -0
  74. oci/database/models/__init__.py +14 -0
  75. oci/database/models/autonomous_container_database.py +33 -2
  76. oci/database/models/autonomous_container_database_backup_config.py +2 -0
  77. oci/database/models/autonomous_container_database_summary.py +33 -2
  78. oci/database/models/autonomous_vm_cluster.py +95 -2
  79. oci/database/models/autonomous_vm_cluster_summary.py +95 -2
  80. oci/database/models/cloud_autonomous_vm_cluster.py +95 -2
  81. oci/database/models/cloud_autonomous_vm_cluster_summary.py +95 -2
  82. oci/database/models/console_history.py +368 -0
  83. oci/database/models/console_history_collection.py +72 -0
  84. oci/database/models/console_history_summary.py +368 -0
  85. oci/database/models/create_cloud_vm_cluster_details.py +33 -2
  86. oci/database/models/create_console_history_details.py +151 -0
  87. oci/database/models/create_vm_cluster_details.py +33 -2
  88. oci/database/models/db_system_upgrade_history_entry.py +64 -2
  89. oci/database/models/db_system_upgrade_history_entry_summary.py +64 -2
  90. oci/database/models/peer_autonomous_container_database_backup_config.py +2 -0
  91. oci/database/models/system_version_collection.py +72 -0
  92. oci/database/models/system_version_summary.py +134 -0
  93. oci/database/models/update_autonomous_vm_cluster_details.py +95 -2
  94. oci/database/models/update_cloud_autonomous_vm_cluster_details.py +93 -0
  95. oci/database/models/update_console_history_details.py +150 -0
  96. oci/database/models/upgrade_db_system_details.py +31 -0
  97. oci/database_management/db_management_client.py +182 -182
  98. oci/database_management/diagnosability_client.py +4 -4
  99. oci/database_management/managed_my_sql_databases_client.py +6 -6
  100. oci/database_management/perfhub_client.py +1 -1
  101. oci/database_management/sql_tuning_client.py +17 -17
  102. oci/database_migration/database_migration_client.py +41 -41
  103. oci/database_tools/database_tools_client.py +23 -23
  104. oci/devops/devops_client.py +89 -89
  105. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  106. oci/dns/dns_client.py +52 -52
  107. oci/dts/appliance_export_job_client.py +6 -6
  108. oci/dts/shipping_vendors_client.py +1 -1
  109. oci/dts/transfer_appliance_client.py +8 -8
  110. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  111. oci/dts/transfer_device_client.py +5 -5
  112. oci/dts/transfer_job_client.py +6 -6
  113. oci/dts/transfer_package_client.py +7 -7
  114. oci/em_warehouse/em_data_lake_client.py +13 -13
  115. oci/em_warehouse/em_warehouse_client.py +13 -13
  116. oci/email/email_client.py +25 -25
  117. oci/events/events_client.py +6 -6
  118. oci/file_storage/file_storage_client.py +50 -50
  119. oci/fleet_software_update/fleet_software_update_client.py +44 -44
  120. oci/functions/functions_invoke_client.py +1 -1
  121. oci/functions/functions_management_client.py +16 -16
  122. oci/fusion_apps/data_masking_activity_client.py +3 -3
  123. oci/fusion_apps/fusion_applications_client.py +39 -39
  124. oci/fusion_apps/fusion_environment_client.py +15 -15
  125. oci/fusion_apps/fusion_environment_family_client.py +8 -8
  126. oci/fusion_apps/refresh_activity_client.py +4 -4
  127. oci/fusion_apps/scheduled_activity_client.py +2 -2
  128. oci/fusion_apps/service_attachment_client.py +2 -2
  129. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  130. oci/golden_gate/golden_gate_client.py +536 -57
  131. oci/golden_gate/golden_gate_client_composite_operations.py +90 -0
  132. oci/golden_gate/models/__init__.py +8 -0
  133. oci/golden_gate/models/certificate.py +713 -0
  134. oci/golden_gate/models/certificate_collection.py +72 -0
  135. oci/golden_gate/models/certificate_summary.py +269 -0
  136. oci/golden_gate/models/create_certificate_details.py +105 -0
  137. oci/golden_gate/models/create_microsoft_sqlserver_connection_details.py +2 -2
  138. oci/golden_gate/models/create_mysql_connection_details.py +10 -12
  139. oci/golden_gate/models/create_postgresql_connection_details.py +8 -6
  140. oci/golden_gate/models/microsoft_sqlserver_connection.py +2 -2
  141. oci/golden_gate/models/microsoft_sqlserver_connection_summary.py +2 -2
  142. oci/golden_gate/models/update_microsoft_sqlserver_connection_details.py +2 -2
  143. oci/golden_gate/models/update_mysql_connection_details.py +10 -12
  144. oci/golden_gate/models/update_postgresql_connection_details.py +8 -6
  145. oci/golden_gate/models/work_request.py +11 -3
  146. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  147. oci/governance_rules_control_plane/work_request_client.py +5 -5
  148. oci/healthchecks/health_checks_client.py +17 -17
  149. oci/identity/identity_client.py +145 -145
  150. oci/identity_data_plane/dataplane_client.py +2 -2
  151. oci/identity_domains/identity_domains_client.py +294 -294
  152. oci/integration/integration_instance_client.py +15 -15
  153. oci/jms/java_management_service_client.py +66 -66
  154. oci/jms_java_downloads/java_download_client.py +25 -25
  155. oci/key_management/ekm_client.py +5 -5
  156. oci/key_management/kms_crypto_client.py +6 -6
  157. oci/key_management/kms_management_client.py +21 -21
  158. oci/key_management/kms_vault_client.py +14 -14
  159. oci/license_manager/license_manager_client.py +18 -18
  160. oci/limits/limits_client.py +4 -4
  161. oci/limits/quotas_client.py +7 -7
  162. oci/load_balancer/load_balancer_client.py +61 -61
  163. oci/lockbox/lockbox_client.py +23 -23
  164. oci/log_analytics/log_analytics_client.py +388 -192
  165. oci/log_analytics/models/export_details.py +15 -17
  166. oci/logging/logging_management_client.py +30 -30
  167. oci/loggingingestion/logging_client.py +1 -1
  168. oci/loggingsearch/log_search_client.py +1 -1
  169. oci/management_agent/management_agent_client.py +23 -23
  170. oci/management_dashboard/dashx_apis_client.py +14 -14
  171. oci/marketplace/account_client.py +2 -2
  172. oci/marketplace/marketplace_client.py +30 -30
  173. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  174. oci/media_services/media_services_client.py +48 -48
  175. oci/media_services/media_stream_client.py +2 -2
  176. oci/monitoring/monitoring_client.py +13 -13
  177. oci/mysql/channels_client.py +7 -7
  178. oci/mysql/db_backups_client.py +6 -6
  179. oci/mysql/db_system_client.py +17 -17
  180. oci/mysql/mysqlaas_client.py +7 -7
  181. oci/mysql/replicas_client.py +5 -5
  182. oci/mysql/work_requests_client.py +4 -4
  183. oci/network_firewall/network_firewall_client.py +80 -80
  184. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  185. oci/nosql/nosql_client.py +24 -24
  186. oci/object_storage/object_storage_client.py +50 -50
  187. oci/oce/oce_instance_client.py +10 -10
  188. oci/oci_control_center/occ_metrics_client.py +3 -3
  189. oci/ocvp/__init__.py +4 -2
  190. oci/ocvp/cluster_client.py +732 -0
  191. oci/ocvp/cluster_client_composite_operations.py +160 -0
  192. oci/ocvp/esxi_host_client.py +262 -14
  193. oci/ocvp/esxi_host_client_composite_operations.py +84 -1
  194. oci/ocvp/models/__init__.py +29 -7
  195. oci/ocvp/models/change_sddc_compartment_details.py +1 -1
  196. oci/ocvp/models/cluster.py +1026 -0
  197. oci/ocvp/models/cluster_collection.py +72 -0
  198. oci/ocvp/models/cluster_summary.py +671 -0
  199. oci/ocvp/models/create_cluster_details.py +658 -0
  200. oci/ocvp/models/create_esxi_host_details.py +112 -161
  201. oci/ocvp/models/create_sddc_details.py +86 -814
  202. oci/ocvp/models/datastore_details.py +154 -0
  203. oci/ocvp/models/datastore_info.py +6 -6
  204. oci/ocvp/models/downgrade_hcx_details.py +1 -1
  205. oci/ocvp/models/esxi_host.py +132 -64
  206. oci/ocvp/models/esxi_host_collection.py +1 -1
  207. oci/ocvp/models/esxi_host_summary.py +100 -63
  208. oci/ocvp/models/hcx_license_summary.py +1 -1
  209. oci/ocvp/models/initial_cluster_configuration.py +518 -0
  210. oci/ocvp/models/initial_configuration.py +72 -0
  211. oci/ocvp/models/network_configuration.py +635 -0
  212. oci/ocvp/models/replace_host_details.py +78 -0
  213. oci/ocvp/models/sddc.py +176 -1269
  214. oci/ocvp/models/sddc_collection.py +1 -1
  215. oci/ocvp/models/sddc_password.py +123 -0
  216. oci/ocvp/models/sddc_summary.py +55 -161
  217. oci/ocvp/models/supported_commitment_summary.py +96 -0
  218. oci/ocvp/models/supported_commitment_summary_collection.py +72 -0
  219. oci/ocvp/models/supported_esxi_software_version_summary.py +135 -0
  220. oci/ocvp/models/supported_host_shape_collection.py +1 -1
  221. oci/ocvp/models/supported_host_shape_summary.py +54 -54
  222. oci/ocvp/models/supported_vmware_software_version_collection.py +1 -1
  223. oci/ocvp/models/supported_vmware_software_version_summary.py +34 -3
  224. oci/ocvp/models/update_cluster_details.py +265 -0
  225. oci/ocvp/models/update_esxi_host_details.py +32 -32
  226. oci/ocvp/models/update_sddc_details.py +42 -377
  227. oci/ocvp/models/vsphere_license.py +1 -1
  228. oci/ocvp/models/vsphere_upgrade_object.py +1 -1
  229. oci/ocvp/models/work_request.py +20 -4
  230. oci/ocvp/models/work_request_collection.py +1 -1
  231. oci/ocvp/models/work_request_error.py +1 -1
  232. oci/ocvp/models/work_request_error_collection.py +1 -1
  233. oci/ocvp/models/work_request_log_entry.py +1 -1
  234. oci/ocvp/models/work_request_log_entry_collection.py +1 -1
  235. oci/ocvp/models/work_request_resource.py +1 -1
  236. oci/ocvp/sddc_client.py +212 -68
  237. oci/ocvp/sddc_client_composite_operations.py +1 -1
  238. oci/ocvp/work_request_client.py +10 -10
  239. oci/ocvp/work_request_client_composite_operations.py +1 -1
  240. oci/oda/management_client.py +56 -56
  241. oci/oda/oda_client.py +17 -17
  242. oci/oda/odapackage_client.py +7 -7
  243. oci/onesubscription/billing_schedule_client.py +1 -1
  244. oci/onesubscription/commitment_client.py +2 -2
  245. oci/onesubscription/computed_usage_client.py +3 -3
  246. oci/onesubscription/invoice_summary_client.py +2 -2
  247. oci/onesubscription/organization_subscription_client.py +1 -1
  248. oci/onesubscription/ratecard_client.py +1 -1
  249. oci/onesubscription/subscribed_service_client.py +2 -2
  250. oci/onesubscription/subscription_client.py +1 -1
  251. oci/ons/notification_control_plane_client.py +6 -6
  252. oci/ons/notification_data_plane_client.py +10 -10
  253. oci/opa/opa_instance_client.py +11 -11
  254. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  255. oci/opensearch/opensearch_cluster_client.py +14 -14
  256. oci/operator_access_control/access_requests_client.py +9 -9
  257. oci/operator_access_control/operator_actions_client.py +2 -2
  258. oci/operator_access_control/operator_control_assignment_client.py +6 -6
  259. oci/operator_access_control/operator_control_client.py +6 -6
  260. oci/opsi/models/__init__.py +22 -0
  261. oci/opsi/models/awr_hub_objects.py +72 -0
  262. oci/opsi/models/awr_hub_source.py +904 -0
  263. oci/opsi/models/awr_hub_source_summary.py +904 -0
  264. oci/opsi/models/awr_hub_source_summary_collection.py +72 -0
  265. oci/opsi/models/awr_hub_sources.py +72 -0
  266. oci/opsi/models/change_awr_hub_source_compartment_details.py +72 -0
  267. oci/opsi/models/change_operations_insights_warehouse_compartment_details.py +76 -0
  268. oci/opsi/models/create_awr_hub_details.py +1 -1
  269. oci/opsi/models/create_awr_hub_source_details.py +377 -0
  270. oci/opsi/models/list_objects.py +134 -0
  271. oci/opsi/models/object_summary.py +329 -0
  272. oci/opsi/models/update_awr_hub_source_details.py +210 -0
  273. oci/opsi/models/work_request.py +27 -3
  274. oci/opsi/operations_insights_client.py +3221 -1507
  275. oci/opsi/operations_insights_client_composite_operations.py +283 -0
  276. oci/optimizer/optimizer_client.py +26 -26
  277. oci/os_management/event_client.py +8 -8
  278. oci/os_management/os_management_client.py +69 -69
  279. oci/os_management_hub/lifecycle_environment_client.py +11 -11
  280. oci/os_management_hub/managed_instance_client.py +22 -22
  281. oci/os_management_hub/managed_instance_group_client.py +22 -22
  282. oci/os_management_hub/management_station_client.py +8 -8
  283. oci/os_management_hub/onboarding_client.py +5 -5
  284. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  285. oci/os_management_hub/scheduled_job_client.py +6 -6
  286. oci/os_management_hub/software_source_client.py +22 -22
  287. oci/os_management_hub/work_request_client.py +4 -4
  288. oci/osp_gateway/address_rule_service_client.py +1 -1
  289. oci/osp_gateway/address_service_client.py +2 -2
  290. oci/osp_gateway/invoice_service_client.py +5 -5
  291. oci/osp_gateway/subscription_service_client.py +5 -5
  292. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  293. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  294. oci/osub_subscription/commitment_client.py +2 -2
  295. oci/osub_subscription/ratecard_client.py +1 -1
  296. oci/osub_subscription/subscription_client.py +1 -1
  297. oci/osub_usage/computed_usage_client.py +3 -3
  298. oci/psql/postgresql_client.py +66 -66
  299. oci/queue/queue_admin_client.py +11 -11
  300. oci/queue/queue_client.py +8 -8
  301. oci/recovery/database_recovery_client.py +23 -23
  302. oci/redis/redis_cluster_client.py +11 -11
  303. oci/regions_definitions.py +12 -4
  304. oci/resource_manager/resource_manager_client.py +52 -52
  305. oci/resource_search/resource_search_client.py +3 -3
  306. oci/rover/rover_bundle_client.py +8 -8
  307. oci/rover/rover_cluster_client.py +8 -8
  308. oci/rover/rover_entitlement_client.py +6 -6
  309. oci/rover/rover_node_client.py +15 -15
  310. oci/rover/shape_client.py +1 -1
  311. oci/rover/work_requests_client.py +5 -5
  312. oci/sch/service_connector_client.py +12 -12
  313. oci/secrets/secrets_client.py +3 -3
  314. oci/service_catalog/service_catalog_client.py +26 -26
  315. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  316. oci/service_mesh/service_mesh_client.py +48 -48
  317. oci/stack_monitoring/stack_monitoring_client.py +58 -58
  318. oci/streaming/stream_admin_client.py +18 -18
  319. oci/streaming/stream_client.py +8 -8
  320. oci/tenant_manager_control_plane/domain_client.py +5 -5
  321. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  322. oci/tenant_manager_control_plane/governance_client.py +2 -2
  323. oci/tenant_manager_control_plane/link_client.py +3 -3
  324. oci/tenant_manager_control_plane/orders_client.py +2 -2
  325. oci/tenant_manager_control_plane/organization_client.py +10 -10
  326. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  327. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  328. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  329. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  330. oci/threat_intelligence/threatintel_client.py +5 -5
  331. oci/usage/resources_client.py +2 -2
  332. oci/usage/rewards_client.py +6 -6
  333. oci/usage/usagelimits_client.py +1 -1
  334. oci/usage_api/usageapi_client.py +19 -19
  335. oci/vault/vaults_client.py +11 -11
  336. oci/vbs_inst/vbs_instance_client.py +10 -10
  337. oci/version.py +1 -1
  338. oci/visual_builder/vb_instance_client.py +13 -13
  339. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  340. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  341. oci/waa/waa_client.py +13 -13
  342. oci/waa/work_request_client.py +4 -4
  343. oci/waas/redirect_client.py +6 -6
  344. oci/waas/waas_client.py +66 -66
  345. oci/waf/waf_client.py +24 -24
  346. oci/work_requests/work_request_client.py +4 -4
  347. {oci-2.116.0.dist-info → oci-2.117.0.dist-info}/METADATA +1 -1
  348. {oci-2.116.0.dist-info → oci-2.117.0.dist-info}/RECORD +352 -312
  349. {oci-2.116.0.dist-info → oci-2.117.0.dist-info}/LICENSE.txt +0 -0
  350. {oci-2.116.0.dist-info → oci-2.117.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  351. {oci-2.116.0.dist-info → oci-2.117.0.dist-info}/WHEEL +0 -0
  352. {oci-2.116.0.dist-info → oci-2.117.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,1026 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2023, 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: 20230701
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 Cluster(object):
14
+ """
15
+ An `Oracle Cloud VMware Solution`__ Cluster contains the resources required for a
16
+ functional VMware environment. Instances in a Cluster
17
+ (see :class:`EsxiHost`) run in a virtual cloud network (VCN)
18
+ and are preconfigured with VMware and storage. Use the vCenter utility to manage
19
+ and deploy VMware virtual machines (VMs) in the Cluster.
20
+
21
+ The Cluster uses a single management subnet for provisioning the Cluster. It also uses a
22
+ set of VLANs for various components of the VMware environment (vSphere, vMotion,
23
+ vSAN, and so on). See the Core Services API for information about VCN subnets and VLANs.
24
+
25
+ __ https://docs.cloud.oracle.com/iaas/Content/VMware/Concepts/ocvsoverview.htm
26
+ """
27
+
28
+ #: A constant which can be used with the initial_commitment property of a Cluster.
29
+ #: This constant has a value of "HOUR"
30
+ INITIAL_COMMITMENT_HOUR = "HOUR"
31
+
32
+ #: A constant which can be used with the initial_commitment property of a Cluster.
33
+ #: This constant has a value of "MONTH"
34
+ INITIAL_COMMITMENT_MONTH = "MONTH"
35
+
36
+ #: A constant which can be used with the initial_commitment property of a Cluster.
37
+ #: This constant has a value of "ONE_YEAR"
38
+ INITIAL_COMMITMENT_ONE_YEAR = "ONE_YEAR"
39
+
40
+ #: A constant which can be used with the initial_commitment property of a Cluster.
41
+ #: This constant has a value of "THREE_YEARS"
42
+ INITIAL_COMMITMENT_THREE_YEARS = "THREE_YEARS"
43
+
44
+ #: A constant which can be used with the lifecycle_state property of a Cluster.
45
+ #: This constant has a value of "CREATING"
46
+ LIFECYCLE_STATE_CREATING = "CREATING"
47
+
48
+ #: A constant which can be used with the lifecycle_state property of a Cluster.
49
+ #: This constant has a value of "UPDATING"
50
+ LIFECYCLE_STATE_UPDATING = "UPDATING"
51
+
52
+ #: A constant which can be used with the lifecycle_state property of a Cluster.
53
+ #: This constant has a value of "ACTIVE"
54
+ LIFECYCLE_STATE_ACTIVE = "ACTIVE"
55
+
56
+ #: A constant which can be used with the lifecycle_state property of a Cluster.
57
+ #: This constant has a value of "DELETING"
58
+ LIFECYCLE_STATE_DELETING = "DELETING"
59
+
60
+ #: A constant which can be used with the lifecycle_state property of a Cluster.
61
+ #: This constant has a value of "DELETED"
62
+ LIFECYCLE_STATE_DELETED = "DELETED"
63
+
64
+ #: A constant which can be used with the lifecycle_state property of a Cluster.
65
+ #: This constant has a value of "FAILED"
66
+ LIFECYCLE_STATE_FAILED = "FAILED"
67
+
68
+ #: A constant which can be used with the vsphere_type property of a Cluster.
69
+ #: This constant has a value of "MANAGEMENT"
70
+ VSPHERE_TYPE_MANAGEMENT = "MANAGEMENT"
71
+
72
+ #: A constant which can be used with the vsphere_type property of a Cluster.
73
+ #: This constant has a value of "WORKLOAD"
74
+ VSPHERE_TYPE_WORKLOAD = "WORKLOAD"
75
+
76
+ def __init__(self, **kwargs):
77
+ """
78
+ Initializes a new Cluster object with values from keyword arguments.
79
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
80
+
81
+ :param id:
82
+ The value to assign to the id property of this Cluster.
83
+ :type id: str
84
+
85
+ :param compute_availability_domain:
86
+ The value to assign to the compute_availability_domain property of this Cluster.
87
+ :type compute_availability_domain: str
88
+
89
+ :param display_name:
90
+ The value to assign to the display_name property of this Cluster.
91
+ :type display_name: str
92
+
93
+ :param instance_display_name_prefix:
94
+ The value to assign to the instance_display_name_prefix property of this Cluster.
95
+ :type instance_display_name_prefix: str
96
+
97
+ :param vmware_software_version:
98
+ The value to assign to the vmware_software_version property of this Cluster.
99
+ :type vmware_software_version: str
100
+
101
+ :param esxi_software_version:
102
+ The value to assign to the esxi_software_version property of this Cluster.
103
+ :type esxi_software_version: str
104
+
105
+ :param compartment_id:
106
+ The value to assign to the compartment_id property of this Cluster.
107
+ :type compartment_id: str
108
+
109
+ :param sddc_id:
110
+ The value to assign to the sddc_id property of this Cluster.
111
+ :type sddc_id: str
112
+
113
+ :param esxi_hosts_count:
114
+ The value to assign to the esxi_hosts_count property of this Cluster.
115
+ :type esxi_hosts_count: int
116
+
117
+ :param initial_commitment:
118
+ The value to assign to the initial_commitment property of this Cluster.
119
+ Allowed values for this property are: "HOUR", "MONTH", "ONE_YEAR", "THREE_YEARS", 'UNKNOWN_ENUM_VALUE'.
120
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
121
+ :type initial_commitment: str
122
+
123
+ :param workload_network_cidr:
124
+ The value to assign to the workload_network_cidr property of this Cluster.
125
+ :type workload_network_cidr: str
126
+
127
+ :param network_configuration:
128
+ The value to assign to the network_configuration property of this Cluster.
129
+ :type network_configuration: oci.ocvp.models.NetworkConfiguration
130
+
131
+ :param time_created:
132
+ The value to assign to the time_created property of this Cluster.
133
+ :type time_created: datetime
134
+
135
+ :param time_updated:
136
+ The value to assign to the time_updated property of this Cluster.
137
+ :type time_updated: datetime
138
+
139
+ :param lifecycle_state:
140
+ The value to assign to the lifecycle_state property of this Cluster.
141
+ Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
142
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
143
+ :type lifecycle_state: str
144
+
145
+ :param upgrade_licenses:
146
+ The value to assign to the upgrade_licenses property of this Cluster.
147
+ :type upgrade_licenses: list[oci.ocvp.models.VsphereLicense]
148
+
149
+ :param vsphere_upgrade_objects:
150
+ The value to assign to the vsphere_upgrade_objects property of this Cluster.
151
+ :type vsphere_upgrade_objects: list[oci.ocvp.models.VsphereUpgradeObject]
152
+
153
+ :param initial_host_shape_name:
154
+ The value to assign to the initial_host_shape_name property of this Cluster.
155
+ :type initial_host_shape_name: str
156
+
157
+ :param initial_host_ocpu_count:
158
+ The value to assign to the initial_host_ocpu_count property of this Cluster.
159
+ :type initial_host_ocpu_count: float
160
+
161
+ :param is_shielded_instance_enabled:
162
+ The value to assign to the is_shielded_instance_enabled property of this Cluster.
163
+ :type is_shielded_instance_enabled: bool
164
+
165
+ :param capacity_reservation_id:
166
+ The value to assign to the capacity_reservation_id property of this Cluster.
167
+ :type capacity_reservation_id: str
168
+
169
+ :param datastores:
170
+ The value to assign to the datastores property of this Cluster.
171
+ :type datastores: list[oci.ocvp.models.DatastoreDetails]
172
+
173
+ :param vsphere_type:
174
+ The value to assign to the vsphere_type property of this Cluster.
175
+ Allowed values for this property are: "MANAGEMENT", "WORKLOAD", 'UNKNOWN_ENUM_VALUE'.
176
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
177
+ :type vsphere_type: str
178
+
179
+ :param freeform_tags:
180
+ The value to assign to the freeform_tags property of this Cluster.
181
+ :type freeform_tags: dict(str, str)
182
+
183
+ :param defined_tags:
184
+ The value to assign to the defined_tags property of this Cluster.
185
+ :type defined_tags: dict(str, dict(str, object))
186
+
187
+ """
188
+ self.swagger_types = {
189
+ 'id': 'str',
190
+ 'compute_availability_domain': 'str',
191
+ 'display_name': 'str',
192
+ 'instance_display_name_prefix': 'str',
193
+ 'vmware_software_version': 'str',
194
+ 'esxi_software_version': 'str',
195
+ 'compartment_id': 'str',
196
+ 'sddc_id': 'str',
197
+ 'esxi_hosts_count': 'int',
198
+ 'initial_commitment': 'str',
199
+ 'workload_network_cidr': 'str',
200
+ 'network_configuration': 'NetworkConfiguration',
201
+ 'time_created': 'datetime',
202
+ 'time_updated': 'datetime',
203
+ 'lifecycle_state': 'str',
204
+ 'upgrade_licenses': 'list[VsphereLicense]',
205
+ 'vsphere_upgrade_objects': 'list[VsphereUpgradeObject]',
206
+ 'initial_host_shape_name': 'str',
207
+ 'initial_host_ocpu_count': 'float',
208
+ 'is_shielded_instance_enabled': 'bool',
209
+ 'capacity_reservation_id': 'str',
210
+ 'datastores': 'list[DatastoreDetails]',
211
+ 'vsphere_type': 'str',
212
+ 'freeform_tags': 'dict(str, str)',
213
+ 'defined_tags': 'dict(str, dict(str, object))'
214
+ }
215
+
216
+ self.attribute_map = {
217
+ 'id': 'id',
218
+ 'compute_availability_domain': 'computeAvailabilityDomain',
219
+ 'display_name': 'displayName',
220
+ 'instance_display_name_prefix': 'instanceDisplayNamePrefix',
221
+ 'vmware_software_version': 'vmwareSoftwareVersion',
222
+ 'esxi_software_version': 'esxiSoftwareVersion',
223
+ 'compartment_id': 'compartmentId',
224
+ 'sddc_id': 'sddcId',
225
+ 'esxi_hosts_count': 'esxiHostsCount',
226
+ 'initial_commitment': 'initialCommitment',
227
+ 'workload_network_cidr': 'workloadNetworkCidr',
228
+ 'network_configuration': 'networkConfiguration',
229
+ 'time_created': 'timeCreated',
230
+ 'time_updated': 'timeUpdated',
231
+ 'lifecycle_state': 'lifecycleState',
232
+ 'upgrade_licenses': 'upgradeLicenses',
233
+ 'vsphere_upgrade_objects': 'vsphereUpgradeObjects',
234
+ 'initial_host_shape_name': 'initialHostShapeName',
235
+ 'initial_host_ocpu_count': 'initialHostOcpuCount',
236
+ 'is_shielded_instance_enabled': 'isShieldedInstanceEnabled',
237
+ 'capacity_reservation_id': 'capacityReservationId',
238
+ 'datastores': 'datastores',
239
+ 'vsphere_type': 'vsphereType',
240
+ 'freeform_tags': 'freeformTags',
241
+ 'defined_tags': 'definedTags'
242
+ }
243
+
244
+ self._id = None
245
+ self._compute_availability_domain = None
246
+ self._display_name = None
247
+ self._instance_display_name_prefix = None
248
+ self._vmware_software_version = None
249
+ self._esxi_software_version = None
250
+ self._compartment_id = None
251
+ self._sddc_id = None
252
+ self._esxi_hosts_count = None
253
+ self._initial_commitment = None
254
+ self._workload_network_cidr = None
255
+ self._network_configuration = None
256
+ self._time_created = None
257
+ self._time_updated = None
258
+ self._lifecycle_state = None
259
+ self._upgrade_licenses = None
260
+ self._vsphere_upgrade_objects = None
261
+ self._initial_host_shape_name = None
262
+ self._initial_host_ocpu_count = None
263
+ self._is_shielded_instance_enabled = None
264
+ self._capacity_reservation_id = None
265
+ self._datastores = None
266
+ self._vsphere_type = None
267
+ self._freeform_tags = None
268
+ self._defined_tags = None
269
+
270
+ @property
271
+ def id(self):
272
+ """
273
+ **[Required]** Gets the id of this Cluster.
274
+ The `OCID`__ of the Cluster.
275
+
276
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
277
+
278
+
279
+ :return: The id of this Cluster.
280
+ :rtype: str
281
+ """
282
+ return self._id
283
+
284
+ @id.setter
285
+ def id(self, id):
286
+ """
287
+ Sets the id of this Cluster.
288
+ The `OCID`__ of the Cluster.
289
+
290
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
291
+
292
+
293
+ :param id: The id of this Cluster.
294
+ :type: str
295
+ """
296
+ self._id = id
297
+
298
+ @property
299
+ def compute_availability_domain(self):
300
+ """
301
+ **[Required]** Gets the compute_availability_domain of this Cluster.
302
+ The availability domain the ESXi hosts are running in. For Multi-AD Cluster, it is `multi-AD`.
303
+
304
+ Example: `Uocm:PHX-AD-1`, `multi-AD`
305
+
306
+
307
+ :return: The compute_availability_domain of this Cluster.
308
+ :rtype: str
309
+ """
310
+ return self._compute_availability_domain
311
+
312
+ @compute_availability_domain.setter
313
+ def compute_availability_domain(self, compute_availability_domain):
314
+ """
315
+ Sets the compute_availability_domain of this Cluster.
316
+ The availability domain the ESXi hosts are running in. For Multi-AD Cluster, it is `multi-AD`.
317
+
318
+ Example: `Uocm:PHX-AD-1`, `multi-AD`
319
+
320
+
321
+ :param compute_availability_domain: The compute_availability_domain of this Cluster.
322
+ :type: str
323
+ """
324
+ self._compute_availability_domain = compute_availability_domain
325
+
326
+ @property
327
+ def display_name(self):
328
+ """
329
+ **[Required]** Gets the display_name of this Cluster.
330
+ A descriptive name for the Cluster. It must be unique, start with a letter, and contain only letters, digits,
331
+ whitespaces, dashes and underscores.
332
+ Avoid entering confidential information.
333
+
334
+
335
+ :return: The display_name of this Cluster.
336
+ :rtype: str
337
+ """
338
+ return self._display_name
339
+
340
+ @display_name.setter
341
+ def display_name(self, display_name):
342
+ """
343
+ Sets the display_name of this Cluster.
344
+ A descriptive name for the Cluster. It must be unique, start with a letter, and contain only letters, digits,
345
+ whitespaces, dashes and underscores.
346
+ Avoid entering confidential information.
347
+
348
+
349
+ :param display_name: The display_name of this Cluster.
350
+ :type: str
351
+ """
352
+ self._display_name = display_name
353
+
354
+ @property
355
+ def instance_display_name_prefix(self):
356
+ """
357
+ Gets the instance_display_name_prefix of this Cluster.
358
+ A prefix used in the name of each ESXi host and Compute instance in the Cluster.
359
+ If this isn't set, the Cluster's `displayName` is used as the prefix.
360
+
361
+ For example, if the value is `MyCluster`, the ESXi hosts are named `MyCluster-1`,
362
+ `MyCluster-2`, and so on.
363
+
364
+
365
+ :return: The instance_display_name_prefix of this Cluster.
366
+ :rtype: str
367
+ """
368
+ return self._instance_display_name_prefix
369
+
370
+ @instance_display_name_prefix.setter
371
+ def instance_display_name_prefix(self, instance_display_name_prefix):
372
+ """
373
+ Sets the instance_display_name_prefix of this Cluster.
374
+ A prefix used in the name of each ESXi host and Compute instance in the Cluster.
375
+ If this isn't set, the Cluster's `displayName` is used as the prefix.
376
+
377
+ For example, if the value is `MyCluster`, the ESXi hosts are named `MyCluster-1`,
378
+ `MyCluster-2`, and so on.
379
+
380
+
381
+ :param instance_display_name_prefix: The instance_display_name_prefix of this Cluster.
382
+ :type: str
383
+ """
384
+ self._instance_display_name_prefix = instance_display_name_prefix
385
+
386
+ @property
387
+ def vmware_software_version(self):
388
+ """
389
+ **[Required]** Gets the vmware_software_version of this Cluster.
390
+ In general, this is a specific version of bundled VMware software supported by
391
+ Oracle Cloud VMware Solution (see
392
+ :func:`list_supported_vmware_software_versions`).
393
+
394
+ This attribute is not guaranteed to reflect the version of
395
+ software currently installed on the ESXi hosts in the Cluster. The purpose
396
+ of this attribute is to show the version of software that the Oracle
397
+ Cloud VMware Solution will install on any new ESXi hosts that you *add to this
398
+ Cluster in the future* with :func:`create_esxi_host`.
399
+
400
+ Therefore, if you upgrade the existing ESXi hosts in the Cluster to use a newer
401
+ version of bundled VMware software supported by the Oracle Cloud VMware Solution, you
402
+ should use :func:`update_cluster` to update the Cluster's
403
+ `vmwareSoftwareVersion` with that new version.
404
+
405
+
406
+ :return: The vmware_software_version of this Cluster.
407
+ :rtype: str
408
+ """
409
+ return self._vmware_software_version
410
+
411
+ @vmware_software_version.setter
412
+ def vmware_software_version(self, vmware_software_version):
413
+ """
414
+ Sets the vmware_software_version of this Cluster.
415
+ In general, this is a specific version of bundled VMware software supported by
416
+ Oracle Cloud VMware Solution (see
417
+ :func:`list_supported_vmware_software_versions`).
418
+
419
+ This attribute is not guaranteed to reflect the version of
420
+ software currently installed on the ESXi hosts in the Cluster. The purpose
421
+ of this attribute is to show the version of software that the Oracle
422
+ Cloud VMware Solution will install on any new ESXi hosts that you *add to this
423
+ Cluster in the future* with :func:`create_esxi_host`.
424
+
425
+ Therefore, if you upgrade the existing ESXi hosts in the Cluster to use a newer
426
+ version of bundled VMware software supported by the Oracle Cloud VMware Solution, you
427
+ should use :func:`update_cluster` to update the Cluster's
428
+ `vmwareSoftwareVersion` with that new version.
429
+
430
+
431
+ :param vmware_software_version: The vmware_software_version of this Cluster.
432
+ :type: str
433
+ """
434
+ self._vmware_software_version = vmware_software_version
435
+
436
+ @property
437
+ def esxi_software_version(self):
438
+ """
439
+ Gets the esxi_software_version of this Cluster.
440
+ In general, this is a specific version of bundled ESXi software supported by
441
+ Oracle Cloud VMware Solution (see
442
+ :func:`list_supported_vmware_software_versions`).
443
+
444
+ This attribute is not guaranteed to reflect the version of
445
+ software currently installed on the ESXi hosts in the SDDC. The purpose
446
+ of this attribute is to show the version of software that the Oracle
447
+ Cloud VMware Solution will install on any new ESXi hosts that you *add to this
448
+ SDDC in the future* with :func:`create_esxi_host`
449
+ unless a different version is configured on the ESXi host level.
450
+
451
+ Therefore, if you upgrade the existing ESXi hosts in the Cluster to use a newer
452
+ version of bundled ESXi software supported by the Oracle Cloud VMware Solution, you
453
+ should use :func:`update_cluster` to update the Cluster's
454
+ `esxiSoftwareVersion` with that new version.
455
+
456
+
457
+ :return: The esxi_software_version of this Cluster.
458
+ :rtype: str
459
+ """
460
+ return self._esxi_software_version
461
+
462
+ @esxi_software_version.setter
463
+ def esxi_software_version(self, esxi_software_version):
464
+ """
465
+ Sets the esxi_software_version of this Cluster.
466
+ In general, this is a specific version of bundled ESXi software supported by
467
+ Oracle Cloud VMware Solution (see
468
+ :func:`list_supported_vmware_software_versions`).
469
+
470
+ This attribute is not guaranteed to reflect the version of
471
+ software currently installed on the ESXi hosts in the SDDC. The purpose
472
+ of this attribute is to show the version of software that the Oracle
473
+ Cloud VMware Solution will install on any new ESXi hosts that you *add to this
474
+ SDDC in the future* with :func:`create_esxi_host`
475
+ unless a different version is configured on the ESXi host level.
476
+
477
+ Therefore, if you upgrade the existing ESXi hosts in the Cluster to use a newer
478
+ version of bundled ESXi software supported by the Oracle Cloud VMware Solution, you
479
+ should use :func:`update_cluster` to update the Cluster's
480
+ `esxiSoftwareVersion` with that new version.
481
+
482
+
483
+ :param esxi_software_version: The esxi_software_version of this Cluster.
484
+ :type: str
485
+ """
486
+ self._esxi_software_version = esxi_software_version
487
+
488
+ @property
489
+ def compartment_id(self):
490
+ """
491
+ **[Required]** Gets the compartment_id of this Cluster.
492
+ The `OCID`__ of the compartment that
493
+ contains the Cluster.
494
+
495
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
496
+
497
+
498
+ :return: The compartment_id of this Cluster.
499
+ :rtype: str
500
+ """
501
+ return self._compartment_id
502
+
503
+ @compartment_id.setter
504
+ def compartment_id(self, compartment_id):
505
+ """
506
+ Sets the compartment_id of this Cluster.
507
+ The `OCID`__ of the compartment that
508
+ contains the Cluster.
509
+
510
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
511
+
512
+
513
+ :param compartment_id: The compartment_id of this Cluster.
514
+ :type: str
515
+ """
516
+ self._compartment_id = compartment_id
517
+
518
+ @property
519
+ def sddc_id(self):
520
+ """
521
+ **[Required]** Gets the sddc_id of this Cluster.
522
+ The `OCID`__ of the SDDC that the
523
+ Cluster belongs to.
524
+
525
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
526
+
527
+
528
+ :return: The sddc_id of this Cluster.
529
+ :rtype: str
530
+ """
531
+ return self._sddc_id
532
+
533
+ @sddc_id.setter
534
+ def sddc_id(self, sddc_id):
535
+ """
536
+ Sets the sddc_id of this Cluster.
537
+ The `OCID`__ of the SDDC that the
538
+ Cluster belongs to.
539
+
540
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
541
+
542
+
543
+ :param sddc_id: The sddc_id of this Cluster.
544
+ :type: str
545
+ """
546
+ self._sddc_id = sddc_id
547
+
548
+ @property
549
+ def esxi_hosts_count(self):
550
+ """
551
+ **[Required]** Gets the esxi_hosts_count of this Cluster.
552
+ The number of ESXi hosts in the Cluster.
553
+
554
+
555
+ :return: The esxi_hosts_count of this Cluster.
556
+ :rtype: int
557
+ """
558
+ return self._esxi_hosts_count
559
+
560
+ @esxi_hosts_count.setter
561
+ def esxi_hosts_count(self, esxi_hosts_count):
562
+ """
563
+ Sets the esxi_hosts_count of this Cluster.
564
+ The number of ESXi hosts in the Cluster.
565
+
566
+
567
+ :param esxi_hosts_count: The esxi_hosts_count of this Cluster.
568
+ :type: int
569
+ """
570
+ self._esxi_hosts_count = esxi_hosts_count
571
+
572
+ @property
573
+ def initial_commitment(self):
574
+ """
575
+ Gets the initial_commitment of this Cluster.
576
+ The billing option selected during Cluster creation.
577
+ :func:`list_supported_commitments`.
578
+
579
+ Allowed values for this property are: "HOUR", "MONTH", "ONE_YEAR", "THREE_YEARS", 'UNKNOWN_ENUM_VALUE'.
580
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
581
+
582
+
583
+ :return: The initial_commitment of this Cluster.
584
+ :rtype: str
585
+ """
586
+ return self._initial_commitment
587
+
588
+ @initial_commitment.setter
589
+ def initial_commitment(self, initial_commitment):
590
+ """
591
+ Sets the initial_commitment of this Cluster.
592
+ The billing option selected during Cluster creation.
593
+ :func:`list_supported_commitments`.
594
+
595
+
596
+ :param initial_commitment: The initial_commitment of this Cluster.
597
+ :type: str
598
+ """
599
+ allowed_values = ["HOUR", "MONTH", "ONE_YEAR", "THREE_YEARS"]
600
+ if not value_allowed_none_or_none_sentinel(initial_commitment, allowed_values):
601
+ initial_commitment = 'UNKNOWN_ENUM_VALUE'
602
+ self._initial_commitment = initial_commitment
603
+
604
+ @property
605
+ def workload_network_cidr(self):
606
+ """
607
+ Gets the workload_network_cidr of this Cluster.
608
+ The CIDR block for the IP addresses that VMware VMs in the SDDC use to run application
609
+ workloads.
610
+
611
+
612
+ :return: The workload_network_cidr of this Cluster.
613
+ :rtype: str
614
+ """
615
+ return self._workload_network_cidr
616
+
617
+ @workload_network_cidr.setter
618
+ def workload_network_cidr(self, workload_network_cidr):
619
+ """
620
+ Sets the workload_network_cidr of this Cluster.
621
+ The CIDR block for the IP addresses that VMware VMs in the SDDC use to run application
622
+ workloads.
623
+
624
+
625
+ :param workload_network_cidr: The workload_network_cidr of this Cluster.
626
+ :type: str
627
+ """
628
+ self._workload_network_cidr = workload_network_cidr
629
+
630
+ @property
631
+ def network_configuration(self):
632
+ """
633
+ **[Required]** Gets the network_configuration of this Cluster.
634
+
635
+ :return: The network_configuration of this Cluster.
636
+ :rtype: oci.ocvp.models.NetworkConfiguration
637
+ """
638
+ return self._network_configuration
639
+
640
+ @network_configuration.setter
641
+ def network_configuration(self, network_configuration):
642
+ """
643
+ Sets the network_configuration of this Cluster.
644
+
645
+ :param network_configuration: The network_configuration of this Cluster.
646
+ :type: oci.ocvp.models.NetworkConfiguration
647
+ """
648
+ self._network_configuration = network_configuration
649
+
650
+ @property
651
+ def time_created(self):
652
+ """
653
+ **[Required]** Gets the time_created of this Cluster.
654
+ The date and time the Cluster was created, in the format defined by
655
+ `RFC3339`__.
656
+
657
+ Example: `2016-08-25T21:10:29.600Z`
658
+
659
+ __ https://tools.ietf.org/html/rfc3339
660
+
661
+
662
+ :return: The time_created of this Cluster.
663
+ :rtype: datetime
664
+ """
665
+ return self._time_created
666
+
667
+ @time_created.setter
668
+ def time_created(self, time_created):
669
+ """
670
+ Sets the time_created of this Cluster.
671
+ The date and time the Cluster was created, in the format defined by
672
+ `RFC3339`__.
673
+
674
+ Example: `2016-08-25T21:10:29.600Z`
675
+
676
+ __ https://tools.ietf.org/html/rfc3339
677
+
678
+
679
+ :param time_created: The time_created of this Cluster.
680
+ :type: datetime
681
+ """
682
+ self._time_created = time_created
683
+
684
+ @property
685
+ def time_updated(self):
686
+ """
687
+ Gets the time_updated of this Cluster.
688
+ The date and time the Cluster was updated, in the format defined by
689
+ `RFC3339`__.
690
+
691
+ __ https://tools.ietf.org/html/rfc3339
692
+
693
+
694
+ :return: The time_updated of this Cluster.
695
+ :rtype: datetime
696
+ """
697
+ return self._time_updated
698
+
699
+ @time_updated.setter
700
+ def time_updated(self, time_updated):
701
+ """
702
+ Sets the time_updated of this Cluster.
703
+ The date and time the Cluster was updated, in the format defined by
704
+ `RFC3339`__.
705
+
706
+ __ https://tools.ietf.org/html/rfc3339
707
+
708
+
709
+ :param time_updated: The time_updated of this Cluster.
710
+ :type: datetime
711
+ """
712
+ self._time_updated = time_updated
713
+
714
+ @property
715
+ def lifecycle_state(self):
716
+ """
717
+ Gets the lifecycle_state of this Cluster.
718
+ The current state of the Cluster.
719
+
720
+ Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
721
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
722
+
723
+
724
+ :return: The lifecycle_state of this Cluster.
725
+ :rtype: str
726
+ """
727
+ return self._lifecycle_state
728
+
729
+ @lifecycle_state.setter
730
+ def lifecycle_state(self, lifecycle_state):
731
+ """
732
+ Sets the lifecycle_state of this Cluster.
733
+ The current state of the Cluster.
734
+
735
+
736
+ :param lifecycle_state: The lifecycle_state of this Cluster.
737
+ :type: str
738
+ """
739
+ allowed_values = ["CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"]
740
+ if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values):
741
+ lifecycle_state = 'UNKNOWN_ENUM_VALUE'
742
+ self._lifecycle_state = lifecycle_state
743
+
744
+ @property
745
+ def upgrade_licenses(self):
746
+ """
747
+ Gets the upgrade_licenses of this Cluster.
748
+ The vSphere licenses to use when upgrading the Cluster.
749
+
750
+
751
+ :return: The upgrade_licenses of this Cluster.
752
+ :rtype: list[oci.ocvp.models.VsphereLicense]
753
+ """
754
+ return self._upgrade_licenses
755
+
756
+ @upgrade_licenses.setter
757
+ def upgrade_licenses(self, upgrade_licenses):
758
+ """
759
+ Sets the upgrade_licenses of this Cluster.
760
+ The vSphere licenses to use when upgrading the Cluster.
761
+
762
+
763
+ :param upgrade_licenses: The upgrade_licenses of this Cluster.
764
+ :type: list[oci.ocvp.models.VsphereLicense]
765
+ """
766
+ self._upgrade_licenses = upgrade_licenses
767
+
768
+ @property
769
+ def vsphere_upgrade_objects(self):
770
+ """
771
+ Gets the vsphere_upgrade_objects of this Cluster.
772
+ The links to binary objects needed to upgrade vSphere.
773
+
774
+
775
+ :return: The vsphere_upgrade_objects of this Cluster.
776
+ :rtype: list[oci.ocvp.models.VsphereUpgradeObject]
777
+ """
778
+ return self._vsphere_upgrade_objects
779
+
780
+ @vsphere_upgrade_objects.setter
781
+ def vsphere_upgrade_objects(self, vsphere_upgrade_objects):
782
+ """
783
+ Sets the vsphere_upgrade_objects of this Cluster.
784
+ The links to binary objects needed to upgrade vSphere.
785
+
786
+
787
+ :param vsphere_upgrade_objects: The vsphere_upgrade_objects of this Cluster.
788
+ :type: list[oci.ocvp.models.VsphereUpgradeObject]
789
+ """
790
+ self._vsphere_upgrade_objects = vsphere_upgrade_objects
791
+
792
+ @property
793
+ def initial_host_shape_name(self):
794
+ """
795
+ **[Required]** Gets the initial_host_shape_name of this Cluster.
796
+ The initial compute shape of the Cluster's ESXi hosts.
797
+ :func:`list_supported_host_shapes`.
798
+
799
+
800
+ :return: The initial_host_shape_name of this Cluster.
801
+ :rtype: str
802
+ """
803
+ return self._initial_host_shape_name
804
+
805
+ @initial_host_shape_name.setter
806
+ def initial_host_shape_name(self, initial_host_shape_name):
807
+ """
808
+ Sets the initial_host_shape_name of this Cluster.
809
+ The initial compute shape of the Cluster's ESXi hosts.
810
+ :func:`list_supported_host_shapes`.
811
+
812
+
813
+ :param initial_host_shape_name: The initial_host_shape_name of this Cluster.
814
+ :type: str
815
+ """
816
+ self._initial_host_shape_name = initial_host_shape_name
817
+
818
+ @property
819
+ def initial_host_ocpu_count(self):
820
+ """
821
+ Gets the initial_host_ocpu_count of this Cluster.
822
+ The initial OCPU count of the Cluster's ESXi hosts.
823
+
824
+
825
+ :return: The initial_host_ocpu_count of this Cluster.
826
+ :rtype: float
827
+ """
828
+ return self._initial_host_ocpu_count
829
+
830
+ @initial_host_ocpu_count.setter
831
+ def initial_host_ocpu_count(self, initial_host_ocpu_count):
832
+ """
833
+ Sets the initial_host_ocpu_count of this Cluster.
834
+ The initial OCPU count of the Cluster's ESXi hosts.
835
+
836
+
837
+ :param initial_host_ocpu_count: The initial_host_ocpu_count of this Cluster.
838
+ :type: float
839
+ """
840
+ self._initial_host_ocpu_count = initial_host_ocpu_count
841
+
842
+ @property
843
+ def is_shielded_instance_enabled(self):
844
+ """
845
+ Gets the is_shielded_instance_enabled of this Cluster.
846
+ Indicates whether shielded instance is enabled at the Cluster level.
847
+
848
+
849
+ :return: The is_shielded_instance_enabled of this Cluster.
850
+ :rtype: bool
851
+ """
852
+ return self._is_shielded_instance_enabled
853
+
854
+ @is_shielded_instance_enabled.setter
855
+ def is_shielded_instance_enabled(self, is_shielded_instance_enabled):
856
+ """
857
+ Sets the is_shielded_instance_enabled of this Cluster.
858
+ Indicates whether shielded instance is enabled at the Cluster level.
859
+
860
+
861
+ :param is_shielded_instance_enabled: The is_shielded_instance_enabled of this Cluster.
862
+ :type: bool
863
+ """
864
+ self._is_shielded_instance_enabled = is_shielded_instance_enabled
865
+
866
+ @property
867
+ def capacity_reservation_id(self):
868
+ """
869
+ Gets the capacity_reservation_id of this Cluster.
870
+ The `OCID`__ of the Capacity Reservation.
871
+
872
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
873
+
874
+
875
+ :return: The capacity_reservation_id of this Cluster.
876
+ :rtype: str
877
+ """
878
+ return self._capacity_reservation_id
879
+
880
+ @capacity_reservation_id.setter
881
+ def capacity_reservation_id(self, capacity_reservation_id):
882
+ """
883
+ Sets the capacity_reservation_id of this Cluster.
884
+ The `OCID`__ of the Capacity Reservation.
885
+
886
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
887
+
888
+
889
+ :param capacity_reservation_id: The capacity_reservation_id of this Cluster.
890
+ :type: str
891
+ """
892
+ self._capacity_reservation_id = capacity_reservation_id
893
+
894
+ @property
895
+ def datastores(self):
896
+ """
897
+ Gets the datastores of this Cluster.
898
+ Datastores used for the Cluster.
899
+
900
+
901
+ :return: The datastores of this Cluster.
902
+ :rtype: list[oci.ocvp.models.DatastoreDetails]
903
+ """
904
+ return self._datastores
905
+
906
+ @datastores.setter
907
+ def datastores(self, datastores):
908
+ """
909
+ Sets the datastores of this Cluster.
910
+ Datastores used for the Cluster.
911
+
912
+
913
+ :param datastores: The datastores of this Cluster.
914
+ :type: list[oci.ocvp.models.DatastoreDetails]
915
+ """
916
+ self._datastores = datastores
917
+
918
+ @property
919
+ def vsphere_type(self):
920
+ """
921
+ **[Required]** Gets the vsphere_type of this Cluster.
922
+ vSphere Cluster types.
923
+
924
+ Allowed values for this property are: "MANAGEMENT", "WORKLOAD", 'UNKNOWN_ENUM_VALUE'.
925
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
926
+
927
+
928
+ :return: The vsphere_type of this Cluster.
929
+ :rtype: str
930
+ """
931
+ return self._vsphere_type
932
+
933
+ @vsphere_type.setter
934
+ def vsphere_type(self, vsphere_type):
935
+ """
936
+ Sets the vsphere_type of this Cluster.
937
+ vSphere Cluster types.
938
+
939
+
940
+ :param vsphere_type: The vsphere_type of this Cluster.
941
+ :type: str
942
+ """
943
+ allowed_values = ["MANAGEMENT", "WORKLOAD"]
944
+ if not value_allowed_none_or_none_sentinel(vsphere_type, allowed_values):
945
+ vsphere_type = 'UNKNOWN_ENUM_VALUE'
946
+ self._vsphere_type = vsphere_type
947
+
948
+ @property
949
+ def freeform_tags(self):
950
+ """
951
+ **[Required]** Gets the freeform_tags of this Cluster.
952
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
953
+ predefined name, type, or namespace. For more information, see `Resource Tags`__.
954
+
955
+ Example: `{\"Department\": \"Finance\"}`
956
+
957
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
958
+
959
+
960
+ :return: The freeform_tags of this Cluster.
961
+ :rtype: dict(str, str)
962
+ """
963
+ return self._freeform_tags
964
+
965
+ @freeform_tags.setter
966
+ def freeform_tags(self, freeform_tags):
967
+ """
968
+ Sets the freeform_tags of this Cluster.
969
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
970
+ predefined name, type, or namespace. For more information, see `Resource Tags`__.
971
+
972
+ Example: `{\"Department\": \"Finance\"}`
973
+
974
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
975
+
976
+
977
+ :param freeform_tags: The freeform_tags of this Cluster.
978
+ :type: dict(str, str)
979
+ """
980
+ self._freeform_tags = freeform_tags
981
+
982
+ @property
983
+ def defined_tags(self):
984
+ """
985
+ **[Required]** Gets the defined_tags of this Cluster.
986
+ Defined tags for this resource. Each key is predefined and scoped to a
987
+ namespace. For more information, see `Resource Tags`__.
988
+
989
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
990
+
991
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
992
+
993
+
994
+ :return: The defined_tags of this Cluster.
995
+ :rtype: dict(str, dict(str, object))
996
+ """
997
+ return self._defined_tags
998
+
999
+ @defined_tags.setter
1000
+ def defined_tags(self, defined_tags):
1001
+ """
1002
+ Sets the defined_tags of this Cluster.
1003
+ Defined tags for this resource. Each key is predefined and scoped to a
1004
+ namespace. For more information, see `Resource Tags`__.
1005
+
1006
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
1007
+
1008
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
1009
+
1010
+
1011
+ :param defined_tags: The defined_tags of this Cluster.
1012
+ :type: dict(str, dict(str, object))
1013
+ """
1014
+ self._defined_tags = defined_tags
1015
+
1016
+ def __repr__(self):
1017
+ return formatted_flat_dict(self)
1018
+
1019
+ def __eq__(self, other):
1020
+ if other is None:
1021
+ return False
1022
+
1023
+ return self.__dict__ == other.__dict__
1024
+
1025
+ def __ne__(self, other):
1026
+ return not self == other