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,518 @@
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 InitialClusterConfiguration(object):
14
+ """
15
+ Details of the initial Cluster of SDDC.
16
+ """
17
+
18
+ #: A constant which can be used with the vsphere_type property of a InitialClusterConfiguration.
19
+ #: This constant has a value of "MANAGEMENT"
20
+ VSPHERE_TYPE_MANAGEMENT = "MANAGEMENT"
21
+
22
+ #: A constant which can be used with the vsphere_type property of a InitialClusterConfiguration.
23
+ #: This constant has a value of "WORKLOAD"
24
+ VSPHERE_TYPE_WORKLOAD = "WORKLOAD"
25
+
26
+ #: A constant which can be used with the initial_commitment property of a InitialClusterConfiguration.
27
+ #: This constant has a value of "HOUR"
28
+ INITIAL_COMMITMENT_HOUR = "HOUR"
29
+
30
+ #: A constant which can be used with the initial_commitment property of a InitialClusterConfiguration.
31
+ #: This constant has a value of "MONTH"
32
+ INITIAL_COMMITMENT_MONTH = "MONTH"
33
+
34
+ #: A constant which can be used with the initial_commitment property of a InitialClusterConfiguration.
35
+ #: This constant has a value of "ONE_YEAR"
36
+ INITIAL_COMMITMENT_ONE_YEAR = "ONE_YEAR"
37
+
38
+ #: A constant which can be used with the initial_commitment property of a InitialClusterConfiguration.
39
+ #: This constant has a value of "THREE_YEARS"
40
+ INITIAL_COMMITMENT_THREE_YEARS = "THREE_YEARS"
41
+
42
+ def __init__(self, **kwargs):
43
+ """
44
+ Initializes a new InitialClusterConfiguration object with values from keyword arguments.
45
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
46
+
47
+ :param vsphere_type:
48
+ The value to assign to the vsphere_type property of this InitialClusterConfiguration.
49
+ Allowed values for this property are: "MANAGEMENT", "WORKLOAD", 'UNKNOWN_ENUM_VALUE'.
50
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
51
+ :type vsphere_type: str
52
+
53
+ :param compute_availability_domain:
54
+ The value to assign to the compute_availability_domain property of this InitialClusterConfiguration.
55
+ :type compute_availability_domain: str
56
+
57
+ :param display_name:
58
+ The value to assign to the display_name property of this InitialClusterConfiguration.
59
+ :type display_name: str
60
+
61
+ :param instance_display_name_prefix:
62
+ The value to assign to the instance_display_name_prefix property of this InitialClusterConfiguration.
63
+ :type instance_display_name_prefix: str
64
+
65
+ :param esxi_hosts_count:
66
+ The value to assign to the esxi_hosts_count property of this InitialClusterConfiguration.
67
+ :type esxi_hosts_count: int
68
+
69
+ :param network_configuration:
70
+ The value to assign to the network_configuration property of this InitialClusterConfiguration.
71
+ :type network_configuration: oci.ocvp.models.NetworkConfiguration
72
+
73
+ :param initial_commitment:
74
+ The value to assign to the initial_commitment property of this InitialClusterConfiguration.
75
+ Allowed values for this property are: "HOUR", "MONTH", "ONE_YEAR", "THREE_YEARS", 'UNKNOWN_ENUM_VALUE'.
76
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
77
+ :type initial_commitment: str
78
+
79
+ :param workload_network_cidr:
80
+ The value to assign to the workload_network_cidr property of this InitialClusterConfiguration.
81
+ :type workload_network_cidr: str
82
+
83
+ :param initial_host_shape_name:
84
+ The value to assign to the initial_host_shape_name property of this InitialClusterConfiguration.
85
+ :type initial_host_shape_name: str
86
+
87
+ :param initial_host_ocpu_count:
88
+ The value to assign to the initial_host_ocpu_count property of this InitialClusterConfiguration.
89
+ :type initial_host_ocpu_count: float
90
+
91
+ :param is_shielded_instance_enabled:
92
+ The value to assign to the is_shielded_instance_enabled property of this InitialClusterConfiguration.
93
+ :type is_shielded_instance_enabled: bool
94
+
95
+ :param capacity_reservation_id:
96
+ The value to assign to the capacity_reservation_id property of this InitialClusterConfiguration.
97
+ :type capacity_reservation_id: str
98
+
99
+ :param datastores:
100
+ The value to assign to the datastores property of this InitialClusterConfiguration.
101
+ :type datastores: list[oci.ocvp.models.DatastoreInfo]
102
+
103
+ """
104
+ self.swagger_types = {
105
+ 'vsphere_type': 'str',
106
+ 'compute_availability_domain': 'str',
107
+ 'display_name': 'str',
108
+ 'instance_display_name_prefix': 'str',
109
+ 'esxi_hosts_count': 'int',
110
+ 'network_configuration': 'NetworkConfiguration',
111
+ 'initial_commitment': 'str',
112
+ 'workload_network_cidr': 'str',
113
+ 'initial_host_shape_name': 'str',
114
+ 'initial_host_ocpu_count': 'float',
115
+ 'is_shielded_instance_enabled': 'bool',
116
+ 'capacity_reservation_id': 'str',
117
+ 'datastores': 'list[DatastoreInfo]'
118
+ }
119
+
120
+ self.attribute_map = {
121
+ 'vsphere_type': 'vsphereType',
122
+ 'compute_availability_domain': 'computeAvailabilityDomain',
123
+ 'display_name': 'displayName',
124
+ 'instance_display_name_prefix': 'instanceDisplayNamePrefix',
125
+ 'esxi_hosts_count': 'esxiHostsCount',
126
+ 'network_configuration': 'networkConfiguration',
127
+ 'initial_commitment': 'initialCommitment',
128
+ 'workload_network_cidr': 'workloadNetworkCidr',
129
+ 'initial_host_shape_name': 'initialHostShapeName',
130
+ 'initial_host_ocpu_count': 'initialHostOcpuCount',
131
+ 'is_shielded_instance_enabled': 'isShieldedInstanceEnabled',
132
+ 'capacity_reservation_id': 'capacityReservationId',
133
+ 'datastores': 'datastores'
134
+ }
135
+
136
+ self._vsphere_type = None
137
+ self._compute_availability_domain = None
138
+ self._display_name = None
139
+ self._instance_display_name_prefix = None
140
+ self._esxi_hosts_count = None
141
+ self._network_configuration = None
142
+ self._initial_commitment = None
143
+ self._workload_network_cidr = None
144
+ self._initial_host_shape_name = None
145
+ self._initial_host_ocpu_count = None
146
+ self._is_shielded_instance_enabled = None
147
+ self._capacity_reservation_id = None
148
+ self._datastores = None
149
+
150
+ @property
151
+ def vsphere_type(self):
152
+ """
153
+ **[Required]** Gets the vsphere_type of this InitialClusterConfiguration.
154
+ vSphere Cluster types.
155
+
156
+ Allowed values for this property are: "MANAGEMENT", "WORKLOAD", 'UNKNOWN_ENUM_VALUE'.
157
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
158
+
159
+
160
+ :return: The vsphere_type of this InitialClusterConfiguration.
161
+ :rtype: str
162
+ """
163
+ return self._vsphere_type
164
+
165
+ @vsphere_type.setter
166
+ def vsphere_type(self, vsphere_type):
167
+ """
168
+ Sets the vsphere_type of this InitialClusterConfiguration.
169
+ vSphere Cluster types.
170
+
171
+
172
+ :param vsphere_type: The vsphere_type of this InitialClusterConfiguration.
173
+ :type: str
174
+ """
175
+ allowed_values = ["MANAGEMENT", "WORKLOAD"]
176
+ if not value_allowed_none_or_none_sentinel(vsphere_type, allowed_values):
177
+ vsphere_type = 'UNKNOWN_ENUM_VALUE'
178
+ self._vsphere_type = vsphere_type
179
+
180
+ @property
181
+ def compute_availability_domain(self):
182
+ """
183
+ **[Required]** Gets the compute_availability_domain of this InitialClusterConfiguration.
184
+ The availability domain to create the Cluster's ESXi hosts in. For multi-AD Cluster deployment, set to `multi-AD`.
185
+
186
+
187
+ :return: The compute_availability_domain of this InitialClusterConfiguration.
188
+ :rtype: str
189
+ """
190
+ return self._compute_availability_domain
191
+
192
+ @compute_availability_domain.setter
193
+ def compute_availability_domain(self, compute_availability_domain):
194
+ """
195
+ Sets the compute_availability_domain of this InitialClusterConfiguration.
196
+ The availability domain to create the Cluster's ESXi hosts in. For multi-AD Cluster deployment, set to `multi-AD`.
197
+
198
+
199
+ :param compute_availability_domain: The compute_availability_domain of this InitialClusterConfiguration.
200
+ :type: str
201
+ """
202
+ self._compute_availability_domain = compute_availability_domain
203
+
204
+ @property
205
+ def display_name(self):
206
+ """
207
+ Gets the display_name of this InitialClusterConfiguration.
208
+ A descriptive name for the Cluster.
209
+ Cluster name requirements are 1-16 character length limit, Must start with a letter, Must be English letters, numbers, - only, No repeating hyphens, Must be unique within the region.
210
+ Avoid entering confidential information.
211
+
212
+
213
+ :return: The display_name of this InitialClusterConfiguration.
214
+ :rtype: str
215
+ """
216
+ return self._display_name
217
+
218
+ @display_name.setter
219
+ def display_name(self, display_name):
220
+ """
221
+ Sets the display_name of this InitialClusterConfiguration.
222
+ A descriptive name for the Cluster.
223
+ Cluster name requirements are 1-16 character length limit, Must start with a letter, Must be English letters, numbers, - only, No repeating hyphens, Must be unique within the region.
224
+ Avoid entering confidential information.
225
+
226
+
227
+ :param display_name: The display_name of this InitialClusterConfiguration.
228
+ :type: str
229
+ """
230
+ self._display_name = display_name
231
+
232
+ @property
233
+ def instance_display_name_prefix(self):
234
+ """
235
+ Gets the instance_display_name_prefix of this InitialClusterConfiguration.
236
+ A prefix used in the name of each ESXi host and Compute instance in the Cluster.
237
+ If this isn't set, the Cluster's `displayName` is used as the prefix.
238
+
239
+ For example, if the value is `myCluster`, the ESXi hosts are named `myCluster-1`,
240
+ `myCluster-2`, and so on.
241
+
242
+
243
+ :return: The instance_display_name_prefix of this InitialClusterConfiguration.
244
+ :rtype: str
245
+ """
246
+ return self._instance_display_name_prefix
247
+
248
+ @instance_display_name_prefix.setter
249
+ def instance_display_name_prefix(self, instance_display_name_prefix):
250
+ """
251
+ Sets the instance_display_name_prefix of this InitialClusterConfiguration.
252
+ A prefix used in the name of each ESXi host and Compute instance in the Cluster.
253
+ If this isn't set, the Cluster's `displayName` is used as the prefix.
254
+
255
+ For example, if the value is `myCluster`, the ESXi hosts are named `myCluster-1`,
256
+ `myCluster-2`, and so on.
257
+
258
+
259
+ :param instance_display_name_prefix: The instance_display_name_prefix of this InitialClusterConfiguration.
260
+ :type: str
261
+ """
262
+ self._instance_display_name_prefix = instance_display_name_prefix
263
+
264
+ @property
265
+ def esxi_hosts_count(self):
266
+ """
267
+ **[Required]** Gets the esxi_hosts_count of this InitialClusterConfiguration.
268
+ The number of ESXi hosts to create in the Cluster. You can add more hosts later
269
+ (see :func:`create_esxi_host`). Creating
270
+ a Cluster with a ESXi host count of 1 will be considered a single ESXi host Cluster.
271
+
272
+ **Note:** If you later delete EXSi hosts from a production Cluster to total less
273
+ than 3, you are still billed for the 3 minimum recommended ESXi hosts. Also,
274
+ you cannot add more VMware workloads to the Cluster until it again has at least
275
+ 3 ESXi hosts.
276
+
277
+
278
+ :return: The esxi_hosts_count of this InitialClusterConfiguration.
279
+ :rtype: int
280
+ """
281
+ return self._esxi_hosts_count
282
+
283
+ @esxi_hosts_count.setter
284
+ def esxi_hosts_count(self, esxi_hosts_count):
285
+ """
286
+ Sets the esxi_hosts_count of this InitialClusterConfiguration.
287
+ The number of ESXi hosts to create in the Cluster. You can add more hosts later
288
+ (see :func:`create_esxi_host`). Creating
289
+ a Cluster with a ESXi host count of 1 will be considered a single ESXi host Cluster.
290
+
291
+ **Note:** If you later delete EXSi hosts from a production Cluster to total less
292
+ than 3, you are still billed for the 3 minimum recommended ESXi hosts. Also,
293
+ you cannot add more VMware workloads to the Cluster until it again has at least
294
+ 3 ESXi hosts.
295
+
296
+
297
+ :param esxi_hosts_count: The esxi_hosts_count of this InitialClusterConfiguration.
298
+ :type: int
299
+ """
300
+ self._esxi_hosts_count = esxi_hosts_count
301
+
302
+ @property
303
+ def network_configuration(self):
304
+ """
305
+ **[Required]** Gets the network_configuration of this InitialClusterConfiguration.
306
+
307
+ :return: The network_configuration of this InitialClusterConfiguration.
308
+ :rtype: oci.ocvp.models.NetworkConfiguration
309
+ """
310
+ return self._network_configuration
311
+
312
+ @network_configuration.setter
313
+ def network_configuration(self, network_configuration):
314
+ """
315
+ Sets the network_configuration of this InitialClusterConfiguration.
316
+
317
+ :param network_configuration: The network_configuration of this InitialClusterConfiguration.
318
+ :type: oci.ocvp.models.NetworkConfiguration
319
+ """
320
+ self._network_configuration = network_configuration
321
+
322
+ @property
323
+ def initial_commitment(self):
324
+ """
325
+ Gets the initial_commitment of this InitialClusterConfiguration.
326
+ The billing option selected during Cluster creation.
327
+ :func:`list_supported_commitments`.
328
+
329
+ Allowed values for this property are: "HOUR", "MONTH", "ONE_YEAR", "THREE_YEARS", 'UNKNOWN_ENUM_VALUE'.
330
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
331
+
332
+
333
+ :return: The initial_commitment of this InitialClusterConfiguration.
334
+ :rtype: str
335
+ """
336
+ return self._initial_commitment
337
+
338
+ @initial_commitment.setter
339
+ def initial_commitment(self, initial_commitment):
340
+ """
341
+ Sets the initial_commitment of this InitialClusterConfiguration.
342
+ The billing option selected during Cluster creation.
343
+ :func:`list_supported_commitments`.
344
+
345
+
346
+ :param initial_commitment: The initial_commitment of this InitialClusterConfiguration.
347
+ :type: str
348
+ """
349
+ allowed_values = ["HOUR", "MONTH", "ONE_YEAR", "THREE_YEARS"]
350
+ if not value_allowed_none_or_none_sentinel(initial_commitment, allowed_values):
351
+ initial_commitment = 'UNKNOWN_ENUM_VALUE'
352
+ self._initial_commitment = initial_commitment
353
+
354
+ @property
355
+ def workload_network_cidr(self):
356
+ """
357
+ Gets the workload_network_cidr of this InitialClusterConfiguration.
358
+ The CIDR block for the IP addresses that VMware VMs in the Cluster use to run application
359
+ workloads.
360
+
361
+
362
+ :return: The workload_network_cidr of this InitialClusterConfiguration.
363
+ :rtype: str
364
+ """
365
+ return self._workload_network_cidr
366
+
367
+ @workload_network_cidr.setter
368
+ def workload_network_cidr(self, workload_network_cidr):
369
+ """
370
+ Sets the workload_network_cidr of this InitialClusterConfiguration.
371
+ The CIDR block for the IP addresses that VMware VMs in the Cluster use to run application
372
+ workloads.
373
+
374
+
375
+ :param workload_network_cidr: The workload_network_cidr of this InitialClusterConfiguration.
376
+ :type: str
377
+ """
378
+ self._workload_network_cidr = workload_network_cidr
379
+
380
+ @property
381
+ def initial_host_shape_name(self):
382
+ """
383
+ Gets the initial_host_shape_name of this InitialClusterConfiguration.
384
+ The initial compute shape of the Cluster's ESXi hosts.
385
+ :func:`list_supported_host_shapes`.
386
+
387
+
388
+ :return: The initial_host_shape_name of this InitialClusterConfiguration.
389
+ :rtype: str
390
+ """
391
+ return self._initial_host_shape_name
392
+
393
+ @initial_host_shape_name.setter
394
+ def initial_host_shape_name(self, initial_host_shape_name):
395
+ """
396
+ Sets the initial_host_shape_name of this InitialClusterConfiguration.
397
+ The initial compute shape of the Cluster's ESXi hosts.
398
+ :func:`list_supported_host_shapes`.
399
+
400
+
401
+ :param initial_host_shape_name: The initial_host_shape_name of this InitialClusterConfiguration.
402
+ :type: str
403
+ """
404
+ self._initial_host_shape_name = initial_host_shape_name
405
+
406
+ @property
407
+ def initial_host_ocpu_count(self):
408
+ """
409
+ Gets the initial_host_ocpu_count of this InitialClusterConfiguration.
410
+ The initial OCPU count of the Cluster's ESXi hosts.
411
+
412
+
413
+ :return: The initial_host_ocpu_count of this InitialClusterConfiguration.
414
+ :rtype: float
415
+ """
416
+ return self._initial_host_ocpu_count
417
+
418
+ @initial_host_ocpu_count.setter
419
+ def initial_host_ocpu_count(self, initial_host_ocpu_count):
420
+ """
421
+ Sets the initial_host_ocpu_count of this InitialClusterConfiguration.
422
+ The initial OCPU count of the Cluster's ESXi hosts.
423
+
424
+
425
+ :param initial_host_ocpu_count: The initial_host_ocpu_count of this InitialClusterConfiguration.
426
+ :type: float
427
+ """
428
+ self._initial_host_ocpu_count = initial_host_ocpu_count
429
+
430
+ @property
431
+ def is_shielded_instance_enabled(self):
432
+ """
433
+ Gets the is_shielded_instance_enabled of this InitialClusterConfiguration.
434
+ Indicates whether shielded instance is enabled for this Cluster.
435
+
436
+
437
+ :return: The is_shielded_instance_enabled of this InitialClusterConfiguration.
438
+ :rtype: bool
439
+ """
440
+ return self._is_shielded_instance_enabled
441
+
442
+ @is_shielded_instance_enabled.setter
443
+ def is_shielded_instance_enabled(self, is_shielded_instance_enabled):
444
+ """
445
+ Sets the is_shielded_instance_enabled of this InitialClusterConfiguration.
446
+ Indicates whether shielded instance is enabled for this Cluster.
447
+
448
+
449
+ :param is_shielded_instance_enabled: The is_shielded_instance_enabled of this InitialClusterConfiguration.
450
+ :type: bool
451
+ """
452
+ self._is_shielded_instance_enabled = is_shielded_instance_enabled
453
+
454
+ @property
455
+ def capacity_reservation_id(self):
456
+ """
457
+ Gets the capacity_reservation_id of this InitialClusterConfiguration.
458
+ The `OCID`__ of the Capacity Reservation.
459
+
460
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
461
+
462
+
463
+ :return: The capacity_reservation_id of this InitialClusterConfiguration.
464
+ :rtype: str
465
+ """
466
+ return self._capacity_reservation_id
467
+
468
+ @capacity_reservation_id.setter
469
+ def capacity_reservation_id(self, capacity_reservation_id):
470
+ """
471
+ Sets the capacity_reservation_id of this InitialClusterConfiguration.
472
+ The `OCID`__ of the Capacity Reservation.
473
+
474
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
475
+
476
+
477
+ :param capacity_reservation_id: The capacity_reservation_id of this InitialClusterConfiguration.
478
+ :type: str
479
+ """
480
+ self._capacity_reservation_id = capacity_reservation_id
481
+
482
+ @property
483
+ def datastores(self):
484
+ """
485
+ Gets the datastores of this InitialClusterConfiguration.
486
+ A list of datastore info for the Cluster.
487
+ This value is required only when `initialHostShapeName` is a standard shape.
488
+
489
+
490
+ :return: The datastores of this InitialClusterConfiguration.
491
+ :rtype: list[oci.ocvp.models.DatastoreInfo]
492
+ """
493
+ return self._datastores
494
+
495
+ @datastores.setter
496
+ def datastores(self, datastores):
497
+ """
498
+ Sets the datastores of this InitialClusterConfiguration.
499
+ A list of datastore info for the Cluster.
500
+ This value is required only when `initialHostShapeName` is a standard shape.
501
+
502
+
503
+ :param datastores: The datastores of this InitialClusterConfiguration.
504
+ :type: list[oci.ocvp.models.DatastoreInfo]
505
+ """
506
+ self._datastores = datastores
507
+
508
+ def __repr__(self):
509
+ return formatted_flat_dict(self)
510
+
511
+ def __eq__(self, other):
512
+ if other is None:
513
+ return False
514
+
515
+ return self.__dict__ == other.__dict__
516
+
517
+ def __ne__(self, other):
518
+ return not self == other
@@ -0,0 +1,72 @@
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 InitialConfiguration(object):
14
+ """
15
+ Details of SDDC initial configuration
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new InitialConfiguration object with values from keyword arguments.
21
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
22
+
23
+ :param initial_cluster_configurations:
24
+ The value to assign to the initial_cluster_configurations property of this InitialConfiguration.
25
+ :type initial_cluster_configurations: list[oci.ocvp.models.InitialClusterConfiguration]
26
+
27
+ """
28
+ self.swagger_types = {
29
+ 'initial_cluster_configurations': 'list[InitialClusterConfiguration]'
30
+ }
31
+
32
+ self.attribute_map = {
33
+ 'initial_cluster_configurations': 'initialClusterConfigurations'
34
+ }
35
+
36
+ self._initial_cluster_configurations = None
37
+
38
+ @property
39
+ def initial_cluster_configurations(self):
40
+ """
41
+ **[Required]** Gets the initial_cluster_configurations of this InitialConfiguration.
42
+ The configurations for Clusters initially created in the SDDC.
43
+
44
+
45
+ :return: The initial_cluster_configurations of this InitialConfiguration.
46
+ :rtype: list[oci.ocvp.models.InitialClusterConfiguration]
47
+ """
48
+ return self._initial_cluster_configurations
49
+
50
+ @initial_cluster_configurations.setter
51
+ def initial_cluster_configurations(self, initial_cluster_configurations):
52
+ """
53
+ Sets the initial_cluster_configurations of this InitialConfiguration.
54
+ The configurations for Clusters initially created in the SDDC.
55
+
56
+
57
+ :param initial_cluster_configurations: The initial_cluster_configurations of this InitialConfiguration.
58
+ :type: list[oci.ocvp.models.InitialClusterConfiguration]
59
+ """
60
+ self._initial_cluster_configurations = initial_cluster_configurations
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