oci 2.115.1__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 (593) hide show
  1. oci/__init__.py +2 -2
  2. oci/access_governance_cp/access_governance_cp_client.py +8 -8
  3. oci/adm/application_dependency_management_client.py +41 -41
  4. oci/adm/models/__init__.py +4 -0
  5. oci/adm/models/create_vulnerability_audit_details.py +27 -0
  6. oci/adm/models/usage_data_details.py +92 -0
  7. oci/adm/models/usage_data_via_object_storage_tuple_details.py +143 -0
  8. oci/adm/models/vulnerability.py +33 -2
  9. oci/adm/models/vulnerability_audit.py +86 -0
  10. oci/adm/models/work_request_summary.py +35 -2
  11. oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
  12. oci/ai_document/ai_service_document_client.py +22 -22
  13. oci/ai_language/ai_service_language_client.py +36 -36
  14. oci/ai_speech/ai_service_speech_client.py +9 -9
  15. oci/ai_speech/models/__init__.py +4 -0
  16. oci/ai_speech/models/create_transcription_job_details.py +4 -4
  17. oci/ai_speech/models/diarization.py +103 -0
  18. oci/ai_speech/models/transcription_job.py +6 -6
  19. oci/ai_speech/models/transcription_job_summary.py +6 -6
  20. oci/ai_speech/models/transcription_model_details.py +29 -2
  21. oci/ai_speech/models/transcription_settings.py +68 -0
  22. oci/ai_speech/models/update_transcription_job_details.py +4 -4
  23. oci/ai_vision/ai_service_vision_client.py +25 -25
  24. oci/analytics/analytics_client.py +23 -23
  25. oci/announcements_service/announcement_client.py +4 -4
  26. oci/announcements_service/announcement_subscription_client.py +9 -9
  27. oci/announcements_service/announcements_preferences_client.py +4 -4
  28. oci/apigateway/api_gateway_client.py +21 -21
  29. oci/apigateway/deployment_client.py +6 -6
  30. oci/apigateway/gateway_client.py +6 -6
  31. oci/apigateway/subscribers_client.py +6 -6
  32. oci/apigateway/usage_plans_client.py +6 -6
  33. oci/apigateway/work_requests_client.py +5 -5
  34. oci/apm_config/config_client.py +8 -8
  35. oci/apm_control_plane/apm_domain_client.py +14 -14
  36. oci/apm_synthetics/apm_synthetic_client.py +18 -18
  37. oci/apm_traces/query_client.py +2 -2
  38. oci/apm_traces/trace_client.py +4 -4
  39. oci/application_migration/application_migration_client.py +19 -19
  40. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  41. oci/artifacts/artifacts_client.py +32 -32
  42. oci/audit/audit_client.py +3 -3
  43. oci/autoscaling/auto_scaling_client.py +11 -11
  44. oci/bastion/bastion_client.py +15 -15
  45. oci/bds/bds_client.py +521 -47
  46. oci/bds/bds_client_composite_operations.py +123 -0
  47. oci/bds/models/__init__.py +14 -0
  48. oci/bds/models/certificate_service_info_details.py +72 -0
  49. oci/bds/models/certificate_service_info_summary.py +206 -0
  50. oci/bds/models/disable_certificate_details.py +103 -0
  51. oci/bds/models/enable_certificate_details.py +196 -0
  52. oci/bds/models/host_cert_details.py +134 -0
  53. oci/bds/models/host_specific_certificate_details.py +150 -0
  54. oci/bds/models/renew_certificate_details.py +196 -0
  55. oci/bds/models/work_request.py +7 -3
  56. oci/blockchain/blockchain_platform_client.py +27 -27
  57. oci/budget/budget_client.py +10 -10
  58. oci/certificates/certificates_client.py +5 -5
  59. oci/certificates_management/certificates_management_client.py +32 -32
  60. oci/cims/incident_client.py +8 -8
  61. oci/cims/user_client.py +1 -1
  62. oci/cloud_bridge/common_client.py +5 -5
  63. oci/cloud_bridge/discovery_client.py +14 -14
  64. oci/cloud_bridge/inventory_client.py +16 -16
  65. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  66. oci/cloud_guard/cloud_guard_client.py +133 -133
  67. oci/cloud_migrations/migration_client.py +43 -43
  68. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +14 -15
  69. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  70. oci/compute_instance_agent/plugin_client.py +2 -2
  71. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  72. oci/container_engine/container_engine_client.py +44 -44
  73. oci/container_instances/container_instance_client.py +18 -18
  74. oci/core/blockstorage_client.py +60 -60
  75. oci/core/compute_client.py +1480 -210
  76. oci/core/compute_client_composite_operations.py +195 -0
  77. oci/core/compute_management_client.py +32 -32
  78. oci/core/models/__init__.py +42 -0
  79. oci/core/models/capacity_source.py +101 -0
  80. oci/core/models/change_compute_capacity_topology_compartment_details.py +78 -0
  81. oci/core/models/compute_bare_metal_host.py +458 -0
  82. oci/core/models/compute_bare_metal_host_collection.py +72 -0
  83. oci/core/models/compute_bare_metal_host_summary.py +422 -0
  84. oci/core/models/compute_capacity_topology.py +425 -0
  85. oci/core/models/compute_capacity_topology_collection.py +72 -0
  86. oci/core/models/compute_capacity_topology_summary.py +370 -0
  87. oci/core/models/compute_hpc_island.py +267 -0
  88. oci/core/models/compute_hpc_island_collection.py +72 -0
  89. oci/core/models/compute_hpc_island_summary.py +251 -0
  90. oci/core/models/compute_network_block.py +302 -0
  91. oci/core/models/compute_network_block_collection.py +72 -0
  92. oci/core/models/compute_network_block_summary.py +286 -0
  93. oci/core/models/create_capacity_source_details.py +89 -0
  94. oci/core/models/create_compute_capacity_topology_details.py +253 -0
  95. oci/core/models/create_dedicated_capacity_source_details.py +85 -0
  96. oci/core/models/dedicated_capacity_source.py +86 -0
  97. oci/core/models/update_capacity_source_details.py +89 -0
  98. oci/core/models/update_compute_capacity_topology_details.py +183 -0
  99. oci/core/models/update_dedicated_capacity_source_details.py +50 -0
  100. oci/core/virtual_network_client.py +242 -242
  101. oci/dashboard_service/dashboard_client.py +6 -6
  102. oci/dashboard_service/dashboard_group_client.py +6 -6
  103. oci/data_catalog/data_catalog_client.py +141 -141
  104. oci/data_flow/data_flow_client.py +42 -42
  105. oci/data_integration/data_integration_client.py +163 -163
  106. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  107. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  108. oci/data_safe/data_safe_client.py +252 -252
  109. oci/data_science/data_science_client.py +91 -91
  110. oci/data_science/models/fast_launch_job_config_summary.py +7 -3
  111. oci/data_science/models/job_shape_summary.py +7 -3
  112. oci/data_science/models/model_deployment_shape_summary.py +7 -3
  113. oci/data_science/models/notebook_session_shape_summary.py +7 -3
  114. oci/database/database_client.py +2092 -1268
  115. oci/database/database_client_composite_operations.py +222 -0
  116. oci/database/models/__init__.py +14 -0
  117. oci/database/models/autonomous_container_database.py +33 -2
  118. oci/database/models/autonomous_container_database_backup_config.py +2 -0
  119. oci/database/models/autonomous_container_database_summary.py +33 -2
  120. oci/database/models/autonomous_vm_cluster.py +95 -2
  121. oci/database/models/autonomous_vm_cluster_summary.py +95 -2
  122. oci/database/models/cloud_autonomous_vm_cluster.py +95 -2
  123. oci/database/models/cloud_autonomous_vm_cluster_summary.py +95 -2
  124. oci/database/models/console_history.py +368 -0
  125. oci/database/models/console_history_collection.py +72 -0
  126. oci/database/models/console_history_summary.py +368 -0
  127. oci/database/models/create_cloud_vm_cluster_details.py +33 -2
  128. oci/database/models/create_console_history_details.py +151 -0
  129. oci/database/models/create_vm_cluster_details.py +33 -2
  130. oci/database/models/db_system_upgrade_history_entry.py +64 -2
  131. oci/database/models/db_system_upgrade_history_entry_summary.py +64 -2
  132. oci/database/models/peer_autonomous_container_database_backup_config.py +2 -0
  133. oci/database/models/system_version_collection.py +72 -0
  134. oci/database/models/system_version_summary.py +134 -0
  135. oci/database/models/update_autonomous_vm_cluster_details.py +95 -2
  136. oci/database/models/update_cloud_autonomous_vm_cluster_details.py +93 -0
  137. oci/database/models/update_console_history_details.py +150 -0
  138. oci/database/models/upgrade_db_system_details.py +31 -0
  139. oci/database_management/db_management_client.py +182 -182
  140. oci/database_management/diagnosability_client.py +4 -4
  141. oci/database_management/managed_my_sql_databases_client.py +6 -6
  142. oci/database_management/perfhub_client.py +1 -1
  143. oci/database_management/sql_tuning_client.py +17 -17
  144. oci/database_migration/database_migration_client.py +41 -41
  145. oci/database_tools/database_tools_client.py +23 -23
  146. oci/devops/devops_client.py +89 -89
  147. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  148. oci/dns/dns_client.py +52 -52
  149. oci/dts/appliance_export_job_client.py +6 -6
  150. oci/dts/shipping_vendors_client.py +1 -1
  151. oci/dts/transfer_appliance_client.py +8 -8
  152. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  153. oci/dts/transfer_device_client.py +5 -5
  154. oci/dts/transfer_job_client.py +6 -6
  155. oci/dts/transfer_package_client.py +7 -7
  156. oci/em_warehouse/em_data_lake_client.py +13 -13
  157. oci/em_warehouse/em_warehouse_client.py +13 -13
  158. oci/email/email_client.py +25 -25
  159. oci/events/events_client.py +6 -6
  160. oci/file_storage/file_storage_client.py +50 -50
  161. oci/fleet_software_update/fleet_software_update_client.py +44 -44
  162. oci/functions/functions_invoke_client.py +1 -1
  163. oci/functions/functions_management_client.py +16 -16
  164. oci/fusion_apps/data_masking_activity_client.py +3 -3
  165. oci/fusion_apps/fusion_applications_client.py +39 -39
  166. oci/fusion_apps/fusion_environment_client.py +15 -15
  167. oci/fusion_apps/fusion_environment_family_client.py +8 -8
  168. oci/fusion_apps/refresh_activity_client.py +4 -4
  169. oci/fusion_apps/scheduled_activity_client.py +2 -2
  170. oci/fusion_apps/service_attachment_client.py +2 -2
  171. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  172. oci/golden_gate/golden_gate_client.py +536 -57
  173. oci/golden_gate/golden_gate_client_composite_operations.py +90 -0
  174. oci/golden_gate/models/__init__.py +8 -0
  175. oci/golden_gate/models/certificate.py +713 -0
  176. oci/golden_gate/models/certificate_collection.py +72 -0
  177. oci/golden_gate/models/certificate_summary.py +269 -0
  178. oci/golden_gate/models/create_certificate_details.py +105 -0
  179. oci/golden_gate/models/create_microsoft_sqlserver_connection_details.py +2 -2
  180. oci/golden_gate/models/create_mysql_connection_details.py +10 -12
  181. oci/golden_gate/models/create_postgresql_connection_details.py +8 -6
  182. oci/golden_gate/models/microsoft_sqlserver_connection.py +2 -2
  183. oci/golden_gate/models/microsoft_sqlserver_connection_summary.py +2 -2
  184. oci/golden_gate/models/update_microsoft_sqlserver_connection_details.py +2 -2
  185. oci/golden_gate/models/update_mysql_connection_details.py +10 -12
  186. oci/golden_gate/models/update_postgresql_connection_details.py +8 -6
  187. oci/golden_gate/models/work_request.py +11 -3
  188. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  189. oci/governance_rules_control_plane/work_request_client.py +5 -5
  190. oci/healthchecks/health_checks_client.py +17 -17
  191. oci/identity/identity_client.py +145 -145
  192. oci/identity_data_plane/dataplane_client.py +2 -2
  193. oci/identity_domains/identity_domains_client.py +20355 -6173
  194. oci/identity_domains/models/__init__.py +216 -0
  195. oci/identity_domains/models/app_extension_radius_app_app.py +55 -0
  196. oci/identity_domains/models/approval_workflow.py +832 -0
  197. oci/identity_domains/models/approval_workflow_approval_workflow_steps.py +294 -0
  198. oci/identity_domains/models/approval_workflow_assignment.py +771 -0
  199. oci/identity_domains/models/approval_workflow_assignment_approval_workflow.py +318 -0
  200. oci/identity_domains/models/approval_workflow_assignment_assigned_to.py +318 -0
  201. oci/identity_domains/models/approval_workflow_assignments.py +196 -0
  202. oci/identity_domains/models/approval_workflow_max_duration.py +185 -0
  203. oci/identity_domains/models/approval_workflow_step.py +929 -0
  204. oci/identity_domains/models/approval_workflow_step_approvers.py +294 -0
  205. oci/identity_domains/models/approval_workflow_steps.py +196 -0
  206. oci/identity_domains/models/approval_workflows.py +196 -0
  207. oci/identity_domains/models/authentication_factors_remover.py +51 -2
  208. oci/identity_domains/models/branding_setting.py +1556 -0
  209. oci/identity_domains/models/branding_settings.py +196 -0
  210. oci/identity_domains/models/branding_settings_company_names.py +131 -0
  211. oci/identity_domains/models/branding_settings_default_company_names.py +143 -0
  212. oci/identity_domains/models/branding_settings_default_images.py +188 -0
  213. oci/identity_domains/models/branding_settings_default_login_texts.py +143 -0
  214. oci/identity_domains/models/branding_settings_images.py +176 -0
  215. oci/identity_domains/models/branding_settings_login_texts.py +131 -0
  216. oci/identity_domains/models/cloud_gate.py +1239 -0
  217. oci/identity_domains/models/cloud_gate_ext_mappings.py +610 -0
  218. oci/identity_domains/models/cloud_gate_ext_servers.py +296 -0
  219. oci/identity_domains/models/cloud_gate_ext_upstream_server_groups.py +316 -0
  220. oci/identity_domains/models/cloud_gate_ext_upstream_servers.py +426 -0
  221. oci/identity_domains/models/cloud_gate_mapping.py +1068 -0
  222. oci/identity_domains/models/cloud_gate_mapping_cloud_gate.py +153 -0
  223. oci/identity_domains/models/cloud_gate_mapping_gateway_app.py +204 -0
  224. oci/identity_domains/models/cloud_gate_mapping_search_request.py +364 -0
  225. oci/identity_domains/models/cloud_gate_mapping_server.py +153 -0
  226. oci/identity_domains/models/cloud_gate_mapping_upstream_server_group.py +217 -0
  227. oci/identity_domains/models/cloud_gate_mappings.py +196 -0
  228. oci/identity_domains/models/cloud_gate_oauth_client.py +208 -0
  229. oci/identity_domains/models/cloud_gate_search_request.py +364 -0
  230. oci/identity_domains/models/cloud_gate_server.py +1042 -0
  231. oci/identity_domains/models/cloud_gate_server_cloud_gate.py +153 -0
  232. oci/identity_domains/models/cloud_gate_server_search_request.py +364 -0
  233. oci/identity_domains/models/cloud_gate_servers.py +196 -0
  234. oci/identity_domains/models/cloud_gates.py +196 -0
  235. oci/identity_domains/models/condition.py +1063 -0
  236. oci/identity_domains/models/condition_search_request.py +364 -0
  237. oci/identity_domains/models/conditions.py +196 -0
  238. oci/identity_domains/models/defined_tags.py +2 -0
  239. oci/identity_domains/models/extension_social_identity_provider.py +55 -0
  240. oci/identity_domains/models/freeform_tags.py +2 -0
  241. oci/identity_domains/models/identity_provider_relay_idp_param_mappings.py +159 -0
  242. oci/identity_domains/models/me_password_changer.py +2 -2
  243. oci/identity_domains/models/my_authentication_factors_remover.py +51 -2
  244. oci/identity_domains/models/my_completed_approval.py +1146 -0
  245. oci/identity_domains/models/my_completed_approvals.py +196 -0
  246. oci/identity_domains/models/my_pending_approval.py +1146 -0
  247. oci/identity_domains/models/my_pending_approvals.py +196 -0
  248. oci/identity_domains/models/my_request.py +217 -2
  249. oci/identity_domains/models/my_request_approval_details.py +398 -0
  250. oci/identity_domains/models/my_request_requesting.py +53 -0
  251. oci/identity_domains/models/network_perimeter.py +852 -0
  252. oci/identity_domains/models/network_perimeter_ip_addresses.py +228 -0
  253. oci/identity_domains/models/network_perimeter_search_request.py +364 -0
  254. oci/identity_domains/models/network_perimeters.py +196 -0
  255. oci/identity_domains/models/notification_setting.py +1038 -0
  256. oci/identity_domains/models/notification_settings.py +196 -0
  257. oci/identity_domains/models/notification_settings_event_settings.py +143 -0
  258. oci/identity_domains/models/notification_settings_from_email_address.py +278 -0
  259. oci/identity_domains/models/notification_settings_search_request.py +171 -0
  260. oci/identity_domains/models/o_auth_client_certificate.py +1187 -0
  261. oci/identity_domains/models/o_auth_client_certificate_search_request.py +364 -0
  262. oci/identity_domains/models/o_auth_client_certificates.py +196 -0
  263. oci/identity_domains/models/o_auth_partner_certificate.py +1187 -0
  264. oci/identity_domains/models/o_auth_partner_certificate_search_request.py +364 -0
  265. oci/identity_domains/models/o_auth_partner_certificates.py +196 -0
  266. oci/identity_domains/models/policies.py +196 -0
  267. oci/identity_domains/models/policy.py +979 -0
  268. oci/identity_domains/models/policy_policy_type.py +150 -0
  269. oci/identity_domains/models/policy_rules.py +247 -0
  270. oci/identity_domains/models/policy_search_request.py +364 -0
  271. oci/identity_domains/models/rule.py +1110 -0
  272. oci/identity_domains/models/rule_condition_group.py +270 -0
  273. oci/identity_domains/models/rule_policy_type.py +150 -0
  274. oci/identity_domains/models/rule_return.py +188 -0
  275. oci/identity_domains/models/rule_search_request.py +364 -0
  276. oci/identity_domains/models/rules.py +196 -0
  277. oci/identity_domains/models/schema.py +537 -0
  278. oci/identity_domains/models/schema_attributes.py +4165 -0
  279. oci/identity_domains/models/schema_idcs_complex_attribute_name_mappings.py +188 -0
  280. oci/identity_domains/models/schema_idcs_csv_attribute_name_mappings.py +433 -0
  281. oci/identity_domains/models/schema_localized_canonical_values.py +188 -0
  282. oci/identity_domains/models/schema_localized_display_name.py +147 -0
  283. oci/identity_domains/models/schema_referenced_resource_type_unique_attribute_name_mappings.py +139 -0
  284. oci/identity_domains/models/schema_resolve_value_using_resource_type.py +139 -0
  285. oci/identity_domains/models/schema_search_request.py +329 -0
  286. oci/identity_domains/models/schema_sub_attributes.py +3209 -0
  287. oci/identity_domains/models/schemas.py +196 -0
  288. oci/identity_domains/models/self_registration_profile.py +1636 -0
  289. oci/identity_domains/models/self_registration_profile_after_submit_text.py +194 -0
  290. oci/identity_domains/models/self_registration_profile_consent_text.py +194 -0
  291. oci/identity_domains/models/self_registration_profile_default_groups.py +190 -0
  292. oci/identity_domains/models/self_registration_profile_display_name.py +194 -0
  293. oci/identity_domains/models/self_registration_profile_email_template.py +202 -0
  294. oci/identity_domains/models/self_registration_profile_footer_text.py +194 -0
  295. oci/identity_domains/models/self_registration_profile_header_text.py +194 -0
  296. oci/identity_domains/models/self_registration_profile_search_request.py +364 -0
  297. oci/identity_domains/models/self_registration_profile_user_attributes.py +286 -0
  298. oci/identity_domains/models/self_registration_profiles.py +196 -0
  299. oci/identity_domains/models/setting.py +3110 -0
  300. oci/identity_domains/models/settings.py +196 -0
  301. oci/identity_domains/models/settings_certificate_validation.py +566 -0
  302. oci/identity_domains/models/settings_cloud_gate_cors_settings.py +318 -0
  303. oci/identity_domains/models/settings_company_names.py +135 -0
  304. oci/identity_domains/models/settings_default_company_names.py +143 -0
  305. oci/identity_domains/models/settings_default_images.py +188 -0
  306. oci/identity_domains/models/settings_default_login_texts.py +145 -0
  307. oci/identity_domains/models/settings_images.py +176 -0
  308. oci/identity_domains/models/settings_login_texts.py +137 -0
  309. oci/identity_domains/models/settings_purge_configs.py +139 -0
  310. oci/identity_domains/models/settings_search_request.py +171 -0
  311. oci/identity_domains/models/settings_tenant_custom_claims.py +438 -0
  312. oci/identity_domains/models/user_ext_risk_scores.py +4 -0
  313. oci/integration/integration_instance_client.py +15 -15
  314. oci/jms/java_management_service_client.py +66 -66
  315. oci/jms_java_downloads/java_download_client.py +25 -25
  316. oci/key_management/ekm_client.py +5 -5
  317. oci/key_management/kms_crypto_client.py +6 -6
  318. oci/key_management/kms_management_client.py +21 -21
  319. oci/key_management/kms_vault_client.py +14 -14
  320. oci/license_manager/license_manager_client.py +18 -18
  321. oci/limits/limits_client.py +4 -4
  322. oci/limits/quotas_client.py +7 -7
  323. oci/load_balancer/load_balancer_client.py +61 -61
  324. oci/lockbox/lockbox_client.py +23 -23
  325. oci/log_analytics/log_analytics_client.py +388 -192
  326. oci/log_analytics/models/export_details.py +15 -17
  327. oci/logging/logging_management_client.py +30 -30
  328. oci/loggingingestion/logging_client.py +1 -1
  329. oci/loggingsearch/log_search_client.py +1 -1
  330. oci/management_agent/management_agent_client.py +23 -23
  331. oci/management_dashboard/dashx_apis_client.py +14 -14
  332. oci/marketplace/account_client.py +2 -2
  333. oci/marketplace/marketplace_client.py +30 -30
  334. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  335. oci/media_services/media_services_client.py +48 -48
  336. oci/media_services/media_stream_client.py +2 -2
  337. oci/monitoring/monitoring_client.py +13 -13
  338. oci/mysql/channels_client.py +7 -7
  339. oci/mysql/db_backups_client.py +6 -6
  340. oci/mysql/db_system_client.py +17 -17
  341. oci/mysql/mysqlaas_client.py +7 -7
  342. oci/mysql/replicas_client.py +5 -5
  343. oci/mysql/work_requests_client.py +4 -4
  344. oci/network_firewall/network_firewall_client.py +80 -80
  345. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  346. oci/nosql/nosql_client.py +24 -24
  347. oci/object_storage/object_storage_client.py +50 -50
  348. oci/oce/oce_instance_client.py +10 -10
  349. oci/oci_control_center/occ_metrics_client.py +3 -3
  350. oci/ocvp/__init__.py +4 -2
  351. oci/ocvp/cluster_client.py +732 -0
  352. oci/ocvp/cluster_client_composite_operations.py +160 -0
  353. oci/ocvp/esxi_host_client.py +262 -14
  354. oci/ocvp/esxi_host_client_composite_operations.py +84 -1
  355. oci/ocvp/models/__init__.py +29 -7
  356. oci/ocvp/models/change_sddc_compartment_details.py +1 -1
  357. oci/ocvp/models/cluster.py +1026 -0
  358. oci/ocvp/models/cluster_collection.py +72 -0
  359. oci/ocvp/models/cluster_summary.py +671 -0
  360. oci/ocvp/models/create_cluster_details.py +658 -0
  361. oci/ocvp/models/create_esxi_host_details.py +112 -161
  362. oci/ocvp/models/create_sddc_details.py +86 -814
  363. oci/ocvp/models/datastore_details.py +154 -0
  364. oci/ocvp/models/datastore_info.py +6 -6
  365. oci/ocvp/models/downgrade_hcx_details.py +1 -1
  366. oci/ocvp/models/esxi_host.py +132 -64
  367. oci/ocvp/models/esxi_host_collection.py +1 -1
  368. oci/ocvp/models/esxi_host_summary.py +100 -63
  369. oci/ocvp/models/hcx_license_summary.py +1 -1
  370. oci/ocvp/models/initial_cluster_configuration.py +518 -0
  371. oci/ocvp/models/initial_configuration.py +72 -0
  372. oci/ocvp/models/network_configuration.py +635 -0
  373. oci/ocvp/models/replace_host_details.py +78 -0
  374. oci/ocvp/models/sddc.py +176 -1269
  375. oci/ocvp/models/sddc_collection.py +1 -1
  376. oci/ocvp/models/sddc_password.py +123 -0
  377. oci/ocvp/models/sddc_summary.py +55 -161
  378. oci/ocvp/models/supported_commitment_summary.py +96 -0
  379. oci/ocvp/models/supported_commitment_summary_collection.py +72 -0
  380. oci/ocvp/models/supported_esxi_software_version_summary.py +135 -0
  381. oci/ocvp/models/supported_host_shape_collection.py +1 -1
  382. oci/ocvp/models/supported_host_shape_summary.py +54 -54
  383. oci/ocvp/models/supported_vmware_software_version_collection.py +1 -1
  384. oci/ocvp/models/supported_vmware_software_version_summary.py +34 -3
  385. oci/ocvp/models/update_cluster_details.py +265 -0
  386. oci/ocvp/models/update_esxi_host_details.py +32 -32
  387. oci/ocvp/models/update_sddc_details.py +42 -377
  388. oci/ocvp/models/vsphere_license.py +1 -1
  389. oci/ocvp/models/vsphere_upgrade_object.py +1 -1
  390. oci/ocvp/models/work_request.py +20 -4
  391. oci/ocvp/models/work_request_collection.py +1 -1
  392. oci/ocvp/models/work_request_error.py +1 -1
  393. oci/ocvp/models/work_request_error_collection.py +1 -1
  394. oci/ocvp/models/work_request_log_entry.py +1 -1
  395. oci/ocvp/models/work_request_log_entry_collection.py +1 -1
  396. oci/ocvp/models/work_request_resource.py +1 -1
  397. oci/ocvp/sddc_client.py +212 -68
  398. oci/ocvp/sddc_client_composite_operations.py +1 -1
  399. oci/ocvp/work_request_client.py +10 -10
  400. oci/ocvp/work_request_client_composite_operations.py +1 -1
  401. oci/oda/management_client.py +56 -56
  402. oci/oda/oda_client.py +17 -17
  403. oci/oda/odapackage_client.py +7 -7
  404. oci/onesubscription/billing_schedule_client.py +1 -1
  405. oci/onesubscription/commitment_client.py +2 -2
  406. oci/onesubscription/computed_usage_client.py +3 -3
  407. oci/onesubscription/invoice_summary_client.py +2 -2
  408. oci/onesubscription/organization_subscription_client.py +1 -1
  409. oci/onesubscription/ratecard_client.py +1 -1
  410. oci/onesubscription/subscribed_service_client.py +2 -2
  411. oci/onesubscription/subscription_client.py +1 -1
  412. oci/ons/notification_control_plane_client.py +6 -6
  413. oci/ons/notification_data_plane_client.py +10 -10
  414. oci/opa/opa_instance_client.py +11 -11
  415. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  416. oci/opensearch/opensearch_cluster_client.py +14 -14
  417. oci/operator_access_control/access_requests_client.py +9 -9
  418. oci/operator_access_control/operator_actions_client.py +2 -2
  419. oci/operator_access_control/operator_control_assignment_client.py +6 -6
  420. oci/operator_access_control/operator_control_client.py +6 -6
  421. oci/opsi/models/__init__.py +22 -0
  422. oci/opsi/models/awr_hub_objects.py +72 -0
  423. oci/opsi/models/awr_hub_source.py +904 -0
  424. oci/opsi/models/awr_hub_source_summary.py +904 -0
  425. oci/opsi/models/awr_hub_source_summary_collection.py +72 -0
  426. oci/opsi/models/awr_hub_sources.py +72 -0
  427. oci/opsi/models/change_awr_hub_source_compartment_details.py +72 -0
  428. oci/opsi/models/change_operations_insights_warehouse_compartment_details.py +76 -0
  429. oci/opsi/models/create_awr_hub_details.py +1 -1
  430. oci/opsi/models/create_awr_hub_source_details.py +377 -0
  431. oci/opsi/models/list_objects.py +134 -0
  432. oci/opsi/models/object_summary.py +329 -0
  433. oci/opsi/models/update_awr_hub_source_details.py +210 -0
  434. oci/opsi/models/work_request.py +27 -3
  435. oci/opsi/operations_insights_client.py +3221 -1507
  436. oci/opsi/operations_insights_client_composite_operations.py +283 -0
  437. oci/optimizer/optimizer_client.py +26 -26
  438. oci/os_management/event_client.py +8 -8
  439. oci/os_management/os_management_client.py +69 -69
  440. oci/os_management_hub/lifecycle_environment_client.py +11 -11
  441. oci/os_management_hub/managed_instance_client.py +22 -22
  442. oci/os_management_hub/managed_instance_group_client.py +22 -22
  443. oci/os_management_hub/management_station_client.py +8 -8
  444. oci/os_management_hub/onboarding_client.py +5 -5
  445. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  446. oci/os_management_hub/scheduled_job_client.py +6 -6
  447. oci/os_management_hub/software_source_client.py +22 -22
  448. oci/os_management_hub/work_request_client.py +4 -4
  449. oci/osp_gateway/address_rule_service_client.py +1 -1
  450. oci/osp_gateway/address_service_client.py +2 -2
  451. oci/osp_gateway/invoice_service_client.py +5 -5
  452. oci/osp_gateway/subscription_service_client.py +5 -5
  453. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  454. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  455. oci/osub_subscription/commitment_client.py +2 -2
  456. oci/osub_subscription/ratecard_client.py +1 -1
  457. oci/osub_subscription/subscription_client.py +1 -1
  458. oci/osub_usage/computed_usage_client.py +3 -3
  459. oci/psql/__init__.py +14 -0
  460. oci/psql/models/__init__.py +166 -0
  461. oci/psql/models/backup.py +645 -0
  462. oci/psql/models/backup_collection.py +72 -0
  463. oci/psql/models/backup_policy.py +156 -0
  464. oci/psql/models/backup_source_details.py +113 -0
  465. oci/psql/models/backup_summary.py +481 -0
  466. oci/psql/models/change_backup_compartment_details.py +74 -0
  467. oci/psql/models/change_configuration_compartment_details.py +74 -0
  468. oci/psql/models/change_db_system_compartment_details.py +78 -0
  469. oci/psql/models/config_overrides.py +103 -0
  470. oci/psql/models/config_params.py +289 -0
  471. oci/psql/models/configuration.py +532 -0
  472. oci/psql/models/configuration_collection.py +72 -0
  473. oci/psql/models/configuration_details.py +72 -0
  474. oci/psql/models/configuration_summary.py +450 -0
  475. oci/psql/models/connection_details.py +134 -0
  476. oci/psql/models/create_backup_details.py +262 -0
  477. oci/psql/models/create_configuration_details.py +384 -0
  478. oci/psql/models/create_db_instance_details.py +136 -0
  479. oci/psql/models/create_db_system_details.py +585 -0
  480. oci/psql/models/credentials.py +100 -0
  481. oci/psql/models/daily_backup_policy.py +89 -0
  482. oci/psql/models/db_configuration_override_collection.py +72 -0
  483. oci/psql/models/db_instance.py +325 -0
  484. oci/psql/models/db_instance_endpoint.py +99 -0
  485. oci/psql/models/db_system.py +827 -0
  486. oci/psql/models/db_system_collection.py +72 -0
  487. oci/psql/models/db_system_details.py +103 -0
  488. oci/psql/models/db_system_summary.py +574 -0
  489. oci/psql/models/default_config_params.py +258 -0
  490. oci/psql/models/default_configuration.py +406 -0
  491. oci/psql/models/default_configuration_collection.py +72 -0
  492. oci/psql/models/default_configuration_details.py +72 -0
  493. oci/psql/models/default_configuration_summary.py +320 -0
  494. oci/psql/models/endpoint.py +134 -0
  495. oci/psql/models/failover_db_system_details.py +107 -0
  496. oci/psql/models/management_policy.py +99 -0
  497. oci/psql/models/management_policy_details.py +99 -0
  498. oci/psql/models/monthly_backup_policy.py +122 -0
  499. oci/psql/models/network_details.py +136 -0
  500. oci/psql/models/none_backup_policy.py +58 -0
  501. oci/psql/models/none_source_details.py +51 -0
  502. oci/psql/models/oci_optimized_storage_details.py +95 -0
  503. oci/psql/models/password_details.py +110 -0
  504. oci/psql/models/patch_db_system_details.py +74 -0
  505. oci/psql/models/patch_insert_instruction.py +171 -0
  506. oci/psql/models/patch_instruction.py +184 -0
  507. oci/psql/models/patch_merge_instruction.py +97 -0
  508. oci/psql/models/patch_move_instruction.py +147 -0
  509. oci/psql/models/patch_prohibit_instruction.py +100 -0
  510. oci/psql/models/patch_remove_instruction.py +59 -0
  511. oci/psql/models/patch_replace_instruction.py +92 -0
  512. oci/psql/models/patch_require_instruction.py +99 -0
  513. oci/psql/models/plain_text_password_details.py +82 -0
  514. oci/psql/models/primary_db_instance_details.py +72 -0
  515. oci/psql/models/reset_master_user_password_details.py +69 -0
  516. oci/psql/models/restart_db_instance_in_db_system_details.py +119 -0
  517. oci/psql/models/restore_db_system_details.py +105 -0
  518. oci/psql/models/shape_collection.py +72 -0
  519. oci/psql/models/shape_summary.py +165 -0
  520. oci/psql/models/source_details.py +109 -0
  521. oci/psql/models/storage_details.py +161 -0
  522. oci/psql/models/update_backup_details.py +200 -0
  523. oci/psql/models/update_configuration_details.py +103 -0
  524. oci/psql/models/update_db_config_params.py +121 -0
  525. oci/psql/models/update_db_system_db_instance_details.py +103 -0
  526. oci/psql/models/update_db_system_details.py +250 -0
  527. oci/psql/models/update_storage_details_params.py +74 -0
  528. oci/psql/models/vault_secret_password_details.py +113 -0
  529. oci/psql/models/weekly_backup_policy.py +157 -0
  530. oci/psql/models/work_request.py +412 -0
  531. oci/psql/models/work_request_error.py +136 -0
  532. oci/psql/models/work_request_error_collection.py +72 -0
  533. oci/psql/models/work_request_log_entry.py +103 -0
  534. oci/psql/models/work_request_log_entry_collection.py +72 -0
  535. oci/psql/models/work_request_resource.py +228 -0
  536. oci/psql/models/work_request_summary.py +412 -0
  537. oci/psql/models/work_request_summary_collection.py +72 -0
  538. oci/psql/postgresql_client.py +3980 -0
  539. oci/psql/postgresql_client_composite_operations.py +807 -0
  540. oci/queue/queue_admin_client.py +11 -11
  541. oci/queue/queue_client.py +8 -8
  542. oci/recovery/database_recovery_client.py +23 -23
  543. oci/redis/redis_cluster_client.py +11 -11
  544. oci/regions_definitions.py +12 -4
  545. oci/resource_manager/resource_manager_client.py +52 -52
  546. oci/resource_search/resource_search_client.py +3 -3
  547. oci/rover/rover_bundle_client.py +8 -8
  548. oci/rover/rover_cluster_client.py +8 -8
  549. oci/rover/rover_entitlement_client.py +6 -6
  550. oci/rover/rover_node_client.py +15 -15
  551. oci/rover/shape_client.py +1 -1
  552. oci/rover/work_requests_client.py +5 -5
  553. oci/sch/service_connector_client.py +12 -12
  554. oci/secrets/secrets_client.py +3 -3
  555. oci/service_catalog/service_catalog_client.py +26 -26
  556. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  557. oci/service_mesh/service_mesh_client.py +48 -48
  558. oci/stack_monitoring/stack_monitoring_client.py +58 -58
  559. oci/streaming/stream_admin_client.py +18 -18
  560. oci/streaming/stream_client.py +8 -8
  561. oci/tenant_manager_control_plane/domain_client.py +5 -5
  562. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  563. oci/tenant_manager_control_plane/governance_client.py +2 -2
  564. oci/tenant_manager_control_plane/link_client.py +3 -3
  565. oci/tenant_manager_control_plane/orders_client.py +2 -2
  566. oci/tenant_manager_control_plane/organization_client.py +10 -10
  567. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  568. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  569. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  570. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  571. oci/threat_intelligence/threatintel_client.py +5 -5
  572. oci/usage/resources_client.py +2 -2
  573. oci/usage/rewards_client.py +6 -6
  574. oci/usage/usagelimits_client.py +1 -1
  575. oci/usage_api/usageapi_client.py +19 -19
  576. oci/vault/vaults_client.py +11 -11
  577. oci/vbs_inst/vbs_instance_client.py +10 -10
  578. oci/version.py +1 -1
  579. oci/visual_builder/vb_instance_client.py +13 -13
  580. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  581. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  582. oci/waa/waa_client.py +13 -13
  583. oci/waa/work_request_client.py +4 -4
  584. oci/waas/redirect_client.py +6 -6
  585. oci/waas/waas_client.py +66 -66
  586. oci/waf/waf_client.py +24 -24
  587. oci/work_requests/work_request_client.py +4 -4
  588. {oci-2.115.1.dist-info → oci-2.117.0.dist-info}/METADATA +1 -1
  589. {oci-2.115.1.dist-info → oci-2.117.0.dist-info}/RECORD +593 -334
  590. {oci-2.115.1.dist-info → oci-2.117.0.dist-info}/LICENSE.txt +0 -0
  591. {oci-2.115.1.dist-info → oci-2.117.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  592. {oci-2.115.1.dist-info → oci-2.117.0.dist-info}/WHEEL +0 -0
  593. {oci-2.115.1.dist-info → oci-2.117.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,110 @@
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: 20220915
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 PasswordDetails(object):
14
+ """
15
+ Details for the DbSystem password.
16
+ Password can be passed as `VaultSecretPasswordDetails`(Vault) or `PlainTextPasswordDetails`.
17
+ """
18
+
19
+ #: A constant which can be used with the password_type property of a PasswordDetails.
20
+ #: This constant has a value of "PLAIN_TEXT"
21
+ PASSWORD_TYPE_PLAIN_TEXT = "PLAIN_TEXT"
22
+
23
+ #: A constant which can be used with the password_type property of a PasswordDetails.
24
+ #: This constant has a value of "VAULT_SECRET"
25
+ PASSWORD_TYPE_VAULT_SECRET = "VAULT_SECRET"
26
+
27
+ def __init__(self, **kwargs):
28
+ """
29
+ Initializes a new PasswordDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
30
+ to a service operations then you should favor using a subclass over the base class:
31
+
32
+ * :class:`~oci.psql.models.PlainTextPasswordDetails`
33
+ * :class:`~oci.psql.models.VaultSecretPasswordDetails`
34
+
35
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
36
+
37
+ :param password_type:
38
+ The value to assign to the password_type property of this PasswordDetails.
39
+ Allowed values for this property are: "PLAIN_TEXT", "VAULT_SECRET"
40
+ :type password_type: str
41
+
42
+ """
43
+ self.swagger_types = {
44
+ 'password_type': 'str'
45
+ }
46
+
47
+ self.attribute_map = {
48
+ 'password_type': 'passwordType'
49
+ }
50
+
51
+ self._password_type = None
52
+
53
+ @staticmethod
54
+ def get_subtype(object_dictionary):
55
+ """
56
+ Given the hash representation of a subtype of this class,
57
+ use the info in the hash to return the class of the subtype.
58
+ """
59
+ type = object_dictionary['passwordType']
60
+
61
+ if type == 'PLAIN_TEXT':
62
+ return 'PlainTextPasswordDetails'
63
+
64
+ if type == 'VAULT_SECRET':
65
+ return 'VaultSecretPasswordDetails'
66
+ else:
67
+ return 'PasswordDetails'
68
+
69
+ @property
70
+ def password_type(self):
71
+ """
72
+ **[Required]** Gets the password_type of this PasswordDetails.
73
+ Password type
74
+
75
+ Allowed values for this property are: "PLAIN_TEXT", "VAULT_SECRET"
76
+
77
+
78
+ :return: The password_type of this PasswordDetails.
79
+ :rtype: str
80
+ """
81
+ return self._password_type
82
+
83
+ @password_type.setter
84
+ def password_type(self, password_type):
85
+ """
86
+ Sets the password_type of this PasswordDetails.
87
+ Password type
88
+
89
+
90
+ :param password_type: The password_type of this PasswordDetails.
91
+ :type: str
92
+ """
93
+ allowed_values = ["PLAIN_TEXT", "VAULT_SECRET"]
94
+ if not value_allowed_none_or_none_sentinel(password_type, allowed_values):
95
+ raise ValueError(
96
+ f"Invalid value for `password_type`, must be None or one of {allowed_values}"
97
+ )
98
+ self._password_type = password_type
99
+
100
+ def __repr__(self):
101
+ return formatted_flat_dict(self)
102
+
103
+ def __eq__(self, other):
104
+ if other is None:
105
+ return False
106
+
107
+ return self.__dict__ == other.__dict__
108
+
109
+ def __ne__(self, other):
110
+ return not self == other
@@ -0,0 +1,74 @@
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: 20220915
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 PatchDbSystemDetails(object):
14
+ """
15
+ For Adding Read Replica DB Instance, Operation is INSERT and Value object to specify is
16
+ #/definitions/CreateDbInstanceDetails.
17
+ For Removing Read Replica DB Instance, Operation is REMOVE and Value object needs to be Array of dbInstanceId's
18
+ """
19
+
20
+ def __init__(self, **kwargs):
21
+ """
22
+ Initializes a new PatchDbSystemDetails object with values from keyword arguments.
23
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
24
+
25
+ :param items:
26
+ The value to assign to the items property of this PatchDbSystemDetails.
27
+ :type items: list[oci.psql.models.PatchInstruction]
28
+
29
+ """
30
+ self.swagger_types = {
31
+ 'items': 'list[PatchInstruction]'
32
+ }
33
+
34
+ self.attribute_map = {
35
+ 'items': 'items'
36
+ }
37
+
38
+ self._items = None
39
+
40
+ @property
41
+ def items(self):
42
+ """
43
+ Gets the items of this PatchDbSystemDetails.
44
+ List of patch instructions.
45
+
46
+
47
+ :return: The items of this PatchDbSystemDetails.
48
+ :rtype: list[oci.psql.models.PatchInstruction]
49
+ """
50
+ return self._items
51
+
52
+ @items.setter
53
+ def items(self, items):
54
+ """
55
+ Sets the items of this PatchDbSystemDetails.
56
+ List of patch instructions.
57
+
58
+
59
+ :param items: The items of this PatchDbSystemDetails.
60
+ :type: list[oci.psql.models.PatchInstruction]
61
+ """
62
+ self._items = items
63
+
64
+ def __repr__(self):
65
+ return formatted_flat_dict(self)
66
+
67
+ def __eq__(self, other):
68
+ if other is None:
69
+ return False
70
+
71
+ return self.__dict__ == other.__dict__
72
+
73
+ def __ne__(self, other):
74
+ return not self == other
@@ -0,0 +1,171 @@
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: 20220915
6
+
7
+ from .patch_instruction import PatchInstruction
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 PatchInsertInstruction(PatchInstruction):
14
+ """
15
+ An operation that inserts a value into an array, shifting array items as necessary and handling NOT_FOUND exceptions by creating the implied containing structure.
16
+ """
17
+
18
+ #: A constant which can be used with the position property of a PatchInsertInstruction.
19
+ #: This constant has a value of "BEFORE"
20
+ POSITION_BEFORE = "BEFORE"
21
+
22
+ #: A constant which can be used with the position property of a PatchInsertInstruction.
23
+ #: This constant has a value of "AFTER"
24
+ POSITION_AFTER = "AFTER"
25
+
26
+ def __init__(self, **kwargs):
27
+ """
28
+ Initializes a new PatchInsertInstruction object with values from keyword arguments. The default value of the :py:attr:`~oci.psql.models.PatchInsertInstruction.operation` attribute
29
+ of this class is ``INSERT`` and it should not be changed.
30
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
31
+
32
+ :param operation:
33
+ The value to assign to the operation property of this PatchInsertInstruction.
34
+ Allowed values for this property are: "REQUIRE", "PROHIBIT", "REPLACE", "INSERT", "REMOVE", "MOVE", "MERGE"
35
+ :type operation: str
36
+
37
+ :param selection:
38
+ The value to assign to the selection property of this PatchInsertInstruction.
39
+ :type selection: str
40
+
41
+ :param value:
42
+ The value to assign to the value property of this PatchInsertInstruction.
43
+ :type value: object
44
+
45
+ :param selected_item:
46
+ The value to assign to the selected_item property of this PatchInsertInstruction.
47
+ :type selected_item: str
48
+
49
+ :param position:
50
+ The value to assign to the position property of this PatchInsertInstruction.
51
+ Allowed values for this property are: "BEFORE", "AFTER"
52
+ :type position: str
53
+
54
+ """
55
+ self.swagger_types = {
56
+ 'operation': 'str',
57
+ 'selection': 'str',
58
+ 'value': 'object',
59
+ 'selected_item': 'str',
60
+ 'position': 'str'
61
+ }
62
+
63
+ self.attribute_map = {
64
+ 'operation': 'operation',
65
+ 'selection': 'selection',
66
+ 'value': 'value',
67
+ 'selected_item': 'selectedItem',
68
+ 'position': 'position'
69
+ }
70
+
71
+ self._operation = None
72
+ self._selection = None
73
+ self._value = None
74
+ self._selected_item = None
75
+ self._position = None
76
+ self._operation = 'INSERT'
77
+
78
+ @property
79
+ def value(self):
80
+ """
81
+ **[Required]** Gets the value of this PatchInsertInstruction.
82
+ A value to be inserted into the target.
83
+
84
+
85
+ :return: The value of this PatchInsertInstruction.
86
+ :rtype: object
87
+ """
88
+ return self._value
89
+
90
+ @value.setter
91
+ def value(self, value):
92
+ """
93
+ Sets the value of this PatchInsertInstruction.
94
+ A value to be inserted into the target.
95
+
96
+
97
+ :param value: The value of this PatchInsertInstruction.
98
+ :type: object
99
+ """
100
+ self._value = value
101
+
102
+ @property
103
+ def selected_item(self):
104
+ """
105
+ Gets the selected_item of this PatchInsertInstruction.
106
+ A selection to be evaluated against the array for identifying a particular reference item within it, with the same format and semantics as `selection`.
107
+
108
+
109
+ :return: The selected_item of this PatchInsertInstruction.
110
+ :rtype: str
111
+ """
112
+ return self._selected_item
113
+
114
+ @selected_item.setter
115
+ def selected_item(self, selected_item):
116
+ """
117
+ Sets the selected_item of this PatchInsertInstruction.
118
+ A selection to be evaluated against the array for identifying a particular reference item within it, with the same format and semantics as `selection`.
119
+
120
+
121
+ :param selected_item: The selected_item of this PatchInsertInstruction.
122
+ :type: str
123
+ """
124
+ self._selected_item = selected_item
125
+
126
+ @property
127
+ def position(self):
128
+ """
129
+ Gets the position of this PatchInsertInstruction.
130
+ Where to insert the value, relative to the first item matched by `selectedItem`.
131
+ If `selectedItem` is unspecified, then \"BEFORE\" specifies insertion at the first position in an array and \"AFTER\" specifies insertion at the last position.
132
+ If `selectedItem` is specified but results in an empty selection, then both values specify insertion at the last position.
133
+
134
+ Allowed values for this property are: "BEFORE", "AFTER"
135
+
136
+
137
+ :return: The position of this PatchInsertInstruction.
138
+ :rtype: str
139
+ """
140
+ return self._position
141
+
142
+ @position.setter
143
+ def position(self, position):
144
+ """
145
+ Sets the position of this PatchInsertInstruction.
146
+ Where to insert the value, relative to the first item matched by `selectedItem`.
147
+ If `selectedItem` is unspecified, then \"BEFORE\" specifies insertion at the first position in an array and \"AFTER\" specifies insertion at the last position.
148
+ If `selectedItem` is specified but results in an empty selection, then both values specify insertion at the last position.
149
+
150
+
151
+ :param position: The position of this PatchInsertInstruction.
152
+ :type: str
153
+ """
154
+ allowed_values = ["BEFORE", "AFTER"]
155
+ if not value_allowed_none_or_none_sentinel(position, allowed_values):
156
+ raise ValueError(
157
+ f"Invalid value for `position`, must be None or one of {allowed_values}"
158
+ )
159
+ self._position = position
160
+
161
+ def __repr__(self):
162
+ return formatted_flat_dict(self)
163
+
164
+ def __eq__(self, other):
165
+ if other is None:
166
+ return False
167
+
168
+ return self.__dict__ == other.__dict__
169
+
170
+ def __ne__(self, other):
171
+ return not self == other
@@ -0,0 +1,184 @@
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: 20220915
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 PatchInstruction(object):
14
+ """
15
+ A single instruction to be included as part of Patch request content.
16
+ """
17
+
18
+ #: A constant which can be used with the operation property of a PatchInstruction.
19
+ #: This constant has a value of "REQUIRE"
20
+ OPERATION_REQUIRE = "REQUIRE"
21
+
22
+ #: A constant which can be used with the operation property of a PatchInstruction.
23
+ #: This constant has a value of "PROHIBIT"
24
+ OPERATION_PROHIBIT = "PROHIBIT"
25
+
26
+ #: A constant which can be used with the operation property of a PatchInstruction.
27
+ #: This constant has a value of "REPLACE"
28
+ OPERATION_REPLACE = "REPLACE"
29
+
30
+ #: A constant which can be used with the operation property of a PatchInstruction.
31
+ #: This constant has a value of "INSERT"
32
+ OPERATION_INSERT = "INSERT"
33
+
34
+ #: A constant which can be used with the operation property of a PatchInstruction.
35
+ #: This constant has a value of "REMOVE"
36
+ OPERATION_REMOVE = "REMOVE"
37
+
38
+ #: A constant which can be used with the operation property of a PatchInstruction.
39
+ #: This constant has a value of "MOVE"
40
+ OPERATION_MOVE = "MOVE"
41
+
42
+ #: A constant which can be used with the operation property of a PatchInstruction.
43
+ #: This constant has a value of "MERGE"
44
+ OPERATION_MERGE = "MERGE"
45
+
46
+ def __init__(self, **kwargs):
47
+ """
48
+ Initializes a new PatchInstruction object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
49
+ to a service operations then you should favor using a subclass over the base class:
50
+
51
+ * :class:`~oci.psql.models.PatchMoveInstruction`
52
+ * :class:`~oci.psql.models.PatchRemoveInstruction`
53
+ * :class:`~oci.psql.models.PatchReplaceInstruction`
54
+ * :class:`~oci.psql.models.PatchInsertInstruction`
55
+ * :class:`~oci.psql.models.PatchRequireInstruction`
56
+ * :class:`~oci.psql.models.PatchMergeInstruction`
57
+ * :class:`~oci.psql.models.PatchProhibitInstruction`
58
+
59
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
60
+
61
+ :param operation:
62
+ The value to assign to the operation property of this PatchInstruction.
63
+ Allowed values for this property are: "REQUIRE", "PROHIBIT", "REPLACE", "INSERT", "REMOVE", "MOVE", "MERGE"
64
+ :type operation: str
65
+
66
+ :param selection:
67
+ The value to assign to the selection property of this PatchInstruction.
68
+ :type selection: str
69
+
70
+ """
71
+ self.swagger_types = {
72
+ 'operation': 'str',
73
+ 'selection': 'str'
74
+ }
75
+
76
+ self.attribute_map = {
77
+ 'operation': 'operation',
78
+ 'selection': 'selection'
79
+ }
80
+
81
+ self._operation = None
82
+ self._selection = None
83
+
84
+ @staticmethod
85
+ def get_subtype(object_dictionary):
86
+ """
87
+ Given the hash representation of a subtype of this class,
88
+ use the info in the hash to return the class of the subtype.
89
+ """
90
+ type = object_dictionary['operation']
91
+
92
+ if type == 'MOVE':
93
+ return 'PatchMoveInstruction'
94
+
95
+ if type == 'REMOVE':
96
+ return 'PatchRemoveInstruction'
97
+
98
+ if type == 'REPLACE':
99
+ return 'PatchReplaceInstruction'
100
+
101
+ if type == 'INSERT':
102
+ return 'PatchInsertInstruction'
103
+
104
+ if type == 'REQUIRE':
105
+ return 'PatchRequireInstruction'
106
+
107
+ if type == 'MERGE':
108
+ return 'PatchMergeInstruction'
109
+
110
+ if type == 'PROHIBIT':
111
+ return 'PatchProhibitInstruction'
112
+ else:
113
+ return 'PatchInstruction'
114
+
115
+ @property
116
+ def operation(self):
117
+ """
118
+ **[Required]** Gets the operation of this PatchInstruction.
119
+ Allowed values for this property are: "REQUIRE", "PROHIBIT", "REPLACE", "INSERT", "REMOVE", "MOVE", "MERGE"
120
+
121
+
122
+ :return: The operation of this PatchInstruction.
123
+ :rtype: str
124
+ """
125
+ return self._operation
126
+
127
+ @operation.setter
128
+ def operation(self, operation):
129
+ """
130
+ Sets the operation of this PatchInstruction.
131
+
132
+ :param operation: The operation of this PatchInstruction.
133
+ :type: str
134
+ """
135
+ allowed_values = ["REQUIRE", "PROHIBIT", "REPLACE", "INSERT", "REMOVE", "MOVE", "MERGE"]
136
+ if not value_allowed_none_or_none_sentinel(operation, allowed_values):
137
+ raise ValueError(
138
+ f"Invalid value for `operation`, must be None or one of {allowed_values}"
139
+ )
140
+ self._operation = operation
141
+
142
+ @property
143
+ def selection(self):
144
+ """
145
+ **[Required]** Gets the selection of this PatchInstruction.
146
+ The set of values to which the operation applies as a `JMESPath expression`__ for evaluation against the context resource.
147
+ An operation fails if the selection yields an exception, except as otherwise specified.
148
+ Note that comparisons involving non-primitive values (objects or arrays) are not supported and will always evaluate to false.
149
+
150
+ __ https://jmespath.org/specification.html
151
+
152
+
153
+ :return: The selection of this PatchInstruction.
154
+ :rtype: str
155
+ """
156
+ return self._selection
157
+
158
+ @selection.setter
159
+ def selection(self, selection):
160
+ """
161
+ Sets the selection of this PatchInstruction.
162
+ The set of values to which the operation applies as a `JMESPath expression`__ for evaluation against the context resource.
163
+ An operation fails if the selection yields an exception, except as otherwise specified.
164
+ Note that comparisons involving non-primitive values (objects or arrays) are not supported and will always evaluate to false.
165
+
166
+ __ https://jmespath.org/specification.html
167
+
168
+
169
+ :param selection: The selection of this PatchInstruction.
170
+ :type: str
171
+ """
172
+ self._selection = selection
173
+
174
+ def __repr__(self):
175
+ return formatted_flat_dict(self)
176
+
177
+ def __eq__(self, other):
178
+ if other is None:
179
+ return False
180
+
181
+ return self.__dict__ == other.__dict__
182
+
183
+ def __ne__(self, other):
184
+ return not self == other
@@ -0,0 +1,97 @@
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: 20220915
6
+
7
+ from .patch_instruction import PatchInstruction
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 PatchMergeInstruction(PatchInstruction):
14
+ """
15
+ An operation that recursively updates items of the selection, or adding the value if the selection is empty.
16
+ If the value is not an object, it is used directly, otherwise each key-value member is used
17
+ to create or update a member of the same name in the target and the same process is applied recursively for each object-typed value
18
+ (similar to `RFC 7396`__ JSON Merge Patch, except that null values are copied
19
+ rather than transformed into deletions).
20
+ NOT_FOUND exceptions are handled by creating the implied containing structure.
21
+ To avoid referential errors if an item's descendant is also in the selection, items of the selection are processed in order of decreasing depth.
22
+
23
+ __ https://tools.ietf.org/html/rfc7396#section-2
24
+ """
25
+
26
+ def __init__(self, **kwargs):
27
+ """
28
+ Initializes a new PatchMergeInstruction object with values from keyword arguments. The default value of the :py:attr:`~oci.psql.models.PatchMergeInstruction.operation` attribute
29
+ of this class is ``MERGE`` and it should not be changed.
30
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
31
+
32
+ :param operation:
33
+ The value to assign to the operation property of this PatchMergeInstruction.
34
+ Allowed values for this property are: "REQUIRE", "PROHIBIT", "REPLACE", "INSERT", "REMOVE", "MOVE", "MERGE"
35
+ :type operation: str
36
+
37
+ :param selection:
38
+ The value to assign to the selection property of this PatchMergeInstruction.
39
+ :type selection: str
40
+
41
+ :param value:
42
+ The value to assign to the value property of this PatchMergeInstruction.
43
+ :type value: object
44
+
45
+ """
46
+ self.swagger_types = {
47
+ 'operation': 'str',
48
+ 'selection': 'str',
49
+ 'value': 'object'
50
+ }
51
+
52
+ self.attribute_map = {
53
+ 'operation': 'operation',
54
+ 'selection': 'selection',
55
+ 'value': 'value'
56
+ }
57
+
58
+ self._operation = None
59
+ self._selection = None
60
+ self._value = None
61
+ self._operation = 'MERGE'
62
+
63
+ @property
64
+ def value(self):
65
+ """
66
+ Gets the value of this PatchMergeInstruction.
67
+ A value to be merged into the target.
68
+
69
+
70
+ :return: The value of this PatchMergeInstruction.
71
+ :rtype: object
72
+ """
73
+ return self._value
74
+
75
+ @value.setter
76
+ def value(self, value):
77
+ """
78
+ Sets the value of this PatchMergeInstruction.
79
+ A value to be merged into the target.
80
+
81
+
82
+ :param value: The value of this PatchMergeInstruction.
83
+ :type: object
84
+ """
85
+ self._value = value
86
+
87
+ def __repr__(self):
88
+ return formatted_flat_dict(self)
89
+
90
+ def __eq__(self, other):
91
+ if other is None:
92
+ return False
93
+
94
+ return self.__dict__ == other.__dict__
95
+
96
+ def __ne__(self, other):
97
+ return not self == other