oci 2.122.0__py3-none-any.whl → 2.123.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 (494) hide show
  1. oci/access_governance_cp/access_governance_cp_client.py +8 -8
  2. oci/adm/application_dependency_management_client.py +36 -36
  3. oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
  4. oci/ai_document/ai_service_document_client.py +22 -22
  5. oci/ai_language/ai_service_language_client.py +36 -36
  6. oci/ai_speech/ai_service_speech_client.py +9 -9
  7. oci/ai_vision/ai_service_vision_client.py +25 -25
  8. oci/analytics/analytics_client.py +23 -23
  9. oci/announcements_service/announcement_client.py +4 -4
  10. oci/announcements_service/announcement_subscription_client.py +9 -9
  11. oci/announcements_service/announcements_preferences_client.py +4 -4
  12. oci/apigateway/api_gateway_client.py +21 -21
  13. oci/apigateway/deployment_client.py +6 -6
  14. oci/apigateway/gateway_client.py +6 -6
  15. oci/apigateway/subscribers_client.py +6 -6
  16. oci/apigateway/usage_plans_client.py +6 -6
  17. oci/apigateway/work_requests_client.py +5 -5
  18. oci/apm_config/config_client.py +8 -8
  19. oci/apm_control_plane/apm_domain_client.py +14 -14
  20. oci/apm_synthetics/apm_synthetic_client.py +28 -28
  21. oci/apm_traces/query_client.py +2 -2
  22. oci/apm_traces/trace_client.py +4 -4
  23. oci/application_migration/application_migration_client.py +19 -19
  24. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  25. oci/artifacts/artifacts_client.py +32 -32
  26. oci/audit/audit_client.py +3 -3
  27. oci/autoscaling/auto_scaling_client.py +11 -11
  28. oci/bastion/bastion_client.py +15 -15
  29. oci/bds/bds_client.py +51 -51
  30. oci/blockchain/blockchain_platform_client.py +27 -27
  31. oci/budget/budget_client.py +10 -10
  32. oci/capacity_management/capacity_management_client.py +19 -19
  33. oci/certificates/certificates_client.py +5 -5
  34. oci/certificates_management/certificates_management_client.py +32 -32
  35. oci/cims/incident_client.py +8 -8
  36. oci/cims/user_client.py +1 -1
  37. oci/cloud_bridge/common_client.py +5 -5
  38. oci/cloud_bridge/discovery_client.py +14 -14
  39. oci/cloud_bridge/inventory_client.py +16 -16
  40. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  41. oci/cloud_guard/cloud_guard_client.py +133 -133
  42. oci/cloud_migrations/migration_client.py +43 -43
  43. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  44. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  45. oci/compute_instance_agent/plugin_client.py +2 -2
  46. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  47. oci/container_engine/container_engine_client.py +44 -44
  48. oci/container_instances/container_instance_client.py +31 -19
  49. oci/core/blockstorage_client.py +60 -60
  50. oci/core/compute_client.py +111 -101
  51. oci/core/compute_management_client.py +32 -32
  52. oci/core/models/__init__.py +8 -0
  53. oci/core/models/attach_volume_details.py +6 -4
  54. oci/core/models/launch_attach_i_scsi_volume_details.py +203 -0
  55. oci/core/models/launch_attach_volume_details.py +279 -0
  56. oci/core/models/launch_create_volume_details.py +101 -0
  57. oci/core/models/launch_create_volume_from_attributes.py +240 -0
  58. oci/core/models/launch_instance_details.py +31 -0
  59. oci/core/virtual_network_client.py +242 -242
  60. oci/dashboard_service/dashboard_client.py +6 -6
  61. oci/dashboard_service/dashboard_group_client.py +6 -6
  62. oci/data_catalog/data_catalog_client.py +287 -153
  63. oci/data_catalog/models/__init__.py +4 -0
  64. oci/data_catalog/models/asynchronous_export_data_asset_details.py +99 -0
  65. oci/data_catalog/models/asynchronous_export_data_asset_result.py +196 -0
  66. oci/data_catalog/models/create_job_definition_details.py +7 -3
  67. oci/data_catalog/models/create_job_execution_details.py +7 -3
  68. oci/data_catalog/models/job.py +7 -3
  69. oci/data_catalog/models/job_definition.py +7 -3
  70. oci/data_catalog/models/job_definition_summary.py +7 -3
  71. oci/data_catalog/models/job_execution.py +7 -3
  72. oci/data_catalog/models/job_execution_summary.py +7 -3
  73. oci/data_catalog/models/job_summary.py +7 -3
  74. oci/data_flow/data_flow_client.py +42 -42
  75. oci/data_integration/data_integration_client.py +163 -163
  76. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  77. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  78. oci/data_safe/data_safe_client.py +272 -272
  79. oci/data_science/data_science_client.py +91 -91
  80. oci/database/database_client.py +351 -344
  81. oci/database/models/__init__.py +2 -2
  82. oci/database/models/autonomous_container_database.py +24 -30
  83. oci/database/models/autonomous_container_database_dataguard_association.py +37 -13
  84. oci/database/models/autonomous_container_database_resource_usage.py +6 -6
  85. oci/database/models/autonomous_container_database_summary.py +24 -30
  86. oci/database/models/autonomous_database.py +52 -71
  87. oci/database/models/autonomous_database_backup.py +6 -6
  88. oci/database/models/autonomous_database_backup_summary.py +6 -6
  89. oci/database/models/autonomous_database_dataguard_association.py +63 -11
  90. oci/database/models/autonomous_database_key_history_entry.py +4 -4
  91. oci/database/models/autonomous_database_summary.py +52 -71
  92. oci/database/models/autonomous_db_preview_version_summary.py +1 -1
  93. oci/database/models/autonomous_vm_cluster.py +14 -14
  94. oci/database/models/autonomous_vm_cluster_summary.py +14 -14
  95. oci/database/models/backup.py +6 -6
  96. oci/database/models/backup_summary.py +6 -6
  97. oci/database/models/cloud_autonomous_vm_cluster.py +16 -16
  98. oci/database/models/cloud_autonomous_vm_cluster_summary.py +16 -16
  99. oci/database/models/cloud_exadata_infrastructure.py +72 -0
  100. oci/database/models/cloud_exadata_infrastructure_summary.py +72 -0
  101. oci/database/models/cloud_vm_cluster.py +37 -0
  102. oci/database/models/cloud_vm_cluster_summary.py +37 -0
  103. oci/database/models/compute_performance_summary.py +2 -2
  104. oci/database/models/configure_autonomous_database_vault_key_details.py +2 -2
  105. oci/database/models/create_autonomous_container_database_dataguard_association_details.py +67 -1
  106. oci/database/models/create_autonomous_container_database_details.py +6 -6
  107. oci/database/models/create_autonomous_database_base.py +51 -68
  108. oci/database/models/create_autonomous_database_clone_details.py +0 -7
  109. oci/database/models/create_autonomous_database_details.py +0 -7
  110. oci/database/models/create_autonomous_database_from_backup_details.py +0 -7
  111. oci/database/models/create_autonomous_database_from_backup_timestamp_details.py +0 -7
  112. oci/database/models/create_autonomous_vm_cluster_details.py +2 -2
  113. oci/database/models/create_cloud_autonomous_vm_cluster_details.py +6 -6
  114. oci/database/models/create_cloud_exadata_infrastructure_details.py +35 -0
  115. oci/database/models/create_cross_region_autonomous_database_data_guard_details.py +0 -7
  116. oci/database/models/create_cross_region_disaster_recovery_details.py +0 -7
  117. oci/database/models/create_data_guard_association_with_new_db_system_details.py +4 -4
  118. oci/database/models/create_database_base.py +2 -2
  119. oci/database/models/create_database_details.py +4 -4
  120. oci/database/models/create_db_home_base.py +2 -2
  121. oci/database/models/create_refreshable_autonomous_database_clone_details.py +0 -7
  122. oci/database/models/database.py +6 -6
  123. oci/database/models/database_connection_credentials.py +4 -4
  124. oci/database/models/{database_connection_credentails_by_name.py → database_connection_credentials_by_name.py} +8 -8
  125. oci/database/models/database_summary.py +6 -6
  126. oci/database/models/key_store_type_from_oracle_key_vault_details.py +2 -2
  127. oci/database/models/launch_db_system_base.py +2 -2
  128. oci/database/models/migrate_vault_key_details.py +4 -4
  129. oci/database/models/update_autonomous_database_details.py +45 -66
  130. oci/database/models/update_autonomous_vm_cluster_details.py +6 -6
  131. oci/database/models/update_cloud_autonomous_vm_cluster_details.py +10 -10
  132. oci/database_management/db_management_client.py +832 -198
  133. oci/database_management/db_management_client_composite_operations.py +188 -0
  134. oci/database_management/diagnosability_client.py +4 -4
  135. oci/database_management/managed_my_sql_databases_client.py +6 -6
  136. oci/database_management/models/__init__.py +10 -0
  137. oci/database_management/models/child_database.py +80 -2
  138. oci/database_management/models/create_db_management_private_endpoint_details.py +80 -2
  139. oci/database_management/models/create_external_db_system_details.py +80 -2
  140. oci/database_management/models/create_external_db_system_discovery_details.py +80 -2
  141. oci/database_management/models/create_external_db_system_macs_connector_details.py +80 -2
  142. oci/database_management/models/create_external_exadata_infrastructure_details.py +80 -2
  143. oci/database_management/models/create_external_exadata_storage_connector_details.py +80 -2
  144. oci/database_management/models/create_managed_database_group_details.py +80 -2
  145. oci/database_management/models/create_named_credential_details.py +80 -2
  146. oci/database_management/models/create_sql_job_details.py +80 -2
  147. oci/database_management/models/db_management_private_endpoint.py +80 -2
  148. oci/database_management/models/db_management_private_endpoint_summary.py +80 -2
  149. oci/database_management/models/external_asm.py +80 -2
  150. oci/database_management/models/external_asm_instance.py +80 -2
  151. oci/database_management/models/external_asm_instance_summary.py +80 -2
  152. oci/database_management/models/external_asm_summary.py +80 -2
  153. oci/database_management/models/external_cluster.py +80 -2
  154. oci/database_management/models/external_cluster_instance.py +80 -2
  155. oci/database_management/models/external_cluster_instance_summary.py +80 -2
  156. oci/database_management/models/external_cluster_summary.py +80 -2
  157. oci/database_management/models/external_database_summary.py +80 -2
  158. oci/database_management/models/external_db_home.py +80 -2
  159. oci/database_management/models/external_db_home_summary.py +80 -2
  160. oci/database_management/models/external_db_node.py +80 -2
  161. oci/database_management/models/external_db_node_summary.py +80 -2
  162. oci/database_management/models/external_db_system.py +80 -2
  163. oci/database_management/models/external_db_system_connector_summary.py +80 -2
  164. oci/database_management/models/external_db_system_discovery.py +80 -2
  165. oci/database_management/models/external_db_system_discovery_summary.py +80 -2
  166. oci/database_management/models/external_db_system_macs_connector.py +80 -2
  167. oci/database_management/models/external_db_system_summary.py +80 -2
  168. oci/database_management/models/external_exadata_infrastructure.py +80 -2
  169. oci/database_management/models/external_exadata_infrastructure_summary.py +80 -2
  170. oci/database_management/models/external_exadata_storage_connector.py +80 -2
  171. oci/database_management/models/external_exadata_storage_connector_summary.py +80 -2
  172. oci/database_management/models/external_exadata_storage_grid.py +80 -2
  173. oci/database_management/models/external_exadata_storage_server.py +80 -2
  174. oci/database_management/models/external_exadata_storage_server_summary.py +80 -2
  175. oci/database_management/models/external_listener.py +80 -2
  176. oci/database_management/models/external_listener_summary.py +80 -2
  177. oci/database_management/models/job_summary.py +80 -2
  178. oci/database_management/models/managed_database.py +111 -2
  179. oci/database_management/models/managed_database_group.py +80 -2
  180. oci/database_management/models/managed_database_group_summary.py +80 -2
  181. oci/database_management/models/managed_database_summary.py +111 -2
  182. oci/database_management/models/named_credential.py +80 -2
  183. oci/database_management/models/named_credential_summary.py +80 -2
  184. oci/database_management/models/sql_job.py +80 -2
  185. oci/database_management/models/update_db_management_private_endpoint_details.py +80 -2
  186. oci/database_management/models/update_external_asm_details.py +80 -2
  187. oci/database_management/models/update_external_asm_instance_details.py +119 -0
  188. oci/database_management/models/update_external_cluster_details.py +80 -2
  189. oci/database_management/models/update_external_cluster_instance_details.py +80 -2
  190. oci/database_management/models/update_external_db_home_details.py +119 -0
  191. oci/database_management/models/update_external_db_node_details.py +80 -2
  192. oci/database_management/models/update_external_db_system_details.py +80 -2
  193. oci/database_management/models/update_external_db_system_discovery_details.py +80 -2
  194. oci/database_management/models/update_external_db_system_macs_connector_details.py +80 -2
  195. oci/database_management/models/update_external_exadata_infrastructure_details.py +80 -2
  196. oci/database_management/models/update_external_exadata_storage_connector_details.py +80 -2
  197. oci/database_management/models/update_external_exadata_storage_grid_details.py +119 -0
  198. oci/database_management/models/update_external_exadata_storage_server_details.py +119 -0
  199. oci/database_management/models/update_external_listener_details.py +80 -2
  200. oci/database_management/models/update_managed_database_details.py +119 -0
  201. oci/database_management/models/update_managed_database_group_details.py +80 -2
  202. oci/database_management/models/update_named_credential_details.py +80 -2
  203. oci/database_management/models/update_sql_job_details.py +80 -2
  204. oci/database_management/perfhub_client.py +1 -1
  205. oci/database_management/sql_tuning_client.py +17 -17
  206. oci/database_migration/database_migration_client.py +41 -41
  207. oci/database_tools/database_tools_client.py +23 -23
  208. oci/desktops/desktop_service_client.py +21 -21
  209. oci/devops/devops_client.py +89 -89
  210. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  211. oci/dns/dns_client.py +52 -52
  212. oci/dts/appliance_export_job_client.py +6 -6
  213. oci/dts/shipping_vendors_client.py +1 -1
  214. oci/dts/transfer_appliance_client.py +8 -8
  215. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  216. oci/dts/transfer_device_client.py +5 -5
  217. oci/dts/transfer_job_client.py +6 -6
  218. oci/dts/transfer_package_client.py +7 -7
  219. oci/em_warehouse/em_data_lake_client.py +13 -13
  220. oci/em_warehouse/em_warehouse_client.py +13 -13
  221. oci/email/email_client.py +25 -25
  222. oci/events/events_client.py +6 -6
  223. oci/file_storage/file_storage_client.py +50 -50
  224. oci/fleet_software_update/fleet_software_update_client.py +44 -44
  225. oci/functions/functions_invoke_client.py +1 -1
  226. oci/functions/functions_management_client.py +16 -16
  227. oci/fusion_apps/data_masking_activity_client.py +3 -3
  228. oci/fusion_apps/fusion_applications_client.py +39 -39
  229. oci/fusion_apps/fusion_environment_client.py +15 -15
  230. oci/fusion_apps/fusion_environment_family_client.py +8 -8
  231. oci/fusion_apps/refresh_activity_client.py +4 -4
  232. oci/fusion_apps/scheduled_activity_client.py +2 -2
  233. oci/fusion_apps/service_attachment_client.py +2 -2
  234. oci/generative_ai/generative_ai_client.py +22 -22
  235. oci/generative_ai_inference/generative_ai_inference_client.py +3 -3
  236. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  237. oci/globally_distributed_database/sharded_database_service_client.py +29 -29
  238. oci/golden_gate/golden_gate_client.py +61 -61
  239. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  240. oci/governance_rules_control_plane/work_request_client.py +5 -5
  241. oci/healthchecks/health_checks_client.py +17 -17
  242. oci/identity/identity_client.py +145 -145
  243. oci/identity_data_plane/dataplane_client.py +2 -2
  244. oci/identity_domains/identity_domains_client.py +300 -300
  245. oci/integration/integration_instance_client.py +15 -15
  246. oci/jms/java_management_service_client.py +66 -66
  247. oci/jms_java_downloads/java_download_client.py +25 -25
  248. oci/key_management/ekm_client.py +5 -5
  249. oci/key_management/kms_crypto_client.py +6 -6
  250. oci/key_management/kms_hsm_cluster_client.py +12 -12
  251. oci/key_management/kms_management_client.py +21 -21
  252. oci/key_management/kms_vault_client.py +14 -14
  253. oci/key_management/models/__init__.py +2 -0
  254. oci/key_management/models/auto_key_rotation_details.py +247 -0
  255. oci/key_management/models/create_key_details.py +58 -0
  256. oci/key_management/models/import_key_details.py +58 -0
  257. oci/key_management/models/key.py +58 -0
  258. oci/key_management/models/key_summary.py +33 -2
  259. oci/key_management/models/key_version.py +33 -2
  260. oci/key_management/models/key_version_summary.py +33 -2
  261. oci/key_management/models/update_key_details.py +58 -0
  262. oci/license_manager/license_manager_client.py +18 -18
  263. oci/limits/limits_client.py +4 -4
  264. oci/limits/quotas_client.py +7 -7
  265. oci/load_balancer/load_balancer_client.py +61 -61
  266. oci/lockbox/lockbox_client.py +23 -23
  267. oci/log_analytics/log_analytics_client.py +193 -193
  268. oci/logging/logging_management_client.py +30 -30
  269. oci/loggingingestion/logging_client.py +1 -1
  270. oci/loggingsearch/log_search_client.py +1 -1
  271. oci/management_agent/management_agent_client.py +28 -28
  272. oci/management_dashboard/dashx_apis_client.py +14 -14
  273. oci/marketplace/account_client.py +2 -2
  274. oci/marketplace/marketplace_client.py +30 -30
  275. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  276. oci/media_services/media_services_client.py +60 -60
  277. oci/media_services/media_stream_client.py +2 -2
  278. oci/monitoring/monitoring_client.py +18 -18
  279. oci/mysql/channels_client.py +7 -7
  280. oci/mysql/db_backups_client.py +6 -6
  281. oci/mysql/db_system_client.py +17 -17
  282. oci/mysql/mysqlaas_client.py +7 -7
  283. oci/mysql/replicas_client.py +5 -5
  284. oci/mysql/work_requests_client.py +4 -4
  285. oci/network_firewall/network_firewall_client.py +80 -80
  286. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  287. oci/nosql/nosql_client.py +24 -24
  288. oci/object_storage/object_storage_client.py +50 -50
  289. oci/oce/oce_instance_client.py +10 -10
  290. oci/oci_control_center/occ_metrics_client.py +3 -3
  291. oci/ocvp/cluster_client.py +5 -5
  292. oci/ocvp/esxi_host_client.py +8 -8
  293. oci/ocvp/sddc_client.py +14 -14
  294. oci/ocvp/work_request_client.py +4 -4
  295. oci/oda/management_client.py +419 -56
  296. oci/oda/management_client_composite_operations.py +132 -0
  297. oci/oda/models/__init__.py +42 -0
  298. oci/oda/models/bot.py +31 -0
  299. oci/oda/models/bulk_create_skill_entities_details.py +72 -0
  300. oci/oda/models/clone_skill_details.py +7 -0
  301. oci/oda/models/composite_entity.py +154 -0
  302. oci/oda/models/create_new_skill_details.py +7 -0
  303. oci/oda/models/create_oda_instance_attachment_details.py +7 -3
  304. oci/oda/models/create_skill_composite_entity_details.py +147 -0
  305. oci/oda/models/create_skill_details.py +31 -0
  306. oci/oda/models/create_skill_entity_details.py +140 -0
  307. oci/oda/models/create_skill_value_list_entity_details.py +89 -0
  308. oci/oda/models/create_skill_version_details.py +7 -0
  309. oci/oda/models/digital_assistant.py +31 -0
  310. oci/oda/models/entity.py +171 -0
  311. oci/oda/models/entity_action.py +161 -0
  312. oci/oda/models/entity_action_argument.py +263 -0
  313. oci/oda/models/entity_action_argument_natural_language_mapping.py +72 -0
  314. oci/oda/models/entity_action_natural_language_mapping.py +72 -0
  315. oci/oda/models/entity_attribute.py +345 -0
  316. oci/oda/models/entity_attribute_natural_language_mapping.py +72 -0
  317. oci/oda/models/entity_natural_language_mapping.py +72 -0
  318. oci/oda/models/extend_skill_details.py +7 -0
  319. oci/oda/models/language_mapping.py +134 -0
  320. oci/oda/models/name_mapping.py +72 -0
  321. oci/oda/models/oda_instance_attachment.py +7 -3
  322. oci/oda/models/oda_instance_attachment_summary.py +7 -3
  323. oci/oda/models/skill.py +31 -0
  324. oci/oda/models/static_entity_value.py +99 -0
  325. oci/oda/models/static_entity_value_natural_language_mapping.py +72 -0
  326. oci/oda/models/train_skill_details.py +72 -0
  327. oci/oda/models/train_skill_parameter.py +101 -0
  328. oci/oda/models/train_skill_query_entity_parameter.py +51 -0
  329. oci/oda/models/value_list_entity.py +96 -0
  330. oci/oda/models/work_request.py +15 -3
  331. oci/oda/oda_client.py +17 -17
  332. oci/oda/odapackage_client.py +7 -7
  333. oci/onesubscription/billing_schedule_client.py +1 -1
  334. oci/onesubscription/commitment_client.py +2 -2
  335. oci/onesubscription/computed_usage_client.py +3 -3
  336. oci/onesubscription/invoice_summary_client.py +2 -2
  337. oci/onesubscription/organization_subscription_client.py +1 -1
  338. oci/onesubscription/ratecard_client.py +1 -1
  339. oci/onesubscription/subscribed_service_client.py +2 -2
  340. oci/onesubscription/subscription_client.py +1 -1
  341. oci/ons/notification_control_plane_client.py +6 -6
  342. oci/ons/notification_data_plane_client.py +10 -10
  343. oci/opa/opa_instance_client.py +11 -11
  344. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  345. oci/opensearch/opensearch_cluster_client.py +14 -14
  346. oci/operator_access_control/access_requests_client.py +118 -9
  347. oci/operator_access_control/models/__init__.py +11 -1
  348. oci/operator_access_control/models/access_request.py +221 -0
  349. oci/operator_access_control/models/access_request_summary.py +35 -0
  350. oci/operator_access_control/models/approver_detail.py +235 -0
  351. oci/operator_access_control/models/assignment_validation_status.py +317 -0
  352. oci/operator_access_control/models/audit_log_report.py +193 -0
  353. oci/operator_access_control/models/create_operator_control_assignment_details.py +31 -0
  354. oci/operator_access_control/models/create_operator_control_details.py +31 -0
  355. oci/operator_access_control/models/operator_control.py +31 -0
  356. oci/operator_access_control/models/operator_control_assignment.py +62 -0
  357. oci/operator_access_control/models/operator_control_assignment_summary.py +93 -0
  358. oci/operator_access_control/models/operator_control_summary.py +31 -0
  359. oci/operator_access_control/models/status_detail.py +169 -0
  360. oci/operator_access_control/models/update_operator_control_assignment_details.py +31 -0
  361. oci/operator_access_control/models/update_operator_control_details.py +31 -0
  362. oci/operator_access_control/models/validate_operator_assignment_details.py +72 -0
  363. oci/operator_access_control/operator_actions_client.py +2 -2
  364. oci/operator_access_control/operator_control_assignment_client.py +224 -6
  365. oci/operator_access_control/operator_control_client.py +6 -6
  366. oci/opsi/operations_insights_client.py +175 -175
  367. oci/optimizer/optimizer_client.py +26 -26
  368. oci/os_management/event_client.py +8 -8
  369. oci/os_management/os_management_client.py +69 -69
  370. oci/os_management_hub/lifecycle_environment_client.py +11 -11
  371. oci/os_management_hub/managed_instance_client.py +22 -22
  372. oci/os_management_hub/managed_instance_group_client.py +22 -22
  373. oci/os_management_hub/management_station_client.py +8 -8
  374. oci/os_management_hub/onboarding_client.py +5 -5
  375. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  376. oci/os_management_hub/scheduled_job_client.py +6 -6
  377. oci/os_management_hub/software_source_client.py +22 -22
  378. oci/os_management_hub/work_request_client.py +4 -4
  379. oci/osp_gateway/address_rule_service_client.py +1 -1
  380. oci/osp_gateway/address_service_client.py +2 -2
  381. oci/osp_gateway/invoice_service_client.py +5 -5
  382. oci/osp_gateway/subscription_service_client.py +5 -5
  383. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  384. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  385. oci/osub_subscription/commitment_client.py +2 -2
  386. oci/osub_subscription/ratecard_client.py +1 -1
  387. oci/osub_subscription/subscription_client.py +1 -1
  388. oci/osub_usage/computed_usage_client.py +3 -3
  389. oci/psql/postgresql_client.py +33 -33
  390. oci/queue/queue_admin_client.py +11 -11
  391. oci/queue/queue_client.py +8 -8
  392. oci/recovery/database_recovery_client.py +23 -23
  393. oci/redis/redis_cluster_client.py +11 -11
  394. oci/resource_manager/resource_manager_client.py +52 -52
  395. oci/resource_search/resource_search_client.py +3 -3
  396. oci/rover/rover_bundle_client.py +8 -8
  397. oci/rover/rover_cluster_client.py +8 -8
  398. oci/rover/rover_entitlement_client.py +6 -6
  399. oci/rover/rover_node_client.py +15 -15
  400. oci/rover/shape_client.py +1 -1
  401. oci/rover/work_requests_client.py +5 -5
  402. oci/sch/__init__.py +3 -1
  403. oci/sch/connector_plugins_client.py +386 -0
  404. oci/sch/connector_plugins_client_composite_operations.py +26 -0
  405. oci/sch/models/__init__.py +16 -0
  406. oci/sch/models/change_service_connector_compartment_details.py +3 -3
  407. oci/sch/models/connector_plugin.py +355 -0
  408. oci/sch/models/connector_plugin_collection.py +72 -0
  409. oci/sch/models/connector_plugin_summary.py +322 -0
  410. oci/sch/models/create_service_connector_details.py +3 -3
  411. oci/sch/models/dimension_details.py +2 -2
  412. oci/sch/models/function_task_details.py +2 -2
  413. oci/sch/models/functions_target_details.py +98 -5
  414. oci/sch/models/latest_streaming_cursor.py +4 -2
  415. oci/sch/models/log_rule_task_details.py +5 -5
  416. oci/sch/models/log_source.py +4 -0
  417. oci/sch/models/logging_analytics_target_details.py +5 -5
  418. oci/sch/models/logging_source_details.py +3 -3
  419. oci/sch/models/monitoring_source.py +2 -2
  420. oci/sch/models/monitoring_source_details.py +5 -5
  421. oci/sch/models/monitoring_source_metric_details.py +2 -2
  422. oci/sch/models/monitoring_target_details.py +3 -3
  423. oci/sch/models/notifications_target_details.py +5 -5
  424. oci/sch/models/object_storage_target_details.py +9 -5
  425. oci/sch/models/plugin_source_details.py +123 -0
  426. oci/sch/models/service_connector.py +14 -14
  427. oci/sch/models/service_connector_collection.py +1 -1
  428. oci/sch/models/service_connector_summary.py +11 -11
  429. oci/sch/models/source_connector_plugin.py +132 -0
  430. oci/sch/models/source_connector_plugin_summary.py +125 -0
  431. oci/sch/models/source_details.py +19 -11
  432. oci/sch/models/streaming_cursor_details.py +7 -4
  433. oci/sch/models/streaming_source_details.py +5 -1
  434. oci/sch/models/streaming_target_details.py +3 -3
  435. oci/sch/models/target_connector_plugin.py +99 -0
  436. oci/sch/models/target_connector_plugin_summary.py +92 -0
  437. oci/sch/models/target_details.py +8 -8
  438. oci/sch/models/task_details.py +8 -8
  439. oci/sch/models/trim_horizon_streaming_cursor.py +4 -2
  440. oci/sch/models/update_service_connector_details.py +1 -1
  441. oci/sch/models/work_request.py +2 -2
  442. oci/sch/service_connector_client.py +138 -81
  443. oci/sch/service_connector_client_composite_operations.py +7 -7
  444. oci/secrets/secrets_client.py +3 -3
  445. oci/service_catalog/service_catalog_client.py +26 -26
  446. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  447. oci/service_mesh/service_mesh_client.py +48 -48
  448. oci/stack_monitoring/stack_monitoring_client.py +64 -64
  449. oci/streaming/stream_admin_client.py +18 -18
  450. oci/streaming/stream_client.py +8 -8
  451. oci/tenant_manager_control_plane/domain_client.py +5 -5
  452. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  453. oci/tenant_manager_control_plane/governance_client.py +2 -2
  454. oci/tenant_manager_control_plane/link_client.py +3 -3
  455. oci/tenant_manager_control_plane/orders_client.py +2 -2
  456. oci/tenant_manager_control_plane/organization_client.py +10 -10
  457. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  458. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  459. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  460. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  461. oci/threat_intelligence/threatintel_client.py +5 -5
  462. oci/usage/resources_client.py +2 -2
  463. oci/usage/rewards_client.py +6 -6
  464. oci/usage/usagelimits_client.py +1 -1
  465. oci/usage_api/usageapi_client.py +28 -28
  466. oci/vault/models/__init__.py +8 -0
  467. oci/vault/models/bytes_generation_context.py +107 -0
  468. oci/vault/models/create_secret_details.py +61 -3
  469. oci/vault/models/passphrase_generation_context.py +138 -0
  470. oci/vault/models/secret.py +60 -2
  471. oci/vault/models/secret_generation_context.py +152 -0
  472. oci/vault/models/secret_summary.py +60 -2
  473. oci/vault/models/secret_version.py +33 -2
  474. oci/vault/models/secret_version_summary.py +33 -2
  475. oci/vault/models/ssh_key_generation_context.py +111 -0
  476. oci/vault/models/update_secret_details.py +60 -2
  477. oci/vault/vaults_client.py +13 -13
  478. oci/vbs_inst/vbs_instance_client.py +10 -10
  479. oci/version.py +1 -1
  480. oci/visual_builder/vb_instance_client.py +13 -13
  481. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  482. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  483. oci/waa/waa_client.py +13 -13
  484. oci/waa/work_request_client.py +4 -4
  485. oci/waas/redirect_client.py +6 -6
  486. oci/waas/waas_client.py +66 -66
  487. oci/waf/waf_client.py +24 -24
  488. oci/work_requests/work_request_client.py +4 -4
  489. {oci-2.122.0.dist-info → oci-2.123.0.dist-info}/METADATA +3 -3
  490. {oci-2.122.0.dist-info → oci-2.123.0.dist-info}/RECORD +494 -442
  491. {oci-2.122.0.dist-info → oci-2.123.0.dist-info}/LICENSE.txt +0 -0
  492. {oci-2.122.0.dist-info → oci-2.123.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  493. {oci-2.122.0.dist-info → oci-2.123.0.dist-info}/WHEEL +0 -0
  494. {oci-2.122.0.dist-info → oci-2.123.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,107 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
3
+ # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
+
5
+ # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20180608
6
+
7
+ from .secret_generation_context import SecretGenerationContext
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 BytesGenerationContext(SecretGenerationContext):
14
+ """
15
+ Generates random bytes. By default, secrets of type Bytes has no structure. The generated bytes are stored as a Base64 encoded string.
16
+ The SecretTemplate must have the %GENERATED_BYTES% keyword which is replaced with the generated bytes, if provided
17
+ """
18
+
19
+ #: A constant which can be used with the generation_template property of a BytesGenerationContext.
20
+ #: This constant has a value of "BYTES_512"
21
+ GENERATION_TEMPLATE_BYTES_512 = "BYTES_512"
22
+
23
+ #: A constant which can be used with the generation_template property of a BytesGenerationContext.
24
+ #: This constant has a value of "BYTES_1024"
25
+ GENERATION_TEMPLATE_BYTES_1024 = "BYTES_1024"
26
+
27
+ def __init__(self, **kwargs):
28
+ """
29
+ Initializes a new BytesGenerationContext object with values from keyword arguments. The default value of the :py:attr:`~oci.vault.models.BytesGenerationContext.generation_type` attribute
30
+ of this class is ``BYTES`` and it should not be changed.
31
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
32
+
33
+ :param generation_type:
34
+ The value to assign to the generation_type property of this BytesGenerationContext.
35
+ Allowed values for this property are: "PASSPHRASE", "SSH_KEY", "BYTES", 'UNKNOWN_ENUM_VALUE'.
36
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
37
+ :type generation_type: str
38
+
39
+ :param secret_template:
40
+ The value to assign to the secret_template property of this BytesGenerationContext.
41
+ :type secret_template: str
42
+
43
+ :param generation_template:
44
+ The value to assign to the generation_template property of this BytesGenerationContext.
45
+ Allowed values for this property are: "BYTES_512", "BYTES_1024", 'UNKNOWN_ENUM_VALUE'.
46
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
47
+ :type generation_template: str
48
+
49
+ """
50
+ self.swagger_types = {
51
+ 'generation_type': 'str',
52
+ 'secret_template': 'str',
53
+ 'generation_template': 'str'
54
+ }
55
+
56
+ self.attribute_map = {
57
+ 'generation_type': 'generationType',
58
+ 'secret_template': 'secretTemplate',
59
+ 'generation_template': 'generationTemplate'
60
+ }
61
+
62
+ self._generation_type = None
63
+ self._secret_template = None
64
+ self._generation_template = None
65
+ self._generation_type = 'BYTES'
66
+
67
+ @property
68
+ def generation_template(self):
69
+ """
70
+ **[Required]** Gets the generation_template of this BytesGenerationContext.
71
+ Name of random bytes generation template for generating random byte type secret.
72
+
73
+ Allowed values for this property are: "BYTES_512", "BYTES_1024", 'UNKNOWN_ENUM_VALUE'.
74
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
75
+
76
+
77
+ :return: The generation_template of this BytesGenerationContext.
78
+ :rtype: str
79
+ """
80
+ return self._generation_template
81
+
82
+ @generation_template.setter
83
+ def generation_template(self, generation_template):
84
+ """
85
+ Sets the generation_template of this BytesGenerationContext.
86
+ Name of random bytes generation template for generating random byte type secret.
87
+
88
+
89
+ :param generation_template: The generation_template of this BytesGenerationContext.
90
+ :type: str
91
+ """
92
+ allowed_values = ["BYTES_512", "BYTES_1024"]
93
+ if not value_allowed_none_or_none_sentinel(generation_template, allowed_values):
94
+ generation_template = 'UNKNOWN_ENUM_VALUE'
95
+ self._generation_template = generation_template
96
+
97
+ def __repr__(self):
98
+ return formatted_flat_dict(self)
99
+
100
+ def __eq__(self, other):
101
+ if other is None:
102
+ return False
103
+
104
+ return self.__dict__ == other.__dict__
105
+
106
+ def __ne__(self, other):
107
+ return not self == other
@@ -64,6 +64,14 @@ class CreateSecretDetails(object):
64
64
  The value to assign to the vault_id property of this CreateSecretDetails.
65
65
  :type vault_id: str
66
66
 
67
+ :param secret_generation_context:
68
+ The value to assign to the secret_generation_context property of this CreateSecretDetails.
69
+ :type secret_generation_context: oci.vault.models.SecretGenerationContext
70
+
71
+ :param enable_auto_generation:
72
+ The value to assign to the enable_auto_generation property of this CreateSecretDetails.
73
+ :type enable_auto_generation: bool
74
+
67
75
  """
68
76
  self.swagger_types = {
69
77
  'compartment_id': 'str',
@@ -76,7 +84,9 @@ class CreateSecretDetails(object):
76
84
  'rotation_config': 'RotationConfig',
77
85
  'secret_name': 'str',
78
86
  'secret_rules': 'list[SecretRule]',
79
- 'vault_id': 'str'
87
+ 'vault_id': 'str',
88
+ 'secret_generation_context': 'SecretGenerationContext',
89
+ 'enable_auto_generation': 'bool'
80
90
  }
81
91
 
82
92
  self.attribute_map = {
@@ -90,7 +100,9 @@ class CreateSecretDetails(object):
90
100
  'rotation_config': 'rotationConfig',
91
101
  'secret_name': 'secretName',
92
102
  'secret_rules': 'secretRules',
93
- 'vault_id': 'vaultId'
103
+ 'vault_id': 'vaultId',
104
+ 'secret_generation_context': 'secretGenerationContext',
105
+ 'enable_auto_generation': 'enableAutoGeneration'
94
106
  }
95
107
 
96
108
  self._compartment_id = None
@@ -104,6 +116,8 @@ class CreateSecretDetails(object):
104
116
  self._secret_name = None
105
117
  self._secret_rules = None
106
118
  self._vault_id = None
119
+ self._secret_generation_context = None
120
+ self._enable_auto_generation = None
107
121
 
108
122
  @property
109
123
  def compartment_id(self):
@@ -220,7 +234,7 @@ class CreateSecretDetails(object):
220
234
  @property
221
235
  def key_id(self):
222
236
  """
223
- Gets the key_id of this CreateSecretDetails.
237
+ **[Required]** Gets the key_id of this CreateSecretDetails.
224
238
  The OCID of the master encryption key that is used to encrypt the secret. You must specify a symmetric key to encrypt the secret during import to the vault. You cannot encrypt secrets with asymmetric keys. Furthermore, the key must exist in the vault that you specify.
225
239
 
226
240
 
@@ -381,6 +395,50 @@ class CreateSecretDetails(object):
381
395
  """
382
396
  self._vault_id = vault_id
383
397
 
398
+ @property
399
+ def secret_generation_context(self):
400
+ """
401
+ Gets the secret_generation_context of this CreateSecretDetails.
402
+
403
+ :return: The secret_generation_context of this CreateSecretDetails.
404
+ :rtype: oci.vault.models.SecretGenerationContext
405
+ """
406
+ return self._secret_generation_context
407
+
408
+ @secret_generation_context.setter
409
+ def secret_generation_context(self, secret_generation_context):
410
+ """
411
+ Sets the secret_generation_context of this CreateSecretDetails.
412
+
413
+ :param secret_generation_context: The secret_generation_context of this CreateSecretDetails.
414
+ :type: oci.vault.models.SecretGenerationContext
415
+ """
416
+ self._secret_generation_context = secret_generation_context
417
+
418
+ @property
419
+ def enable_auto_generation(self):
420
+ """
421
+ Gets the enable_auto_generation of this CreateSecretDetails.
422
+ The value of this flag determines whether or not secret content will be generated automatically. If not set, it defaults to false.
423
+
424
+
425
+ :return: The enable_auto_generation of this CreateSecretDetails.
426
+ :rtype: bool
427
+ """
428
+ return self._enable_auto_generation
429
+
430
+ @enable_auto_generation.setter
431
+ def enable_auto_generation(self, enable_auto_generation):
432
+ """
433
+ Sets the enable_auto_generation of this CreateSecretDetails.
434
+ The value of this flag determines whether or not secret content will be generated automatically. If not set, it defaults to false.
435
+
436
+
437
+ :param enable_auto_generation: The enable_auto_generation of this CreateSecretDetails.
438
+ :type: bool
439
+ """
440
+ self._enable_auto_generation = enable_auto_generation
441
+
384
442
  def __repr__(self):
385
443
  return formatted_flat_dict(self)
386
444
 
@@ -0,0 +1,138 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
3
+ # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
+
5
+ # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20180608
6
+
7
+ from .secret_generation_context import SecretGenerationContext
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 PassphraseGenerationContext(SecretGenerationContext):
14
+ """
15
+ Generates Passphrase type secrets. By default, passphrase type secrets have no structure. The generated content is stored in Base64 format.
16
+ The SecretTemplate must have the %GENERATED_PASSPHRASE% keyword, which is later replaced with the generated content, if provided.
17
+ """
18
+
19
+ #: A constant which can be used with the generation_template property of a PassphraseGenerationContext.
20
+ #: This constant has a value of "SECRETS_DEFAULT_PASSWORD"
21
+ GENERATION_TEMPLATE_SECRETS_DEFAULT_PASSWORD = "SECRETS_DEFAULT_PASSWORD"
22
+
23
+ #: A constant which can be used with the generation_template property of a PassphraseGenerationContext.
24
+ #: This constant has a value of "DBAAS_DEFAULT_PASSWORD"
25
+ GENERATION_TEMPLATE_DBAAS_DEFAULT_PASSWORD = "DBAAS_DEFAULT_PASSWORD"
26
+
27
+ def __init__(self, **kwargs):
28
+ """
29
+ Initializes a new PassphraseGenerationContext object with values from keyword arguments. The default value of the :py:attr:`~oci.vault.models.PassphraseGenerationContext.generation_type` attribute
30
+ of this class is ``PASSPHRASE`` and it should not be changed.
31
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
32
+
33
+ :param generation_type:
34
+ The value to assign to the generation_type property of this PassphraseGenerationContext.
35
+ Allowed values for this property are: "PASSPHRASE", "SSH_KEY", "BYTES", 'UNKNOWN_ENUM_VALUE'.
36
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
37
+ :type generation_type: str
38
+
39
+ :param secret_template:
40
+ The value to assign to the secret_template property of this PassphraseGenerationContext.
41
+ :type secret_template: str
42
+
43
+ :param generation_template:
44
+ The value to assign to the generation_template property of this PassphraseGenerationContext.
45
+ Allowed values for this property are: "SECRETS_DEFAULT_PASSWORD", "DBAAS_DEFAULT_PASSWORD", 'UNKNOWN_ENUM_VALUE'.
46
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
47
+ :type generation_template: str
48
+
49
+ :param passphrase_length:
50
+ The value to assign to the passphrase_length property of this PassphraseGenerationContext.
51
+ :type passphrase_length: int
52
+
53
+ """
54
+ self.swagger_types = {
55
+ 'generation_type': 'str',
56
+ 'secret_template': 'str',
57
+ 'generation_template': 'str',
58
+ 'passphrase_length': 'int'
59
+ }
60
+
61
+ self.attribute_map = {
62
+ 'generation_type': 'generationType',
63
+ 'secret_template': 'secretTemplate',
64
+ 'generation_template': 'generationTemplate',
65
+ 'passphrase_length': 'passphraseLength'
66
+ }
67
+
68
+ self._generation_type = None
69
+ self._secret_template = None
70
+ self._generation_template = None
71
+ self._passphrase_length = None
72
+ self._generation_type = 'PASSPHRASE'
73
+
74
+ @property
75
+ def generation_template(self):
76
+ """
77
+ **[Required]** Gets the generation_template of this PassphraseGenerationContext.
78
+ Name of passphrase generation template to generate passphrase type secret.
79
+
80
+ Allowed values for this property are: "SECRETS_DEFAULT_PASSWORD", "DBAAS_DEFAULT_PASSWORD", 'UNKNOWN_ENUM_VALUE'.
81
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
82
+
83
+
84
+ :return: The generation_template of this PassphraseGenerationContext.
85
+ :rtype: str
86
+ """
87
+ return self._generation_template
88
+
89
+ @generation_template.setter
90
+ def generation_template(self, generation_template):
91
+ """
92
+ Sets the generation_template of this PassphraseGenerationContext.
93
+ Name of passphrase generation template to generate passphrase type secret.
94
+
95
+
96
+ :param generation_template: The generation_template of this PassphraseGenerationContext.
97
+ :type: str
98
+ """
99
+ allowed_values = ["SECRETS_DEFAULT_PASSWORD", "DBAAS_DEFAULT_PASSWORD"]
100
+ if not value_allowed_none_or_none_sentinel(generation_template, allowed_values):
101
+ generation_template = 'UNKNOWN_ENUM_VALUE'
102
+ self._generation_template = generation_template
103
+
104
+ @property
105
+ def passphrase_length(self):
106
+ """
107
+ Gets the passphrase_length of this PassphraseGenerationContext.
108
+ Length of the passphrase to be generated
109
+
110
+
111
+ :return: The passphrase_length of this PassphraseGenerationContext.
112
+ :rtype: int
113
+ """
114
+ return self._passphrase_length
115
+
116
+ @passphrase_length.setter
117
+ def passphrase_length(self, passphrase_length):
118
+ """
119
+ Sets the passphrase_length of this PassphraseGenerationContext.
120
+ Length of the passphrase to be generated
121
+
122
+
123
+ :param passphrase_length: The passphrase_length of this PassphraseGenerationContext.
124
+ :type: int
125
+ """
126
+ self._passphrase_length = passphrase_length
127
+
128
+ def __repr__(self):
129
+ return formatted_flat_dict(self)
130
+
131
+ def __eq__(self, other):
132
+ if other is None:
133
+ return False
134
+
135
+ return self.__dict__ == other.__dict__
136
+
137
+ def __ne__(self, other):
138
+ return not self == other
@@ -156,6 +156,14 @@ class Secret(object):
156
156
  The value to assign to the vault_id property of this Secret.
157
157
  :type vault_id: str
158
158
 
159
+ :param secret_generation_context:
160
+ The value to assign to the secret_generation_context property of this Secret.
161
+ :type secret_generation_context: oci.vault.models.SecretGenerationContext
162
+
163
+ :param is_auto_generation_enabled:
164
+ The value to assign to the is_auto_generation_enabled property of this Secret.
165
+ :type is_auto_generation_enabled: bool
166
+
159
167
  """
160
168
  self.swagger_types = {
161
169
  'compartment_id': 'str',
@@ -177,7 +185,9 @@ class Secret(object):
177
185
  'time_created': 'datetime',
178
186
  'time_of_current_version_expiry': 'datetime',
179
187
  'time_of_deletion': 'datetime',
180
- 'vault_id': 'str'
188
+ 'vault_id': 'str',
189
+ 'secret_generation_context': 'SecretGenerationContext',
190
+ 'is_auto_generation_enabled': 'bool'
181
191
  }
182
192
 
183
193
  self.attribute_map = {
@@ -200,7 +210,9 @@ class Secret(object):
200
210
  'time_created': 'timeCreated',
201
211
  'time_of_current_version_expiry': 'timeOfCurrentVersionExpiry',
202
212
  'time_of_deletion': 'timeOfDeletion',
203
- 'vault_id': 'vaultId'
213
+ 'vault_id': 'vaultId',
214
+ 'secret_generation_context': 'secretGenerationContext',
215
+ 'is_auto_generation_enabled': 'isAutoGenerationEnabled'
204
216
  }
205
217
 
206
218
  self._compartment_id = None
@@ -223,6 +235,8 @@ class Secret(object):
223
235
  self._time_of_current_version_expiry = None
224
236
  self._time_of_deletion = None
225
237
  self._vault_id = None
238
+ self._secret_generation_context = None
239
+ self._is_auto_generation_enabled = None
226
240
 
227
241
  @property
228
242
  def compartment_id(self):
@@ -762,6 +776,50 @@ class Secret(object):
762
776
  """
763
777
  self._vault_id = vault_id
764
778
 
779
+ @property
780
+ def secret_generation_context(self):
781
+ """
782
+ Gets the secret_generation_context of this Secret.
783
+
784
+ :return: The secret_generation_context of this Secret.
785
+ :rtype: oci.vault.models.SecretGenerationContext
786
+ """
787
+ return self._secret_generation_context
788
+
789
+ @secret_generation_context.setter
790
+ def secret_generation_context(self, secret_generation_context):
791
+ """
792
+ Sets the secret_generation_context of this Secret.
793
+
794
+ :param secret_generation_context: The secret_generation_context of this Secret.
795
+ :type: oci.vault.models.SecretGenerationContext
796
+ """
797
+ self._secret_generation_context = secret_generation_context
798
+
799
+ @property
800
+ def is_auto_generation_enabled(self):
801
+ """
802
+ Gets the is_auto_generation_enabled of this Secret.
803
+ The value of this flag determines whether or not secret content will be generated automatically.
804
+
805
+
806
+ :return: The is_auto_generation_enabled of this Secret.
807
+ :rtype: bool
808
+ """
809
+ return self._is_auto_generation_enabled
810
+
811
+ @is_auto_generation_enabled.setter
812
+ def is_auto_generation_enabled(self, is_auto_generation_enabled):
813
+ """
814
+ Sets the is_auto_generation_enabled of this Secret.
815
+ The value of this flag determines whether or not secret content will be generated automatically.
816
+
817
+
818
+ :param is_auto_generation_enabled: The is_auto_generation_enabled of this Secret.
819
+ :type: bool
820
+ """
821
+ self._is_auto_generation_enabled = is_auto_generation_enabled
822
+
765
823
  def __repr__(self):
766
824
  return formatted_flat_dict(self)
767
825
 
@@ -0,0 +1,152 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
3
+ # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
+
5
+ # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20180608
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 SecretGenerationContext(object):
14
+ """
15
+ Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on.
16
+ """
17
+
18
+ #: A constant which can be used with the generation_type property of a SecretGenerationContext.
19
+ #: This constant has a value of "PASSPHRASE"
20
+ GENERATION_TYPE_PASSPHRASE = "PASSPHRASE"
21
+
22
+ #: A constant which can be used with the generation_type property of a SecretGenerationContext.
23
+ #: This constant has a value of "SSH_KEY"
24
+ GENERATION_TYPE_SSH_KEY = "SSH_KEY"
25
+
26
+ #: A constant which can be used with the generation_type property of a SecretGenerationContext.
27
+ #: This constant has a value of "BYTES"
28
+ GENERATION_TYPE_BYTES = "BYTES"
29
+
30
+ def __init__(self, **kwargs):
31
+ """
32
+ Initializes a new SecretGenerationContext object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
33
+ to a service operations then you should favor using a subclass over the base class:
34
+
35
+ * :class:`~oci.vault.models.PassphraseGenerationContext`
36
+ * :class:`~oci.vault.models.SshKeyGenerationContext`
37
+ * :class:`~oci.vault.models.BytesGenerationContext`
38
+
39
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
40
+
41
+ :param generation_type:
42
+ The value to assign to the generation_type property of this SecretGenerationContext.
43
+ Allowed values for this property are: "PASSPHRASE", "SSH_KEY", "BYTES", 'UNKNOWN_ENUM_VALUE'.
44
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
45
+ :type generation_type: str
46
+
47
+ :param secret_template:
48
+ The value to assign to the secret_template property of this SecretGenerationContext.
49
+ :type secret_template: str
50
+
51
+ """
52
+ self.swagger_types = {
53
+ 'generation_type': 'str',
54
+ 'secret_template': 'str'
55
+ }
56
+
57
+ self.attribute_map = {
58
+ 'generation_type': 'generationType',
59
+ 'secret_template': 'secretTemplate'
60
+ }
61
+
62
+ self._generation_type = None
63
+ self._secret_template = None
64
+
65
+ @staticmethod
66
+ def get_subtype(object_dictionary):
67
+ """
68
+ Given the hash representation of a subtype of this class,
69
+ use the info in the hash to return the class of the subtype.
70
+ """
71
+ type = object_dictionary['generationType']
72
+
73
+ if type == 'PASSPHRASE':
74
+ return 'PassphraseGenerationContext'
75
+
76
+ if type == 'SSH_KEY':
77
+ return 'SshKeyGenerationContext'
78
+
79
+ if type == 'BYTES':
80
+ return 'BytesGenerationContext'
81
+ else:
82
+ return 'SecretGenerationContext'
83
+
84
+ @property
85
+ def generation_type(self):
86
+ """
87
+ **[Required]** Gets the generation_type of this SecretGenerationContext.
88
+ Name of the predefined secret generation type.
89
+
90
+ Allowed values for this property are: "PASSPHRASE", "SSH_KEY", "BYTES", 'UNKNOWN_ENUM_VALUE'.
91
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
92
+
93
+
94
+ :return: The generation_type of this SecretGenerationContext.
95
+ :rtype: str
96
+ """
97
+ return self._generation_type
98
+
99
+ @generation_type.setter
100
+ def generation_type(self, generation_type):
101
+ """
102
+ Sets the generation_type of this SecretGenerationContext.
103
+ Name of the predefined secret generation type.
104
+
105
+
106
+ :param generation_type: The generation_type of this SecretGenerationContext.
107
+ :type: str
108
+ """
109
+ allowed_values = ["PASSPHRASE", "SSH_KEY", "BYTES"]
110
+ if not value_allowed_none_or_none_sentinel(generation_type, allowed_values):
111
+ generation_type = 'UNKNOWN_ENUM_VALUE'
112
+ self._generation_type = generation_type
113
+
114
+ @property
115
+ def secret_template(self):
116
+ """
117
+ Gets the secret_template of this SecretGenerationContext.
118
+ SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type.
119
+ The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets.
120
+ These placeholders are later replaced with the generated content and saved as a Base64 encoded content.
121
+
122
+
123
+ :return: The secret_template of this SecretGenerationContext.
124
+ :rtype: str
125
+ """
126
+ return self._secret_template
127
+
128
+ @secret_template.setter
129
+ def secret_template(self, secret_template):
130
+ """
131
+ Sets the secret_template of this SecretGenerationContext.
132
+ SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type.
133
+ The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets.
134
+ These placeholders are later replaced with the generated content and saved as a Base64 encoded content.
135
+
136
+
137
+ :param secret_template: The secret_template of this SecretGenerationContext.
138
+ :type: str
139
+ """
140
+ self._secret_template = secret_template
141
+
142
+ def __repr__(self):
143
+ return formatted_flat_dict(self)
144
+
145
+ def __eq__(self, other):
146
+ if other is None:
147
+ return False
148
+
149
+ return self.__dict__ == other.__dict__
150
+
151
+ def __ne__(self, other):
152
+ return not self == other