oci 2.135.0__py3-none-any.whl → 2.135.2__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 (431) 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 +26 -26
  6. oci/ai_language/ai_service_language_client.py +44 -44
  7. oci/ai_speech/ai_service_speech_client.py +19 -19
  8. oci/ai_vision/ai_service_vision_client.py +25 -25
  9. oci/analytics/analytics_client.py +24 -24
  10. oci/announcements_service/announcement_client.py +5 -5
  11. oci/announcements_service/announcement_subscription_client.py +9 -9
  12. oci/announcements_service/announcements_preferences_client.py +4 -4
  13. oci/announcements_service/service_client.py +1 -1
  14. oci/apigateway/api_gateway_client.py +21 -21
  15. oci/apigateway/deployment_client.py +6 -6
  16. oci/apigateway/gateway_client.py +6 -6
  17. oci/apigateway/subscribers_client.py +6 -6
  18. oci/apigateway/usage_plans_client.py +6 -6
  19. oci/apigateway/work_requests_client.py +5 -5
  20. oci/apm_config/config_client.py +9 -9
  21. oci/apm_control_plane/apm_domain_client.py +14 -14
  22. oci/apm_synthetics/apm_synthetic_client.py +28 -28
  23. oci/apm_traces/attributes_client.py +8 -8
  24. oci/apm_traces/query_client.py +2 -2
  25. oci/apm_traces/trace_client.py +4 -4
  26. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  27. oci/artifacts/artifacts_client.py +32 -32
  28. oci/audit/audit_client.py +3 -3
  29. oci/autoscaling/auto_scaling_client.py +11 -11
  30. oci/bastion/bastion_client.py +15 -15
  31. oci/bds/bds_client.py +72 -72
  32. oci/blockchain/blockchain_platform_client.py +27 -27
  33. oci/budget/budget_client.py +10 -10
  34. oci/capacity_management/capacity_management_client.py +32 -32
  35. oci/certificates/certificates_client.py +5 -5
  36. oci/certificates_management/certificates_management_client.py +32 -32
  37. oci/cims/incident_client.py +8 -8
  38. oci/cims/user_client.py +1 -1
  39. oci/cloud_bridge/common_client.py +5 -5
  40. oci/cloud_bridge/discovery_client.py +14 -14
  41. oci/cloud_bridge/inventory_client.py +16 -16
  42. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  43. oci/cloud_guard/cloud_guard_client.py +155 -155
  44. oci/cloud_migrations/migration_client.py +43 -43
  45. oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
  46. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  47. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  48. oci/compute_instance_agent/plugin_client.py +2 -2
  49. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  50. oci/container_engine/container_engine_client.py +98 -94
  51. oci/container_engine/models/cluster.py +6 -2
  52. oci/container_engine/models/cluster_summary.py +6 -2
  53. oci/container_engine/models/node.py +6 -2
  54. oci/container_engine/models/node_pool.py +6 -2
  55. oci/container_engine/models/node_pool_summary.py +6 -2
  56. oci/container_engine/models/start_credential_rotation_details.py +2 -2
  57. oci/container_engine/models/work_request.py +7 -3
  58. oci/container_engine/models/work_request_summary.py +7 -3
  59. oci/container_engine/models/workload_mapping.py +35 -2
  60. oci/container_engine/models/workload_mapping_summary.py +35 -2
  61. oci/container_instances/container_instance_client.py +18 -18
  62. oci/core/blockstorage_client.py +60 -60
  63. oci/core/compute_client.py +108 -102
  64. oci/core/compute_management_client.py +32 -32
  65. oci/core/models/__init__.py +2 -0
  66. oci/core/models/add_network_security_group_security_rules_details.py +6 -2
  67. oci/core/models/create_service_gateway_details.py +2 -2
  68. oci/core/models/create_vcn_details.py +35 -0
  69. oci/core/models/create_vnic_details.py +35 -0
  70. oci/core/models/instance.py +82 -0
  71. oci/core/models/instance_configuration_create_vnic_details.py +35 -0
  72. oci/core/models/instance_configuration_launch_instance_details.py +35 -0
  73. oci/core/models/launch_attach_paravirtualized_volume_details.py +123 -0
  74. oci/core/models/launch_attach_volume_details.py +4 -0
  75. oci/core/models/launch_instance_details.py +35 -0
  76. oci/core/models/service_gateway.py +4 -4
  77. oci/core/models/update_instance_details.py +35 -0
  78. oci/core/models/update_vcn_details.py +37 -2
  79. oci/core/models/update_vnic_details.py +35 -0
  80. oci/core/models/vcn.py +35 -0
  81. oci/core/models/vnic.py +35 -0
  82. oci/core/virtual_network_client.py +253 -250
  83. oci/dashboard_service/dashboard_client.py +6 -6
  84. oci/dashboard_service/dashboard_group_client.py +6 -6
  85. oci/data_catalog/data_catalog_client.py +149 -149
  86. oci/data_flow/data_flow_client.py +42 -42
  87. oci/data_integration/data_integration_client.py +163 -163
  88. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  89. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  90. oci/data_safe/data_safe_client.py +292 -292
  91. oci/data_science/data_science_client.py +91 -91
  92. oci/database/database_client.py +396 -396
  93. oci/database/models/autonomous_database.py +39 -0
  94. oci/database/models/autonomous_database_summary.py +39 -0
  95. oci/database/models/cloud_autonomous_vm_cluster.py +39 -0
  96. oci/database/models/cloud_autonomous_vm_cluster_summary.py +39 -0
  97. oci/database/models/cloud_vm_cluster.py +68 -2
  98. oci/database/models/cloud_vm_cluster_summary.py +68 -2
  99. oci/database/models/create_autonomous_database_base.py +39 -0
  100. oci/database/models/create_autonomous_database_clone_details.py +7 -0
  101. oci/database/models/create_autonomous_database_details.py +7 -0
  102. oci/database/models/create_autonomous_database_from_backup_details.py +7 -0
  103. oci/database/models/create_autonomous_database_from_backup_timestamp_details.py +7 -0
  104. oci/database/models/create_cloud_autonomous_vm_cluster_details.py +41 -2
  105. oci/database/models/create_cloud_vm_cluster_details.py +68 -2
  106. oci/database/models/create_cross_region_autonomous_database_data_guard_details.py +7 -0
  107. oci/database/models/create_cross_region_disaster_recovery_details.py +7 -0
  108. oci/database/models/create_cross_tenancy_disaster_recovery_details.py +7 -0
  109. oci/database/models/create_data_guard_association_with_new_db_system_details.py +39 -0
  110. oci/database/models/create_exadb_vm_cluster_details.py +39 -0
  111. oci/database/models/create_refreshable_autonomous_database_clone_details.py +7 -0
  112. oci/database/models/create_vm_cluster_details.py +29 -2
  113. oci/database/models/db_system.py +39 -0
  114. oci/database/models/db_system_summary.py +39 -0
  115. oci/database/models/exadb_vm_cluster.py +39 -0
  116. oci/database/models/exadb_vm_cluster_summary.py +39 -0
  117. oci/database/models/launch_db_system_base.py +39 -0
  118. oci/database/models/launch_db_system_details.py +7 -0
  119. oci/database/models/launch_db_system_from_backup_details.py +7 -0
  120. oci/database/models/launch_db_system_from_database_details.py +7 -0
  121. oci/database/models/launch_db_system_from_db_system_details.py +7 -0
  122. oci/database/models/undelete_autonomous_database_details.py +7 -0
  123. oci/database/models/update_autonomous_database_details.py +39 -0
  124. oci/database/models/update_cloud_autonomous_vm_cluster_details.py +41 -2
  125. oci/database/models/update_cloud_vm_cluster_details.py +68 -2
  126. oci/database/models/update_db_system_details.py +39 -0
  127. oci/database/models/update_exadb_vm_cluster_details.py +39 -0
  128. oci/database/models/update_vm_cluster_details.py +29 -2
  129. oci/database/models/vm_cluster.py +29 -2
  130. oci/database/models/vm_cluster_summary.py +29 -2
  131. oci/database_management/db_management_client.py +211 -211
  132. oci/database_management/diagnosability_client.py +4 -4
  133. oci/database_management/managed_my_sql_databases_client.py +7 -7
  134. oci/database_management/perfhub_client.py +1 -1
  135. oci/database_management/sql_tuning_client.py +17 -17
  136. oci/database_migration/database_migration_client.py +42 -42
  137. oci/database_tools/database_tools_client.py +23 -23
  138. oci/delegate_access_control/delegate_access_control_client.py +26 -26
  139. oci/delegate_access_control/work_request_client.py +4 -4
  140. oci/demand_signal/occ_demand_signal_client.py +7 -7
  141. oci/desktops/desktop_service_client.py +33 -22
  142. oci/desktops/models/__init__.py +18 -0
  143. oci/desktops/models/create_desktop_pool_desktop_session_lifecycle_actions.py +95 -0
  144. oci/desktops/models/create_desktop_pool_details.py +136 -4
  145. oci/desktops/models/create_desktop_pool_private_access_details.py +142 -0
  146. oci/desktops/models/create_desktop_pool_shape_config_details.py +170 -0
  147. oci/desktops/models/desktop_image.py +33 -2
  148. oci/desktops/models/desktop_network_configuration.py +14 -4
  149. oci/desktops/models/desktop_pool.py +136 -4
  150. oci/desktops/models/desktop_pool_private_access_details.py +212 -0
  151. oci/desktops/models/desktop_pool_shape_config.py +170 -0
  152. oci/desktops/models/desktop_session_lifecycle_actions.py +95 -0
  153. oci/desktops/models/disconnect_config.py +121 -0
  154. oci/desktops/models/inactivity_config.py +121 -0
  155. oci/desktops/models/update_desktop_pool_desktop_session_lifecycle_actions.py +95 -0
  156. oci/desktops/models/update_desktop_pool_details.py +29 -2
  157. oci/devops/devops_client.py +141 -141
  158. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  159. oci/dns/dns_client.py +52 -52
  160. oci/dts/appliance_export_job_client.py +6 -6
  161. oci/dts/shipping_vendors_client.py +1 -1
  162. oci/dts/transfer_appliance_client.py +8 -8
  163. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  164. oci/dts/transfer_device_client.py +5 -5
  165. oci/dts/transfer_job_client.py +6 -6
  166. oci/dts/transfer_package_client.py +7 -7
  167. oci/em_warehouse/em_data_lake_client.py +13 -13
  168. oci/em_warehouse/em_warehouse_client.py +13 -13
  169. oci/email/email_client.py +31 -31
  170. oci/email_data_plane/email_dp_client.py +1 -1
  171. oci/events/events_client.py +6 -6
  172. oci/file_storage/file_storage_client.py +54 -54
  173. oci/fleet_apps_management/fleet_apps_management_admin_client.py +8 -8
  174. oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
  175. oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
  176. oci/fleet_apps_management/fleet_apps_management_operations_client.py +13 -13
  177. oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +4 -4
  178. oci/fleet_software_update/fleet_software_update_client.py +46 -46
  179. oci/functions/functions_invoke_client.py +1 -1
  180. oci/functions/functions_management_client.py +16 -16
  181. oci/fusion_apps/data_masking_activity_client.py +3 -3
  182. oci/fusion_apps/fusion_applications_client.py +42 -42
  183. oci/fusion_apps/fusion_environment_client.py +15 -15
  184. oci/fusion_apps/fusion_environment_family_client.py +8 -8
  185. oci/fusion_apps/models/create_fusion_environment_admin_user_details.py +1 -1
  186. oci/fusion_apps/refresh_activity_client.py +4 -4
  187. oci/fusion_apps/scheduled_activity_client.py +2 -2
  188. oci/fusion_apps/service_attachment_client.py +2 -2
  189. oci/generative_ai/generative_ai_client.py +22 -22
  190. oci/generative_ai_agent/generative_ai_agent_client.py +33 -33
  191. oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +5 -5
  192. oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
  193. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  194. oci/globally_distributed_database/sharded_database_service_client.py +30 -30
  195. oci/golden_gate/golden_gate_client.py +68 -68
  196. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  197. oci/governance_rules_control_plane/work_request_client.py +5 -5
  198. oci/healthchecks/health_checks_client.py +17 -17
  199. oci/identity/identity_client.py +145 -145
  200. oci/identity_data_plane/dataplane_client.py +2 -2
  201. oci/identity_domains/identity_domains_client.py +307 -307
  202. oci/integration/integration_instance_client.py +137 -18
  203. oci/integration/integration_instance_client_composite_operations.py +39 -0
  204. oci/integration/models/__init__.py +4 -0
  205. oci/integration/models/create_integration_instance_details.py +31 -0
  206. oci/integration/models/cross_region_integration_instance_details.py +185 -0
  207. oci/integration/models/disaster_recovery_details.py +150 -0
  208. oci/integration/models/integration_instance.py +89 -0
  209. oci/integration/models/integration_instance_summary.py +62 -0
  210. oci/integration/models/work_request.py +7 -3
  211. oci/integration/models/work_request_summary.py +7 -3
  212. oci/jms/java_management_service_client.py +75 -75
  213. oci/jms_java_downloads/java_download_client.py +25 -25
  214. oci/key_management/ekm_client.py +5 -5
  215. oci/key_management/kms_crypto_client.py +6 -6
  216. oci/key_management/kms_hsm_cluster_client.py +12 -12
  217. oci/key_management/kms_management_client.py +21 -21
  218. oci/key_management/kms_vault_client.py +14 -14
  219. oci/license_manager/license_manager_client.py +18 -18
  220. oci/limits/limits_client.py +4 -4
  221. oci/limits/quotas_client.py +7 -7
  222. oci/load_balancer/load_balancer_client.py +61 -61
  223. oci/load_balancer/models/connection_configuration.py +47 -2
  224. oci/load_balancer/models/create_load_balancer_details.py +35 -0
  225. oci/load_balancer/models/load_balancer.py +35 -0
  226. oci/load_balancer/models/update_load_balancer_details.py +37 -2
  227. oci/lockbox/lockbox_client.py +24 -24
  228. oci/log_analytics/log_analytics_client.py +193 -193
  229. oci/logging/logging_management_client.py +30 -30
  230. oci/loggingingestion/logging_client.py +1 -1
  231. oci/loggingsearch/log_search_client.py +1 -1
  232. oci/management_agent/management_agent_client.py +28 -28
  233. oci/management_dashboard/dashx_apis_client.py +14 -14
  234. oci/marketplace/account_client.py +2 -2
  235. oci/marketplace/marketplace_client.py +30 -30
  236. oci/marketplace_private_offer/attachment_client.py +5 -5
  237. oci/marketplace_private_offer/offer_client.py +6 -6
  238. oci/marketplace_publisher/attachment_client.py +5 -5
  239. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  240. oci/marketplace_publisher/offer_client.py +6 -6
  241. oci/media_services/media_services_client.py +60 -60
  242. oci/media_services/media_stream_client.py +2 -2
  243. oci/monitoring/monitoring_client.py +18 -18
  244. oci/mysql/channels_client.py +7 -7
  245. oci/mysql/db_backups_client.py +7 -7
  246. oci/mysql/db_system_client.py +17 -17
  247. oci/mysql/mysqlaas_client.py +7 -7
  248. oci/mysql/replicas_client.py +5 -5
  249. oci/mysql/work_requests_client.py +4 -4
  250. oci/network_firewall/network_firewall_client.py +86 -86
  251. oci/network_load_balancer/models/create_network_load_balancer_details.py +43 -2
  252. oci/network_load_balancer/models/network_load_balancer.py +41 -0
  253. oci/network_load_balancer/models/network_load_balancer_summary.py +41 -0
  254. oci/network_load_balancer/models/update_network_load_balancer_details.py +43 -2
  255. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  256. oci/nosql/nosql_client.py +24 -24
  257. oci/object_storage/object_storage_client.py +55 -55
  258. oci/oce/oce_instance_client.py +10 -10
  259. oci/oci_control_center/occ_metrics_client.py +3 -3
  260. oci/ocvp/cluster_client.py +5 -5
  261. oci/ocvp/esxi_host_client.py +8 -8
  262. oci/ocvp/sddc_client.py +14 -14
  263. oci/ocvp/work_request_client.py +4 -4
  264. oci/oda/management_client.py +59 -59
  265. oci/oda/oda_client.py +17 -17
  266. oci/oda/odapackage_client.py +7 -7
  267. oci/onesubscription/billing_schedule_client.py +1 -1
  268. oci/onesubscription/commitment_client.py +2 -2
  269. oci/onesubscription/computed_usage_client.py +3 -3
  270. oci/onesubscription/invoice_summary_client.py +2 -2
  271. oci/onesubscription/organization_subscription_client.py +1 -1
  272. oci/onesubscription/ratecard_client.py +1 -1
  273. oci/onesubscription/subscribed_service_client.py +2 -2
  274. oci/onesubscription/subscription_client.py +1 -1
  275. oci/ons/notification_control_plane_client.py +6 -6
  276. oci/ons/notification_data_plane_client.py +10 -10
  277. oci/opa/opa_instance_client.py +13 -13
  278. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  279. oci/opensearch/opensearch_cluster_client.py +14 -14
  280. oci/operator_access_control/access_requests_client.py +10 -10
  281. oci/operator_access_control/operator_actions_client.py +2 -2
  282. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  283. oci/operator_access_control/operator_control_client.py +6 -6
  284. oci/opsi/models/__init__.py +6 -0
  285. oci/opsi/models/create_autonomous_database_insight_details.py +291 -0
  286. oci/opsi/models/create_database_insight_details.py +4 -0
  287. oci/opsi/models/credential_by_iam.py +58 -0
  288. oci/opsi/models/credential_by_vault.py +1 -1
  289. oci/opsi/models/credential_details.py +13 -5
  290. oci/opsi/models/credentials_by_source.py +1 -1
  291. oci/opsi/models/enable_autonomous_database_insight_details.py +301 -0
  292. oci/opsi/models/enable_database_insight_details.py +4 -0
  293. oci/opsi/operations_insights_client.py +179 -179
  294. oci/optimizer/optimizer_client.py +26 -26
  295. oci/os_management/event_client.py +8 -8
  296. oci/os_management/os_management_client.py +69 -69
  297. oci/os_management_hub/event_client.py +8 -8
  298. oci/os_management_hub/lifecycle_environment_client.py +12 -12
  299. oci/os_management_hub/managed_instance_client.py +31 -31
  300. oci/os_management_hub/managed_instance_group_client.py +25 -25
  301. oci/os_management_hub/management_station_client.py +10 -10
  302. oci/os_management_hub/onboarding_client.py +6 -6
  303. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  304. oci/os_management_hub/scheduled_job_client.py +7 -7
  305. oci/os_management_hub/software_source_client.py +27 -27
  306. oci/os_management_hub/work_request_client.py +4 -4
  307. oci/osp_gateway/address_rule_service_client.py +1 -1
  308. oci/osp_gateway/address_service_client.py +2 -2
  309. oci/osp_gateway/invoice_service_client.py +5 -5
  310. oci/osp_gateway/subscription_service_client.py +5 -5
  311. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  312. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  313. oci/osub_subscription/commitment_client.py +2 -2
  314. oci/osub_subscription/ratecard_client.py +1 -1
  315. oci/osub_subscription/subscription_client.py +1 -1
  316. oci/osub_usage/computed_usage_client.py +3 -3
  317. oci/psql/postgresql_client.py +33 -33
  318. oci/queue/queue_admin_client.py +11 -11
  319. oci/queue/queue_client.py +8 -8
  320. oci/recovery/database_recovery_client.py +26 -26
  321. oci/redis/redis_cluster_client.py +12 -12
  322. oci/regions_definitions.py +8 -0
  323. oci/resource_manager/resource_manager_client.py +52 -52
  324. oci/resource_scheduler/schedule_client.py +13 -13
  325. oci/resource_search/resource_search_client.py +3 -3
  326. oci/rover/rover_bundle_client.py +8 -8
  327. oci/rover/rover_cluster_client.py +8 -8
  328. oci/rover/rover_entitlement_client.py +6 -6
  329. oci/rover/rover_node_client.py +15 -15
  330. oci/rover/shape_client.py +1 -1
  331. oci/rover/work_requests_client.py +5 -5
  332. oci/sch/connector_plugins_client.py +2 -2
  333. oci/sch/service_connector_client.py +12 -12
  334. oci/secrets/secrets_client.py +3 -3
  335. oci/security_attribute/__init__.py +14 -0
  336. oci/security_attribute/models/__init__.py +54 -0
  337. oci/security_attribute/models/base_security_attribute_validator.py +122 -0
  338. oci/security_attribute/models/bulk_delete_security_attributes_details.py +72 -0
  339. oci/security_attribute/models/bulk_edit_resource.py +134 -0
  340. oci/security_attribute/models/bulk_edit_security_attribute_details.py +134 -0
  341. oci/security_attribute/models/bulk_edit_security_attribute_operation_details.py +147 -0
  342. oci/security_attribute/models/change_security_attribute_namespace_compartment_details.py +72 -0
  343. oci/security_attribute/models/create_security_attribute_details.py +132 -0
  344. oci/security_attribute/models/create_security_attribute_namespace_details.py +216 -0
  345. oci/security_attribute/models/default_security_attribute_validator.py +53 -0
  346. oci/security_attribute/models/enum_security_attribute_validator.py +85 -0
  347. oci/security_attribute/models/security_attribute.py +421 -0
  348. oci/security_attribute/models/security_attribute_namespace.py +446 -0
  349. oci/security_attribute/models/security_attribute_namespace_summary.py +410 -0
  350. oci/security_attribute/models/security_attribute_summary.py +361 -0
  351. oci/security_attribute/models/security_attribute_work_request.py +387 -0
  352. oci/security_attribute/models/security_attribute_work_request_error_summary.py +136 -0
  353. oci/security_attribute/models/security_attribute_work_request_log_summary.py +105 -0
  354. oci/security_attribute/models/security_attribute_work_request_summary.py +386 -0
  355. oci/security_attribute/models/update_security_attribute_details.py +136 -0
  356. oci/security_attribute/models/update_security_attribute_namespace_details.py +191 -0
  357. oci/security_attribute/models/work_request_resource.py +197 -0
  358. oci/security_attribute/security_attribute_client.py +2321 -0
  359. oci/security_attribute/security_attribute_client_composite_operations.py +265 -0
  360. oci/service_catalog/service_catalog_client.py +26 -26
  361. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  362. oci/service_mesh/service_mesh_client.py +48 -48
  363. oci/stack_monitoring/models/__init__.py +20 -0
  364. oci/stack_monitoring/models/create_maintenance_window_details.py +196 -0
  365. oci/stack_monitoring/models/create_maintenance_window_resource_details.py +111 -0
  366. oci/stack_monitoring/models/maintenance_window.py +439 -0
  367. oci/stack_monitoring/models/maintenance_window_collection.py +72 -0
  368. oci/stack_monitoring/models/maintenance_window_schedule.py +109 -0
  369. oci/stack_monitoring/models/maintenance_window_summary.py +519 -0
  370. oci/stack_monitoring/models/monitored_resource_details.py +171 -0
  371. oci/stack_monitoring/models/one_time_maintenance_window_schedule.py +113 -0
  372. oci/stack_monitoring/models/recurrent_maintenance_window_schedule.py +191 -0
  373. oci/stack_monitoring/models/update_maintenance_window_details.py +130 -0
  374. oci/stack_monitoring/models/work_request.py +19 -3
  375. oci/stack_monitoring/models/work_request_summary.py +19 -3
  376. oci/stack_monitoring/stack_monitoring_client.py +921 -113
  377. oci/stack_monitoring/stack_monitoring_client_composite_operations.py +214 -0
  378. oci/streaming/stream_admin_client.py +18 -18
  379. oci/streaming/stream_client.py +8 -8
  380. oci/tenant_manager_control_plane/domain_client.py +5 -5
  381. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  382. oci/tenant_manager_control_plane/governance_client.py +2 -2
  383. oci/tenant_manager_control_plane/link_client.py +3 -3
  384. oci/tenant_manager_control_plane/orders_client.py +2 -2
  385. oci/tenant_manager_control_plane/organization_client.py +10 -10
  386. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  387. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  388. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  389. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  390. oci/threat_intelligence/threatintel_client.py +5 -5
  391. oci/usage/resources_client.py +2 -2
  392. oci/usage/rewards_client.py +6 -6
  393. oci/usage/usagelimits_client.py +1 -1
  394. oci/usage_api/usageapi_client.py +33 -33
  395. oci/vault/vaults_client.py +13 -13
  396. oci/vbs_inst/vbs_instance_client.py +10 -10
  397. oci/version.py +1 -1
  398. oci/visual_builder/vb_instance_client.py +13 -13
  399. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  400. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  401. oci/waa/waa_client.py +13 -13
  402. oci/waa/work_request_client.py +4 -4
  403. oci/waas/redirect_client.py +6 -6
  404. oci/waas/waas_client.py +66 -66
  405. oci/waf/waf_client.py +24 -24
  406. oci/work_requests/work_request_client.py +4 -4
  407. oci/zpr/__init__.py +14 -0
  408. oci/zpr/models/__init__.py +42 -0
  409. oci/zpr/models/configuration.py +449 -0
  410. oci/zpr/models/create_configuration_details.py +189 -0
  411. oci/zpr/models/create_zpr_policy_details.py +251 -0
  412. oci/zpr/models/update_zpr_policy_details.py +185 -0
  413. oci/zpr/models/work_request.py +459 -0
  414. oci/zpr/models/work_request_error.py +146 -0
  415. oci/zpr/models/work_request_error_collection.py +72 -0
  416. oci/zpr/models/work_request_log_entry.py +109 -0
  417. oci/zpr/models/work_request_log_entry_collection.py +72 -0
  418. oci/zpr/models/work_request_resource.py +238 -0
  419. oci/zpr/models/work_request_summary.py +457 -0
  420. oci/zpr/models/work_request_summary_collection.py +72 -0
  421. oci/zpr/models/zpr_policy.py +505 -0
  422. oci/zpr/models/zpr_policy_collection.py +72 -0
  423. oci/zpr/models/zpr_policy_summary.py +463 -0
  424. oci/zpr/zpr_client.py +2123 -0
  425. oci/zpr/zpr_client_composite_operations.py +197 -0
  426. {oci-2.135.0.dist-info → oci-2.135.2.dist-info}/METADATA +2 -2
  427. {oci-2.135.0.dist-info → oci-2.135.2.dist-info}/RECORD +431 -362
  428. {oci-2.135.0.dist-info → oci-2.135.2.dist-info}/LICENSE.txt +0 -0
  429. {oci-2.135.0.dist-info → oci-2.135.2.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  430. {oci-2.135.0.dist-info → oci-2.135.2.dist-info}/WHEEL +0 -0
  431. {oci-2.135.0.dist-info → oci-2.135.2.dist-info}/top_level.txt +0 -0
@@ -161,7 +161,7 @@ class IntegrationInstanceClient(object):
161
161
  :rtype: :class:`~oci.response.Response`
162
162
 
163
163
  :example:
164
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.0/integration/add_oracle_managed_custom_endpoint.py.html>`__ to see an example of how to use add_oracle_managed_custom_endpoint API.
164
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/integration/add_oracle_managed_custom_endpoint.py.html>`__ to see an example of how to use add_oracle_managed_custom_endpoint API.
165
165
  """
166
166
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
167
167
  required_arguments = ['integrationInstanceId']
@@ -282,7 +282,7 @@ class IntegrationInstanceClient(object):
282
282
  :rtype: :class:`~oci.response.Response`
283
283
 
284
284
  :example:
285
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.0/integration/change_integration_instance_compartment.py.html>`__ to see an example of how to use change_integration_instance_compartment API.
285
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/integration/change_integration_instance_compartment.py.html>`__ to see an example of how to use change_integration_instance_compartment API.
286
286
  """
287
287
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
288
288
  required_arguments = ['integrationInstanceId']
@@ -402,7 +402,7 @@ class IntegrationInstanceClient(object):
402
402
  :rtype: :class:`~oci.response.Response`
403
403
 
404
404
  :example:
405
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.0/integration/change_integration_instance_network_endpoint.py.html>`__ to see an example of how to use change_integration_instance_network_endpoint API.
405
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/integration/change_integration_instance_network_endpoint.py.html>`__ to see an example of how to use change_integration_instance_network_endpoint API.
406
406
  """
407
407
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
408
408
  required_arguments = ['integrationInstanceId']
@@ -522,7 +522,7 @@ class IntegrationInstanceClient(object):
522
522
  :rtype: :class:`~oci.response.Response`
523
523
 
524
524
  :example:
525
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.0/integration/change_private_endpoint_outbound_connection.py.html>`__ to see an example of how to use change_private_endpoint_outbound_connection API.
525
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/integration/change_private_endpoint_outbound_connection.py.html>`__ to see an example of how to use change_private_endpoint_outbound_connection API.
526
526
  """
527
527
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
528
528
  required_arguments = ['integrationInstanceId']
@@ -631,7 +631,7 @@ class IntegrationInstanceClient(object):
631
631
  :rtype: :class:`~oci.response.Response`
632
632
 
633
633
  :example:
634
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.0/integration/create_integration_instance.py.html>`__ to see an example of how to use create_integration_instance API.
634
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/integration/create_integration_instance.py.html>`__ to see an example of how to use create_integration_instance API.
635
635
  """
636
636
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
637
637
  required_arguments = []
@@ -727,7 +727,7 @@ class IntegrationInstanceClient(object):
727
727
  :rtype: :class:`~oci.response.Response`
728
728
 
729
729
  :example:
730
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.0/integration/delete_integration_instance.py.html>`__ to see an example of how to use delete_integration_instance API.
730
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/integration/delete_integration_instance.py.html>`__ to see an example of how to use delete_integration_instance API.
731
731
  """
732
732
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
733
733
  required_arguments = ['integrationInstanceId']
@@ -796,6 +796,125 @@ class IntegrationInstanceClient(object):
796
796
  api_reference_link=api_reference_link,
797
797
  required_arguments=required_arguments)
798
798
 
799
+ def disaster_recovery_failover(self, integration_instance_id, **kwargs):
800
+ """
801
+ Allows failover for disaster recovery. Called in the context of integration instance in that region.
802
+ Upon calling the failover api in the region where given instance was created,
803
+ the intigration instance if primary will be switched to standby and crossRegion integration instance
804
+ will be switched to primary and vice-versa.
805
+
806
+
807
+ :param str integration_instance_id: (required)
808
+ Unique Integration Instance identifier.
809
+
810
+ :param str if_match: (optional)
811
+ For optimistic concurrency control. In the PUT or DELETE call
812
+ for a resource, set the `if-match` parameter to the value of the
813
+ etag from a previous GET or POST response for that resource.
814
+ The resource will be updated or deleted only if the etag you
815
+ provide matches the resource's current etag value.
816
+
817
+ :param str opc_request_id: (optional)
818
+ The client request ID for tracing.
819
+
820
+ :param str opc_retry_token: (optional)
821
+ A token that uniquely identifies a request so it can be retried in case
822
+ of a timeout or server error without risk of executing that same action
823
+ again. Retry tokens expire after 24 hours, but can be invalidated before
824
+ then due to conflicting operations. For example, if a resource has been
825
+ deleted and purged from the system, then a retry of the original creation
826
+ request might be rejected.
827
+
828
+ :param obj retry_strategy: (optional)
829
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
830
+
831
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
832
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
833
+
834
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
835
+
836
+ :param bool allow_control_chars: (optional)
837
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
838
+ By default, the response will not allow control characters in strings
839
+
840
+ :return: A :class:`~oci.response.Response` object with data of type None
841
+ :rtype: :class:`~oci.response.Response`
842
+
843
+ :example:
844
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/integration/disaster_recovery_failover.py.html>`__ to see an example of how to use disaster_recovery_failover API.
845
+ """
846
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
847
+ required_arguments = ['integrationInstanceId']
848
+ resource_path = "/integrationInstances/{integrationInstanceId}/actions/failover"
849
+ method = "POST"
850
+ operation_name = "disaster_recovery_failover"
851
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/integration/20190131/IntegrationInstance/DisasterRecoveryFailover"
852
+
853
+ # Don't accept unknown kwargs
854
+ expected_kwargs = [
855
+ "allow_control_chars",
856
+ "retry_strategy",
857
+ "if_match",
858
+ "opc_request_id",
859
+ "opc_retry_token"
860
+ ]
861
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
862
+ if extra_kwargs:
863
+ raise ValueError(
864
+ f"disaster_recovery_failover got unknown kwargs: {extra_kwargs!r}")
865
+
866
+ path_params = {
867
+ "integrationInstanceId": integration_instance_id
868
+ }
869
+
870
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
871
+
872
+ for (k, v) in six.iteritems(path_params):
873
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
874
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
875
+
876
+ header_params = {
877
+ "accept": "application/json",
878
+ "content-type": "application/json",
879
+ "if-match": kwargs.get("if_match", missing),
880
+ "opc-request-id": kwargs.get("opc_request_id", missing),
881
+ "opc-retry-token": kwargs.get("opc_retry_token", missing)
882
+ }
883
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
884
+
885
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
886
+ operation_retry_strategy=kwargs.get('retry_strategy'),
887
+ client_retry_strategy=self.retry_strategy
888
+ )
889
+ if retry_strategy is None:
890
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
891
+
892
+ if retry_strategy:
893
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
894
+ self.base_client.add_opc_retry_token_if_needed(header_params)
895
+ self.base_client.add_opc_client_retries_header(header_params)
896
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
897
+ return retry_strategy.make_retrying_call(
898
+ self.base_client.call_api,
899
+ resource_path=resource_path,
900
+ method=method,
901
+ path_params=path_params,
902
+ header_params=header_params,
903
+ allow_control_chars=kwargs.get('allow_control_chars'),
904
+ operation_name=operation_name,
905
+ api_reference_link=api_reference_link,
906
+ required_arguments=required_arguments)
907
+ else:
908
+ return self.base_client.call_api(
909
+ resource_path=resource_path,
910
+ method=method,
911
+ path_params=path_params,
912
+ header_params=header_params,
913
+ allow_control_chars=kwargs.get('allow_control_chars'),
914
+ operation_name=operation_name,
915
+ api_reference_link=api_reference_link,
916
+ required_arguments=required_arguments)
917
+
799
918
  def enable_process_automation(self, integration_instance_id, **kwargs):
800
919
  """
801
920
  Enable Process Automation for given Integration Instance
@@ -838,7 +957,7 @@ class IntegrationInstanceClient(object):
838
957
  :rtype: :class:`~oci.response.Response`
839
958
 
840
959
  :example:
841
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.0/integration/enable_process_automation.py.html>`__ to see an example of how to use enable_process_automation API.
960
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/integration/enable_process_automation.py.html>`__ to see an example of how to use enable_process_automation API.
842
961
  """
843
962
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
844
963
  required_arguments = ['integrationInstanceId']
@@ -955,7 +1074,7 @@ class IntegrationInstanceClient(object):
955
1074
  :rtype: :class:`~oci.response.Response`
956
1075
 
957
1076
  :example:
958
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.0/integration/extend_data_retention.py.html>`__ to see an example of how to use extend_data_retention API.
1077
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/integration/extend_data_retention.py.html>`__ to see an example of how to use extend_data_retention API.
959
1078
  """
960
1079
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
961
1080
  required_arguments = ['integrationInstanceId']
@@ -1058,7 +1177,7 @@ class IntegrationInstanceClient(object):
1058
1177
  :rtype: :class:`~oci.response.Response`
1059
1178
 
1060
1179
  :example:
1061
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.0/integration/get_integration_instance.py.html>`__ to see an example of how to use get_integration_instance API.
1180
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/integration/get_integration_instance.py.html>`__ to see an example of how to use get_integration_instance API.
1062
1181
  """
1063
1182
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1064
1183
  required_arguments = ['integrationInstanceId']
@@ -1154,7 +1273,7 @@ class IntegrationInstanceClient(object):
1154
1273
  :rtype: :class:`~oci.response.Response`
1155
1274
 
1156
1275
  :example:
1157
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.0/integration/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
1276
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/integration/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
1158
1277
  """
1159
1278
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1160
1279
  required_arguments = ['workRequestId']
@@ -1278,7 +1397,7 @@ class IntegrationInstanceClient(object):
1278
1397
  :rtype: :class:`~oci.response.Response`
1279
1398
 
1280
1399
  :example:
1281
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.0/integration/list_integration_instances.py.html>`__ to see an example of how to use list_integration_instances API.
1400
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/integration/list_integration_instances.py.html>`__ to see an example of how to use list_integration_instances API.
1282
1401
  """
1283
1402
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1284
1403
  required_arguments = ['compartmentId']
@@ -1411,7 +1530,7 @@ class IntegrationInstanceClient(object):
1411
1530
  :rtype: :class:`~oci.response.Response`
1412
1531
 
1413
1532
  :example:
1414
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.0/integration/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
1533
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/integration/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
1415
1534
  """
1416
1535
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1417
1536
  required_arguments = ['workRequestId', 'compartmentId']
@@ -1527,7 +1646,7 @@ class IntegrationInstanceClient(object):
1527
1646
  :rtype: :class:`~oci.response.Response`
1528
1647
 
1529
1648
  :example:
1530
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.0/integration/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
1649
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/integration/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
1531
1650
  """
1532
1651
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1533
1652
  required_arguments = ['workRequestId', 'compartmentId']
@@ -1643,7 +1762,7 @@ class IntegrationInstanceClient(object):
1643
1762
  :rtype: :class:`~oci.response.Response`
1644
1763
 
1645
1764
  :example:
1646
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.0/integration/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
1765
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/integration/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
1647
1766
  """
1648
1767
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1649
1768
  required_arguments = ['compartmentId']
@@ -1755,7 +1874,7 @@ class IntegrationInstanceClient(object):
1755
1874
  :rtype: :class:`~oci.response.Response`
1756
1875
 
1757
1876
  :example:
1758
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.0/integration/remove_oracle_managed_custom_endpoint.py.html>`__ to see an example of how to use remove_oracle_managed_custom_endpoint API.
1877
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/integration/remove_oracle_managed_custom_endpoint.py.html>`__ to see an example of how to use remove_oracle_managed_custom_endpoint API.
1759
1878
  """
1760
1879
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1761
1880
  required_arguments = ['integrationInstanceId']
@@ -1871,7 +1990,7 @@ class IntegrationInstanceClient(object):
1871
1990
  :rtype: :class:`~oci.response.Response`
1872
1991
 
1873
1992
  :example:
1874
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.0/integration/start_integration_instance.py.html>`__ to see an example of how to use start_integration_instance API.
1993
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/integration/start_integration_instance.py.html>`__ to see an example of how to use start_integration_instance API.
1875
1994
  """
1876
1995
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1877
1996
  required_arguments = ['integrationInstanceId']
@@ -1985,7 +2104,7 @@ class IntegrationInstanceClient(object):
1985
2104
  :rtype: :class:`~oci.response.Response`
1986
2105
 
1987
2106
  :example:
1988
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.0/integration/stop_integration_instance.py.html>`__ to see an example of how to use stop_integration_instance API.
2107
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/integration/stop_integration_instance.py.html>`__ to see an example of how to use stop_integration_instance API.
1989
2108
  """
1990
2109
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1991
2110
  required_arguments = ['integrationInstanceId']
@@ -2094,7 +2213,7 @@ class IntegrationInstanceClient(object):
2094
2213
  :rtype: :class:`~oci.response.Response`
2095
2214
 
2096
2215
  :example:
2097
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.0/integration/update_integration_instance.py.html>`__ to see an example of how to use update_integration_instance API.
2216
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/integration/update_integration_instance.py.html>`__ to see an example of how to use update_integration_instance API.
2098
2217
  """
2099
2218
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2100
2219
  required_arguments = ['integrationInstanceId']
@@ -279,6 +279,45 @@ class IntegrationInstanceClientCompositeOperations(object):
279
279
  except Exception as e:
280
280
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
281
281
 
282
+ def disaster_recovery_failover_and_wait_for_state(self, integration_instance_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
283
+ """
284
+ Calls :py:func:`~oci.integration.IntegrationInstanceClient.disaster_recovery_failover` and waits for the :py:class:`~oci.integration.models.WorkRequest`
285
+ to enter the given state(s).
286
+
287
+ :param str integration_instance_id: (required)
288
+ Unique Integration Instance identifier.
289
+
290
+ :param list[str] wait_for_states:
291
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.integration.models.WorkRequest.status`
292
+
293
+ :param dict operation_kwargs:
294
+ A dictionary of keyword arguments to pass to :py:func:`~oci.integration.IntegrationInstanceClient.disaster_recovery_failover`
295
+
296
+ :param dict waiter_kwargs:
297
+ A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
298
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
299
+ """
300
+ operation_result = self.client.disaster_recovery_failover(integration_instance_id, **operation_kwargs)
301
+ if not wait_for_states:
302
+ return operation_result
303
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
304
+ if 'opc-work-request-id' not in operation_result.headers:
305
+ return operation_result
306
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
307
+
308
+ try:
309
+ waiter_result = oci.wait_until(
310
+ self.client,
311
+ self.client.get_work_request(wait_for_resource_id),
312
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
313
+ **waiter_kwargs
314
+ )
315
+ result_to_return = waiter_result
316
+
317
+ return result_to_return
318
+ except Exception as e:
319
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
320
+
282
321
  def enable_process_automation_and_wait_for_state(self, integration_instance_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
283
322
  """
284
323
  Calls :py:func:`~oci.integration.IntegrationInstanceClient.enable_process_automation` and waits for the :py:class:`~oci.integration.models.WorkRequest`
@@ -13,7 +13,9 @@ from .change_integration_instance_network_endpoint_details import ChangeIntegrat
13
13
  from .change_private_endpoint_outbound_connection_details import ChangePrivateEndpointOutboundConnectionDetails
14
14
  from .create_custom_endpoint_details import CreateCustomEndpointDetails
15
15
  from .create_integration_instance_details import CreateIntegrationInstanceDetails
16
+ from .cross_region_integration_instance_details import CrossRegionIntegrationInstanceDetails
16
17
  from .custom_endpoint_details import CustomEndpointDetails
18
+ from .disaster_recovery_details import DisasterRecoveryDetails
17
19
  from .extend_data_retention_details import ExtendDataRetentionDetails
18
20
  from .idcs_info_details import IdcsInfoDetails
19
21
  from .integration_instance import IntegrationInstance
@@ -41,7 +43,9 @@ integration_type_mapping = {
41
43
  "ChangePrivateEndpointOutboundConnectionDetails": ChangePrivateEndpointOutboundConnectionDetails,
42
44
  "CreateCustomEndpointDetails": CreateCustomEndpointDetails,
43
45
  "CreateIntegrationInstanceDetails": CreateIntegrationInstanceDetails,
46
+ "CrossRegionIntegrationInstanceDetails": CrossRegionIntegrationInstanceDetails,
44
47
  "CustomEndpointDetails": CustomEndpointDetails,
48
+ "DisasterRecoveryDetails": DisasterRecoveryDetails,
45
49
  "ExtendDataRetentionDetails": ExtendDataRetentionDetails,
46
50
  "IdcsInfoDetails": IdcsInfoDetails,
47
51
  "IntegrationInstance": IntegrationInstance,
@@ -119,6 +119,10 @@ class CreateIntegrationInstanceDetails(object):
119
119
  The value to assign to the is_file_server_enabled property of this CreateIntegrationInstanceDetails.
120
120
  :type is_file_server_enabled: bool
121
121
 
122
+ :param is_disaster_recovery_enabled:
123
+ The value to assign to the is_disaster_recovery_enabled property of this CreateIntegrationInstanceDetails.
124
+ :type is_disaster_recovery_enabled: bool
125
+
122
126
  :param network_endpoint_details:
123
127
  The value to assign to the network_endpoint_details property of this CreateIntegrationInstanceDetails.
124
128
  :type network_endpoint_details: oci.integration.models.NetworkEndpointDetails
@@ -147,6 +151,7 @@ class CreateIntegrationInstanceDetails(object):
147
151
  'alternate_custom_endpoints': 'list[CreateCustomEndpointDetails]',
148
152
  'consumption_model': 'str',
149
153
  'is_file_server_enabled': 'bool',
154
+ 'is_disaster_recovery_enabled': 'bool',
150
155
  'network_endpoint_details': 'NetworkEndpointDetails',
151
156
  'shape': 'str',
152
157
  'domain_id': 'str'
@@ -166,6 +171,7 @@ class CreateIntegrationInstanceDetails(object):
166
171
  'alternate_custom_endpoints': 'alternateCustomEndpoints',
167
172
  'consumption_model': 'consumptionModel',
168
173
  'is_file_server_enabled': 'isFileServerEnabled',
174
+ 'is_disaster_recovery_enabled': 'isDisasterRecoveryEnabled',
169
175
  'network_endpoint_details': 'networkEndpointDetails',
170
176
  'shape': 'shape',
171
177
  'domain_id': 'domainId'
@@ -184,6 +190,7 @@ class CreateIntegrationInstanceDetails(object):
184
190
  self._alternate_custom_endpoints = None
185
191
  self._consumption_model = None
186
192
  self._is_file_server_enabled = None
193
+ self._is_disaster_recovery_enabled = None
187
194
  self._network_endpoint_details = None
188
195
  self._shape = None
189
196
  self._domain_id = None
@@ -524,6 +531,30 @@ class CreateIntegrationInstanceDetails(object):
524
531
  """
525
532
  self._is_file_server_enabled = is_file_server_enabled
526
533
 
534
+ @property
535
+ def is_disaster_recovery_enabled(self):
536
+ """
537
+ Gets the is_disaster_recovery_enabled of this CreateIntegrationInstanceDetails.
538
+ Is Disaster Recovery enabled or not.
539
+
540
+
541
+ :return: The is_disaster_recovery_enabled of this CreateIntegrationInstanceDetails.
542
+ :rtype: bool
543
+ """
544
+ return self._is_disaster_recovery_enabled
545
+
546
+ @is_disaster_recovery_enabled.setter
547
+ def is_disaster_recovery_enabled(self, is_disaster_recovery_enabled):
548
+ """
549
+ Sets the is_disaster_recovery_enabled of this CreateIntegrationInstanceDetails.
550
+ Is Disaster Recovery enabled or not.
551
+
552
+
553
+ :param is_disaster_recovery_enabled: The is_disaster_recovery_enabled of this CreateIntegrationInstanceDetails.
554
+ :type: bool
555
+ """
556
+ self._is_disaster_recovery_enabled = is_disaster_recovery_enabled
557
+
527
558
  @property
528
559
  def network_endpoint_details(self):
529
560
  """
@@ -0,0 +1,185 @@
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: 20190131
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 CrossRegionIntegrationInstanceDetails(object):
14
+ """
15
+ Details of integration instance created in cross region for disaster recovery.
16
+ """
17
+
18
+ #: A constant which can be used with the role property of a CrossRegionIntegrationInstanceDetails.
19
+ #: This constant has a value of "PRIMARY"
20
+ ROLE_PRIMARY = "PRIMARY"
21
+
22
+ #: A constant which can be used with the role property of a CrossRegionIntegrationInstanceDetails.
23
+ #: This constant has a value of "SECONDARY"
24
+ ROLE_SECONDARY = "SECONDARY"
25
+
26
+ #: A constant which can be used with the role property of a CrossRegionIntegrationInstanceDetails.
27
+ #: This constant has a value of "UNKNOWN"
28
+ ROLE_UNKNOWN = "UNKNOWN"
29
+
30
+ def __init__(self, **kwargs):
31
+ """
32
+ Initializes a new CrossRegionIntegrationInstanceDetails object with values from keyword arguments.
33
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
34
+
35
+ :param role:
36
+ The value to assign to the role property of this CrossRegionIntegrationInstanceDetails.
37
+ Allowed values for this property are: "PRIMARY", "SECONDARY", "UNKNOWN", 'UNKNOWN_ENUM_VALUE'.
38
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
39
+ :type role: str
40
+
41
+ :param id:
42
+ The value to assign to the id property of this CrossRegionIntegrationInstanceDetails.
43
+ :type id: str
44
+
45
+ :param region:
46
+ The value to assign to the region property of this CrossRegionIntegrationInstanceDetails.
47
+ :type region: str
48
+
49
+ :param time_role_changed:
50
+ The value to assign to the time_role_changed property of this CrossRegionIntegrationInstanceDetails.
51
+ :type time_role_changed: datetime
52
+
53
+ """
54
+ self.swagger_types = {
55
+ 'role': 'str',
56
+ 'id': 'str',
57
+ 'region': 'str',
58
+ 'time_role_changed': 'datetime'
59
+ }
60
+
61
+ self.attribute_map = {
62
+ 'role': 'role',
63
+ 'id': 'id',
64
+ 'region': 'region',
65
+ 'time_role_changed': 'timeRoleChanged'
66
+ }
67
+
68
+ self._role = None
69
+ self._id = None
70
+ self._region = None
71
+ self._time_role_changed = None
72
+
73
+ @property
74
+ def role(self):
75
+ """
76
+ Gets the role of this CrossRegionIntegrationInstanceDetails.
77
+ Role of the integration instance in the region
78
+
79
+ Allowed values for this property are: "PRIMARY", "SECONDARY", "UNKNOWN", 'UNKNOWN_ENUM_VALUE'.
80
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
81
+
82
+
83
+ :return: The role of this CrossRegionIntegrationInstanceDetails.
84
+ :rtype: str
85
+ """
86
+ return self._role
87
+
88
+ @role.setter
89
+ def role(self, role):
90
+ """
91
+ Sets the role of this CrossRegionIntegrationInstanceDetails.
92
+ Role of the integration instance in the region
93
+
94
+
95
+ :param role: The role of this CrossRegionIntegrationInstanceDetails.
96
+ :type: str
97
+ """
98
+ allowed_values = ["PRIMARY", "SECONDARY", "UNKNOWN"]
99
+ if not value_allowed_none_or_none_sentinel(role, allowed_values):
100
+ role = 'UNKNOWN_ENUM_VALUE'
101
+ self._role = role
102
+
103
+ @property
104
+ def id(self):
105
+ """
106
+ Gets the id of this CrossRegionIntegrationInstanceDetails.
107
+ Cross region integration instance identifier
108
+
109
+
110
+ :return: The id of this CrossRegionIntegrationInstanceDetails.
111
+ :rtype: str
112
+ """
113
+ return self._id
114
+
115
+ @id.setter
116
+ def id(self, id):
117
+ """
118
+ Sets the id of this CrossRegionIntegrationInstanceDetails.
119
+ Cross region integration instance identifier
120
+
121
+
122
+ :param id: The id of this CrossRegionIntegrationInstanceDetails.
123
+ :type: str
124
+ """
125
+ self._id = id
126
+
127
+ @property
128
+ def region(self):
129
+ """
130
+ Gets the region of this CrossRegionIntegrationInstanceDetails.
131
+ Cross region where integration instance is created
132
+
133
+
134
+ :return: The region of this CrossRegionIntegrationInstanceDetails.
135
+ :rtype: str
136
+ """
137
+ return self._region
138
+
139
+ @region.setter
140
+ def region(self, region):
141
+ """
142
+ Sets the region of this CrossRegionIntegrationInstanceDetails.
143
+ Cross region where integration instance is created
144
+
145
+
146
+ :param region: The region of this CrossRegionIntegrationInstanceDetails.
147
+ :type: str
148
+ """
149
+ self._region = region
150
+
151
+ @property
152
+ def time_role_changed(self):
153
+ """
154
+ Gets the time_role_changed of this CrossRegionIntegrationInstanceDetails.
155
+ Time when cross region integration instance role was changed
156
+
157
+
158
+ :return: The time_role_changed of this CrossRegionIntegrationInstanceDetails.
159
+ :rtype: datetime
160
+ """
161
+ return self._time_role_changed
162
+
163
+ @time_role_changed.setter
164
+ def time_role_changed(self, time_role_changed):
165
+ """
166
+ Sets the time_role_changed of this CrossRegionIntegrationInstanceDetails.
167
+ Time when cross region integration instance role was changed
168
+
169
+
170
+ :param time_role_changed: The time_role_changed of this CrossRegionIntegrationInstanceDetails.
171
+ :type: datetime
172
+ """
173
+ self._time_role_changed = time_role_changed
174
+
175
+ def __repr__(self):
176
+ return formatted_flat_dict(self)
177
+
178
+ def __eq__(self, other):
179
+ if other is None:
180
+ return False
181
+
182
+ return self.__dict__ == other.__dict__
183
+
184
+ def __ne__(self, other):
185
+ return not self == other