oci 2.115.1__py3-none-any.whl → 2.116.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 (478) hide show
  1. oci/__init__.py +2 -2
  2. oci/access_governance_cp/access_governance_cp_client.py +8 -8
  3. oci/adm/application_dependency_management_client.py +36 -36
  4. oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
  5. oci/ai_document/ai_service_document_client.py +22 -22
  6. oci/ai_language/ai_service_language_client.py +36 -36
  7. oci/ai_speech/ai_service_speech_client.py +9 -9
  8. oci/ai_speech/models/__init__.py +4 -0
  9. oci/ai_speech/models/create_transcription_job_details.py +4 -4
  10. oci/ai_speech/models/diarization.py +103 -0
  11. oci/ai_speech/models/transcription_job.py +6 -6
  12. oci/ai_speech/models/transcription_job_summary.py +6 -6
  13. oci/ai_speech/models/transcription_model_details.py +29 -2
  14. oci/ai_speech/models/transcription_settings.py +68 -0
  15. oci/ai_speech/models/update_transcription_job_details.py +4 -4
  16. oci/ai_vision/ai_service_vision_client.py +25 -25
  17. oci/analytics/analytics_client.py +23 -23
  18. oci/announcements_service/announcement_client.py +4 -4
  19. oci/announcements_service/announcement_subscription_client.py +9 -9
  20. oci/announcements_service/announcements_preferences_client.py +4 -4
  21. oci/apigateway/api_gateway_client.py +21 -21
  22. oci/apigateway/deployment_client.py +6 -6
  23. oci/apigateway/gateway_client.py +6 -6
  24. oci/apigateway/subscribers_client.py +6 -6
  25. oci/apigateway/usage_plans_client.py +6 -6
  26. oci/apigateway/work_requests_client.py +5 -5
  27. oci/apm_config/config_client.py +8 -8
  28. oci/apm_control_plane/apm_domain_client.py +14 -14
  29. oci/apm_synthetics/apm_synthetic_client.py +18 -18
  30. oci/apm_traces/query_client.py +2 -2
  31. oci/apm_traces/trace_client.py +4 -4
  32. oci/application_migration/application_migration_client.py +19 -19
  33. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  34. oci/artifacts/artifacts_client.py +32 -32
  35. oci/audit/audit_client.py +3 -3
  36. oci/autoscaling/auto_scaling_client.py +11 -11
  37. oci/bastion/bastion_client.py +15 -15
  38. oci/bds/bds_client.py +521 -47
  39. oci/bds/bds_client_composite_operations.py +123 -0
  40. oci/bds/models/__init__.py +14 -0
  41. oci/bds/models/certificate_service_info_details.py +72 -0
  42. oci/bds/models/certificate_service_info_summary.py +206 -0
  43. oci/bds/models/disable_certificate_details.py +103 -0
  44. oci/bds/models/enable_certificate_details.py +196 -0
  45. oci/bds/models/host_cert_details.py +134 -0
  46. oci/bds/models/host_specific_certificate_details.py +150 -0
  47. oci/bds/models/renew_certificate_details.py +196 -0
  48. oci/bds/models/work_request.py +7 -3
  49. oci/blockchain/blockchain_platform_client.py +27 -27
  50. oci/budget/budget_client.py +10 -10
  51. oci/certificates/certificates_client.py +5 -5
  52. oci/certificates_management/certificates_management_client.py +32 -32
  53. oci/cims/incident_client.py +8 -8
  54. oci/cims/user_client.py +1 -1
  55. oci/cloud_bridge/common_client.py +5 -5
  56. oci/cloud_bridge/discovery_client.py +14 -14
  57. oci/cloud_bridge/inventory_client.py +16 -16
  58. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  59. oci/cloud_guard/cloud_guard_client.py +133 -133
  60. oci/cloud_migrations/migration_client.py +43 -43
  61. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  62. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  63. oci/compute_instance_agent/plugin_client.py +2 -2
  64. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  65. oci/container_engine/container_engine_client.py +44 -44
  66. oci/container_instances/container_instance_client.py +18 -18
  67. oci/core/blockstorage_client.py +60 -60
  68. oci/core/compute_client.py +1480 -210
  69. oci/core/compute_client_composite_operations.py +195 -0
  70. oci/core/compute_management_client.py +32 -32
  71. oci/core/models/__init__.py +42 -0
  72. oci/core/models/capacity_source.py +101 -0
  73. oci/core/models/change_compute_capacity_topology_compartment_details.py +78 -0
  74. oci/core/models/compute_bare_metal_host.py +458 -0
  75. oci/core/models/compute_bare_metal_host_collection.py +72 -0
  76. oci/core/models/compute_bare_metal_host_summary.py +422 -0
  77. oci/core/models/compute_capacity_topology.py +425 -0
  78. oci/core/models/compute_capacity_topology_collection.py +72 -0
  79. oci/core/models/compute_capacity_topology_summary.py +370 -0
  80. oci/core/models/compute_hpc_island.py +267 -0
  81. oci/core/models/compute_hpc_island_collection.py +72 -0
  82. oci/core/models/compute_hpc_island_summary.py +251 -0
  83. oci/core/models/compute_network_block.py +302 -0
  84. oci/core/models/compute_network_block_collection.py +72 -0
  85. oci/core/models/compute_network_block_summary.py +286 -0
  86. oci/core/models/create_capacity_source_details.py +89 -0
  87. oci/core/models/create_compute_capacity_topology_details.py +253 -0
  88. oci/core/models/create_dedicated_capacity_source_details.py +85 -0
  89. oci/core/models/dedicated_capacity_source.py +86 -0
  90. oci/core/models/update_capacity_source_details.py +89 -0
  91. oci/core/models/update_compute_capacity_topology_details.py +183 -0
  92. oci/core/models/update_dedicated_capacity_source_details.py +50 -0
  93. oci/core/virtual_network_client.py +242 -242
  94. oci/dashboard_service/dashboard_client.py +6 -6
  95. oci/dashboard_service/dashboard_group_client.py +6 -6
  96. oci/data_catalog/data_catalog_client.py +141 -141
  97. oci/data_flow/data_flow_client.py +42 -42
  98. oci/data_integration/data_integration_client.py +163 -163
  99. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  100. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  101. oci/data_safe/data_safe_client.py +252 -252
  102. oci/data_science/data_science_client.py +91 -91
  103. oci/database/database_client.py +320 -320
  104. oci/database_management/db_management_client.py +182 -182
  105. oci/database_management/diagnosability_client.py +4 -4
  106. oci/database_management/managed_my_sql_databases_client.py +6 -6
  107. oci/database_management/perfhub_client.py +1 -1
  108. oci/database_management/sql_tuning_client.py +17 -17
  109. oci/database_migration/database_migration_client.py +41 -41
  110. oci/database_tools/database_tools_client.py +23 -23
  111. oci/devops/devops_client.py +89 -89
  112. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  113. oci/dns/dns_client.py +52 -52
  114. oci/dts/appliance_export_job_client.py +6 -6
  115. oci/dts/shipping_vendors_client.py +1 -1
  116. oci/dts/transfer_appliance_client.py +8 -8
  117. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  118. oci/dts/transfer_device_client.py +5 -5
  119. oci/dts/transfer_job_client.py +6 -6
  120. oci/dts/transfer_package_client.py +7 -7
  121. oci/em_warehouse/em_data_lake_client.py +13 -13
  122. oci/em_warehouse/em_warehouse_client.py +13 -13
  123. oci/email/email_client.py +25 -25
  124. oci/events/events_client.py +6 -6
  125. oci/file_storage/file_storage_client.py +50 -50
  126. oci/fleet_software_update/fleet_software_update_client.py +44 -44
  127. oci/functions/functions_invoke_client.py +1 -1
  128. oci/functions/functions_management_client.py +16 -16
  129. oci/fusion_apps/data_masking_activity_client.py +3 -3
  130. oci/fusion_apps/fusion_applications_client.py +39 -39
  131. oci/fusion_apps/fusion_environment_client.py +15 -15
  132. oci/fusion_apps/fusion_environment_family_client.py +8 -8
  133. oci/fusion_apps/refresh_activity_client.py +4 -4
  134. oci/fusion_apps/scheduled_activity_client.py +2 -2
  135. oci/fusion_apps/service_attachment_client.py +2 -2
  136. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  137. oci/golden_gate/golden_gate_client.py +57 -57
  138. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  139. oci/governance_rules_control_plane/work_request_client.py +5 -5
  140. oci/healthchecks/health_checks_client.py +17 -17
  141. oci/identity/identity_client.py +145 -145
  142. oci/identity_data_plane/dataplane_client.py +2 -2
  143. oci/identity_domains/identity_domains_client.py +20355 -6173
  144. oci/identity_domains/models/__init__.py +216 -0
  145. oci/identity_domains/models/app_extension_radius_app_app.py +55 -0
  146. oci/identity_domains/models/approval_workflow.py +832 -0
  147. oci/identity_domains/models/approval_workflow_approval_workflow_steps.py +294 -0
  148. oci/identity_domains/models/approval_workflow_assignment.py +771 -0
  149. oci/identity_domains/models/approval_workflow_assignment_approval_workflow.py +318 -0
  150. oci/identity_domains/models/approval_workflow_assignment_assigned_to.py +318 -0
  151. oci/identity_domains/models/approval_workflow_assignments.py +196 -0
  152. oci/identity_domains/models/approval_workflow_max_duration.py +185 -0
  153. oci/identity_domains/models/approval_workflow_step.py +929 -0
  154. oci/identity_domains/models/approval_workflow_step_approvers.py +294 -0
  155. oci/identity_domains/models/approval_workflow_steps.py +196 -0
  156. oci/identity_domains/models/approval_workflows.py +196 -0
  157. oci/identity_domains/models/authentication_factors_remover.py +51 -2
  158. oci/identity_domains/models/branding_setting.py +1556 -0
  159. oci/identity_domains/models/branding_settings.py +196 -0
  160. oci/identity_domains/models/branding_settings_company_names.py +131 -0
  161. oci/identity_domains/models/branding_settings_default_company_names.py +143 -0
  162. oci/identity_domains/models/branding_settings_default_images.py +188 -0
  163. oci/identity_domains/models/branding_settings_default_login_texts.py +143 -0
  164. oci/identity_domains/models/branding_settings_images.py +176 -0
  165. oci/identity_domains/models/branding_settings_login_texts.py +131 -0
  166. oci/identity_domains/models/cloud_gate.py +1239 -0
  167. oci/identity_domains/models/cloud_gate_ext_mappings.py +610 -0
  168. oci/identity_domains/models/cloud_gate_ext_servers.py +296 -0
  169. oci/identity_domains/models/cloud_gate_ext_upstream_server_groups.py +316 -0
  170. oci/identity_domains/models/cloud_gate_ext_upstream_servers.py +426 -0
  171. oci/identity_domains/models/cloud_gate_mapping.py +1068 -0
  172. oci/identity_domains/models/cloud_gate_mapping_cloud_gate.py +153 -0
  173. oci/identity_domains/models/cloud_gate_mapping_gateway_app.py +204 -0
  174. oci/identity_domains/models/cloud_gate_mapping_search_request.py +364 -0
  175. oci/identity_domains/models/cloud_gate_mapping_server.py +153 -0
  176. oci/identity_domains/models/cloud_gate_mapping_upstream_server_group.py +217 -0
  177. oci/identity_domains/models/cloud_gate_mappings.py +196 -0
  178. oci/identity_domains/models/cloud_gate_oauth_client.py +208 -0
  179. oci/identity_domains/models/cloud_gate_search_request.py +364 -0
  180. oci/identity_domains/models/cloud_gate_server.py +1042 -0
  181. oci/identity_domains/models/cloud_gate_server_cloud_gate.py +153 -0
  182. oci/identity_domains/models/cloud_gate_server_search_request.py +364 -0
  183. oci/identity_domains/models/cloud_gate_servers.py +196 -0
  184. oci/identity_domains/models/cloud_gates.py +196 -0
  185. oci/identity_domains/models/condition.py +1063 -0
  186. oci/identity_domains/models/condition_search_request.py +364 -0
  187. oci/identity_domains/models/conditions.py +196 -0
  188. oci/identity_domains/models/defined_tags.py +2 -0
  189. oci/identity_domains/models/extension_social_identity_provider.py +55 -0
  190. oci/identity_domains/models/freeform_tags.py +2 -0
  191. oci/identity_domains/models/identity_provider_relay_idp_param_mappings.py +159 -0
  192. oci/identity_domains/models/me_password_changer.py +2 -2
  193. oci/identity_domains/models/my_authentication_factors_remover.py +51 -2
  194. oci/identity_domains/models/my_completed_approval.py +1146 -0
  195. oci/identity_domains/models/my_completed_approvals.py +196 -0
  196. oci/identity_domains/models/my_pending_approval.py +1146 -0
  197. oci/identity_domains/models/my_pending_approvals.py +196 -0
  198. oci/identity_domains/models/my_request.py +217 -2
  199. oci/identity_domains/models/my_request_approval_details.py +398 -0
  200. oci/identity_domains/models/my_request_requesting.py +53 -0
  201. oci/identity_domains/models/network_perimeter.py +852 -0
  202. oci/identity_domains/models/network_perimeter_ip_addresses.py +228 -0
  203. oci/identity_domains/models/network_perimeter_search_request.py +364 -0
  204. oci/identity_domains/models/network_perimeters.py +196 -0
  205. oci/identity_domains/models/notification_setting.py +1038 -0
  206. oci/identity_domains/models/notification_settings.py +196 -0
  207. oci/identity_domains/models/notification_settings_event_settings.py +143 -0
  208. oci/identity_domains/models/notification_settings_from_email_address.py +278 -0
  209. oci/identity_domains/models/notification_settings_search_request.py +171 -0
  210. oci/identity_domains/models/o_auth_client_certificate.py +1187 -0
  211. oci/identity_domains/models/o_auth_client_certificate_search_request.py +364 -0
  212. oci/identity_domains/models/o_auth_client_certificates.py +196 -0
  213. oci/identity_domains/models/o_auth_partner_certificate.py +1187 -0
  214. oci/identity_domains/models/o_auth_partner_certificate_search_request.py +364 -0
  215. oci/identity_domains/models/o_auth_partner_certificates.py +196 -0
  216. oci/identity_domains/models/policies.py +196 -0
  217. oci/identity_domains/models/policy.py +979 -0
  218. oci/identity_domains/models/policy_policy_type.py +150 -0
  219. oci/identity_domains/models/policy_rules.py +247 -0
  220. oci/identity_domains/models/policy_search_request.py +364 -0
  221. oci/identity_domains/models/rule.py +1110 -0
  222. oci/identity_domains/models/rule_condition_group.py +270 -0
  223. oci/identity_domains/models/rule_policy_type.py +150 -0
  224. oci/identity_domains/models/rule_return.py +188 -0
  225. oci/identity_domains/models/rule_search_request.py +364 -0
  226. oci/identity_domains/models/rules.py +196 -0
  227. oci/identity_domains/models/schema.py +537 -0
  228. oci/identity_domains/models/schema_attributes.py +4165 -0
  229. oci/identity_domains/models/schema_idcs_complex_attribute_name_mappings.py +188 -0
  230. oci/identity_domains/models/schema_idcs_csv_attribute_name_mappings.py +433 -0
  231. oci/identity_domains/models/schema_localized_canonical_values.py +188 -0
  232. oci/identity_domains/models/schema_localized_display_name.py +147 -0
  233. oci/identity_domains/models/schema_referenced_resource_type_unique_attribute_name_mappings.py +139 -0
  234. oci/identity_domains/models/schema_resolve_value_using_resource_type.py +139 -0
  235. oci/identity_domains/models/schema_search_request.py +329 -0
  236. oci/identity_domains/models/schema_sub_attributes.py +3209 -0
  237. oci/identity_domains/models/schemas.py +196 -0
  238. oci/identity_domains/models/self_registration_profile.py +1636 -0
  239. oci/identity_domains/models/self_registration_profile_after_submit_text.py +194 -0
  240. oci/identity_domains/models/self_registration_profile_consent_text.py +194 -0
  241. oci/identity_domains/models/self_registration_profile_default_groups.py +190 -0
  242. oci/identity_domains/models/self_registration_profile_display_name.py +194 -0
  243. oci/identity_domains/models/self_registration_profile_email_template.py +202 -0
  244. oci/identity_domains/models/self_registration_profile_footer_text.py +194 -0
  245. oci/identity_domains/models/self_registration_profile_header_text.py +194 -0
  246. oci/identity_domains/models/self_registration_profile_search_request.py +364 -0
  247. oci/identity_domains/models/self_registration_profile_user_attributes.py +286 -0
  248. oci/identity_domains/models/self_registration_profiles.py +196 -0
  249. oci/identity_domains/models/setting.py +3110 -0
  250. oci/identity_domains/models/settings.py +196 -0
  251. oci/identity_domains/models/settings_certificate_validation.py +566 -0
  252. oci/identity_domains/models/settings_cloud_gate_cors_settings.py +318 -0
  253. oci/identity_domains/models/settings_company_names.py +135 -0
  254. oci/identity_domains/models/settings_default_company_names.py +143 -0
  255. oci/identity_domains/models/settings_default_images.py +188 -0
  256. oci/identity_domains/models/settings_default_login_texts.py +145 -0
  257. oci/identity_domains/models/settings_images.py +176 -0
  258. oci/identity_domains/models/settings_login_texts.py +137 -0
  259. oci/identity_domains/models/settings_purge_configs.py +139 -0
  260. oci/identity_domains/models/settings_search_request.py +171 -0
  261. oci/identity_domains/models/settings_tenant_custom_claims.py +438 -0
  262. oci/identity_domains/models/user_ext_risk_scores.py +4 -0
  263. oci/integration/integration_instance_client.py +15 -15
  264. oci/jms/java_management_service_client.py +66 -66
  265. oci/jms_java_downloads/java_download_client.py +25 -25
  266. oci/key_management/ekm_client.py +5 -5
  267. oci/key_management/kms_crypto_client.py +6 -6
  268. oci/key_management/kms_management_client.py +21 -21
  269. oci/key_management/kms_vault_client.py +14 -14
  270. oci/license_manager/license_manager_client.py +18 -18
  271. oci/limits/limits_client.py +4 -4
  272. oci/limits/quotas_client.py +7 -7
  273. oci/load_balancer/load_balancer_client.py +61 -61
  274. oci/lockbox/lockbox_client.py +23 -23
  275. oci/log_analytics/log_analytics_client.py +192 -192
  276. oci/logging/logging_management_client.py +30 -30
  277. oci/loggingingestion/logging_client.py +1 -1
  278. oci/loggingsearch/log_search_client.py +1 -1
  279. oci/management_agent/management_agent_client.py +23 -23
  280. oci/management_dashboard/dashx_apis_client.py +14 -14
  281. oci/marketplace/account_client.py +2 -2
  282. oci/marketplace/marketplace_client.py +30 -30
  283. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  284. oci/media_services/media_services_client.py +48 -48
  285. oci/media_services/media_stream_client.py +2 -2
  286. oci/monitoring/monitoring_client.py +13 -13
  287. oci/mysql/channels_client.py +7 -7
  288. oci/mysql/db_backups_client.py +6 -6
  289. oci/mysql/db_system_client.py +17 -17
  290. oci/mysql/mysqlaas_client.py +7 -7
  291. oci/mysql/replicas_client.py +5 -5
  292. oci/mysql/work_requests_client.py +4 -4
  293. oci/network_firewall/network_firewall_client.py +80 -80
  294. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  295. oci/nosql/nosql_client.py +24 -24
  296. oci/object_storage/object_storage_client.py +50 -50
  297. oci/oce/oce_instance_client.py +10 -10
  298. oci/oci_control_center/occ_metrics_client.py +3 -3
  299. oci/ocvp/esxi_host_client.py +6 -6
  300. oci/ocvp/sddc_client.py +13 -13
  301. oci/ocvp/work_request_client.py +4 -4
  302. oci/oda/management_client.py +56 -56
  303. oci/oda/oda_client.py +17 -17
  304. oci/oda/odapackage_client.py +7 -7
  305. oci/onesubscription/billing_schedule_client.py +1 -1
  306. oci/onesubscription/commitment_client.py +2 -2
  307. oci/onesubscription/computed_usage_client.py +3 -3
  308. oci/onesubscription/invoice_summary_client.py +2 -2
  309. oci/onesubscription/organization_subscription_client.py +1 -1
  310. oci/onesubscription/ratecard_client.py +1 -1
  311. oci/onesubscription/subscribed_service_client.py +2 -2
  312. oci/onesubscription/subscription_client.py +1 -1
  313. oci/ons/notification_control_plane_client.py +6 -6
  314. oci/ons/notification_data_plane_client.py +10 -10
  315. oci/opa/opa_instance_client.py +11 -11
  316. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  317. oci/opensearch/opensearch_cluster_client.py +14 -14
  318. oci/operator_access_control/access_requests_client.py +9 -9
  319. oci/operator_access_control/operator_actions_client.py +2 -2
  320. oci/operator_access_control/operator_control_assignment_client.py +6 -6
  321. oci/operator_access_control/operator_control_client.py +6 -6
  322. oci/opsi/operations_insights_client.py +159 -159
  323. oci/optimizer/optimizer_client.py +26 -26
  324. oci/os_management/event_client.py +8 -8
  325. oci/os_management/os_management_client.py +69 -69
  326. oci/os_management_hub/lifecycle_environment_client.py +11 -11
  327. oci/os_management_hub/managed_instance_client.py +22 -22
  328. oci/os_management_hub/managed_instance_group_client.py +22 -22
  329. oci/os_management_hub/management_station_client.py +8 -8
  330. oci/os_management_hub/onboarding_client.py +5 -5
  331. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  332. oci/os_management_hub/scheduled_job_client.py +6 -6
  333. oci/os_management_hub/software_source_client.py +22 -22
  334. oci/os_management_hub/work_request_client.py +4 -4
  335. oci/osp_gateway/address_rule_service_client.py +1 -1
  336. oci/osp_gateway/address_service_client.py +2 -2
  337. oci/osp_gateway/invoice_service_client.py +5 -5
  338. oci/osp_gateway/subscription_service_client.py +5 -5
  339. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  340. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  341. oci/osub_subscription/commitment_client.py +2 -2
  342. oci/osub_subscription/ratecard_client.py +1 -1
  343. oci/osub_subscription/subscription_client.py +1 -1
  344. oci/osub_usage/computed_usage_client.py +3 -3
  345. oci/psql/__init__.py +14 -0
  346. oci/psql/models/__init__.py +166 -0
  347. oci/psql/models/backup.py +645 -0
  348. oci/psql/models/backup_collection.py +72 -0
  349. oci/psql/models/backup_policy.py +156 -0
  350. oci/psql/models/backup_source_details.py +113 -0
  351. oci/psql/models/backup_summary.py +481 -0
  352. oci/psql/models/change_backup_compartment_details.py +74 -0
  353. oci/psql/models/change_configuration_compartment_details.py +74 -0
  354. oci/psql/models/change_db_system_compartment_details.py +78 -0
  355. oci/psql/models/config_overrides.py +103 -0
  356. oci/psql/models/config_params.py +289 -0
  357. oci/psql/models/configuration.py +532 -0
  358. oci/psql/models/configuration_collection.py +72 -0
  359. oci/psql/models/configuration_details.py +72 -0
  360. oci/psql/models/configuration_summary.py +450 -0
  361. oci/psql/models/connection_details.py +134 -0
  362. oci/psql/models/create_backup_details.py +262 -0
  363. oci/psql/models/create_configuration_details.py +384 -0
  364. oci/psql/models/create_db_instance_details.py +136 -0
  365. oci/psql/models/create_db_system_details.py +585 -0
  366. oci/psql/models/credentials.py +100 -0
  367. oci/psql/models/daily_backup_policy.py +89 -0
  368. oci/psql/models/db_configuration_override_collection.py +72 -0
  369. oci/psql/models/db_instance.py +325 -0
  370. oci/psql/models/db_instance_endpoint.py +99 -0
  371. oci/psql/models/db_system.py +827 -0
  372. oci/psql/models/db_system_collection.py +72 -0
  373. oci/psql/models/db_system_details.py +103 -0
  374. oci/psql/models/db_system_summary.py +574 -0
  375. oci/psql/models/default_config_params.py +258 -0
  376. oci/psql/models/default_configuration.py +406 -0
  377. oci/psql/models/default_configuration_collection.py +72 -0
  378. oci/psql/models/default_configuration_details.py +72 -0
  379. oci/psql/models/default_configuration_summary.py +320 -0
  380. oci/psql/models/endpoint.py +134 -0
  381. oci/psql/models/failover_db_system_details.py +107 -0
  382. oci/psql/models/management_policy.py +99 -0
  383. oci/psql/models/management_policy_details.py +99 -0
  384. oci/psql/models/monthly_backup_policy.py +122 -0
  385. oci/psql/models/network_details.py +136 -0
  386. oci/psql/models/none_backup_policy.py +58 -0
  387. oci/psql/models/none_source_details.py +51 -0
  388. oci/psql/models/oci_optimized_storage_details.py +95 -0
  389. oci/psql/models/password_details.py +110 -0
  390. oci/psql/models/patch_db_system_details.py +74 -0
  391. oci/psql/models/patch_insert_instruction.py +171 -0
  392. oci/psql/models/patch_instruction.py +184 -0
  393. oci/psql/models/patch_merge_instruction.py +97 -0
  394. oci/psql/models/patch_move_instruction.py +147 -0
  395. oci/psql/models/patch_prohibit_instruction.py +100 -0
  396. oci/psql/models/patch_remove_instruction.py +59 -0
  397. oci/psql/models/patch_replace_instruction.py +92 -0
  398. oci/psql/models/patch_require_instruction.py +99 -0
  399. oci/psql/models/plain_text_password_details.py +82 -0
  400. oci/psql/models/primary_db_instance_details.py +72 -0
  401. oci/psql/models/reset_master_user_password_details.py +69 -0
  402. oci/psql/models/restart_db_instance_in_db_system_details.py +119 -0
  403. oci/psql/models/restore_db_system_details.py +105 -0
  404. oci/psql/models/shape_collection.py +72 -0
  405. oci/psql/models/shape_summary.py +165 -0
  406. oci/psql/models/source_details.py +109 -0
  407. oci/psql/models/storage_details.py +161 -0
  408. oci/psql/models/update_backup_details.py +200 -0
  409. oci/psql/models/update_configuration_details.py +103 -0
  410. oci/psql/models/update_db_config_params.py +121 -0
  411. oci/psql/models/update_db_system_db_instance_details.py +103 -0
  412. oci/psql/models/update_db_system_details.py +250 -0
  413. oci/psql/models/update_storage_details_params.py +74 -0
  414. oci/psql/models/vault_secret_password_details.py +113 -0
  415. oci/psql/models/weekly_backup_policy.py +157 -0
  416. oci/psql/models/work_request.py +412 -0
  417. oci/psql/models/work_request_error.py +136 -0
  418. oci/psql/models/work_request_error_collection.py +72 -0
  419. oci/psql/models/work_request_log_entry.py +103 -0
  420. oci/psql/models/work_request_log_entry_collection.py +72 -0
  421. oci/psql/models/work_request_resource.py +228 -0
  422. oci/psql/models/work_request_summary.py +412 -0
  423. oci/psql/models/work_request_summary_collection.py +72 -0
  424. oci/psql/postgresql_client.py +3980 -0
  425. oci/psql/postgresql_client_composite_operations.py +807 -0
  426. oci/queue/queue_admin_client.py +11 -11
  427. oci/queue/queue_client.py +8 -8
  428. oci/recovery/database_recovery_client.py +23 -23
  429. oci/redis/redis_cluster_client.py +11 -11
  430. oci/resource_manager/resource_manager_client.py +52 -52
  431. oci/resource_search/resource_search_client.py +3 -3
  432. oci/rover/rover_bundle_client.py +8 -8
  433. oci/rover/rover_cluster_client.py +8 -8
  434. oci/rover/rover_entitlement_client.py +6 -6
  435. oci/rover/rover_node_client.py +15 -15
  436. oci/rover/shape_client.py +1 -1
  437. oci/rover/work_requests_client.py +5 -5
  438. oci/sch/service_connector_client.py +12 -12
  439. oci/secrets/secrets_client.py +3 -3
  440. oci/service_catalog/service_catalog_client.py +26 -26
  441. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  442. oci/service_mesh/service_mesh_client.py +48 -48
  443. oci/stack_monitoring/stack_monitoring_client.py +58 -58
  444. oci/streaming/stream_admin_client.py +18 -18
  445. oci/streaming/stream_client.py +8 -8
  446. oci/tenant_manager_control_plane/domain_client.py +5 -5
  447. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  448. oci/tenant_manager_control_plane/governance_client.py +2 -2
  449. oci/tenant_manager_control_plane/link_client.py +3 -3
  450. oci/tenant_manager_control_plane/orders_client.py +2 -2
  451. oci/tenant_manager_control_plane/organization_client.py +10 -10
  452. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  453. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  454. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  455. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  456. oci/threat_intelligence/threatintel_client.py +5 -5
  457. oci/usage/resources_client.py +2 -2
  458. oci/usage/rewards_client.py +6 -6
  459. oci/usage/usagelimits_client.py +1 -1
  460. oci/usage_api/usageapi_client.py +19 -19
  461. oci/vault/vaults_client.py +11 -11
  462. oci/vbs_inst/vbs_instance_client.py +10 -10
  463. oci/version.py +1 -1
  464. oci/visual_builder/vb_instance_client.py +13 -13
  465. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  466. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  467. oci/waa/waa_client.py +13 -13
  468. oci/waa/work_request_client.py +4 -4
  469. oci/waas/redirect_client.py +6 -6
  470. oci/waas/waas_client.py +66 -66
  471. oci/waf/waf_client.py +24 -24
  472. oci/work_requests/work_request_client.py +4 -4
  473. {oci-2.115.1.dist-info → oci-2.116.0.dist-info}/METADATA +1 -1
  474. {oci-2.115.1.dist-info → oci-2.116.0.dist-info}/RECORD +478 -259
  475. {oci-2.115.1.dist-info → oci-2.116.0.dist-info}/LICENSE.txt +0 -0
  476. {oci-2.115.1.dist-info → oci-2.116.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  477. {oci-2.115.1.dist-info → oci-2.116.0.dist-info}/WHEEL +0 -0
  478. {oci-2.115.1.dist-info → oci-2.116.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,250 @@
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 UpdateDbSystemDetails(object):
14
+ """
15
+ The information to be updated.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new UpdateDbSystemDetails object with values from keyword arguments.
21
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
22
+
23
+ :param display_name:
24
+ The value to assign to the display_name property of this UpdateDbSystemDetails.
25
+ :type display_name: str
26
+
27
+ :param description:
28
+ The value to assign to the description property of this UpdateDbSystemDetails.
29
+ :type description: str
30
+
31
+ :param db_configuration_params:
32
+ The value to assign to the db_configuration_params property of this UpdateDbSystemDetails.
33
+ :type db_configuration_params: oci.psql.models.UpdateDbConfigParams
34
+
35
+ :param management_policy:
36
+ The value to assign to the management_policy property of this UpdateDbSystemDetails.
37
+ :type management_policy: oci.psql.models.ManagementPolicyDetails
38
+
39
+ :param storage_details:
40
+ The value to assign to the storage_details property of this UpdateDbSystemDetails.
41
+ :type storage_details: oci.psql.models.UpdateStorageDetailsParams
42
+
43
+ :param freeform_tags:
44
+ The value to assign to the freeform_tags property of this UpdateDbSystemDetails.
45
+ :type freeform_tags: dict(str, str)
46
+
47
+ :param defined_tags:
48
+ The value to assign to the defined_tags property of this UpdateDbSystemDetails.
49
+ :type defined_tags: dict(str, dict(str, object))
50
+
51
+ """
52
+ self.swagger_types = {
53
+ 'display_name': 'str',
54
+ 'description': 'str',
55
+ 'db_configuration_params': 'UpdateDbConfigParams',
56
+ 'management_policy': 'ManagementPolicyDetails',
57
+ 'storage_details': 'UpdateStorageDetailsParams',
58
+ 'freeform_tags': 'dict(str, str)',
59
+ 'defined_tags': 'dict(str, dict(str, object))'
60
+ }
61
+
62
+ self.attribute_map = {
63
+ 'display_name': 'displayName',
64
+ 'description': 'description',
65
+ 'db_configuration_params': 'dbConfigurationParams',
66
+ 'management_policy': 'managementPolicy',
67
+ 'storage_details': 'storageDetails',
68
+ 'freeform_tags': 'freeformTags',
69
+ 'defined_tags': 'definedTags'
70
+ }
71
+
72
+ self._display_name = None
73
+ self._description = None
74
+ self._db_configuration_params = None
75
+ self._management_policy = None
76
+ self._storage_details = None
77
+ self._freeform_tags = None
78
+ self._defined_tags = None
79
+
80
+ @property
81
+ def display_name(self):
82
+ """
83
+ Gets the display_name of this UpdateDbSystemDetails.
84
+ DbSystem display name.
85
+
86
+
87
+ :return: The display_name of this UpdateDbSystemDetails.
88
+ :rtype: str
89
+ """
90
+ return self._display_name
91
+
92
+ @display_name.setter
93
+ def display_name(self, display_name):
94
+ """
95
+ Sets the display_name of this UpdateDbSystemDetails.
96
+ DbSystem display name.
97
+
98
+
99
+ :param display_name: The display_name of this UpdateDbSystemDetails.
100
+ :type: str
101
+ """
102
+ self._display_name = display_name
103
+
104
+ @property
105
+ def description(self):
106
+ """
107
+ Gets the description of this UpdateDbSystemDetails.
108
+ Description of a DbSystem. This field should be input by the user.
109
+
110
+
111
+ :return: The description of this UpdateDbSystemDetails.
112
+ :rtype: str
113
+ """
114
+ return self._description
115
+
116
+ @description.setter
117
+ def description(self, description):
118
+ """
119
+ Sets the description of this UpdateDbSystemDetails.
120
+ Description of a DbSystem. This field should be input by the user.
121
+
122
+
123
+ :param description: The description of this UpdateDbSystemDetails.
124
+ :type: str
125
+ """
126
+ self._description = description
127
+
128
+ @property
129
+ def db_configuration_params(self):
130
+ """
131
+ Gets the db_configuration_params of this UpdateDbSystemDetails.
132
+
133
+ :return: The db_configuration_params of this UpdateDbSystemDetails.
134
+ :rtype: oci.psql.models.UpdateDbConfigParams
135
+ """
136
+ return self._db_configuration_params
137
+
138
+ @db_configuration_params.setter
139
+ def db_configuration_params(self, db_configuration_params):
140
+ """
141
+ Sets the db_configuration_params of this UpdateDbSystemDetails.
142
+
143
+ :param db_configuration_params: The db_configuration_params of this UpdateDbSystemDetails.
144
+ :type: oci.psql.models.UpdateDbConfigParams
145
+ """
146
+ self._db_configuration_params = db_configuration_params
147
+
148
+ @property
149
+ def management_policy(self):
150
+ """
151
+ Gets the management_policy of this UpdateDbSystemDetails.
152
+
153
+ :return: The management_policy of this UpdateDbSystemDetails.
154
+ :rtype: oci.psql.models.ManagementPolicyDetails
155
+ """
156
+ return self._management_policy
157
+
158
+ @management_policy.setter
159
+ def management_policy(self, management_policy):
160
+ """
161
+ Sets the management_policy of this UpdateDbSystemDetails.
162
+
163
+ :param management_policy: The management_policy of this UpdateDbSystemDetails.
164
+ :type: oci.psql.models.ManagementPolicyDetails
165
+ """
166
+ self._management_policy = management_policy
167
+
168
+ @property
169
+ def storage_details(self):
170
+ """
171
+ Gets the storage_details of this UpdateDbSystemDetails.
172
+
173
+ :return: The storage_details of this UpdateDbSystemDetails.
174
+ :rtype: oci.psql.models.UpdateStorageDetailsParams
175
+ """
176
+ return self._storage_details
177
+
178
+ @storage_details.setter
179
+ def storage_details(self, storage_details):
180
+ """
181
+ Sets the storage_details of this UpdateDbSystemDetails.
182
+
183
+ :param storage_details: The storage_details of this UpdateDbSystemDetails.
184
+ :type: oci.psql.models.UpdateStorageDetailsParams
185
+ """
186
+ self._storage_details = storage_details
187
+
188
+ @property
189
+ def freeform_tags(self):
190
+ """
191
+ Gets the freeform_tags of this UpdateDbSystemDetails.
192
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
193
+ Example: `{\"bar-key\": \"value\"}`
194
+
195
+
196
+ :return: The freeform_tags of this UpdateDbSystemDetails.
197
+ :rtype: dict(str, str)
198
+ """
199
+ return self._freeform_tags
200
+
201
+ @freeform_tags.setter
202
+ def freeform_tags(self, freeform_tags):
203
+ """
204
+ Sets the freeform_tags of this UpdateDbSystemDetails.
205
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
206
+ Example: `{\"bar-key\": \"value\"}`
207
+
208
+
209
+ :param freeform_tags: The freeform_tags of this UpdateDbSystemDetails.
210
+ :type: dict(str, str)
211
+ """
212
+ self._freeform_tags = freeform_tags
213
+
214
+ @property
215
+ def defined_tags(self):
216
+ """
217
+ Gets the defined_tags of this UpdateDbSystemDetails.
218
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
219
+ Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
220
+
221
+
222
+ :return: The defined_tags of this UpdateDbSystemDetails.
223
+ :rtype: dict(str, dict(str, object))
224
+ """
225
+ return self._defined_tags
226
+
227
+ @defined_tags.setter
228
+ def defined_tags(self, defined_tags):
229
+ """
230
+ Sets the defined_tags of this UpdateDbSystemDetails.
231
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
232
+ Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
233
+
234
+
235
+ :param defined_tags: The defined_tags of this UpdateDbSystemDetails.
236
+ :type: dict(str, dict(str, object))
237
+ """
238
+ self._defined_tags = defined_tags
239
+
240
+ def __repr__(self):
241
+ return formatted_flat_dict(self)
242
+
243
+ def __eq__(self, other):
244
+ if other is None:
245
+ return False
246
+
247
+ return self.__dict__ == other.__dict__
248
+
249
+ def __ne__(self, other):
250
+ 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 UpdateStorageDetailsParams(object):
14
+ """
15
+ Storage details of the DbSystem.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new UpdateStorageDetailsParams object with values from keyword arguments.
21
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
22
+
23
+ :param iops:
24
+ The value to assign to the iops property of this UpdateStorageDetailsParams.
25
+ :type iops: int
26
+
27
+ """
28
+ self.swagger_types = {
29
+ 'iops': 'int'
30
+ }
31
+
32
+ self.attribute_map = {
33
+ 'iops': 'iops'
34
+ }
35
+
36
+ self._iops = None
37
+
38
+ @property
39
+ def iops(self):
40
+ """
41
+ Gets the iops of this UpdateStorageDetailsParams.
42
+ DbSystem Performance Unit.
43
+ Only valid for `OCI_OPTIMIZED_STORAGE` dbSystem type.
44
+
45
+
46
+ :return: The iops of this UpdateStorageDetailsParams.
47
+ :rtype: int
48
+ """
49
+ return self._iops
50
+
51
+ @iops.setter
52
+ def iops(self, iops):
53
+ """
54
+ Sets the iops of this UpdateStorageDetailsParams.
55
+ DbSystem Performance Unit.
56
+ Only valid for `OCI_OPTIMIZED_STORAGE` dbSystem type.
57
+
58
+
59
+ :param iops: The iops of this UpdateStorageDetailsParams.
60
+ :type: int
61
+ """
62
+ self._iops = iops
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,113 @@
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 .password_details import PasswordDetails
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 VaultSecretPasswordDetails(PasswordDetails):
14
+ """
15
+ Secret details for the DbSystem password.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new VaultSecretPasswordDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.psql.models.VaultSecretPasswordDetails.password_type` attribute
21
+ of this class is ``VAULT_SECRET`` and it should not be changed.
22
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
23
+
24
+ :param password_type:
25
+ The value to assign to the password_type property of this VaultSecretPasswordDetails.
26
+ Allowed values for this property are: "PLAIN_TEXT", "VAULT_SECRET"
27
+ :type password_type: str
28
+
29
+ :param secret_id:
30
+ The value to assign to the secret_id property of this VaultSecretPasswordDetails.
31
+ :type secret_id: str
32
+
33
+ :param secret_version:
34
+ The value to assign to the secret_version property of this VaultSecretPasswordDetails.
35
+ :type secret_version: str
36
+
37
+ """
38
+ self.swagger_types = {
39
+ 'password_type': 'str',
40
+ 'secret_id': 'str',
41
+ 'secret_version': 'str'
42
+ }
43
+
44
+ self.attribute_map = {
45
+ 'password_type': 'passwordType',
46
+ 'secret_id': 'secretId',
47
+ 'secret_version': 'secretVersion'
48
+ }
49
+
50
+ self._password_type = None
51
+ self._secret_id = None
52
+ self._secret_version = None
53
+ self._password_type = 'VAULT_SECRET'
54
+
55
+ @property
56
+ def secret_id(self):
57
+ """
58
+ **[Required]** Gets the secret_id of this VaultSecretPasswordDetails.
59
+ The OCID of secret where the password is stored.
60
+
61
+
62
+ :return: The secret_id of this VaultSecretPasswordDetails.
63
+ :rtype: str
64
+ """
65
+ return self._secret_id
66
+
67
+ @secret_id.setter
68
+ def secret_id(self, secret_id):
69
+ """
70
+ Sets the secret_id of this VaultSecretPasswordDetails.
71
+ The OCID of secret where the password is stored.
72
+
73
+
74
+ :param secret_id: The secret_id of this VaultSecretPasswordDetails.
75
+ :type: str
76
+ """
77
+ self._secret_id = secret_id
78
+
79
+ @property
80
+ def secret_version(self):
81
+ """
82
+ **[Required]** Gets the secret_version of this VaultSecretPasswordDetails.
83
+ The secret version where the password is stored.
84
+
85
+
86
+ :return: The secret_version of this VaultSecretPasswordDetails.
87
+ :rtype: str
88
+ """
89
+ return self._secret_version
90
+
91
+ @secret_version.setter
92
+ def secret_version(self, secret_version):
93
+ """
94
+ Sets the secret_version of this VaultSecretPasswordDetails.
95
+ The secret version where the password is stored.
96
+
97
+
98
+ :param secret_version: The secret_version of this VaultSecretPasswordDetails.
99
+ :type: str
100
+ """
101
+ self._secret_version = secret_version
102
+
103
+ def __repr__(self):
104
+ return formatted_flat_dict(self)
105
+
106
+ def __eq__(self, other):
107
+ if other is None:
108
+ return False
109
+
110
+ return self.__dict__ == other.__dict__
111
+
112
+ def __ne__(self, other):
113
+ return not self == other
@@ -0,0 +1,157 @@
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 .backup_policy import BackupPolicy
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 WeeklyBackupPolicy(BackupPolicy):
14
+ """
15
+ Weekly backup policy
16
+ """
17
+
18
+ #: A constant which can be used with the days_of_the_week property of a WeeklyBackupPolicy.
19
+ #: This constant has a value of "SUNDAY"
20
+ DAYS_OF_THE_WEEK_SUNDAY = "SUNDAY"
21
+
22
+ #: A constant which can be used with the days_of_the_week property of a WeeklyBackupPolicy.
23
+ #: This constant has a value of "MONDAY"
24
+ DAYS_OF_THE_WEEK_MONDAY = "MONDAY"
25
+
26
+ #: A constant which can be used with the days_of_the_week property of a WeeklyBackupPolicy.
27
+ #: This constant has a value of "TUESDAY"
28
+ DAYS_OF_THE_WEEK_TUESDAY = "TUESDAY"
29
+
30
+ #: A constant which can be used with the days_of_the_week property of a WeeklyBackupPolicy.
31
+ #: This constant has a value of "WEDNESDAY"
32
+ DAYS_OF_THE_WEEK_WEDNESDAY = "WEDNESDAY"
33
+
34
+ #: A constant which can be used with the days_of_the_week property of a WeeklyBackupPolicy.
35
+ #: This constant has a value of "THURSDAY"
36
+ DAYS_OF_THE_WEEK_THURSDAY = "THURSDAY"
37
+
38
+ #: A constant which can be used with the days_of_the_week property of a WeeklyBackupPolicy.
39
+ #: This constant has a value of "FRIDAY"
40
+ DAYS_OF_THE_WEEK_FRIDAY = "FRIDAY"
41
+
42
+ #: A constant which can be used with the days_of_the_week property of a WeeklyBackupPolicy.
43
+ #: This constant has a value of "SATURDAY"
44
+ DAYS_OF_THE_WEEK_SATURDAY = "SATURDAY"
45
+
46
+ def __init__(self, **kwargs):
47
+ """
48
+ Initializes a new WeeklyBackupPolicy object with values from keyword arguments. The default value of the :py:attr:`~oci.psql.models.WeeklyBackupPolicy.kind` attribute
49
+ of this class is ``WEEKLY`` and it should not be changed.
50
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
51
+
52
+ :param kind:
53
+ The value to assign to the kind property of this WeeklyBackupPolicy.
54
+ Allowed values for this property are: "DAILY", "WEEKLY", "MONTHLY", "NONE", 'UNKNOWN_ENUM_VALUE'.
55
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
56
+ :type kind: str
57
+
58
+ :param retention_days:
59
+ The value to assign to the retention_days property of this WeeklyBackupPolicy.
60
+ :type retention_days: int
61
+
62
+ :param days_of_the_week:
63
+ The value to assign to the days_of_the_week property of this WeeklyBackupPolicy.
64
+ Allowed values for items in this list are: "SUNDAY", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", 'UNKNOWN_ENUM_VALUE'.
65
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
66
+ :type days_of_the_week: list[str]
67
+
68
+ :param backup_start:
69
+ The value to assign to the backup_start property of this WeeklyBackupPolicy.
70
+ :type backup_start: str
71
+
72
+ """
73
+ self.swagger_types = {
74
+ 'kind': 'str',
75
+ 'retention_days': 'int',
76
+ 'days_of_the_week': 'list[str]',
77
+ 'backup_start': 'str'
78
+ }
79
+
80
+ self.attribute_map = {
81
+ 'kind': 'kind',
82
+ 'retention_days': 'retentionDays',
83
+ 'days_of_the_week': 'daysOfTheWeek',
84
+ 'backup_start': 'backupStart'
85
+ }
86
+
87
+ self._kind = None
88
+ self._retention_days = None
89
+ self._days_of_the_week = None
90
+ self._backup_start = None
91
+ self._kind = 'WEEKLY'
92
+
93
+ @property
94
+ def days_of_the_week(self):
95
+ """
96
+ **[Required]** Gets the days_of_the_week of this WeeklyBackupPolicy.
97
+ Weekly days
98
+
99
+ Allowed values for items in this list are: "SUNDAY", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", 'UNKNOWN_ENUM_VALUE'.
100
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
101
+
102
+
103
+ :return: The days_of_the_week of this WeeklyBackupPolicy.
104
+ :rtype: list[str]
105
+ """
106
+ return self._days_of_the_week
107
+
108
+ @days_of_the_week.setter
109
+ def days_of_the_week(self, days_of_the_week):
110
+ """
111
+ Sets the days_of_the_week of this WeeklyBackupPolicy.
112
+ Weekly days
113
+
114
+
115
+ :param days_of_the_week: The days_of_the_week of this WeeklyBackupPolicy.
116
+ :type: list[str]
117
+ """
118
+ allowed_values = ["SUNDAY", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY"]
119
+ if days_of_the_week:
120
+ days_of_the_week[:] = ['UNKNOWN_ENUM_VALUE' if not value_allowed_none_or_none_sentinel(x, allowed_values) else x for x in days_of_the_week]
121
+ self._days_of_the_week = days_of_the_week
122
+
123
+ @property
124
+ def backup_start(self):
125
+ """
126
+ **[Required]** Gets the backup_start of this WeeklyBackupPolicy.
127
+ Hour of the day when backup starts.
128
+
129
+
130
+ :return: The backup_start of this WeeklyBackupPolicy.
131
+ :rtype: str
132
+ """
133
+ return self._backup_start
134
+
135
+ @backup_start.setter
136
+ def backup_start(self, backup_start):
137
+ """
138
+ Sets the backup_start of this WeeklyBackupPolicy.
139
+ Hour of the day when backup starts.
140
+
141
+
142
+ :param backup_start: The backup_start of this WeeklyBackupPolicy.
143
+ :type: str
144
+ """
145
+ self._backup_start = backup_start
146
+
147
+ def __repr__(self):
148
+ return formatted_flat_dict(self)
149
+
150
+ def __eq__(self, other):
151
+ if other is None:
152
+ return False
153
+
154
+ return self.__dict__ == other.__dict__
155
+
156
+ def __ne__(self, other):
157
+ return not self == other