oci 2.135.2__py3-none-any.whl → 2.136.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 (465) hide show
  1. oci/access_governance_cp/access_governance_cp_client.py +8 -8
  2. oci/adm/application_dependency_management_client.py +36 -36
  3. oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
  4. oci/ai_document/ai_service_document_client.py +26 -26
  5. oci/ai_language/ai_service_language_client.py +44 -44
  6. oci/ai_speech/ai_service_speech_client.py +19 -19
  7. oci/ai_vision/ai_service_vision_client.py +25 -25
  8. oci/analytics/analytics_client.py +24 -24
  9. oci/announcements_service/announcement_client.py +5 -5
  10. oci/announcements_service/announcement_subscription_client.py +9 -9
  11. oci/announcements_service/announcements_preferences_client.py +4 -4
  12. oci/announcements_service/service_client.py +1 -1
  13. oci/apigateway/api_gateway_client.py +21 -21
  14. oci/apigateway/deployment_client.py +6 -6
  15. oci/apigateway/gateway_client.py +6 -6
  16. oci/apigateway/subscribers_client.py +6 -6
  17. oci/apigateway/usage_plans_client.py +6 -6
  18. oci/apigateway/work_requests_client.py +5 -5
  19. oci/apm_config/config_client.py +9 -9
  20. oci/apm_control_plane/apm_domain_client.py +14 -14
  21. oci/apm_synthetics/apm_synthetic_client.py +28 -28
  22. oci/apm_traces/attributes_client.py +8 -8
  23. oci/apm_traces/query_client.py +2 -2
  24. oci/apm_traces/trace_client.py +4 -4
  25. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  26. oci/artifacts/artifacts_client.py +32 -32
  27. oci/audit/audit_client.py +3 -3
  28. oci/autoscaling/auto_scaling_client.py +11 -11
  29. oci/bastion/bastion_client.py +15 -15
  30. oci/bds/bds_client.py +72 -72
  31. oci/blockchain/blockchain_platform_client.py +27 -27
  32. oci/budget/budget_client.py +10 -10
  33. oci/capacity_management/capacity_management_client.py +32 -32
  34. oci/certificates/certificates_client.py +5 -5
  35. oci/certificates_management/certificates_management_client.py +32 -32
  36. oci/cims/incident_client.py +8 -8
  37. oci/cloud_bridge/common_client.py +5 -5
  38. oci/cloud_bridge/discovery_client.py +14 -14
  39. oci/cloud_bridge/inventory_client.py +16 -16
  40. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  41. oci/cloud_guard/cloud_guard_client.py +155 -155
  42. oci/cloud_migrations/migration_client.py +43 -43
  43. oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
  44. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  45. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  46. oci/compute_instance_agent/plugin_client.py +2 -2
  47. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  48. oci/container_engine/container_engine_client.py +44 -44
  49. oci/container_engine/models/__init__.py +4 -0
  50. oci/container_engine/models/cluster.py +33 -2
  51. oci/container_engine/models/cluster_create_options.py +56 -2
  52. oci/container_engine/models/open_id_connect_discovery.py +72 -0
  53. oci/container_engine/models/open_id_connect_token_authentication_config.py +370 -0
  54. oci/container_engine/models/update_cluster_options_details.py +56 -2
  55. oci/container_instances/container_instance_client.py +18 -18
  56. oci/core/blockstorage_client.py +60 -60
  57. oci/core/compute_client.py +102 -102
  58. oci/core/compute_management_client.py +32 -32
  59. oci/core/models/__init__.py +4 -0
  60. oci/core/models/block_volume_replica.py +43 -2
  61. oci/core/models/block_volume_replica_details.py +45 -2
  62. oci/core/models/block_volume_replica_info.py +43 -2
  63. oci/core/models/boot_volume_replica.py +43 -2
  64. oci/core/models/boot_volume_replica_details.py +45 -2
  65. oci/core/models/boot_volume_replica_info.py +43 -2
  66. oci/core/models/boot_volume_source_details.py +4 -0
  67. oci/core/models/boot_volume_source_from_boot_volume_backup_delta_details.py +143 -0
  68. oci/core/models/create_boot_volume_details.py +45 -2
  69. oci/core/models/create_volume_backup_policy_assignment_details.py +45 -2
  70. oci/core/models/create_volume_details.py +45 -2
  71. oci/core/models/create_volume_group_details.py +45 -2
  72. oci/core/models/instance_configuration_create_volume_details.py +45 -2
  73. oci/core/models/volume_backup_policy_assignment.py +45 -2
  74. oci/core/models/volume_group_replica_details.py +45 -2
  75. oci/core/models/volume_group_replica_info.py +43 -2
  76. oci/core/models/volume_source_details.py +4 -0
  77. oci/core/models/volume_source_from_volume_backup_delta_details.py +143 -0
  78. oci/core/virtual_network_client.py +247 -247
  79. oci/dashboard_service/dashboard_client.py +6 -6
  80. oci/dashboard_service/dashboard_group_client.py +6 -6
  81. oci/data_catalog/data_catalog_client.py +149 -149
  82. oci/data_flow/data_flow_client.py +42 -42
  83. oci/data_integration/data_integration_client.py +163 -163
  84. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  85. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  86. oci/data_safe/data_safe_client.py +292 -292
  87. oci/data_science/data_science_client.py +91 -91
  88. oci/database/database_client.py +396 -396
  89. oci/database_management/db_management_client.py +211 -211
  90. oci/database_management/diagnosability_client.py +4 -4
  91. oci/database_management/managed_my_sql_databases_client.py +7 -7
  92. oci/database_management/perfhub_client.py +1 -1
  93. oci/database_management/sql_tuning_client.py +17 -17
  94. oci/database_migration/database_migration_client.py +42 -42
  95. oci/database_tools/database_tools_client.py +23 -23
  96. oci/delegate_access_control/delegate_access_control_client.py +26 -26
  97. oci/delegate_access_control/work_request_client.py +4 -4
  98. oci/demand_signal/occ_demand_signal_client.py +7 -7
  99. oci/desktops/desktop_service_client.py +21 -21
  100. oci/devops/devops_client.py +141 -141
  101. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  102. oci/dns/dns_client.py +389 -54
  103. oci/dns/dns_client_composite_operations.py +886 -193
  104. oci/dns/models/__init__.py +13 -1
  105. oci/dns/models/create_zone_details.py +101 -2
  106. oci/dns/models/dnssec_config.py +105 -0
  107. oci/dns/models/dnssec_key_version_ds_data.py +121 -0
  108. oci/dns/models/ksk_dnssec_key_version.py +550 -0
  109. oci/dns/models/promote_zone_dnssec_key_version_details.py +72 -0
  110. oci/dns/models/stage_zone_dnssec_key_version_details.py +72 -0
  111. oci/dns/models/update_zone_details.py +99 -0
  112. oci/dns/models/zone.py +126 -0
  113. oci/dns/models/zone_summary.py +128 -2
  114. oci/dns/models/zsk_dnssec_key_version.py +517 -0
  115. oci/dts/appliance_export_job_client.py +6 -6
  116. oci/dts/shipping_vendors_client.py +1 -1
  117. oci/dts/transfer_appliance_client.py +8 -8
  118. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  119. oci/dts/transfer_device_client.py +5 -5
  120. oci/dts/transfer_job_client.py +6 -6
  121. oci/dts/transfer_package_client.py +7 -7
  122. oci/em_warehouse/em_warehouse_client.py +13 -13
  123. oci/email/email_client.py +31 -31
  124. oci/email_data_plane/email_dp_client.py +1 -1
  125. oci/events/events_client.py +6 -6
  126. oci/file_storage/file_storage_client.py +54 -54
  127. oci/fleet_apps_management/fleet_apps_management_admin_client.py +8 -8
  128. oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
  129. oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
  130. oci/fleet_apps_management/fleet_apps_management_operations_client.py +13 -13
  131. oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +4 -4
  132. oci/fleet_software_update/fleet_software_update_client.py +46 -46
  133. oci/functions/functions_invoke_client.py +1 -1
  134. oci/functions/functions_management_client.py +16 -16
  135. oci/fusion_apps/fusion_applications_client.py +41 -41
  136. oci/generative_ai/generative_ai_client.py +22 -22
  137. oci/generative_ai_agent/generative_ai_agent_client.py +33 -33
  138. oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +5 -5
  139. oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
  140. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  141. oci/globally_distributed_database/sharded_database_service_client.py +30 -30
  142. oci/golden_gate/golden_gate_client.py +211 -70
  143. oci/golden_gate/models/__init__.py +8 -0
  144. oci/golden_gate/models/create_database_registration_details.py +4 -4
  145. oci/golden_gate/models/create_deployment_details.py +47 -0
  146. oci/golden_gate/models/create_ogg_deployment_details.py +29 -2
  147. oci/golden_gate/models/create_oracle_connection_details.py +4 -4
  148. oci/golden_gate/models/deployment.py +102 -0
  149. oci/{database_migration/models/agent_collection.py → golden_gate/models/deployment_environment_collection.py} +15 -15
  150. oci/golden_gate/models/deployment_environment_summary.py +389 -0
  151. oci/golden_gate/models/deployment_summary.py +103 -1
  152. oci/golden_gate/models/deployment_type_summary.py +3 -0
  153. oci/golden_gate/models/group_to_roles_mapping_details.py +197 -0
  154. oci/golden_gate/models/ogg_deployment.py +29 -2
  155. oci/golden_gate/models/test_connection_assignment_result.py +34 -2
  156. oci/golden_gate/models/update_database_registration_details.py +4 -4
  157. oci/golden_gate/models/update_deployment_details.py +47 -0
  158. oci/golden_gate/models/update_group_to_roles_mapping_details.py +197 -0
  159. oci/golden_gate/models/update_ogg_deployment_details.py +29 -2
  160. oci/golden_gate/models/update_oracle_connection_details.py +4 -4
  161. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  162. oci/governance_rules_control_plane/work_request_client.py +5 -5
  163. oci/healthchecks/health_checks_client.py +17 -17
  164. oci/identity/identity_client.py +145 -145
  165. oci/identity_data_plane/dataplane_client.py +2 -2
  166. oci/identity_domains/identity_domains_client.py +307 -307
  167. oci/integration/integration_instance_client.py +19 -19
  168. oci/jms/java_management_service_client.py +75 -75
  169. oci/jms_java_downloads/java_download_client.py +25 -25
  170. oci/key_management/ekm_client.py +5 -5
  171. oci/key_management/kms_crypto_client.py +6 -6
  172. oci/key_management/kms_hsm_cluster_client.py +12 -12
  173. oci/key_management/kms_management_client.py +21 -21
  174. oci/key_management/kms_vault_client.py +14 -14
  175. oci/license_manager/license_manager_client.py +18 -18
  176. oci/limits/limits_client.py +4 -4
  177. oci/limits/quotas_client.py +7 -7
  178. oci/load_balancer/load_balancer_client.py +61 -61
  179. oci/lockbox/lockbox_client.py +24 -24
  180. oci/log_analytics/log_analytics_client.py +193 -193
  181. oci/logging/logging_management_client.py +30 -30
  182. oci/loggingingestion/logging_client.py +1 -1
  183. oci/loggingsearch/log_search_client.py +1 -1
  184. oci/management_agent/management_agent_client.py +28 -28
  185. oci/management_dashboard/dashx_apis_client.py +14 -14
  186. oci/marketplace/account_client.py +2 -2
  187. oci/marketplace/marketplace_client.py +30 -30
  188. oci/marketplace_private_offer/attachment_client.py +5 -5
  189. oci/marketplace_private_offer/offer_client.py +6 -6
  190. oci/marketplace_publisher/attachment_client.py +5 -5
  191. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  192. oci/marketplace_publisher/offer_client.py +6 -6
  193. oci/media_services/media_services_client.py +60 -60
  194. oci/media_services/media_stream_client.py +2 -2
  195. oci/monitoring/monitoring_client.py +18 -18
  196. oci/mysql/channels_client.py +7 -7
  197. oci/mysql/db_backups_client.py +7 -7
  198. oci/mysql/db_system_client.py +17 -17
  199. oci/mysql/mysqlaas_client.py +7 -7
  200. oci/mysql/replicas_client.py +5 -5
  201. oci/mysql/work_requests_client.py +4 -4
  202. oci/network_firewall/network_firewall_client.py +86 -86
  203. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  204. oci/nosql/nosql_client.py +24 -24
  205. oci/object_storage/object_storage_client.py +55 -55
  206. oci/oce/oce_instance_client.py +10 -10
  207. oci/oci_control_center/occ_metrics_client.py +3 -3
  208. oci/ocvp/cluster_client.py +5 -5
  209. oci/ocvp/esxi_host_client.py +8 -8
  210. oci/ocvp/sddc_client.py +14 -14
  211. oci/ocvp/work_request_client.py +4 -4
  212. oci/oda/management_client.py +59 -59
  213. oci/oda/oda_client.py +17 -17
  214. oci/oda/odapackage_client.py +7 -7
  215. oci/onesubscription/billing_schedule_client.py +1 -1
  216. oci/onesubscription/commitment_client.py +2 -2
  217. oci/onesubscription/computed_usage_client.py +3 -3
  218. oci/onesubscription/invoice_summary_client.py +2 -2
  219. oci/onesubscription/organization_subscription_client.py +1 -1
  220. oci/onesubscription/ratecard_client.py +1 -1
  221. oci/onesubscription/subscribed_service_client.py +2 -2
  222. oci/onesubscription/subscription_client.py +1 -1
  223. oci/ons/notification_control_plane_client.py +6 -6
  224. oci/ons/notification_data_plane_client.py +10 -10
  225. oci/opa/opa_instance_client.py +13 -13
  226. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  227. oci/opensearch/opensearch_cluster_client.py +14 -14
  228. oci/operator_access_control/access_requests_client.py +10 -10
  229. oci/operator_access_control/operator_actions_client.py +2 -2
  230. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  231. oci/operator_access_control/operator_control_client.py +6 -6
  232. oci/opsi/operations_insights_client.py +179 -179
  233. oci/optimizer/optimizer_client.py +26 -26
  234. oci/os_management/event_client.py +8 -8
  235. oci/os_management/os_management_client.py +69 -69
  236. oci/os_management_hub/event_client.py +8 -8
  237. oci/os_management_hub/lifecycle_environment_client.py +12 -12
  238. oci/os_management_hub/managed_instance_client.py +31 -31
  239. oci/os_management_hub/managed_instance_group_client.py +25 -25
  240. oci/os_management_hub/management_station_client.py +10 -10
  241. oci/os_management_hub/onboarding_client.py +6 -6
  242. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  243. oci/os_management_hub/scheduled_job_client.py +7 -7
  244. oci/os_management_hub/software_source_client.py +27 -27
  245. oci/os_management_hub/work_request_client.py +4 -4
  246. oci/osp_gateway/address_rule_service_client.py +1 -1
  247. oci/osp_gateway/address_service_client.py +2 -2
  248. oci/osp_gateway/invoice_service_client.py +5 -5
  249. oci/osp_gateway/subscription_service_client.py +5 -5
  250. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  251. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  252. oci/osub_subscription/commitment_client.py +2 -2
  253. oci/osub_subscription/ratecard_client.py +1 -1
  254. oci/osub_subscription/subscription_client.py +1 -1
  255. oci/osub_usage/computed_usage_client.py +3 -3
  256. oci/psql/postgresql_client.py +33 -33
  257. oci/queue/queue_admin_client.py +11 -11
  258. oci/queue/queue_client.py +8 -8
  259. oci/recovery/database_recovery_client.py +26 -26
  260. oci/redis/redis_cluster_client.py +12 -12
  261. oci/resource_manager/resource_manager_client.py +52 -52
  262. oci/resource_scheduler/schedule_client.py +13 -13
  263. oci/resource_search/resource_search_client.py +3 -3
  264. oci/rover/rover_bundle_client.py +8 -8
  265. oci/rover/rover_cluster_client.py +8 -8
  266. oci/rover/rover_entitlement_client.py +6 -6
  267. oci/rover/rover_node_client.py +15 -15
  268. oci/rover/shape_client.py +1 -1
  269. oci/rover/work_requests_client.py +5 -5
  270. oci/sch/connector_plugins_client.py +2 -2
  271. oci/sch/service_connector_client.py +12 -12
  272. oci/secrets/secrets_client.py +3 -3
  273. oci/security_attribute/security_attribute_client.py +36 -36
  274. oci/service_catalog/service_catalog_client.py +26 -26
  275. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  276. oci/service_mesh/service_mesh_client.py +48 -48
  277. oci/stack_monitoring/stack_monitoring_client.py +71 -71
  278. oci/streaming/stream_admin_client.py +18 -18
  279. oci/streaming/stream_client.py +8 -8
  280. oci/tenant_manager_control_plane/domain_client.py +5 -5
  281. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  282. oci/tenant_manager_control_plane/governance_client.py +2 -2
  283. oci/tenant_manager_control_plane/link_client.py +3 -3
  284. oci/tenant_manager_control_plane/orders_client.py +2 -2
  285. oci/tenant_manager_control_plane/organization_client.py +10 -10
  286. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  287. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  288. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  289. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  290. oci/threat_intelligence/threatintel_client.py +5 -5
  291. oci/usage/resources_client.py +2 -2
  292. oci/usage/rewards_client.py +6 -6
  293. oci/usage/usagelimits_client.py +1 -1
  294. oci/usage_api/usageapi_client.py +33 -33
  295. oci/util.py +2 -1
  296. oci/vault/vaults_client.py +13 -13
  297. oci/vbs_inst/vbs_instance_client.py +10 -10
  298. oci/version.py +1 -1
  299. oci/visual_builder/vb_instance_client.py +13 -13
  300. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  301. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  302. oci/waa/waa_client.py +13 -13
  303. oci/waa/work_request_client.py +4 -4
  304. oci/waas/redirect_client.py +6 -6
  305. oci/waas/waas_client.py +66 -66
  306. oci/waf/waf_client.py +24 -24
  307. oci/work_requests/work_request_client.py +4 -4
  308. oci/zpr/zpr_client.py +30 -30
  309. {oci-2.135.2.dist-info → oci-2.136.0.dist-info}/METADATA +1 -1
  310. {oci-2.135.2.dist-info → oci-2.136.0.dist-info}/RECORD +314 -452
  311. oci/ai_language/models/entity_document.py +0 -136
  312. oci/ai_language/models/key_phrase_document.py +0 -136
  313. oci/ai_language/models/pre_trained_phi_model_details.py +0 -91
  314. oci/ai_language/models/sentiments_document.py +0 -136
  315. oci/ai_language/models/text_classification_document.py +0 -136
  316. oci/capacity_management/models/occ_capacity_request_compute_details.py +0 -148
  317. oci/cims/user_client.py +0 -207
  318. oci/cims/user_client_composite_operations.py +0 -26
  319. oci/compute_instance_agent/models/instance_agent_command_content_info.py +0 -252
  320. oci/data_integration/models/connection_from_lakehouse.py +0 -140
  321. oci/data_integration/models/connection_from_lakehouse_details.py +0 -133
  322. oci/data_integration/models/connection_summary_from_lakehouse.py +0 -140
  323. oci/data_integration/models/create_connection_from_lakehouse.py +0 -112
  324. oci/data_integration/models/create_data_asset_from_lakehouse.py +0 -232
  325. oci/data_integration/models/data_asset_from_lakehouse_details.py +0 -260
  326. oci/data_integration/models/data_asset_summary_from_lakehouse.py +0 -253
  327. oci/data_integration/models/update_connection_from_lakehouse.py +0 -119
  328. oci/data_integration/models/update_data_asset_from_lakehouse.py +0 -239
  329. oci/database_migration/models/advisor_settings.py +0 -103
  330. oci/database_migration/models/agent.py +0 -486
  331. oci/database_migration/models/agent_image_collection.py +0 -72
  332. oci/database_migration/models/agent_image_summary.py +0 -103
  333. oci/database_migration/models/agent_summary.py +0 -455
  334. oci/database_migration/models/aws_s3_data_transfer_medium_details.py +0 -211
  335. oci/database_migration/models/aws_s3_details.py +0 -108
  336. oci/database_migration/models/change_agent_compartment_details.py +0 -72
  337. oci/database_migration/models/connect_descriptor.py +0 -165
  338. oci/database_migration/models/create_advisor_settings.py +0 -103
  339. oci/database_migration/models/create_agent_details.py +0 -260
  340. oci/database_migration/models/create_aws_s3_details.py +0 -174
  341. oci/database_migration/models/create_connect_descriptor.py +0 -174
  342. oci/database_migration/models/create_data_pump_settings.py +0 -251
  343. oci/database_migration/models/create_data_transfer_medium_details.py +0 -124
  344. oci/database_migration/models/create_database_link_details.py +0 -99
  345. oci/database_migration/models/create_dump_transfer_details.py +0 -126
  346. oci/database_migration/models/create_golden_gate_details.py +0 -95
  347. oci/database_migration/models/create_golden_gate_hub.py +0 -275
  348. oci/database_migration/models/create_golden_gate_service_details.py +0 -149
  349. oci/database_migration/models/create_golden_gate_settings.py +0 -126
  350. oci/database_migration/models/create_private_endpoint.py +0 -151
  351. oci/database_migration/models/create_ssh_details.py +0 -166
  352. oci/database_migration/models/create_vault_details.py +0 -134
  353. oci/database_migration/models/data_pump_settings.py +0 -251
  354. oci/database_migration/models/data_transfer_medium_details.py +0 -122
  355. oci/database_migration/models/data_transfer_medium_details_v2.py +0 -125
  356. oci/database_migration/models/database_credentials.py +0 -103
  357. oci/database_migration/models/database_link_details.py +0 -99
  358. oci/database_migration/models/database_object.py +0 -167
  359. oci/database_migration/models/db_link_data_transfer_medium_details.py +0 -109
  360. oci/database_migration/models/dump_transfer_details.py +0 -126
  361. oci/database_migration/models/generate_token.py +0 -70
  362. oci/database_migration/models/golden_gate_details.py +0 -95
  363. oci/database_migration/models/golden_gate_hub.py +0 -275
  364. oci/database_migration/models/golden_gate_service_details.py +0 -95
  365. oci/database_migration/models/golden_gate_settings.py +0 -126
  366. oci/database_migration/models/migration_object_summary.py +0 -214
  367. oci/database_migration/models/nfs_data_transfer_medium_details.py +0 -78
  368. oci/database_migration/models/object_storage_data_transfer_medium_details.py +0 -78
  369. oci/database_migration/models/par_link.py +0 -70
  370. oci/database_migration/models/private_endpoint_details.py +0 -185
  371. oci/database_migration/models/ssh_details.py +0 -134
  372. oci/database_migration/models/update_advisor_settings.py +0 -103
  373. oci/database_migration/models/update_agent_details.py +0 -231
  374. oci/database_migration/models/update_aws_s3_details.py +0 -174
  375. oci/database_migration/models/update_connect_descriptor.py +0 -173
  376. oci/database_migration/models/update_data_pump_settings.py +0 -253
  377. oci/database_migration/models/update_data_transfer_medium_details.py +0 -125
  378. oci/database_migration/models/update_database_link_details.py +0 -99
  379. oci/database_migration/models/update_dump_transfer_details.py +0 -126
  380. oci/database_migration/models/update_golden_gate_details.py +0 -95
  381. oci/database_migration/models/update_golden_gate_hub.py +0 -275
  382. oci/database_migration/models/update_golden_gate_service_details.py +0 -149
  383. oci/database_migration/models/update_golden_gate_settings.py +0 -127
  384. oci/database_migration/models/update_private_endpoint.py +0 -151
  385. oci/database_migration/models/update_ssh_details.py +0 -165
  386. oci/database_migration/models/update_vault_details.py +0 -134
  387. oci/database_migration/models/vault_details.py +0 -134
  388. oci/database_tools/models/database_tools_allowed_network_sources.py +0 -107
  389. oci/database_tools/models/database_tools_virtual_source.py +0 -107
  390. oci/devops/models/run_pipeline_deploy_stage_execution_progress.py +0 -98
  391. oci/devops/models/run_validation_test_on_compute_instance_deploy_stage_execution_progress.py +0 -98
  392. oci/em_warehouse/em_data_lake_client.py +0 -1610
  393. oci/em_warehouse/em_data_lake_client_composite_operations.py +0 -190
  394. oci/fusion_apps/data_masking_activity_client.py +0 -456
  395. oci/fusion_apps/data_masking_activity_client_composite_operations.py +0 -65
  396. oci/fusion_apps/fusion_environment_client.py +0 -1772
  397. oci/fusion_apps/fusion_environment_client_composite_operations.py +0 -324
  398. oci/fusion_apps/fusion_environment_family_client.py +0 -943
  399. oci/fusion_apps/fusion_environment_family_client_composite_operations.py +0 -190
  400. oci/fusion_apps/models/attach_existing_instance_details.py +0 -194
  401. oci/fusion_apps/models/create_new_instance_details.py +0 -142
  402. oci/fusion_apps/models/create_oax_service_instance_details.py +0 -152
  403. oci/fusion_apps/models/create_oic_service_instance_details.py +0 -142
  404. oci/fusion_apps/models/create_service_instance_details.py +0 -170
  405. oci/fusion_apps/models/faw_admin_info_details.py +0 -132
  406. oci/fusion_apps/refresh_activity_client.py +0 -607
  407. oci/fusion_apps/refresh_activity_client_composite_operations.py +0 -65
  408. oci/fusion_apps/scheduled_activity_client.py +0 -380
  409. oci/fusion_apps/scheduled_activity_client_composite_operations.py +0 -24
  410. oci/fusion_apps/service_attachment_client.py +0 -370
  411. oci/fusion_apps/service_attachment_client_composite_operations.py +0 -24
  412. oci/jms/models/request_summarized_application_usage_details.py +0 -504
  413. oci/jms/models/request_summarized_installation_usage_details.py +0 -448
  414. oci/jms/models/request_summarized_jre_usage_details.py +0 -421
  415. oci/jms/models/request_summarized_managed_instance_usage_details.py +0 -480
  416. oci/log_analytics/models/agent_upload.py +0 -70
  417. oci/log_analytics/models/attribute.py +0 -602
  418. oci/log_analytics/models/create_namespace_details.py +0 -70
  419. oci/log_analytics/models/field_map.py +0 -101
  420. oci/log_analytics/models/generate_agent_object_name_details.py +0 -163
  421. oci/log_analytics/models/log_analytics.py +0 -370
  422. oci/log_analytics/models/log_analytics_collection_warning.py +0 -70
  423. oci/log_analytics/models/log_analytics_summary.py +0 -304
  424. oci/log_analytics/models/out_of_box_entity_type_details.py +0 -211
  425. oci/log_analytics/models/query.py +0 -70
  426. oci/log_analytics/models/query_work_request_resource.py +0 -70
  427. oci/log_analytics/models/register_entity_types_details.py +0 -70
  428. oci/log_analytics/models/service_tenancy.py +0 -70
  429. oci/log_analytics/models/string_list_details.py +0 -70
  430. oci/logging/models/log_included_search.py +0 -307
  431. oci/logging/models/log_included_search_summary.py +0 -165
  432. oci/logging/models/log_included_search_summary_collection.py +0 -70
  433. oci/media_services/models/media_workflow_job_fact.py +0 -198
  434. oci/media_services/models/media_workflow_job_fact_collection.py +0 -72
  435. oci/media_services/models/media_workflow_job_fact_summary.py +0 -165
  436. oci/mysql/models/add_analytics_cluster_details.py +0 -108
  437. oci/mysql/models/analytics_cluster.py +0 -338
  438. oci/mysql/models/analytics_cluster_memory_estimate.py +0 -241
  439. oci/mysql/models/analytics_cluster_node.py +0 -210
  440. oci/mysql/models/analytics_cluster_schema_memory_estimate.py +0 -107
  441. oci/mysql/models/analytics_cluster_summary.py +0 -209
  442. oci/mysql/models/analytics_cluster_table_memory_estimate.py +0 -239
  443. oci/mysql/models/update_analytics_cluster_details.py +0 -120
  444. oci/network_firewall/models/tcp_application.py +0 -112
  445. oci/network_firewall/models/udp_application.py +0 -112
  446. oci/oce/models/delete_oce_instance_details.py +0 -70
  447. oci/ocvp/models/datastore_summary.py +0 -154
  448. oci/ocvp/models/supported_sku_summary.py +0 -96
  449. oci/ocvp/models/supported_sku_summary_collection.py +0 -72
  450. oci/os_management/models/errata_id.py +0 -101
  451. oci/os_management/models/managed_instance_update_details.py +0 -101
  452. oci/os_management/models/updatable_package_summary.py +0 -287
  453. oci/osp_gateway/models/billing_address.py +0 -382
  454. oci/service_mesh/models/create_ingress_gateway_mutual_transport_layer_security_details.py +0 -76
  455. oci/service_mesh/models/create_mutual_transport_layer_security_details.py +0 -111
  456. oci/usage_api/models/create_schedule_report_details.py +0 -128
  457. oci/usage_api/models/saved_schedule_report.py +0 -145
  458. oci/usage_api/models/schedule_report.py +0 -159
  459. oci/usage_api/models/schedule_report_collection.py +0 -70
  460. oci/usage_api/models/schedule_report_summary.py +0 -97
  461. oci/usage_api/models/update_schedule_report_details.py +0 -66
  462. {oci-2.135.2.dist-info → oci-2.136.0.dist-info}/LICENSE.txt +0 -0
  463. {oci-2.135.2.dist-info → oci-2.136.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  464. {oci-2.135.2.dist-info → oci-2.136.0.dist-info}/WHEEL +0 -0
  465. {oci-2.135.2.dist-info → oci-2.136.0.dist-info}/top_level.txt +0 -0
@@ -1,943 +0,0 @@
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
- from __future__ import absolute_import
6
-
7
- from oci._vendor import requests # noqa: F401
8
- from oci._vendor import six
9
-
10
- from oci import retry, circuit_breaker # noqa: F401
11
- from oci.base_client import BaseClient
12
- from oci.config import get_config_value_or_default, validate_config
13
- from oci.signer import Signer
14
- from oci.util import Sentinel, get_signer_from_authentication_type, AUTHENTICATION_TYPE_FIELD_NAME
15
- from .models import fusion_apps_type_mapping
16
- missing = Sentinel("Missing")
17
-
18
-
19
- class FusionEnvironmentFamilyClient(object):
20
- """
21
- Use the Fusion Applications Environment Management API to manage the environments where your Fusion Applications run. For more information, see the [Fusion Applications Environment Management documentation](/iaas/Content/Identity/fusion-applications/home.htm).
22
- """
23
-
24
- def __init__(self, config, **kwargs):
25
- """
26
- Creates a new service client
27
-
28
- :param dict config:
29
- Configuration keys and values as per `SDK and Tool Configuration <https://docs.cloud.oracle.com/Content/API/Concepts/sdkconfig.htm>`__.
30
- The :py:meth:`~oci.config.from_file` method can be used to load configuration from a file. Alternatively, a ``dict`` can be passed. You can validate_config
31
- the dict using :py:meth:`~oci.config.validate_config`
32
-
33
- :param str service_endpoint: (optional)
34
- The endpoint of the service to call using this client. For example ``https://iaas.us-ashburn-1.oraclecloud.com``. If this keyword argument is
35
- not provided then it will be derived using the region in the config parameter. You should only provide this keyword argument if you have an explicit
36
- need to specify a service endpoint.
37
-
38
- :param timeout: (optional)
39
- The connection and read timeouts for the client. The default values are connection timeout 10 seconds and read timeout 60 seconds. This keyword argument can be provided
40
- as a single float, in which case the value provided is used for both the read and connection timeouts, or as a tuple of two floats. If
41
- a tuple is provided then the first value is used as the connection timeout and the second value as the read timeout.
42
- :type timeout: float or tuple(float, float)
43
-
44
- :param signer: (optional)
45
- The signer to use when signing requests made by the service client. The default is to use a :py:class:`~oci.signer.Signer` based on the values
46
- provided in the config parameter.
47
-
48
- One use case for this parameter is for `Instance Principals authentication <https://docs.cloud.oracle.com/Content/Identity/Tasks/callingservicesfrominstances.htm>`__
49
- by passing an instance of :py:class:`~oci.auth.signers.InstancePrincipalsSecurityTokenSigner` as the value for this keyword argument
50
- :type signer: :py:class:`~oci.signer.AbstractBaseSigner`
51
-
52
- :param obj retry_strategy: (optional)
53
- A retry strategy to apply to all calls made by this service client (i.e. at the client level). There is no retry strategy applied by default.
54
- Retry strategies can also be applied at the operation level by passing a ``retry_strategy`` keyword argument as part of calling the operation.
55
- Any value provided at the operation level will override whatever is specified at the client level.
56
-
57
- This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
58
- is also available. The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
59
-
60
- :param obj circuit_breaker_strategy: (optional)
61
- A circuit breaker strategy to apply to all calls made by this service client (i.e. at the client level).
62
- This client uses :py:data:`~oci.circuit_breaker.DEFAULT_CIRCUIT_BREAKER_STRATEGY` as default if no circuit breaker strategy is provided.
63
- The specifics of circuit breaker strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/circuit_breakers.html>`__.
64
-
65
- :param function circuit_breaker_callback: (optional)
66
- Callback function to receive any exceptions triggerred by the circuit breaker.
67
-
68
- :param allow_control_chars: (optional)
69
- allow_control_chars is a boolean to indicate whether or not this client should allow control characters in the response object. By default, the client will not
70
- allow control characters to be in the response object.
71
- """
72
- validate_config(config, signer=kwargs.get('signer'))
73
- if 'signer' in kwargs:
74
- signer = kwargs['signer']
75
-
76
- elif AUTHENTICATION_TYPE_FIELD_NAME in config:
77
- signer = get_signer_from_authentication_type(config)
78
-
79
- else:
80
- signer = Signer(
81
- tenancy=config["tenancy"],
82
- user=config["user"],
83
- fingerprint=config["fingerprint"],
84
- private_key_file_location=config.get("key_file"),
85
- pass_phrase=get_config_value_or_default(config, "pass_phrase"),
86
- private_key_content=config.get("key_content")
87
- )
88
-
89
- base_client_init_kwargs = {
90
- 'regional_client': True,
91
- 'service_endpoint': kwargs.get('service_endpoint'),
92
- 'base_path': '/20211201',
93
- 'service_endpoint_template': 'https://fusionapps.{region}.oci.{secondLevelDomain}',
94
- 'skip_deserialization': kwargs.get('skip_deserialization', False),
95
- 'circuit_breaker_strategy': kwargs.get('circuit_breaker_strategy', circuit_breaker.GLOBAL_CIRCUIT_BREAKER_STRATEGY)
96
- }
97
- if 'timeout' in kwargs:
98
- base_client_init_kwargs['timeout'] = kwargs.get('timeout')
99
- if base_client_init_kwargs.get('circuit_breaker_strategy') is None:
100
- base_client_init_kwargs['circuit_breaker_strategy'] = circuit_breaker.DEFAULT_CIRCUIT_BREAKER_STRATEGY
101
- if 'allow_control_chars' in kwargs:
102
- base_client_init_kwargs['allow_control_chars'] = kwargs.get('allow_control_chars')
103
- self.base_client = BaseClient("fusion_environment_family", config, signer, fusion_apps_type_mapping, **base_client_init_kwargs)
104
- self.retry_strategy = kwargs.get('retry_strategy')
105
- self.circuit_breaker_callback = kwargs.get('circuit_breaker_callback')
106
-
107
- def change_fusion_environment_family_compartment(self, fusion_environment_family_id, change_fusion_environment_family_compartment_details, **kwargs):
108
- """
109
- Moves a FusionEnvironmentFamily into a different compartment. When provided, If-Match is checked against ETag
110
- values of the resource.
111
-
112
-
113
- :param str fusion_environment_family_id: (required)
114
- The unique identifier (OCID) of the FusionEnvironmentFamily.
115
-
116
- :param oci.fusion_apps.models.ChangeFusionEnvironmentFamilyCompartmentDetails change_fusion_environment_family_compartment_details: (required)
117
- Details for the compartment move.
118
-
119
- :param str if_match: (optional)
120
- For optimistic concurrency control. In the PUT or DELETE call
121
- for a resource, set the `if-match` parameter to the value of the
122
- etag from a previous GET or POST response for that resource.
123
- The resource will be updated or deleted only if the etag you
124
- provide matches the resource's current etag value.
125
-
126
- :param str opc_request_id: (optional)
127
- The client request ID for tracing.
128
-
129
- :param str opc_retry_token: (optional)
130
- A token that uniquely identifies a request so it can be retried in case of a timeout or
131
- server error without risk of executing that same action again. Retry tokens expire after 24
132
- hours, but can be invalidated before then due to conflicting operations. For example, if a resource
133
- has been deleted and purged from the system, then a retry of the original creation request
134
- might be rejected.
135
-
136
- :param obj retry_strategy: (optional)
137
- A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
138
-
139
- This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
140
- The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
141
-
142
- To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
143
-
144
- :param bool allow_control_chars: (optional)
145
- allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
146
- By default, the response will not allow control characters in strings
147
-
148
- :return: A :class:`~oci.response.Response` object with data of type None
149
- :rtype: :class:`~oci.response.Response`
150
-
151
- :example:
152
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/fusionapps/change_fusion_environment_family_compartment.py.html>`__ to see an example of how to use change_fusion_environment_family_compartment API.
153
- """
154
- resource_path = "/fusionEnvironmentFamilies/{fusionEnvironmentFamilyId}/actions/changeCompartment"
155
- method = "POST"
156
- operation_name = "change_fusion_environment_family_compartment"
157
- api_reference_link = ""
158
-
159
- # Don't accept unknown kwargs
160
- expected_kwargs = [
161
- "allow_control_chars",
162
- "retry_strategy",
163
- "if_match",
164
- "opc_request_id",
165
- "opc_retry_token"
166
- ]
167
- extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
168
- if extra_kwargs:
169
- raise ValueError(
170
- "change_fusion_environment_family_compartment got unknown kwargs: {!r}".format(extra_kwargs))
171
-
172
- path_params = {
173
- "fusionEnvironmentFamilyId": fusion_environment_family_id
174
- }
175
-
176
- path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
177
-
178
- for (k, v) in six.iteritems(path_params):
179
- if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
180
- raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
181
-
182
- header_params = {
183
- "accept": "application/json",
184
- "content-type": "application/json",
185
- "if-match": kwargs.get("if_match", missing),
186
- "opc-request-id": kwargs.get("opc_request_id", missing),
187
- "opc-retry-token": kwargs.get("opc_retry_token", missing)
188
- }
189
- header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
190
-
191
- retry_strategy = self.base_client.get_preferred_retry_strategy(
192
- operation_retry_strategy=kwargs.get('retry_strategy'),
193
- client_retry_strategy=self.retry_strategy
194
- )
195
-
196
- if retry_strategy:
197
- if not isinstance(retry_strategy, retry.NoneRetryStrategy):
198
- self.base_client.add_opc_retry_token_if_needed(header_params)
199
- self.base_client.add_opc_client_retries_header(header_params)
200
- retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
201
- return retry_strategy.make_retrying_call(
202
- self.base_client.call_api,
203
- resource_path=resource_path,
204
- method=method,
205
- path_params=path_params,
206
- header_params=header_params,
207
- body=change_fusion_environment_family_compartment_details,
208
- allow_control_chars=kwargs.get('allow_control_chars'),
209
- operation_name=operation_name,
210
- api_reference_link=api_reference_link)
211
- else:
212
- return self.base_client.call_api(
213
- resource_path=resource_path,
214
- method=method,
215
- path_params=path_params,
216
- header_params=header_params,
217
- body=change_fusion_environment_family_compartment_details,
218
- allow_control_chars=kwargs.get('allow_control_chars'),
219
- operation_name=operation_name,
220
- api_reference_link=api_reference_link)
221
-
222
- def create_fusion_environment_family(self, create_fusion_environment_family_details, **kwargs):
223
- """
224
- Creates a new FusionEnvironmentFamily.
225
-
226
-
227
- :param oci.fusion_apps.models.CreateFusionEnvironmentFamilyDetails create_fusion_environment_family_details: (required)
228
- Details for the new FusionEnvironmentFamily.
229
-
230
- :param str opc_provision_option: (optional)
231
- For Oracle internal use only.
232
-
233
- :param str opc_retry_token: (optional)
234
- A token that uniquely identifies a request so it can be retried in case of a timeout or
235
- server error without risk of executing that same action again. Retry tokens expire after 24
236
- hours, but can be invalidated before then due to conflicting operations. For example, if a resource
237
- has been deleted and purged from the system, then a retry of the original creation request
238
- might be rejected.
239
-
240
- :param str opc_request_id: (optional)
241
- The client request ID for tracing.
242
-
243
- :param obj retry_strategy: (optional)
244
- A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
245
-
246
- This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
247
- The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
248
-
249
- To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
250
-
251
- :param bool allow_control_chars: (optional)
252
- allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
253
- By default, the response will not allow control characters in strings
254
-
255
- :return: A :class:`~oci.response.Response` object with data of type None
256
- :rtype: :class:`~oci.response.Response`
257
-
258
- :example:
259
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/fusionapps/create_fusion_environment_family.py.html>`__ to see an example of how to use create_fusion_environment_family API.
260
- """
261
- resource_path = "/fusionEnvironmentFamilies"
262
- method = "POST"
263
- operation_name = "create_fusion_environment_family"
264
- api_reference_link = ""
265
-
266
- # Don't accept unknown kwargs
267
- expected_kwargs = [
268
- "allow_control_chars",
269
- "retry_strategy",
270
- "opc_provision_option",
271
- "opc_retry_token",
272
- "opc_request_id"
273
- ]
274
- extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
275
- if extra_kwargs:
276
- raise ValueError(
277
- "create_fusion_environment_family got unknown kwargs: {!r}".format(extra_kwargs))
278
-
279
- header_params = {
280
- "accept": "application/json",
281
- "content-type": "application/json",
282
- "opc-provision-option": kwargs.get("opc_provision_option", missing),
283
- "opc-retry-token": kwargs.get("opc_retry_token", missing),
284
- "opc-request-id": kwargs.get("opc_request_id", missing)
285
- }
286
- header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
287
-
288
- retry_strategy = self.base_client.get_preferred_retry_strategy(
289
- operation_retry_strategy=kwargs.get('retry_strategy'),
290
- client_retry_strategy=self.retry_strategy
291
- )
292
-
293
- if retry_strategy:
294
- if not isinstance(retry_strategy, retry.NoneRetryStrategy):
295
- self.base_client.add_opc_retry_token_if_needed(header_params)
296
- self.base_client.add_opc_client_retries_header(header_params)
297
- retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
298
- return retry_strategy.make_retrying_call(
299
- self.base_client.call_api,
300
- resource_path=resource_path,
301
- method=method,
302
- header_params=header_params,
303
- body=create_fusion_environment_family_details,
304
- allow_control_chars=kwargs.get('allow_control_chars'),
305
- operation_name=operation_name,
306
- api_reference_link=api_reference_link)
307
- else:
308
- return self.base_client.call_api(
309
- resource_path=resource_path,
310
- method=method,
311
- header_params=header_params,
312
- body=create_fusion_environment_family_details,
313
- allow_control_chars=kwargs.get('allow_control_chars'),
314
- operation_name=operation_name,
315
- api_reference_link=api_reference_link)
316
-
317
- def delete_fusion_environment_family(self, fusion_environment_family_id, **kwargs):
318
- """
319
- Deletes a FusionEnvironmentFamily resource by identifier
320
-
321
-
322
- :param str fusion_environment_family_id: (required)
323
- The unique identifier (OCID) of the FusionEnvironmentFamily.
324
-
325
- :param str if_match: (optional)
326
- For optimistic concurrency control. In the PUT or DELETE call
327
- for a resource, set the `if-match` parameter to the value of the
328
- etag from a previous GET or POST response for that resource.
329
- The resource will be updated or deleted only if the etag you
330
- provide matches the resource's current etag value.
331
-
332
- :param str opc_request_id: (optional)
333
- The client request ID for tracing.
334
-
335
- :param obj retry_strategy: (optional)
336
- A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
337
-
338
- This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
339
- The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
340
-
341
- To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
342
-
343
- :param bool allow_control_chars: (optional)
344
- allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
345
- By default, the response will not allow control characters in strings
346
-
347
- :return: A :class:`~oci.response.Response` object with data of type None
348
- :rtype: :class:`~oci.response.Response`
349
-
350
- :example:
351
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/fusionapps/delete_fusion_environment_family.py.html>`__ to see an example of how to use delete_fusion_environment_family API.
352
- """
353
- resource_path = "/fusionEnvironmentFamilies/{fusionEnvironmentFamilyId}"
354
- method = "DELETE"
355
- operation_name = "delete_fusion_environment_family"
356
- api_reference_link = ""
357
-
358
- # Don't accept unknown kwargs
359
- expected_kwargs = [
360
- "allow_control_chars",
361
- "retry_strategy",
362
- "if_match",
363
- "opc_request_id"
364
- ]
365
- extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
366
- if extra_kwargs:
367
- raise ValueError(
368
- "delete_fusion_environment_family got unknown kwargs: {!r}".format(extra_kwargs))
369
-
370
- path_params = {
371
- "fusionEnvironmentFamilyId": fusion_environment_family_id
372
- }
373
-
374
- path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
375
-
376
- for (k, v) in six.iteritems(path_params):
377
- if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
378
- raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
379
-
380
- header_params = {
381
- "accept": "application/json",
382
- "content-type": "application/json",
383
- "if-match": kwargs.get("if_match", missing),
384
- "opc-request-id": kwargs.get("opc_request_id", missing)
385
- }
386
- header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
387
-
388
- retry_strategy = self.base_client.get_preferred_retry_strategy(
389
- operation_retry_strategy=kwargs.get('retry_strategy'),
390
- client_retry_strategy=self.retry_strategy
391
- )
392
-
393
- if retry_strategy:
394
- if not isinstance(retry_strategy, retry.NoneRetryStrategy):
395
- self.base_client.add_opc_client_retries_header(header_params)
396
- retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
397
- return retry_strategy.make_retrying_call(
398
- self.base_client.call_api,
399
- resource_path=resource_path,
400
- method=method,
401
- path_params=path_params,
402
- header_params=header_params,
403
- allow_control_chars=kwargs.get('allow_control_chars'),
404
- operation_name=operation_name,
405
- api_reference_link=api_reference_link)
406
- else:
407
- return self.base_client.call_api(
408
- resource_path=resource_path,
409
- method=method,
410
- path_params=path_params,
411
- header_params=header_params,
412
- allow_control_chars=kwargs.get('allow_control_chars'),
413
- operation_name=operation_name,
414
- api_reference_link=api_reference_link)
415
-
416
- def get_fusion_environment_family(self, fusion_environment_family_id, **kwargs):
417
- """
418
- Retrieves a fusion environment family identified by its OCID.
419
-
420
-
421
- :param str fusion_environment_family_id: (required)
422
- The unique identifier (OCID) of the FusionEnvironmentFamily.
423
-
424
- :param str opc_request_id: (optional)
425
- The client request ID for tracing.
426
-
427
- :param obj retry_strategy: (optional)
428
- A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
429
-
430
- This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
431
- The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
432
-
433
- To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
434
-
435
- :param bool allow_control_chars: (optional)
436
- allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
437
- By default, the response will not allow control characters in strings
438
-
439
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.fusion_apps.models.FusionEnvironmentFamily`
440
- :rtype: :class:`~oci.response.Response`
441
-
442
- :example:
443
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/fusionapps/get_fusion_environment_family.py.html>`__ to see an example of how to use get_fusion_environment_family API.
444
- """
445
- resource_path = "/fusionEnvironmentFamilies/{fusionEnvironmentFamilyId}"
446
- method = "GET"
447
- operation_name = "get_fusion_environment_family"
448
- api_reference_link = ""
449
-
450
- # Don't accept unknown kwargs
451
- expected_kwargs = [
452
- "allow_control_chars",
453
- "retry_strategy",
454
- "opc_request_id"
455
- ]
456
- extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
457
- if extra_kwargs:
458
- raise ValueError(
459
- "get_fusion_environment_family got unknown kwargs: {!r}".format(extra_kwargs))
460
-
461
- path_params = {
462
- "fusionEnvironmentFamilyId": fusion_environment_family_id
463
- }
464
-
465
- path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
466
-
467
- for (k, v) in six.iteritems(path_params):
468
- if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
469
- raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
470
-
471
- header_params = {
472
- "accept": "application/json",
473
- "content-type": "application/json",
474
- "opc-request-id": kwargs.get("opc_request_id", missing)
475
- }
476
- header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
477
-
478
- retry_strategy = self.base_client.get_preferred_retry_strategy(
479
- operation_retry_strategy=kwargs.get('retry_strategy'),
480
- client_retry_strategy=self.retry_strategy
481
- )
482
-
483
- if retry_strategy:
484
- if not isinstance(retry_strategy, retry.NoneRetryStrategy):
485
- self.base_client.add_opc_client_retries_header(header_params)
486
- retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
487
- return retry_strategy.make_retrying_call(
488
- self.base_client.call_api,
489
- resource_path=resource_path,
490
- method=method,
491
- path_params=path_params,
492
- header_params=header_params,
493
- response_type="FusionEnvironmentFamily",
494
- allow_control_chars=kwargs.get('allow_control_chars'),
495
- operation_name=operation_name,
496
- api_reference_link=api_reference_link)
497
- else:
498
- return self.base_client.call_api(
499
- resource_path=resource_path,
500
- method=method,
501
- path_params=path_params,
502
- header_params=header_params,
503
- response_type="FusionEnvironmentFamily",
504
- allow_control_chars=kwargs.get('allow_control_chars'),
505
- operation_name=operation_name,
506
- api_reference_link=api_reference_link)
507
-
508
- def get_fusion_environment_family_limits_and_usage(self, fusion_environment_family_id, **kwargs):
509
- """
510
- Gets the number of environments (usage) of each type in the fusion environment family, as well as the limit that's allowed to be created based on the group's associated subscriptions.
511
-
512
-
513
- :param str fusion_environment_family_id: (required)
514
- The unique identifier (OCID) of the FusionEnvironmentFamily.
515
-
516
- :param str opc_request_id: (optional)
517
- The client request ID for tracing.
518
-
519
- :param obj retry_strategy: (optional)
520
- A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
521
-
522
- This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
523
- The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
524
-
525
- To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
526
-
527
- :param bool allow_control_chars: (optional)
528
- allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
529
- By default, the response will not allow control characters in strings
530
-
531
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.fusion_apps.models.FusionEnvironmentFamilyLimitsAndUsage`
532
- :rtype: :class:`~oci.response.Response`
533
-
534
- :example:
535
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/fusionapps/get_fusion_environment_family_limits_and_usage.py.html>`__ to see an example of how to use get_fusion_environment_family_limits_and_usage API.
536
- """
537
- resource_path = "/fusionEnvironmentFamilies/{fusionEnvironmentFamilyId}/limitsAndUsage"
538
- method = "GET"
539
- operation_name = "get_fusion_environment_family_limits_and_usage"
540
- api_reference_link = ""
541
-
542
- # Don't accept unknown kwargs
543
- expected_kwargs = [
544
- "allow_control_chars",
545
- "retry_strategy",
546
- "opc_request_id"
547
- ]
548
- extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
549
- if extra_kwargs:
550
- raise ValueError(
551
- "get_fusion_environment_family_limits_and_usage got unknown kwargs: {!r}".format(extra_kwargs))
552
-
553
- path_params = {
554
- "fusionEnvironmentFamilyId": fusion_environment_family_id
555
- }
556
-
557
- path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
558
-
559
- for (k, v) in six.iteritems(path_params):
560
- if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
561
- raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
562
-
563
- header_params = {
564
- "accept": "application/json",
565
- "content-type": "application/json",
566
- "opc-request-id": kwargs.get("opc_request_id", missing)
567
- }
568
- header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
569
-
570
- retry_strategy = self.base_client.get_preferred_retry_strategy(
571
- operation_retry_strategy=kwargs.get('retry_strategy'),
572
- client_retry_strategy=self.retry_strategy
573
- )
574
-
575
- if retry_strategy:
576
- if not isinstance(retry_strategy, retry.NoneRetryStrategy):
577
- self.base_client.add_opc_client_retries_header(header_params)
578
- retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
579
- return retry_strategy.make_retrying_call(
580
- self.base_client.call_api,
581
- resource_path=resource_path,
582
- method=method,
583
- path_params=path_params,
584
- header_params=header_params,
585
- response_type="FusionEnvironmentFamilyLimitsAndUsage",
586
- allow_control_chars=kwargs.get('allow_control_chars'),
587
- operation_name=operation_name,
588
- api_reference_link=api_reference_link)
589
- else:
590
- return self.base_client.call_api(
591
- resource_path=resource_path,
592
- method=method,
593
- path_params=path_params,
594
- header_params=header_params,
595
- response_type="FusionEnvironmentFamilyLimitsAndUsage",
596
- allow_control_chars=kwargs.get('allow_control_chars'),
597
- operation_name=operation_name,
598
- api_reference_link=api_reference_link)
599
-
600
- def get_fusion_environment_family_subscription_detail(self, fusion_environment_family_id, **kwargs):
601
- """
602
- Gets the subscription details of an fusion environment family.
603
-
604
-
605
- :param str fusion_environment_family_id: (required)
606
- The unique identifier (OCID) of the FusionEnvironmentFamily.
607
-
608
- :param str opc_request_id: (optional)
609
- The client request ID for tracing.
610
-
611
- :param obj retry_strategy: (optional)
612
- A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
613
-
614
- This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
615
- The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
616
-
617
- To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
618
-
619
- :param bool allow_control_chars: (optional)
620
- allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
621
- By default, the response will not allow control characters in strings
622
-
623
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.fusion_apps.models.SubscriptionDetail`
624
- :rtype: :class:`~oci.response.Response`
625
-
626
- :example:
627
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/fusionapps/get_fusion_environment_family_subscription_detail.py.html>`__ to see an example of how to use get_fusion_environment_family_subscription_detail API.
628
- """
629
- resource_path = "/fusionEnvironmentFamilies/{fusionEnvironmentFamilyId}/subscriptionDetails"
630
- method = "GET"
631
- operation_name = "get_fusion_environment_family_subscription_detail"
632
- api_reference_link = ""
633
-
634
- # Don't accept unknown kwargs
635
- expected_kwargs = [
636
- "allow_control_chars",
637
- "retry_strategy",
638
- "opc_request_id"
639
- ]
640
- extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
641
- if extra_kwargs:
642
- raise ValueError(
643
- "get_fusion_environment_family_subscription_detail got unknown kwargs: {!r}".format(extra_kwargs))
644
-
645
- path_params = {
646
- "fusionEnvironmentFamilyId": fusion_environment_family_id
647
- }
648
-
649
- path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
650
-
651
- for (k, v) in six.iteritems(path_params):
652
- if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
653
- raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
654
-
655
- header_params = {
656
- "accept": "application/json",
657
- "content-type": "application/json",
658
- "opc-request-id": kwargs.get("opc_request_id", missing)
659
- }
660
- header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
661
-
662
- retry_strategy = self.base_client.get_preferred_retry_strategy(
663
- operation_retry_strategy=kwargs.get('retry_strategy'),
664
- client_retry_strategy=self.retry_strategy
665
- )
666
-
667
- if retry_strategy:
668
- if not isinstance(retry_strategy, retry.NoneRetryStrategy):
669
- self.base_client.add_opc_client_retries_header(header_params)
670
- retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
671
- return retry_strategy.make_retrying_call(
672
- self.base_client.call_api,
673
- resource_path=resource_path,
674
- method=method,
675
- path_params=path_params,
676
- header_params=header_params,
677
- response_type="SubscriptionDetail",
678
- allow_control_chars=kwargs.get('allow_control_chars'),
679
- operation_name=operation_name,
680
- api_reference_link=api_reference_link)
681
- else:
682
- return self.base_client.call_api(
683
- resource_path=resource_path,
684
- method=method,
685
- path_params=path_params,
686
- header_params=header_params,
687
- response_type="SubscriptionDetail",
688
- allow_control_chars=kwargs.get('allow_control_chars'),
689
- operation_name=operation_name,
690
- api_reference_link=api_reference_link)
691
-
692
- def list_fusion_environment_families(self, compartment_id, **kwargs):
693
- """
694
- Returns a list of FusionEnvironmentFamilies.
695
-
696
-
697
- :param str compartment_id: (required)
698
- The ID of the compartment in which to list resources.
699
-
700
- :param str fusion_environment_family_id: (optional)
701
- The ID of the fusion environment family in which to list resources.
702
-
703
- :param str display_name: (optional)
704
- A filter to return only resources that match the entire display name given.
705
-
706
- :param str lifecycle_state: (optional)
707
- A filter that returns all resources that match the specified lifecycle state.
708
-
709
- Allowed values are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"
710
-
711
- :param int limit: (optional)
712
- The maximum number of items to return.
713
-
714
- :param str page: (optional)
715
- The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
716
-
717
- :param str sort_order: (optional)
718
- The sort order to use, either 'asc' or 'desc'.
719
-
720
- Allowed values are: "ASC", "DESC"
721
-
722
- :param str sort_by: (optional)
723
- The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
724
-
725
- Allowed values are: "TIME_CREATED", "DISPLAY_NAME"
726
-
727
- :param str opc_request_id: (optional)
728
- The client request ID for tracing.
729
-
730
- :param obj retry_strategy: (optional)
731
- A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
732
-
733
- This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
734
- The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
735
-
736
- To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
737
-
738
- :param bool allow_control_chars: (optional)
739
- allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
740
- By default, the response will not allow control characters in strings
741
-
742
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.fusion_apps.models.FusionEnvironmentFamilyCollection`
743
- :rtype: :class:`~oci.response.Response`
744
-
745
- :example:
746
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/fusionapps/list_fusion_environment_families.py.html>`__ to see an example of how to use list_fusion_environment_families API.
747
- """
748
- resource_path = "/fusionEnvironmentFamilies"
749
- method = "GET"
750
- operation_name = "list_fusion_environment_families"
751
- api_reference_link = ""
752
-
753
- # Don't accept unknown kwargs
754
- expected_kwargs = [
755
- "allow_control_chars",
756
- "retry_strategy",
757
- "fusion_environment_family_id",
758
- "display_name",
759
- "lifecycle_state",
760
- "limit",
761
- "page",
762
- "sort_order",
763
- "sort_by",
764
- "opc_request_id"
765
- ]
766
- extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
767
- if extra_kwargs:
768
- raise ValueError(
769
- "list_fusion_environment_families got unknown kwargs: {!r}".format(extra_kwargs))
770
-
771
- if 'lifecycle_state' in kwargs:
772
- lifecycle_state_allowed_values = ["CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"]
773
- if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
774
- raise ValueError(
775
- "Invalid value for `lifecycle_state`, must be one of {0}".format(lifecycle_state_allowed_values)
776
- )
777
-
778
- if 'sort_order' in kwargs:
779
- sort_order_allowed_values = ["ASC", "DESC"]
780
- if kwargs['sort_order'] not in sort_order_allowed_values:
781
- raise ValueError(
782
- "Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
783
- )
784
-
785
- if 'sort_by' in kwargs:
786
- sort_by_allowed_values = ["TIME_CREATED", "DISPLAY_NAME"]
787
- if kwargs['sort_by'] not in sort_by_allowed_values:
788
- raise ValueError(
789
- "Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
790
- )
791
-
792
- query_params = {
793
- "fusionEnvironmentFamilyId": kwargs.get("fusion_environment_family_id", missing),
794
- "compartmentId": compartment_id,
795
- "displayName": kwargs.get("display_name", missing),
796
- "lifecycleState": kwargs.get("lifecycle_state", missing),
797
- "limit": kwargs.get("limit", missing),
798
- "page": kwargs.get("page", missing),
799
- "sortOrder": kwargs.get("sort_order", missing),
800
- "sortBy": kwargs.get("sort_by", missing)
801
- }
802
- query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
803
-
804
- header_params = {
805
- "accept": "application/json",
806
- "content-type": "application/json",
807
- "opc-request-id": kwargs.get("opc_request_id", missing)
808
- }
809
- header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
810
-
811
- retry_strategy = self.base_client.get_preferred_retry_strategy(
812
- operation_retry_strategy=kwargs.get('retry_strategy'),
813
- client_retry_strategy=self.retry_strategy
814
- )
815
-
816
- if retry_strategy:
817
- if not isinstance(retry_strategy, retry.NoneRetryStrategy):
818
- self.base_client.add_opc_client_retries_header(header_params)
819
- retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
820
- return retry_strategy.make_retrying_call(
821
- self.base_client.call_api,
822
- resource_path=resource_path,
823
- method=method,
824
- query_params=query_params,
825
- header_params=header_params,
826
- response_type="FusionEnvironmentFamilyCollection",
827
- allow_control_chars=kwargs.get('allow_control_chars'),
828
- operation_name=operation_name,
829
- api_reference_link=api_reference_link)
830
- else:
831
- return self.base_client.call_api(
832
- resource_path=resource_path,
833
- method=method,
834
- query_params=query_params,
835
- header_params=header_params,
836
- response_type="FusionEnvironmentFamilyCollection",
837
- allow_control_chars=kwargs.get('allow_control_chars'),
838
- operation_name=operation_name,
839
- api_reference_link=api_reference_link)
840
-
841
- def update_fusion_environment_family(self, fusion_environment_family_id, update_fusion_environment_family_details, **kwargs):
842
- """
843
- Updates the FusionEnvironmentFamily
844
-
845
-
846
- :param str fusion_environment_family_id: (required)
847
- The unique identifier (OCID) of the FusionEnvironmentFamily.
848
-
849
- :param oci.fusion_apps.models.UpdateFusionEnvironmentFamilyDetails update_fusion_environment_family_details: (required)
850
- The information to be updated.
851
-
852
- :param str if_match: (optional)
853
- For optimistic concurrency control. In the PUT or DELETE call
854
- for a resource, set the `if-match` parameter to the value of the
855
- etag from a previous GET or POST response for that resource.
856
- The resource will be updated or deleted only if the etag you
857
- provide matches the resource's current etag value.
858
-
859
- :param str opc_request_id: (optional)
860
- The client request ID for tracing.
861
-
862
- :param obj retry_strategy: (optional)
863
- A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
864
-
865
- This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
866
- The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
867
-
868
- To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
869
-
870
- :param bool allow_control_chars: (optional)
871
- allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
872
- By default, the response will not allow control characters in strings
873
-
874
- :return: A :class:`~oci.response.Response` object with data of type None
875
- :rtype: :class:`~oci.response.Response`
876
-
877
- :example:
878
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/fusionapps/update_fusion_environment_family.py.html>`__ to see an example of how to use update_fusion_environment_family API.
879
- """
880
- resource_path = "/fusionEnvironmentFamilies/{fusionEnvironmentFamilyId}"
881
- method = "PUT"
882
- operation_name = "update_fusion_environment_family"
883
- api_reference_link = ""
884
-
885
- # Don't accept unknown kwargs
886
- expected_kwargs = [
887
- "allow_control_chars",
888
- "retry_strategy",
889
- "if_match",
890
- "opc_request_id"
891
- ]
892
- extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
893
- if extra_kwargs:
894
- raise ValueError(
895
- "update_fusion_environment_family got unknown kwargs: {!r}".format(extra_kwargs))
896
-
897
- path_params = {
898
- "fusionEnvironmentFamilyId": fusion_environment_family_id
899
- }
900
-
901
- path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
902
-
903
- for (k, v) in six.iteritems(path_params):
904
- if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
905
- raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
906
-
907
- header_params = {
908
- "accept": "application/json",
909
- "content-type": "application/json",
910
- "if-match": kwargs.get("if_match", missing),
911
- "opc-request-id": kwargs.get("opc_request_id", missing)
912
- }
913
- header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
914
-
915
- retry_strategy = self.base_client.get_preferred_retry_strategy(
916
- operation_retry_strategy=kwargs.get('retry_strategy'),
917
- client_retry_strategy=self.retry_strategy
918
- )
919
-
920
- if retry_strategy:
921
- if not isinstance(retry_strategy, retry.NoneRetryStrategy):
922
- self.base_client.add_opc_client_retries_header(header_params)
923
- retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
924
- return retry_strategy.make_retrying_call(
925
- self.base_client.call_api,
926
- resource_path=resource_path,
927
- method=method,
928
- path_params=path_params,
929
- header_params=header_params,
930
- body=update_fusion_environment_family_details,
931
- allow_control_chars=kwargs.get('allow_control_chars'),
932
- operation_name=operation_name,
933
- api_reference_link=api_reference_link)
934
- else:
935
- return self.base_client.call_api(
936
- resource_path=resource_path,
937
- method=method,
938
- path_params=path_params,
939
- header_params=header_params,
940
- body=update_fusion_environment_family_details,
941
- allow_control_chars=kwargs.get('allow_control_chars'),
942
- operation_name=operation_name,
943
- api_reference_link=api_reference_link)