oci 2.102.0__py3-none-any.whl → 2.103.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 (336) hide show
  1. oci/access_governance_cp/access_governance_cp_client.py +8 -8
  2. oci/access_governance_cp/access_governance_cp_client_composite_operations.py +9 -1
  3. oci/adm/application_dependency_management_client.py +18 -18
  4. oci/adm/application_dependency_management_client_composite_operations.py +9 -1
  5. oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
  6. oci/ai_anomaly_detection/anomaly_detection_client_composite_operations.py +18 -2
  7. oci/ai_document/ai_service_document_client.py +3 -3
  8. oci/ai_language/ai_service_language_client.py +35 -35
  9. oci/ai_speech/ai_service_speech_client.py +9 -9
  10. oci/ai_vision/ai_service_vision_client.py +25 -25
  11. oci/analytics/analytics_client.py +23 -23
  12. oci/announcements_service/announcement_client.py +4 -4
  13. oci/announcements_service/announcement_subscription_client.py +9 -9
  14. oci/announcements_service/announcement_subscription_client_composite_operations.py +9 -1
  15. oci/announcements_service/announcements_preferences_client.py +4 -4
  16. oci/apigateway/api_gateway_client.py +21 -21
  17. oci/apigateway/deployment_client.py +6 -6
  18. oci/apigateway/gateway_client.py +6 -6
  19. oci/apigateway/subscribers_client.py +6 -6
  20. oci/apigateway/usage_plans_client.py +6 -6
  21. oci/apigateway/work_requests_client.py +5 -5
  22. oci/apm_config/config_client.py +8 -8
  23. oci/apm_control_plane/apm_domain_client.py +14 -14
  24. oci/apm_synthetics/apm_synthetic_client.py +18 -18
  25. oci/apm_traces/query_client.py +2 -2
  26. oci/apm_traces/trace_client.py +4 -4
  27. oci/application_migration/application_migration_client.py +19 -19
  28. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  29. oci/artifacts/artifacts_client.py +30 -30
  30. oci/artifacts/artifacts_client_composite_operations.py +36 -4
  31. oci/audit/audit_client.py +3 -3
  32. oci/auth/signers/instance_principals_security_token_signer.py +9 -3
  33. oci/autoscaling/auto_scaling_client.py +11 -11
  34. oci/bastion/bastion_client.py +15 -15
  35. oci/bds/bds_client.py +40 -40
  36. oci/blockchain/blockchain_platform_client.py +27 -27
  37. oci/budget/budget_client.py +10 -10
  38. oci/budget/budget_client_composite_operations.py +9 -1
  39. oci/certificates/certificates_client.py +5 -5
  40. oci/certificates_management/certificates_management_client.py +32 -32
  41. oci/certificates_management/certificates_management_client_composite_operations.py +9 -1
  42. oci/cims/incident_client.py +7 -7
  43. oci/cims/user_client.py +1 -1
  44. oci/cloud_bridge/common_client.py +5 -5
  45. oci/cloud_bridge/discovery_client.py +14 -14
  46. oci/cloud_bridge/discovery_client_composite_operations.py +9 -1
  47. oci/cloud_bridge/inventory_client.py +16 -16
  48. oci/cloud_bridge/inventory_client_composite_operations.py +9 -1
  49. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  50. oci/cloud_bridge/ocb_agent_svc_client_composite_operations.py +27 -3
  51. oci/cloud_guard/cloud_guard_client.py +133 -133
  52. oci/cloud_guard/cloud_guard_client_composite_operations.py +63 -7
  53. oci/cloud_migrations/migration_client.py +43 -43
  54. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  55. oci/compute_instance_agent/plugin_client.py +2 -2
  56. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  57. oci/container_engine/container_engine_client.py +36 -36
  58. oci/container_instances/container_instance_client.py +18 -18
  59. oci/core/blockstorage_client.py +60 -60
  60. oci/core/blockstorage_client_composite_operations.py +54 -6
  61. oci/core/compute_client.py +89 -89
  62. oci/core/compute_client_composite_operations.py +72 -8
  63. oci/core/compute_management_client.py +32 -32
  64. oci/core/compute_management_client_composite_operations.py +9 -1
  65. oci/core/virtual_network_client.py +241 -241
  66. oci/core/virtual_network_client_composite_operations.py +216 -24
  67. oci/dashboard_service/dashboard_client.py +6 -6
  68. oci/dashboard_service/dashboard_client_composite_operations.py +9 -1
  69. oci/dashboard_service/dashboard_group_client.py +6 -6
  70. oci/dashboard_service/dashboard_group_client_composite_operations.py +9 -1
  71. oci/data_catalog/data_catalog_client.py +139 -139
  72. oci/data_flow/data_flow_client.py +28 -28
  73. oci/data_flow/data_flow_client_composite_operations.py +18 -2
  74. oci/data_integration/data_integration_client.py +152 -152
  75. oci/data_labeling_service/data_labeling_management_client.py +16 -16
  76. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  77. oci/data_labeling_service_dataplane/data_labeling_client_composite_operations.py +18 -2
  78. oci/data_safe/data_safe_client.py +214 -214
  79. oci/data_safe/data_safe_client_composite_operations.py +18 -2
  80. oci/data_science/data_science_client.py +85 -85
  81. oci/data_science/data_science_client_composite_operations.py +27 -3
  82. oci/database/database_client.py +428 -304
  83. oci/database/database_client_composite_operations.py +18 -2
  84. oci/database/models/__init__.py +4 -0
  85. oci/database/models/autonomous_container_database.py +2 -2
  86. oci/database/models/autonomous_container_database_summary.py +2 -2
  87. oci/database/models/autonomous_database.py +6 -2
  88. oci/database/models/autonomous_database_summary.py +6 -2
  89. oci/database/models/autonomous_virtual_machine.py +37 -2
  90. oci/database/models/autonomous_virtual_machine_summary.py +37 -2
  91. oci/database/models/autonomous_vm_cluster.py +10 -6
  92. oci/database/models/autonomous_vm_cluster_resource_details.py +105 -0
  93. oci/database/models/autonomous_vm_cluster_summary.py +10 -6
  94. oci/database/models/cloud_autonomous_vm_cluster.py +43 -4
  95. oci/database/models/cloud_autonomous_vm_cluster_summary.py +43 -4
  96. oci/database/models/create_autonomous_container_database_details.py +2 -2
  97. oci/database/models/create_autonomous_vm_cluster_details.py +6 -2
  98. oci/database/models/create_cloud_autonomous_vm_cluster_details.py +6 -2
  99. oci/database/models/exadata_infrastructure.py +31 -0
  100. oci/database/models/exadata_infrastructure_summary.py +31 -0
  101. oci/database/models/exadata_infrastructure_un_allocated_resources.py +260 -0
  102. oci/database/models/rotate_autonomous_vm_cluster_ords_certs_details.py +2 -2
  103. oci/database/models/rotate_autonomous_vm_cluster_ssl_certs_details.py +3 -3
  104. oci/database/models/rotate_cloud_autonomous_vm_cluster_ords_certs_details.py +2 -2
  105. oci/database/models/rotate_cloud_autonomous_vm_cluster_ssl_certs_details.py +2 -2
  106. oci/database/models/vm_cluster.py +31 -0
  107. oci/database/models/vm_cluster_summary.py +31 -0
  108. oci/database_management/db_management_client.py +157 -157
  109. oci/database_management/db_management_client_composite_operations.py +45 -5
  110. oci/database_management/diagnosability_client.py +4 -4
  111. oci/database_management/sql_tuning_client.py +10 -10
  112. oci/database_migration/database_migration_client.py +41 -41
  113. oci/database_migration/database_migration_client_composite_operations.py +9 -1
  114. oci/database_tools/database_tools_client.py +19 -19
  115. oci/devops/devops_client.py +89 -89
  116. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  117. oci/disaster_recovery/disaster_recovery_client_composite_operations.py +9 -1
  118. oci/dns/dns_client.py +197 -51
  119. oci/dns/dns_client_composite_operations.py +45 -5
  120. oci/dns/models/__init__.py +2 -0
  121. oci/dns/models/create_zone_details.py +35 -2
  122. oci/dns/models/external_downstream.py +137 -0
  123. oci/dns/models/update_zone_details.py +35 -2
  124. oci/dns/models/zone.py +33 -0
  125. oci/dts/appliance_export_job_client.py +6 -6
  126. oci/dts/appliance_export_job_client_composite_operations.py +9 -1
  127. oci/dts/shipping_vendors_client.py +1 -1
  128. oci/dts/transfer_appliance_client.py +8 -8
  129. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  130. oci/dts/transfer_device_client.py +5 -5
  131. oci/dts/transfer_job_client.py +6 -6
  132. oci/dts/transfer_job_client_composite_operations.py +9 -1
  133. oci/dts/transfer_package_client.py +7 -7
  134. oci/em_warehouse/em_data_lake_client.py +13 -13
  135. oci/em_warehouse/em_warehouse_client.py +13 -13
  136. oci/email/email_client.py +25 -25
  137. oci/email/email_client_composite_operations.py +9 -1
  138. oci/events/events_client.py +6 -6
  139. oci/events/events_client_composite_operations.py +9 -1
  140. oci/file_storage/file_storage_client.py +35 -35
  141. oci/file_storage/file_storage_client_composite_operations.py +54 -6
  142. oci/functions/functions_invoke_client.py +1 -1
  143. oci/functions/functions_management_client.py +16 -16
  144. oci/functions/functions_management_client_composite_operations.py +18 -2
  145. oci/fusion_apps/data_masking_activity_client.py +3 -3
  146. oci/fusion_apps/fusion_applications_client.py +39 -39
  147. oci/fusion_apps/fusion_environment_client.py +15 -15
  148. oci/fusion_apps/fusion_environment_family_client.py +8 -8
  149. oci/fusion_apps/refresh_activity_client.py +4 -4
  150. oci/fusion_apps/scheduled_activity_client.py +2 -2
  151. oci/fusion_apps/service_attachment_client.py +2 -2
  152. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  153. oci/golden_gate/golden_gate_client.py +53 -53
  154. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  155. oci/governance_rules_control_plane/work_request_client.py +5 -5
  156. oci/healthchecks/health_checks_client.py +17 -17
  157. oci/identity/identity_client.py +145 -145
  158. oci/identity/identity_client_composite_operations.py +63 -7
  159. oci/identity_data_plane/dataplane_client.py +1 -1
  160. oci/identity_domains/identity_domains_client.py +134 -134
  161. oci/integration/integration_instance_client.py +15 -15
  162. oci/jms/java_management_service_client.py +44 -44
  163. oci/key_management/kms_crypto_client.py +6 -6
  164. oci/key_management/kms_management_client.py +21 -21
  165. oci/key_management/kms_vault_client.py +14 -14
  166. oci/license_manager/license_manager_client.py +18 -18
  167. oci/license_manager/license_manager_client_composite_operations.py +18 -2
  168. oci/limits/limits_client.py +4 -4
  169. oci/limits/quotas_client.py +7 -7
  170. oci/limits/quotas_client_composite_operations.py +9 -1
  171. oci/load_balancer/load_balancer_client.py +61 -61
  172. oci/lockbox/lockbox_client.py +22 -22
  173. oci/lockbox/lockbox_client_composite_operations.py +18 -2
  174. oci/log_analytics/log_analytics_client.py +184 -184
  175. oci/logging/logging_management_client.py +62 -300
  176. oci/logging/logging_management_client_composite_operations.py +12 -4
  177. oci/logging/models/__init__.py +2 -6
  178. oci/logging/models/archiving.py +2 -2
  179. oci/logging/models/category.py +2 -2
  180. oci/logging/models/change_log_saved_search_compartment_details.py +1 -1
  181. oci/logging/models/create_log_details.py +2 -2
  182. oci/logging/models/create_log_saved_search_details.py +1 -1
  183. oci/logging/models/log.py +2 -2
  184. oci/logging/models/log_saved_search.py +1 -1
  185. oci/logging/models/log_saved_search_summary.py +1 -1
  186. oci/logging/models/log_summary.py +2 -2
  187. oci/logging/models/parameter.py +77 -5
  188. oci/logging/models/unified_agent_apache2_parser.py +1 -1
  189. oci/logging/models/unified_agent_apache_error_parser.py +1 -1
  190. oci/logging/models/unified_agent_auditd_parser.py +1 -1
  191. oci/logging/models/unified_agent_cri_parser.py +160 -0
  192. oci/logging/models/unified_agent_csv_parser.py +10 -2
  193. oci/logging/models/unified_agent_grok_parser.py +14 -2
  194. oci/logging/models/unified_agent_logging_configuration.py +6 -2
  195. oci/logging/models/unified_agent_msgpack_parser.py +1 -1
  196. oci/logging/models/unified_agent_multiline_grok_parser.py +18 -2
  197. oci/logging/models/unified_agent_multiline_parser.py +10 -2
  198. oci/logging/models/unified_agent_none_parser.py +5 -1
  199. oci/logging/models/unified_agent_parser.py +51 -3
  200. oci/logging/models/unified_agent_regex_parser.py +10 -2
  201. oci/logging/models/unified_agent_syslog_parser.py +25 -1
  202. oci/logging/models/unified_agent_tail_log_source.py +5 -1
  203. oci/logging/models/unified_agent_tsv_parser.py +10 -2
  204. oci/logging/models/unified_agent_windows_event_source.py +5 -1
  205. oci/logging/models/unified_json_parser.py +9 -1
  206. oci/logging/models/update_log_details.py +2 -2
  207. oci/logging/models/update_log_saved_search_details.py +1 -1
  208. oci/logging/models/work_request.py +2 -2
  209. oci/logging/models/work_request_summary.py +2 -2
  210. oci/loggingingestion/logging_client.py +1 -1
  211. oci/loggingsearch/log_search_client.py +1 -1
  212. oci/management_agent/management_agent_client.py +23 -23
  213. oci/management_agent/management_agent_client_composite_operations.py +18 -2
  214. oci/management_dashboard/dashx_apis_client.py +14 -14
  215. oci/management_dashboard/dashx_apis_client_composite_operations.py +18 -2
  216. oci/marketplace/account_client.py +2 -2
  217. oci/marketplace/marketplace_client.py +25 -25
  218. oci/marketplace/marketplace_client_composite_operations.py +9 -1
  219. oci/media_services/media_services_client.py +48 -48
  220. oci/media_services/media_services_client_composite_operations.py +63 -7
  221. oci/media_services/media_stream_client.py +2 -2
  222. oci/monitoring/monitoring_client.py +13 -13
  223. oci/monitoring/monitoring_client_composite_operations.py +9 -1
  224. oci/mysql/channels_client.py +7 -7
  225. oci/mysql/db_backups_client.py +6 -6
  226. oci/mysql/db_system_client.py +26 -26
  227. oci/mysql/mysqlaas_client.py +7 -7
  228. oci/mysql/mysqlaas_client_composite_operations.py +9 -1
  229. oci/mysql/replicas_client.py +5 -5
  230. oci/mysql/work_requests_client.py +4 -4
  231. oci/network_firewall/network_firewall_client.py +17 -17
  232. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  233. oci/nosql/nosql_client.py +22 -22
  234. oci/object_storage/object_storage_client.py +50 -50
  235. oci/oce/oce_instance_client.py +10 -10
  236. oci/ocvp/esxi_host_client.py +5 -5
  237. oci/ocvp/sddc_client.py +13 -13
  238. oci/ocvp/work_request_client.py +4 -4
  239. oci/oda/management_client.py +56 -56
  240. oci/oda/oda_client.py +17 -17
  241. oci/oda/odapackage_client.py +7 -7
  242. oci/onesubscription/billing_schedule_client.py +1 -1
  243. oci/onesubscription/commitment_client.py +2 -2
  244. oci/onesubscription/computed_usage_client.py +3 -3
  245. oci/onesubscription/invoice_summary_client.py +2 -2
  246. oci/onesubscription/organization_subscription_client.py +1 -1
  247. oci/onesubscription/ratecard_client.py +1 -1
  248. oci/onesubscription/subscribed_service_client.py +2 -2
  249. oci/onesubscription/subscription_client.py +1 -1
  250. oci/ons/notification_control_plane_client.py +6 -6
  251. oci/ons/notification_data_plane_client.py +10 -10
  252. oci/ons/notification_data_plane_client_composite_operations.py +9 -1
  253. oci/opa/opa_instance_client.py +11 -11
  254. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  255. oci/opensearch/opensearch_cluster_client.py +14 -14
  256. oci/operator_access_control/access_requests_client.py +9 -9
  257. oci/operator_access_control/operator_actions_client.py +2 -2
  258. oci/operator_access_control/operator_control_assignment_client.py +6 -6
  259. oci/operator_access_control/operator_control_assignment_client_composite_operations.py +9 -1
  260. oci/operator_access_control/operator_control_client.py +6 -6
  261. oci/operator_access_control/operator_control_client_composite_operations.py +9 -1
  262. oci/opsi/operations_insights_client.py +151 -151
  263. oci/optimizer/optimizer_client.py +26 -26
  264. oci/optimizer/optimizer_client_composite_operations.py +9 -1
  265. oci/os_management/event_client.py +8 -8
  266. oci/os_management/os_management_client.py +69 -69
  267. oci/os_management/os_management_client_composite_operations.py +27 -3
  268. oci/osp_gateway/invoice_service_client.py +5 -5
  269. oci/osp_gateway/subscription_service_client.py +5 -5
  270. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  271. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  272. oci/osub_subscription/commitment_client.py +2 -2
  273. oci/osub_subscription/ratecard_client.py +1 -1
  274. oci/osub_subscription/subscription_client.py +1 -1
  275. oci/osub_usage/computed_usage_client.py +3 -3
  276. oci/queue/queue_admin_client.py +11 -11
  277. oci/queue/queue_client.py +7 -7
  278. oci/recovery/database_recovery_client.py +23 -23
  279. oci/resource_manager/resource_manager_client.py +52 -52
  280. oci/resource_manager/resource_manager_client_composite_operations.py +45 -5
  281. oci/resource_search/resource_search_client.py +3 -3
  282. oci/rover/rover_cluster_client.py +7 -7
  283. oci/rover/rover_cluster_client_composite_operations.py +9 -1
  284. oci/rover/rover_entitlement_client.py +6 -6
  285. oci/rover/rover_entitlement_client_composite_operations.py +9 -1
  286. oci/rover/rover_node_client.py +10 -10
  287. oci/rover/rover_node_client_composite_operations.py +9 -1
  288. oci/rover/shape_client.py +1 -1
  289. oci/sch/service_connector_client.py +12 -12
  290. oci/secrets/secrets_client.py +3 -3
  291. oci/service_catalog/service_catalog_client.py +26 -26
  292. oci/service_catalog/service_catalog_client_composite_operations.py +9 -1
  293. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  294. oci/service_mesh/service_mesh_client.py +48 -48
  295. oci/stack_monitoring/stack_monitoring_client.py +22 -22
  296. oci/stack_monitoring/stack_monitoring_client_composite_operations.py +9 -1
  297. oci/streaming/stream_admin_client.py +18 -18
  298. oci/streaming/stream_admin_client_composite_operations.py +27 -3
  299. oci/streaming/stream_client.py +8 -8
  300. oci/tenant_manager_control_plane/domain_client.py +5 -5
  301. oci/tenant_manager_control_plane/domain_client_composite_operations.py +9 -1
  302. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  303. oci/tenant_manager_control_plane/domain_governance_client_composite_operations.py +9 -1
  304. oci/tenant_manager_control_plane/governance_client.py +2 -2
  305. oci/tenant_manager_control_plane/link_client.py +3 -3
  306. oci/tenant_manager_control_plane/orders_client.py +2 -2
  307. oci/tenant_manager_control_plane/organization_client.py +10 -10
  308. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  309. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  310. oci/tenant_manager_control_plane/subscription_client.py +9 -9
  311. oci/tenant_manager_control_plane/subscription_client_composite_operations.py +9 -1
  312. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  313. oci/threat_intelligence/threatintel_client.py +5 -5
  314. oci/usage/rewards_client.py +6 -6
  315. oci/usage_api/usageapi_client.py +19 -19
  316. oci/usage_api/usageapi_client_composite_operations.py +9 -1
  317. oci/vault/vaults_client.py +11 -11
  318. oci/vbs_inst/vbs_instance_client.py +10 -10
  319. oci/version.py +1 -1
  320. oci/visual_builder/vb_instance_client.py +13 -13
  321. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  322. oci/vn_monitoring/vn_monitoring_client_composite_operations.py +9 -1
  323. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  324. oci/waa/waa_client.py +13 -13
  325. oci/waa/work_request_client.py +4 -4
  326. oci/waas/redirect_client.py +6 -6
  327. oci/waas/waas_client.py +66 -66
  328. oci/waas/waas_client_composite_operations.py +27 -3
  329. oci/waf/waf_client.py +24 -24
  330. oci/work_requests/work_request_client.py +4 -4
  331. {oci-2.102.0.dist-info → oci-2.103.0.dist-info}/METADATA +1 -1
  332. {oci-2.102.0.dist-info → oci-2.103.0.dist-info}/RECORD +336 -332
  333. {oci-2.102.0.dist-info → oci-2.103.0.dist-info}/LICENSE.txt +0 -0
  334. {oci-2.102.0.dist-info → oci-2.103.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  335. {oci-2.102.0.dist-info → oci-2.103.0.dist-info}/WHEEL +0 -0
  336. {oci-2.102.0.dist-info → oci-2.103.0.dist-info}/top_level.txt +0 -0
@@ -722,11 +722,19 @@ class ComputeClientCompositeOperations(object):
722
722
  lowered_wait_for_states = [w.lower() for w in wait_for_states]
723
723
 
724
724
  try:
725
+ if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
726
+ self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_compute_cluster, this would result in the operation to fail if the resource is not found! Please, do not pass this kwarg if this was not intended")
727
+ else:
728
+ """
729
+ If the user does not send in this value, we set it to True by default.
730
+ We are doing this because during a delete resource scenario and waiting on its state, the service can
731
+ return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
732
+ """
733
+ waiter_kwargs["succeed_on_not_found"] = True
725
734
  waiter_result = oci.wait_until(
726
735
  self.client,
727
736
  initial_get_result, # noqa: F821
728
737
  evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
729
- succeed_on_not_found=True,
730
738
  **waiter_kwargs
731
739
  )
732
740
  result_to_return = waiter_result
@@ -774,11 +782,19 @@ class ComputeClientCompositeOperations(object):
774
782
  lowered_wait_for_states = [w.lower() for w in wait_for_states]
775
783
 
776
784
  try:
785
+ if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
786
+ self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_console_history, this would result in the operation to fail if the resource is not found! Please, do not pass this kwarg if this was not intended")
787
+ else:
788
+ """
789
+ If the user does not send in this value, we set it to True by default.
790
+ We are doing this because during a delete resource scenario and waiting on its state, the service can
791
+ return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
792
+ """
793
+ waiter_kwargs["succeed_on_not_found"] = True
777
794
  waiter_result = oci.wait_until(
778
795
  self.client,
779
796
  initial_get_result, # noqa: F821
780
797
  evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
781
- succeed_on_not_found=True,
782
798
  **waiter_kwargs
783
799
  )
784
800
  result_to_return = waiter_result
@@ -863,11 +879,19 @@ class ComputeClientCompositeOperations(object):
863
879
  lowered_wait_for_states = [w.lower() for w in wait_for_states]
864
880
 
865
881
  try:
882
+ if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
883
+ self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_image, this would result in the operation to fail if the resource is not found! Please, do not pass this kwarg if this was not intended")
884
+ else:
885
+ """
886
+ If the user does not send in this value, we set it to True by default.
887
+ We are doing this because during a delete resource scenario and waiting on its state, the service can
888
+ return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
889
+ """
890
+ waiter_kwargs["succeed_on_not_found"] = True
866
891
  waiter_result = oci.wait_until(
867
892
  self.client,
868
893
  initial_get_result, # noqa: F821
869
894
  evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
870
- succeed_on_not_found=True,
871
895
  **waiter_kwargs
872
896
  )
873
897
  result_to_return = waiter_result
@@ -915,11 +939,19 @@ class ComputeClientCompositeOperations(object):
915
939
  lowered_wait_for_states = [w.lower() for w in wait_for_states]
916
940
 
917
941
  try:
942
+ if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
943
+ self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_instance_console_connection, this would result in the operation to fail if the resource is not found! Please, do not pass this kwarg if this was not intended")
944
+ else:
945
+ """
946
+ If the user does not send in this value, we set it to True by default.
947
+ We are doing this because during a delete resource scenario and waiting on its state, the service can
948
+ return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
949
+ """
950
+ waiter_kwargs["succeed_on_not_found"] = True
918
951
  waiter_result = oci.wait_until(
919
952
  self.client,
920
953
  initial_get_result, # noqa: F821
921
954
  evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
922
- succeed_on_not_found=True,
923
955
  **waiter_kwargs
924
956
  )
925
957
  result_to_return = waiter_result
@@ -967,11 +999,19 @@ class ComputeClientCompositeOperations(object):
967
999
  lowered_wait_for_states = [w.lower() for w in wait_for_states]
968
1000
 
969
1001
  try:
1002
+ if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
1003
+ self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation detach_boot_volume, this would result in the operation to fail if the resource is not found! Please, do not pass this kwarg if this was not intended")
1004
+ else:
1005
+ """
1006
+ If the user does not send in this value, we set it to True by default.
1007
+ We are doing this because during a delete resource scenario and waiting on its state, the service can
1008
+ return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
1009
+ """
1010
+ waiter_kwargs["succeed_on_not_found"] = True
970
1011
  waiter_result = oci.wait_until(
971
1012
  self.client,
972
1013
  initial_get_result, # noqa: F821
973
1014
  evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
974
- succeed_on_not_found=True,
975
1015
  **waiter_kwargs
976
1016
  )
977
1017
  result_to_return = waiter_result
@@ -1019,11 +1059,19 @@ class ComputeClientCompositeOperations(object):
1019
1059
  lowered_wait_for_states = [w.lower() for w in wait_for_states]
1020
1060
 
1021
1061
  try:
1062
+ if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
1063
+ self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation detach_vnic, this would result in the operation to fail if the resource is not found! Please, do not pass this kwarg if this was not intended")
1064
+ else:
1065
+ """
1066
+ If the user does not send in this value, we set it to True by default.
1067
+ We are doing this because during a delete resource scenario and waiting on its state, the service can
1068
+ return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
1069
+ """
1070
+ waiter_kwargs["succeed_on_not_found"] = True
1022
1071
  waiter_result = oci.wait_until(
1023
1072
  self.client,
1024
1073
  initial_get_result, # noqa: F821
1025
1074
  evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
1026
- succeed_on_not_found=True,
1027
1075
  **waiter_kwargs
1028
1076
  )
1029
1077
  result_to_return = waiter_result
@@ -1071,11 +1119,19 @@ class ComputeClientCompositeOperations(object):
1071
1119
  lowered_wait_for_states = [w.lower() for w in wait_for_states]
1072
1120
 
1073
1121
  try:
1122
+ if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
1123
+ self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation detach_volume, this would result in the operation to fail if the resource is not found! Please, do not pass this kwarg if this was not intended")
1124
+ else:
1125
+ """
1126
+ If the user does not send in this value, we set it to True by default.
1127
+ We are doing this because during a delete resource scenario and waiting on its state, the service can
1128
+ return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
1129
+ """
1130
+ waiter_kwargs["succeed_on_not_found"] = True
1074
1131
  waiter_result = oci.wait_until(
1075
1132
  self.client,
1076
1133
  initial_get_result, # noqa: F821
1077
1134
  evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
1078
- succeed_on_not_found=True,
1079
1135
  **waiter_kwargs
1080
1136
  )
1081
1137
  result_to_return = waiter_result
@@ -1341,11 +1397,19 @@ class ComputeClientCompositeOperations(object):
1341
1397
  lowered_wait_for_states = [w.lower() for w in wait_for_states]
1342
1398
 
1343
1399
  try:
1400
+ if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
1401
+ self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation terminate_instance, this would result in the operation to fail if the resource is not found! Please, do not pass this kwarg if this was not intended")
1402
+ else:
1403
+ """
1404
+ If the user does not send in this value, we set it to True by default.
1405
+ We are doing this because during a delete resource scenario and waiting on its state, the service can
1406
+ return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
1407
+ """
1408
+ waiter_kwargs["succeed_on_not_found"] = True
1344
1409
  waiter_result = oci.wait_until(
1345
1410
  self.client,
1346
1411
  initial_get_result, # noqa: F821
1347
1412
  evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
1348
- succeed_on_not_found=True,
1349
1413
  **waiter_kwargs
1350
1414
  )
1351
1415
  result_to_return = waiter_result
@@ -157,7 +157,7 @@ class ComputeManagementClient(object):
157
157
  :rtype: :class:`~oci.response.Response`
158
158
 
159
159
  :example:
160
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.102.0/core/attach_instance_pool_instance.py.html>`__ to see an example of how to use attach_instance_pool_instance API.
160
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/core/attach_instance_pool_instance.py.html>`__ to see an example of how to use attach_instance_pool_instance API.
161
161
  """
162
162
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
163
163
  required_arguments = ['instancePoolId']
@@ -270,7 +270,7 @@ class ComputeManagementClient(object):
270
270
  :rtype: :class:`~oci.response.Response`
271
271
 
272
272
  :example:
273
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.102.0/core/attach_load_balancer.py.html>`__ to see an example of how to use attach_load_balancer API.
273
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/core/attach_load_balancer.py.html>`__ to see an example of how to use attach_load_balancer API.
274
274
  """
275
275
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
276
276
  required_arguments = ['instancePoolId']
@@ -396,7 +396,7 @@ class ComputeManagementClient(object):
396
396
  :rtype: :class:`~oci.response.Response`
397
397
 
398
398
  :example:
399
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.102.0/core/change_cluster_network_compartment.py.html>`__ to see an example of how to use change_cluster_network_compartment API.
399
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/core/change_cluster_network_compartment.py.html>`__ to see an example of how to use change_cluster_network_compartment API.
400
400
  """
401
401
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
402
402
  required_arguments = ['clusterNetworkId']
@@ -528,7 +528,7 @@ class ComputeManagementClient(object):
528
528
  :rtype: :class:`~oci.response.Response`
529
529
 
530
530
  :example:
531
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.102.0/core/change_instance_configuration_compartment.py.html>`__ to see an example of how to use change_instance_configuration_compartment API.
531
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/core/change_instance_configuration_compartment.py.html>`__ to see an example of how to use change_instance_configuration_compartment API.
532
532
  """
533
533
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
534
534
  required_arguments = ['instanceConfigurationId']
@@ -654,7 +654,7 @@ class ComputeManagementClient(object):
654
654
  :rtype: :class:`~oci.response.Response`
655
655
 
656
656
  :example:
657
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.102.0/core/change_instance_pool_compartment.py.html>`__ to see an example of how to use change_instance_pool_compartment API.
657
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/core/change_instance_pool_compartment.py.html>`__ to see an example of how to use change_instance_pool_compartment API.
658
658
  """
659
659
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
660
660
  required_arguments = ['instancePoolId']
@@ -762,7 +762,7 @@ class ComputeManagementClient(object):
762
762
  :rtype: :class:`~oci.response.Response`
763
763
 
764
764
  :example:
765
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.102.0/core/create_cluster_network.py.html>`__ to see an example of how to use create_cluster_network API.
765
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/core/create_cluster_network.py.html>`__ to see an example of how to use create_cluster_network API.
766
766
  """
767
767
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
768
768
  required_arguments = []
@@ -854,7 +854,7 @@ class ComputeManagementClient(object):
854
854
  :rtype: :class:`~oci.response.Response`
855
855
 
856
856
  :example:
857
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.102.0/core/create_instance_configuration.py.html>`__ to see an example of how to use create_instance_configuration API.
857
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/core/create_instance_configuration.py.html>`__ to see an example of how to use create_instance_configuration API.
858
858
  """
859
859
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
860
860
  required_arguments = []
@@ -945,7 +945,7 @@ class ComputeManagementClient(object):
945
945
  :rtype: :class:`~oci.response.Response`
946
946
 
947
947
  :example:
948
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.102.0/core/create_instance_pool.py.html>`__ to see an example of how to use create_instance_pool API.
948
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/core/create_instance_pool.py.html>`__ to see an example of how to use create_instance_pool API.
949
949
  """
950
950
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
951
951
  required_arguments = []
@@ -1034,7 +1034,7 @@ class ComputeManagementClient(object):
1034
1034
  :rtype: :class:`~oci.response.Response`
1035
1035
 
1036
1036
  :example:
1037
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.102.0/core/delete_instance_configuration.py.html>`__ to see an example of how to use delete_instance_configuration API.
1037
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/core/delete_instance_configuration.py.html>`__ to see an example of how to use delete_instance_configuration API.
1038
1038
  """
1039
1039
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1040
1040
  required_arguments = ['instanceConfigurationId']
@@ -1137,7 +1137,7 @@ class ComputeManagementClient(object):
1137
1137
  :rtype: :class:`~oci.response.Response`
1138
1138
 
1139
1139
  :example:
1140
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.102.0/core/detach_instance_pool_instance.py.html>`__ to see an example of how to use detach_instance_pool_instance API.
1140
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/core/detach_instance_pool_instance.py.html>`__ to see an example of how to use detach_instance_pool_instance API.
1141
1141
  """
1142
1142
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1143
1143
  required_arguments = ['instancePoolId']
@@ -1248,7 +1248,7 @@ class ComputeManagementClient(object):
1248
1248
  :rtype: :class:`~oci.response.Response`
1249
1249
 
1250
1250
  :example:
1251
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.102.0/core/detach_load_balancer.py.html>`__ to see an example of how to use detach_load_balancer API.
1251
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/core/detach_load_balancer.py.html>`__ to see an example of how to use detach_load_balancer API.
1252
1252
  """
1253
1253
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1254
1254
  required_arguments = ['instancePoolId']
@@ -1348,7 +1348,7 @@ class ComputeManagementClient(object):
1348
1348
  :rtype: :class:`~oci.response.Response`
1349
1349
 
1350
1350
  :example:
1351
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.102.0/core/get_cluster_network.py.html>`__ to see an example of how to use get_cluster_network API.
1351
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/core/get_cluster_network.py.html>`__ to see an example of how to use get_cluster_network API.
1352
1352
  """
1353
1353
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1354
1354
  required_arguments = ['clusterNetworkId']
@@ -1434,7 +1434,7 @@ class ComputeManagementClient(object):
1434
1434
  :rtype: :class:`~oci.response.Response`
1435
1435
 
1436
1436
  :example:
1437
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.102.0/core/get_instance_configuration.py.html>`__ to see an example of how to use get_instance_configuration API.
1437
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/core/get_instance_configuration.py.html>`__ to see an example of how to use get_instance_configuration API.
1438
1438
  """
1439
1439
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1440
1440
  required_arguments = ['instanceConfigurationId']
@@ -1522,7 +1522,7 @@ class ComputeManagementClient(object):
1522
1522
  :rtype: :class:`~oci.response.Response`
1523
1523
 
1524
1524
  :example:
1525
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.102.0/core/get_instance_pool.py.html>`__ to see an example of how to use get_instance_pool API.
1525
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/core/get_instance_pool.py.html>`__ to see an example of how to use get_instance_pool API.
1526
1526
  """
1527
1527
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1528
1528
  required_arguments = ['instancePoolId']
@@ -1615,7 +1615,7 @@ class ComputeManagementClient(object):
1615
1615
  :rtype: :class:`~oci.response.Response`
1616
1616
 
1617
1617
  :example:
1618
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.102.0/core/get_instance_pool_instance.py.html>`__ to see an example of how to use get_instance_pool_instance API.
1618
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/core/get_instance_pool_instance.py.html>`__ to see an example of how to use get_instance_pool_instance API.
1619
1619
  """
1620
1620
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1621
1621
  required_arguments = ['instancePoolId', 'instanceId']
@@ -1707,7 +1707,7 @@ class ComputeManagementClient(object):
1707
1707
  :rtype: :class:`~oci.response.Response`
1708
1708
 
1709
1709
  :example:
1710
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.102.0/core/get_instance_pool_load_balancer_attachment.py.html>`__ to see an example of how to use get_instance_pool_load_balancer_attachment API.
1710
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/core/get_instance_pool_load_balancer_attachment.py.html>`__ to see an example of how to use get_instance_pool_load_balancer_attachment API.
1711
1711
  """
1712
1712
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1713
1713
  required_arguments = ['instancePoolId', 'instancePoolLoadBalancerAttachmentId']
@@ -1810,7 +1810,7 @@ class ComputeManagementClient(object):
1810
1810
  :rtype: :class:`~oci.response.Response`
1811
1811
 
1812
1812
  :example:
1813
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.102.0/core/launch_instance_configuration.py.html>`__ to see an example of how to use launch_instance_configuration API.
1813
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/core/launch_instance_configuration.py.html>`__ to see an example of how to use launch_instance_configuration API.
1814
1814
  """
1815
1815
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1816
1816
  required_arguments = ['instanceConfigurationId']
@@ -1950,7 +1950,7 @@ class ComputeManagementClient(object):
1950
1950
  :rtype: :class:`~oci.response.Response`
1951
1951
 
1952
1952
  :example:
1953
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.102.0/core/list_cluster_network_instances.py.html>`__ to see an example of how to use list_cluster_network_instances API.
1953
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/core/list_cluster_network_instances.py.html>`__ to see an example of how to use list_cluster_network_instances API.
1954
1954
  """
1955
1955
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1956
1956
  required_arguments = ['clusterNetworkId', 'compartmentId']
@@ -2116,7 +2116,7 @@ class ComputeManagementClient(object):
2116
2116
  :rtype: :class:`~oci.response.Response`
2117
2117
 
2118
2118
  :example:
2119
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.102.0/core/list_cluster_networks.py.html>`__ to see an example of how to use list_cluster_networks API.
2119
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/core/list_cluster_networks.py.html>`__ to see an example of how to use list_cluster_networks API.
2120
2120
  """
2121
2121
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2122
2122
  required_arguments = ['compartmentId']
@@ -2270,7 +2270,7 @@ class ComputeManagementClient(object):
2270
2270
  :rtype: :class:`~oci.response.Response`
2271
2271
 
2272
2272
  :example:
2273
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.102.0/core/list_instance_configurations.py.html>`__ to see an example of how to use list_instance_configurations API.
2273
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/core/list_instance_configurations.py.html>`__ to see an example of how to use list_instance_configurations API.
2274
2274
  """
2275
2275
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2276
2276
  required_arguments = ['compartmentId']
@@ -2421,7 +2421,7 @@ class ComputeManagementClient(object):
2421
2421
  :rtype: :class:`~oci.response.Response`
2422
2422
 
2423
2423
  :example:
2424
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.102.0/core/list_instance_pool_instances.py.html>`__ to see an example of how to use list_instance_pool_instances API.
2424
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/core/list_instance_pool_instances.py.html>`__ to see an example of how to use list_instance_pool_instances API.
2425
2425
  """
2426
2426
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2427
2427
  required_arguments = ['instancePoolId', 'compartmentId']
@@ -2587,7 +2587,7 @@ class ComputeManagementClient(object):
2587
2587
  :rtype: :class:`~oci.response.Response`
2588
2588
 
2589
2589
  :example:
2590
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.102.0/core/list_instance_pools.py.html>`__ to see an example of how to use list_instance_pools API.
2590
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/core/list_instance_pools.py.html>`__ to see an example of how to use list_instance_pools API.
2591
2591
  """
2592
2592
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2593
2593
  required_arguments = ['compartmentId']
@@ -2720,7 +2720,7 @@ class ComputeManagementClient(object):
2720
2720
  :rtype: :class:`~oci.response.Response`
2721
2721
 
2722
2722
  :example:
2723
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.102.0/core/reset_instance_pool.py.html>`__ to see an example of how to use reset_instance_pool API.
2723
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/core/reset_instance_pool.py.html>`__ to see an example of how to use reset_instance_pool API.
2724
2724
  """
2725
2725
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2726
2726
  required_arguments = ['instancePoolId']
@@ -2834,7 +2834,7 @@ class ComputeManagementClient(object):
2834
2834
  :rtype: :class:`~oci.response.Response`
2835
2835
 
2836
2836
  :example:
2837
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.102.0/core/softreset_instance_pool.py.html>`__ to see an example of how to use softreset_instance_pool API.
2837
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/core/softreset_instance_pool.py.html>`__ to see an example of how to use softreset_instance_pool API.
2838
2838
  """
2839
2839
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2840
2840
  required_arguments = ['instancePoolId']
@@ -2948,7 +2948,7 @@ class ComputeManagementClient(object):
2948
2948
  :rtype: :class:`~oci.response.Response`
2949
2949
 
2950
2950
  :example:
2951
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.102.0/core/softstop_instance_pool.py.html>`__ to see an example of how to use softstop_instance_pool API.
2951
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/core/softstop_instance_pool.py.html>`__ to see an example of how to use softstop_instance_pool API.
2952
2952
  """
2953
2953
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2954
2954
  required_arguments = ['instancePoolId']
@@ -3059,7 +3059,7 @@ class ComputeManagementClient(object):
3059
3059
  :rtype: :class:`~oci.response.Response`
3060
3060
 
3061
3061
  :example:
3062
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.102.0/core/start_instance_pool.py.html>`__ to see an example of how to use start_instance_pool API.
3062
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/core/start_instance_pool.py.html>`__ to see an example of how to use start_instance_pool API.
3063
3063
  """
3064
3064
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3065
3065
  required_arguments = ['instancePoolId']
@@ -3170,7 +3170,7 @@ class ComputeManagementClient(object):
3170
3170
  :rtype: :class:`~oci.response.Response`
3171
3171
 
3172
3172
  :example:
3173
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.102.0/core/stop_instance_pool.py.html>`__ to see an example of how to use stop_instance_pool API.
3173
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/core/stop_instance_pool.py.html>`__ to see an example of how to use stop_instance_pool API.
3174
3174
  """
3175
3175
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3176
3176
  required_arguments = ['instancePoolId']
@@ -3276,7 +3276,7 @@ class ComputeManagementClient(object):
3276
3276
  :rtype: :class:`~oci.response.Response`
3277
3277
 
3278
3278
  :example:
3279
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.102.0/core/terminate_cluster_network.py.html>`__ to see an example of how to use terminate_cluster_network API.
3279
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/core/terminate_cluster_network.py.html>`__ to see an example of how to use terminate_cluster_network API.
3280
3280
  """
3281
3281
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3282
3282
  required_arguments = ['clusterNetworkId']
@@ -3381,7 +3381,7 @@ class ComputeManagementClient(object):
3381
3381
  :rtype: :class:`~oci.response.Response`
3382
3382
 
3383
3383
  :example:
3384
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.102.0/core/terminate_instance_pool.py.html>`__ to see an example of how to use terminate_instance_pool API.
3384
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/core/terminate_instance_pool.py.html>`__ to see an example of how to use terminate_instance_pool API.
3385
3385
  """
3386
3386
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3387
3387
  required_arguments = ['instancePoolId']
@@ -3489,7 +3489,7 @@ class ComputeManagementClient(object):
3489
3489
  :rtype: :class:`~oci.response.Response`
3490
3490
 
3491
3491
  :example:
3492
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.102.0/core/update_cluster_network.py.html>`__ to see an example of how to use update_cluster_network API.
3492
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/core/update_cluster_network.py.html>`__ to see an example of how to use update_cluster_network API.
3493
3493
  """
3494
3494
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3495
3495
  required_arguments = ['clusterNetworkId']
@@ -3602,7 +3602,7 @@ class ComputeManagementClient(object):
3602
3602
  :rtype: :class:`~oci.response.Response`
3603
3603
 
3604
3604
  :example:
3605
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.102.0/core/update_instance_configuration.py.html>`__ to see an example of how to use update_instance_configuration API.
3605
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/core/update_instance_configuration.py.html>`__ to see an example of how to use update_instance_configuration API.
3606
3606
  """
3607
3607
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3608
3608
  required_arguments = ['instanceConfigurationId']
@@ -3719,7 +3719,7 @@ class ComputeManagementClient(object):
3719
3719
  :rtype: :class:`~oci.response.Response`
3720
3720
 
3721
3721
  :example:
3722
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.102.0/core/update_instance_pool.py.html>`__ to see an example of how to use update_instance_pool API.
3722
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/core/update_instance_pool.py.html>`__ to see an example of how to use update_instance_pool API.
3723
3723
  """
3724
3724
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3725
3725
  required_arguments = ['instancePoolId']
@@ -708,11 +708,19 @@ class ComputeManagementClientCompositeOperations(object):
708
708
  lowered_wait_for_states = [w.lower() for w in wait_for_states]
709
709
 
710
710
  try:
711
+ if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
712
+ self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation terminate_instance_pool, this would result in the operation to fail if the resource is not found! Please, do not pass this kwarg if this was not intended")
713
+ else:
714
+ """
715
+ If the user does not send in this value, we set it to True by default.
716
+ We are doing this because during a delete resource scenario and waiting on its state, the service can
717
+ return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
718
+ """
719
+ waiter_kwargs["succeed_on_not_found"] = True
711
720
  waiter_result = oci.wait_until(
712
721
  self.client,
713
722
  initial_get_result, # noqa: F821
714
723
  evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
715
- succeed_on_not_found=True,
716
724
  **waiter_kwargs
717
725
  )
718
726
  result_to_return = waiter_result