oci 2.152.0__py3-none-any.whl → 2.153.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 (548) hide show
  1. oci/__init__.py +2 -2
  2. oci/access_governance_cp/access_governance_cp_client.py +8 -8
  3. oci/addons/adk/auth/__init__.py +2 -0
  4. oci/addons/adk/auth/oci/__init__.py +2 -0
  5. oci/addons/adk/run/__init__.py +2 -0
  6. oci/addons/adk/tool/function_tool.py +2 -1
  7. oci/adm/application_dependency_management_client.py +38 -38
  8. oci/adm/models/application_dependency.py +4 -3
  9. oci/adm/models/application_dependency_recommendation_summary.py +4 -4
  10. oci/adm/models/application_dependency_vulnerability_summary.py +57 -6
  11. oci/adm/models/detect_configuration.py +7 -7
  12. oci/adm/models/network_configuration.py +1 -2
  13. oci/adm/models/vulnerability.py +8 -4
  14. oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
  15. oci/ai_document/ai_service_document_client.py +26 -26
  16. oci/ai_language/ai_service_language_client.py +44 -44
  17. oci/ai_speech/ai_service_speech_client.py +19 -19
  18. oci/ai_vision/ai_service_vision_client.py +28 -28
  19. oci/analytics/analytics_client.py +24 -24
  20. oci/announcements_service/announcement_client.py +5 -5
  21. oci/announcements_service/announcement_subscription_client.py +9 -9
  22. oci/announcements_service/announcements_preferences_client.py +4 -4
  23. oci/announcements_service/service_client.py +1 -1
  24. oci/apigateway/api_gateway_client.py +21 -21
  25. oci/apigateway/deployment_client.py +6 -6
  26. oci/apigateway/gateway_client.py +6 -6
  27. oci/apigateway/subscribers_client.py +6 -6
  28. oci/apigateway/usage_plans_client.py +6 -6
  29. oci/apigateway/work_requests_client.py +5 -5
  30. oci/apm_config/config_client.py +12 -12
  31. oci/apm_control_plane/apm_domain_client.py +14 -14
  32. oci/apm_synthetics/apm_synthetic_client.py +30 -30
  33. oci/apm_synthetics/models/create_script_details.py +10 -6
  34. oci/apm_synthetics/models/monitor.py +51 -0
  35. oci/apm_synthetics/models/monitor_result.py +2 -2
  36. oci/apm_synthetics/models/script.py +9 -5
  37. oci/apm_synthetics/models/script_summary.py +7 -3
  38. oci/apm_synthetics/models/update_script_details.py +10 -6
  39. oci/apm_traces/attributes_client.py +8 -8
  40. oci/apm_traces/query_client.py +2 -2
  41. oci/apm_traces/trace_client.py +4 -4
  42. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  43. oci/artifacts/artifacts_client.py +32 -32
  44. oci/audit/audit_client.py +3 -3
  45. oci/autoscaling/auto_scaling_client.py +11 -11
  46. oci/bastion/bastion_client.py +15 -15
  47. oci/bds/bds_client.py +578 -86
  48. oci/bds/bds_client_composite_operations.py +42 -0
  49. oci/bds/models/__init__.py +26 -0
  50. oci/bds/models/bds_capacity_report.py +132 -0
  51. oci/bds/models/bds_software_update.py +109 -0
  52. oci/bds/models/capacity_availability.py +121 -0
  53. oci/bds/models/capacity_report_shape_availability.py +128 -0
  54. oci/bds/models/create_bds_capacity_report_details.py +101 -0
  55. oci/bds/models/create_capacity_report_shape_availability_details.py +97 -0
  56. oci/bds/models/domain_type_capacity_report.py +107 -0
  57. oci/bds/models/install_os_patch_details.py +33 -2
  58. oci/bds/models/install_software_updates_details.py +70 -0
  59. oci/bds/models/multi_ad_capacity_report.py +107 -0
  60. oci/bds/models/os_patch_package_summary.py +57 -2
  61. oci/bds/models/patch_history_summary.py +13 -7
  62. oci/bds/models/single_ad_capacity_report.py +107 -0
  63. oci/bds/models/software_update.py +253 -0
  64. oci/bds/models/software_update_collection.py +70 -0
  65. oci/bds/models/software_update_summary.py +194 -0
  66. oci/bds/models/work_request.py +7 -3
  67. oci/blockchain/blockchain_platform_client.py +27 -27
  68. oci/budget/budget_client.py +10 -10
  69. oci/capacity_management/__init__.py +5 -1
  70. oci/capacity_management/capacity_management_client.py +32 -32
  71. oci/capacity_management/demand_signal_client.py +1645 -0
  72. oci/capacity_management/demand_signal_client_composite_operations.py +318 -0
  73. oci/capacity_management/internal_demand_signal_client.py +1605 -0
  74. oci/capacity_management/internal_demand_signal_client_composite_operations.py +172 -0
  75. oci/capacity_management/models/__init__.py +79 -1
  76. oci/capacity_management/models/bulk_create_occm_demand_signal_item.py +400 -0
  77. oci/capacity_management/models/bulk_create_occm_demand_signal_item_details.py +101 -0
  78. oci/capacity_management/models/create_internal_occm_demand_signal_delivery_details.py +322 -0
  79. oci/capacity_management/models/create_occm_demand_signal_details.py +198 -0
  80. oci/capacity_management/models/create_occm_demand_signal_item_details.py +462 -0
  81. oci/capacity_management/models/internal_occm_demand_signal.py +431 -0
  82. oci/capacity_management/models/internal_occm_demand_signal_catalog_resource.py +620 -0
  83. oci/capacity_management/models/internal_occm_demand_signal_catalog_resource_collection.py +70 -0
  84. oci/capacity_management/models/internal_occm_demand_signal_catalog_resource_summary.py +588 -0
  85. oci/capacity_management/models/internal_occm_demand_signal_collection.py +70 -0
  86. oci/capacity_management/models/internal_occm_demand_signal_delivery.py +555 -0
  87. oci/capacity_management/models/internal_occm_demand_signal_delivery_collection.py +70 -0
  88. oci/capacity_management/models/internal_occm_demand_signal_delivery_summary.py +495 -0
  89. oci/capacity_management/models/internal_occm_demand_signal_item_collection.py +70 -0
  90. oci/capacity_management/models/internal_occm_demand_signal_item_summary.py +674 -0
  91. oci/capacity_management/models/internal_occm_demand_signal_summary.py +431 -0
  92. oci/capacity_management/models/occm_demand_signal.py +464 -0
  93. oci/capacity_management/models/occm_demand_signal_catalog.py +418 -0
  94. oci/capacity_management/models/occm_demand_signal_catalog_collection.py +70 -0
  95. oci/capacity_management/models/occm_demand_signal_catalog_resource.py +558 -0
  96. oci/capacity_management/models/occm_demand_signal_catalog_resource_collection.py +70 -0
  97. oci/capacity_management/models/occm_demand_signal_catalog_resource_summary.py +526 -0
  98. oci/capacity_management/models/occm_demand_signal_catalog_summary.py +386 -0
  99. oci/capacity_management/models/occm_demand_signal_collection.py +70 -0
  100. oci/capacity_management/models/occm_demand_signal_delivery_collection.py +70 -0
  101. oci/capacity_management/models/occm_demand_signal_delivery_summary.py +481 -0
  102. oci/capacity_management/models/occm_demand_signal_item.py +675 -0
  103. oci/capacity_management/models/occm_demand_signal_item_collection.py +70 -0
  104. oci/capacity_management/models/occm_demand_signal_item_summary.py +643 -0
  105. oci/capacity_management/models/occm_demand_signal_resource_properties_collection.py +70 -0
  106. oci/capacity_management/models/occm_demand_signal_resource_properties_summary.py +256 -0
  107. oci/capacity_management/models/occm_demand_signal_resource_property_constraints_collection.py +70 -0
  108. oci/capacity_management/models/occm_demand_signal_resource_property_constraints_summary.py +101 -0
  109. oci/capacity_management/models/occm_demand_signal_resource_property_option_summary.py +101 -0
  110. oci/capacity_management/models/occm_demand_signal_summary.py +400 -0
  111. oci/capacity_management/models/update_internal_occm_demand_signal_delivery_details.py +260 -0
  112. oci/capacity_management/models/update_internal_occm_demand_signal_details.py +98 -0
  113. oci/capacity_management/models/update_occm_demand_signal_details.py +210 -0
  114. oci/capacity_management/models/update_occm_demand_signal_item_details.py +326 -0
  115. oci/certificates/certificates_client.py +5 -5
  116. oci/certificates_management/certificates_management_client.py +32 -32
  117. oci/cims/incident_client.py +6 -6
  118. oci/cloud_bridge/common_client.py +5 -5
  119. oci/cloud_bridge/discovery_client.py +15 -15
  120. oci/cloud_bridge/inventory_client.py +16 -16
  121. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  122. oci/cloud_guard/cloud_guard_client.py +155 -155
  123. oci/cloud_migrations/migration_client.py +43 -43
  124. oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
  125. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  126. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  127. oci/compute_instance_agent/plugin_client.py +2 -2
  128. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  129. oci/container_engine/container_engine_client.py +46 -46
  130. oci/container_engine/models/cluster.py +33 -2
  131. oci/container_instances/container_instance_client.py +18 -18
  132. oci/core/blockstorage_client.py +60 -60
  133. oci/core/compute_client.py +1095 -163
  134. oci/core/compute_client_composite_operations.py +403 -0
  135. oci/core/compute_management_client.py +32 -32
  136. oci/core/models/__init__.py +30 -0
  137. oci/core/models/attach_compute_host_group_host_details.py +74 -0
  138. oci/core/models/change_compute_host_group_compartment_details.py +76 -0
  139. oci/core/models/compute_bare_metal_host_placement_constraint_details.py +79 -0
  140. oci/core/models/compute_host.py +191 -0
  141. oci/core/models/compute_host_configuration_check_details.py +243 -0
  142. oci/core/models/compute_host_configuration_data.py +97 -0
  143. oci/core/models/compute_host_group.py +483 -0
  144. oci/core/models/compute_host_group_collection.py +70 -0
  145. oci/core/models/compute_host_group_summary.py +428 -0
  146. oci/core/models/compute_host_summary.py +62 -0
  147. oci/core/models/create_compute_host_group_details.py +282 -0
  148. oci/core/models/create_dedicated_vm_host_details.py +29 -2
  149. oci/core/models/create_ipv6_details.py +4 -4
  150. oci/core/models/create_local_peering_gateway_details.py +45 -0
  151. oci/core/models/create_private_ip_details.py +4 -4
  152. oci/core/models/create_vcn_details.py +33 -2
  153. oci/core/models/create_volume_details.py +8 -2
  154. oci/core/models/dedicated_vm_host.py +27 -0
  155. oci/core/models/detach_compute_host_group_host_details.py +74 -0
  156. oci/core/models/host_group_configuration.py +152 -0
  157. oci/core/models/host_group_placement_constraint_details.py +79 -0
  158. oci/core/models/instance.py +64 -2
  159. oci/core/models/instance_configuration_create_volume_details.py +8 -2
  160. oci/core/models/ipv6.py +4 -4
  161. oci/core/models/launch_instance_details.py +58 -0
  162. oci/core/models/local_peering_gateway.py +45 -0
  163. oci/core/models/placement_constraint_details.py +91 -0
  164. oci/core/models/private_ip.py +4 -4
  165. oci/core/models/recycle_details.py +125 -0
  166. oci/core/models/update_compute_host_group_details.py +216 -0
  167. oci/core/models/update_ipv6_details.py +4 -4
  168. oci/core/models/update_local_peering_gateway_details.py +45 -0
  169. oci/core/models/update_private_ip_details.py +4 -4
  170. oci/core/models/update_vcn_details.py +33 -2
  171. oci/core/models/update_vnic_details.py +2 -2
  172. oci/core/models/update_volume_details.py +8 -2
  173. oci/core/models/vcn.py +33 -2
  174. oci/core/models/vnic.py +2 -2
  175. oci/core/models/volume.py +8 -2
  176. oci/core/virtual_network_client.py +260 -260
  177. oci/dashboard_service/dashboard_client.py +6 -6
  178. oci/dashboard_service/dashboard_group_client.py +6 -6
  179. oci/data_catalog/data_catalog_client.py +149 -149
  180. oci/data_flow/data_flow_client.py +45 -45
  181. oci/data_integration/data_integration_client.py +163 -163
  182. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  183. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  184. oci/data_safe/data_safe_client.py +317 -317
  185. oci/data_science/data_science_client.py +145 -145
  186. oci/database/database_client.py +795 -508
  187. oci/database/models/__init__.py +2 -0
  188. oci/database/models/autonomous_container_database.py +2 -2
  189. oci/database/models/autonomous_container_database_summary.py +2 -2
  190. oci/database/models/autonomous_db_version_summary.py +31 -0
  191. oci/database/models/backup.py +11 -5
  192. oci/database/models/backup_summary.py +11 -5
  193. oci/database/models/create_database_base.py +1 -1
  194. oci/database/models/create_external_backup_job_details.py +11 -7
  195. oci/database/models/db_system.py +11 -5
  196. oci/database/models/db_system_summary.py +11 -5
  197. oci/database/models/db_system_upgrade_summary.py +152 -0
  198. oci/database/models/external_container_database.py +11 -5
  199. oci/database/models/external_container_database_summary.py +11 -5
  200. oci/database/models/external_database_base.py +11 -5
  201. oci/database/models/external_non_container_database.py +11 -5
  202. oci/database/models/external_non_container_database_summary.py +11 -5
  203. oci/database/models/external_pluggable_database.py +11 -5
  204. oci/database/models/external_pluggable_database_summary.py +11 -5
  205. oci/database/models/launch_db_system_details.py +7 -3
  206. oci/database/models/launch_db_system_from_backup_details.py +7 -3
  207. oci/database/models/launch_db_system_from_database_details.py +7 -3
  208. oci/database_management/db_management_client.py +229 -229
  209. oci/database_management/diagnosability_client.py +4 -4
  210. oci/database_management/managed_my_sql_databases_client.py +7 -7
  211. oci/database_management/perfhub_client.py +1 -1
  212. oci/database_management/sql_tuning_client.py +17 -17
  213. oci/database_migration/database_migration_client.py +42 -42
  214. oci/database_tools/database_tools_client.py +23 -23
  215. oci/dblm/db_life_cycle_management_client.py +14 -14
  216. oci/delegate_access_control/delegate_access_control_client.py +26 -26
  217. oci/delegate_access_control/work_request_client.py +4 -4
  218. oci/demand_signal/occ_demand_signal_client.py +7 -7
  219. oci/desktops/desktop_service_client.py +21 -21
  220. oci/devops/devops_client.py +141 -141
  221. oci/disaster_recovery/disaster_recovery_client.py +31 -31
  222. oci/distributed_database/__init__.py +20 -0
  223. oci/distributed_database/distributed_autonomous_db_service_client.py +2315 -0
  224. oci/distributed_database/distributed_autonomous_db_service_client_composite_operations.py +605 -0
  225. oci/distributed_database/distributed_db_private_endpoint_service_client.py +944 -0
  226. oci/distributed_database/distributed_db_private_endpoint_service_client_composite_operations.py +238 -0
  227. oci/distributed_database/distributed_db_service_client.py +2435 -0
  228. oci/distributed_database/distributed_db_service_client_composite_operations.py +647 -0
  229. oci/distributed_database/distributed_db_work_request_service_client.py +654 -0
  230. oci/distributed_database/distributed_db_work_request_service_client_composite_operations.py +26 -0
  231. oci/distributed_database/models/__init__.py +158 -0
  232. oci/distributed_database/models/add_distributed_autonomous_database_gds_control_node_details.py +105 -0
  233. oci/distributed_database/models/add_distributed_database_gds_control_node_details.py +105 -0
  234. oci/distributed_database/models/catalog_peer_with_dedicated_infra.py +331 -0
  235. oci/distributed_database/models/catalog_peer_with_exadb_xs.py +331 -0
  236. oci/distributed_database/models/change_distributed_autonomous_database_compartment_details.py +74 -0
  237. oci/distributed_database/models/change_distributed_database_compartment_details.py +74 -0
  238. oci/distributed_database/models/change_distributed_database_private_endpoint_compartment_details.py +74 -0
  239. oci/distributed_database/models/change_distributed_db_backup_config_details.py +66 -0
  240. oci/distributed_database/models/configure_distributed_autonomous_database_gsms_details.py +103 -0
  241. oci/distributed_database/models/configure_distributed_database_gsms_details.py +103 -0
  242. oci/distributed_database/models/create_distributed_autonomous_database_catalog_details.py +101 -0
  243. oci/distributed_database/models/create_distributed_autonomous_database_catalog_with_dedicated_infra_details.py +342 -0
  244. oci/distributed_database/models/create_distributed_autonomous_database_details.py +799 -0
  245. oci/distributed_database/models/create_distributed_autonomous_database_shard_details.py +101 -0
  246. oci/distributed_database/models/create_distributed_autonomous_database_shard_with_dedicated_infra_details.py +377 -0
  247. oci/distributed_database/models/create_distributed_database_catalog_details.py +99 -0
  248. oci/distributed_database/models/create_distributed_database_catalog_with_exadb_xs_details.py +282 -0
  249. oci/distributed_database/models/create_distributed_database_details.py +810 -0
  250. oci/distributed_database/models/create_distributed_database_private_endpoint_details.py +260 -0
  251. oci/distributed_database/models/create_distributed_database_shard_details.py +99 -0
  252. oci/distributed_database/models/create_distributed_database_shard_with_exadb_xs_details.py +282 -0
  253. oci/distributed_database/models/distributed_autonomous_database.py +1143 -0
  254. oci/distributed_database/models/distributed_autonomous_database_associated_with_private_endpoint.py +105 -0
  255. oci/distributed_database/models/distributed_autonomous_database_catalog.py +194 -0
  256. oci/distributed_database/models/distributed_autonomous_database_catalog_with_dedicated_infra.py +559 -0
  257. oci/distributed_database/models/distributed_autonomous_database_collection.py +70 -0
  258. oci/distributed_database/models/distributed_autonomous_database_connection_string.py +70 -0
  259. oci/distributed_database/models/distributed_autonomous_database_gsm.py +385 -0
  260. oci/distributed_database/models/distributed_autonomous_database_gsm_image.py +105 -0
  261. oci/distributed_database/models/distributed_autonomous_database_shard.py +194 -0
  262. oci/distributed_database/models/distributed_autonomous_database_shard_with_dedicated_infra.py +592 -0
  263. oci/distributed_database/models/distributed_autonomous_database_summary.py +935 -0
  264. oci/distributed_database/models/distributed_autonomous_db_metadata.py +70 -0
  265. oci/distributed_database/models/distributed_database.py +1154 -0
  266. oci/distributed_database/models/distributed_database_associated_with_private_endpoint.py +105 -0
  267. oci/distributed_database/models/distributed_database_catalog.py +192 -0
  268. oci/distributed_database/models/distributed_database_catalog_with_exadb_xs.py +466 -0
  269. oci/distributed_database/models/distributed_database_collection.py +70 -0
  270. oci/distributed_database/models/distributed_database_gsm.py +385 -0
  271. oci/distributed_database/models/distributed_database_private_endpoint.py +639 -0
  272. oci/distributed_database/models/distributed_database_private_endpoint_collection.py +70 -0
  273. oci/distributed_database/models/distributed_database_private_endpoint_summary.py +479 -0
  274. oci/distributed_database/models/distributed_database_shard.py +192 -0
  275. oci/distributed_database/models/distributed_database_shard_with_exadb_xs.py +499 -0
  276. oci/distributed_database/models/distributed_database_summary.py +904 -0
  277. oci/distributed_database/models/distributed_db_backup_config.py +536 -0
  278. oci/distributed_database/models/distributed_db_backup_destination.py +362 -0
  279. oci/distributed_database/models/distributed_db_connection_string.py +70 -0
  280. oci/distributed_database/models/distributed_db_gsm_image.py +105 -0
  281. oci/distributed_database/models/distributed_db_metadata.py +70 -0
  282. oci/distributed_database/models/generate_distributed_autonomous_database_wallet_details.py +70 -0
  283. oci/distributed_database/models/generate_distributed_database_wallet_details.py +70 -0
  284. oci/distributed_database/models/patch_distributed_autonomous_database_details.py +73 -0
  285. oci/distributed_database/models/patch_distributed_database_details.py +73 -0
  286. oci/distributed_database/models/patch_insert_instruction.py +87 -0
  287. oci/distributed_database/models/patch_instruction.py +154 -0
  288. oci/distributed_database/models/patch_merge_instruction.py +95 -0
  289. oci/distributed_database/models/patch_remove_instruction.py +57 -0
  290. oci/distributed_database/models/shard_peer_with_dedicated_infra.py +331 -0
  291. oci/distributed_database/models/shard_peer_with_exadb_xs.py +331 -0
  292. oci/distributed_database/models/update_distributed_autonomous_database_details.py +136 -0
  293. oci/distributed_database/models/update_distributed_database_details.py +136 -0
  294. oci/distributed_database/models/update_distributed_database_private_endpoint_details.py +198 -0
  295. oci/distributed_database/models/upload_distributed_autonomous_database_signed_certificate_and_generate_wallet_details.py +71 -0
  296. oci/distributed_database/models/upload_distributed_database_signed_certificate_and_generate_wallet_details.py +71 -0
  297. oci/distributed_database/models/work_request.py +516 -0
  298. oci/distributed_database/models/work_request_error.py +134 -0
  299. oci/distributed_database/models/work_request_error_collection.py +70 -0
  300. oci/distributed_database/models/work_request_log_entry.py +101 -0
  301. oci/distributed_database/models/work_request_log_entry_collection.py +70 -0
  302. oci/distributed_database/models/work_request_resource.py +232 -0
  303. oci/distributed_database/models/work_request_summary.py +516 -0
  304. oci/distributed_database/models/work_request_summary_collection.py +70 -0
  305. oci/dns/dns_client.py +54 -54
  306. oci/dts/appliance_export_job_client.py +6 -6
  307. oci/dts/shipping_vendors_client.py +1 -1
  308. oci/dts/transfer_appliance_client.py +8 -8
  309. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  310. oci/dts/transfer_device_client.py +5 -5
  311. oci/dts/transfer_job_client.py +6 -6
  312. oci/dts/transfer_package_client.py +7 -7
  313. oci/em_warehouse/em_warehouse_client.py +13 -13
  314. oci/email/email_client.py +31 -31
  315. oci/email_data_plane/email_dp_client.py +1 -1
  316. oci/events/events_client.py +6 -6
  317. oci/file_storage/file_storage_client.py +74 -74
  318. oci/fleet_apps_management/fleet_apps_management_admin_client.py +27 -27
  319. oci/fleet_apps_management/fleet_apps_management_catalog_client.py +7 -7
  320. oci/fleet_apps_management/fleet_apps_management_client.py +32 -32
  321. oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
  322. oci/fleet_apps_management/fleet_apps_management_operations_client.py +29 -29
  323. oci/fleet_apps_management/fleet_apps_management_provision_client.py +6 -6
  324. oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +19 -19
  325. oci/fleet_apps_management/fleet_apps_management_work_request_client.py +4 -4
  326. oci/fleet_software_update/fleet_software_update_client.py +46 -46
  327. oci/functions/functions_invoke_client.py +1 -1
  328. oci/functions/functions_management_client.py +16 -16
  329. oci/fusion_apps/fusion_applications_client.py +41 -41
  330. oci/generative_ai/generative_ai_client.py +22 -22
  331. oci/generative_ai_agent/generative_ai_agent_client.py +38 -38
  332. oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +6 -6
  333. oci/generative_ai_inference/generative_ai_inference_client.py +6 -6
  334. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  335. oci/globally_distributed_database/sharded_database_service_client.py +30 -30
  336. oci/golden_gate/golden_gate_client.py +89 -89
  337. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  338. oci/governance_rules_control_plane/work_request_client.py +5 -5
  339. oci/healthchecks/health_checks_client.py +17 -17
  340. oci/identity/identity_client.py +145 -145
  341. oci/identity_data_plane/dataplane_client.py +2 -2
  342. oci/identity_domains/identity_domains_client.py +311 -311
  343. oci/integration/integration_instance_client.py +19 -19
  344. oci/jms/java_management_service_client.py +79 -79
  345. oci/jms_java_downloads/java_download_client.py +25 -25
  346. oci/key_management/ekm_client.py +5 -5
  347. oci/key_management/kms_crypto_client.py +6 -6
  348. oci/key_management/kms_hsm_cluster_client.py +12 -12
  349. oci/key_management/kms_management_client.py +21 -21
  350. oci/key_management/kms_vault_client.py +14 -14
  351. oci/license_manager/license_manager_client.py +18 -18
  352. oci/limits/limits_client.py +4 -4
  353. oci/limits/quotas_client.py +7 -7
  354. oci/load_balancer/load_balancer_client.py +61 -61
  355. oci/lockbox/lockbox_client.py +24 -24
  356. oci/log_analytics/log_analytics_client.py +200 -200
  357. oci/logging/logging_management_client.py +30 -30
  358. oci/loggingingestion/logging_client.py +1 -1
  359. oci/loggingsearch/log_search_client.py +1 -1
  360. oci/lustre_file_storage/lustre_file_storage_client.py +11 -11
  361. oci/management_agent/management_agent_client.py +28 -28
  362. oci/management_dashboard/dashx_apis_client.py +474 -14
  363. oci/management_dashboard/models/management_dashboard_tile_details.py +33 -2
  364. oci/marketplace/account_client.py +2 -2
  365. oci/marketplace/marketplace_client.py +30 -30
  366. oci/marketplace_private_offer/attachment_client.py +5 -5
  367. oci/marketplace_private_offer/offer_client.py +6 -6
  368. oci/marketplace_publisher/attachment_client.py +5 -5
  369. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  370. oci/marketplace_publisher/offer_client.py +6 -6
  371. oci/media_services/media_services_client.py +60 -60
  372. oci/media_services/media_stream_client.py +2 -2
  373. oci/mngdmac/mac_device_client.py +3 -3
  374. oci/mngdmac/mac_order_client.py +11 -11
  375. oci/model_deployment/model_deployment_client.py +2 -2
  376. oci/monitoring/monitoring_client.py +18 -18
  377. oci/mysql/channels_client.py +7 -7
  378. oci/mysql/db_backups_client.py +7 -7
  379. oci/mysql/db_system_client.py +17 -17
  380. oci/mysql/models/__init__.py +6 -0
  381. oci/mysql/models/create_db_system_details.py +58 -0
  382. oci/mysql/models/create_rest_details.py +117 -0
  383. oci/mysql/models/db_system.py +58 -0
  384. oci/mysql/models/db_system_snapshot.py +58 -0
  385. oci/mysql/models/db_system_summary.py +27 -0
  386. oci/mysql/models/replica.py +31 -0
  387. oci/mysql/models/replica_overrides.py +33 -2
  388. oci/mysql/models/replica_summary.py +31 -0
  389. oci/mysql/models/rest_details.py +117 -0
  390. oci/mysql/models/update_db_system_details.py +58 -0
  391. oci/mysql/models/update_rest_details.py +117 -0
  392. oci/mysql/mysqlaas_client.py +7 -7
  393. oci/mysql/replicas_client.py +5 -5
  394. oci/mysql/work_requests_client.py +4 -4
  395. oci/network_firewall/models/__init__.py +24 -0
  396. oci/network_firewall/models/create_nat_rule_details.py +193 -0
  397. oci/network_firewall/models/create_nat_v4_rule_details.py +144 -0
  398. oci/network_firewall/models/create_network_firewall_details.py +27 -0
  399. oci/network_firewall/models/nat_configuration_request.py +70 -0
  400. oci/network_firewall/models/nat_configuration_response.py +101 -0
  401. oci/network_firewall/models/nat_rule.py +254 -0
  402. oci/network_firewall/models/nat_rule_collection.py +70 -0
  403. oci/network_firewall/models/nat_rule_match_criteria.py +132 -0
  404. oci/network_firewall/models/nat_rule_summary.py +228 -0
  405. oci/network_firewall/models/nat_v4_nat_rule.py +159 -0
  406. oci/network_firewall/models/nat_v4_nat_summary.py +152 -0
  407. oci/network_firewall/models/network_firewall.py +30 -11
  408. oci/network_firewall/models/network_firewall_policy.py +3 -11
  409. oci/network_firewall/models/network_firewall_policy_summary.py +3 -11
  410. oci/network_firewall/models/network_firewall_summary.py +30 -11
  411. oci/network_firewall/models/update_nat_rule_details.py +162 -0
  412. oci/network_firewall/models/update_nat_v4_rule_details.py +137 -0
  413. oci/network_firewall/models/update_network_firewall_details.py +27 -0
  414. oci/network_firewall/network_firewall_client.py +848 -108
  415. oci/network_firewall/network_firewall_client_composite_operations.py +42 -0
  416. oci/network_load_balancer/network_load_balancer_client.py +35 -35
  417. oci/nosql/nosql_client.py +24 -24
  418. oci/object_storage/object_storage_client.py +55 -55
  419. oci/oce/oce_instance_client.py +10 -10
  420. oci/oci_control_center/occ_metrics_client.py +3 -3
  421. oci/ocvp/cluster_client.py +5 -5
  422. oci/ocvp/esxi_host_client.py +8 -8
  423. oci/ocvp/sddc_client.py +14 -14
  424. oci/ocvp/work_request_client.py +4 -4
  425. oci/oda/management_client.py +59 -59
  426. oci/oda/oda_client.py +17 -17
  427. oci/oda/odapackage_client.py +7 -7
  428. oci/onesubscription/billing_schedule_client.py +1 -1
  429. oci/onesubscription/commitment_client.py +2 -2
  430. oci/onesubscription/computed_usage_client.py +3 -3
  431. oci/onesubscription/invoice_summary_client.py +2 -2
  432. oci/onesubscription/organization_subscription_client.py +1 -1
  433. oci/onesubscription/ratecard_client.py +1 -1
  434. oci/onesubscription/subscribed_service_client.py +2 -2
  435. oci/onesubscription/subscription_client.py +1 -1
  436. oci/ons/notification_control_plane_client.py +6 -6
  437. oci/ons/notification_data_plane_client.py +10 -10
  438. oci/opa/opa_instance_client.py +13 -13
  439. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  440. oci/opensearch/opensearch_cluster_client.py +17 -17
  441. oci/opensearch/opensearch_cluster_pipeline_client.py +5 -5
  442. oci/operator_access_control/access_requests_client.py +10 -10
  443. oci/operator_access_control/operator_actions_client.py +2 -2
  444. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  445. oci/operator_access_control/operator_control_client.py +6 -6
  446. oci/opsi/operations_insights_client.py +181 -181
  447. oci/optimizer/optimizer_client.py +26 -26
  448. oci/os_management/event_client.py +8 -8
  449. oci/os_management/os_management_client.py +69 -69
  450. oci/os_management_hub/event_client.py +8 -8
  451. oci/os_management_hub/lifecycle_environment_client.py +13 -13
  452. oci/os_management_hub/managed_instance_client.py +33 -33
  453. oci/os_management_hub/managed_instance_group_client.py +26 -26
  454. oci/os_management_hub/management_station_client.py +10 -10
  455. oci/os_management_hub/onboarding_client.py +13 -13
  456. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  457. oci/os_management_hub/scheduled_job_client.py +7 -7
  458. oci/os_management_hub/software_source_client.py +33 -33
  459. oci/os_management_hub/work_request_client.py +5 -5
  460. oci/osp_gateway/address_rule_service_client.py +1 -1
  461. oci/osp_gateway/address_service_client.py +2 -2
  462. oci/osp_gateway/invoice_service_client.py +5 -5
  463. oci/osp_gateway/subscription_service_client.py +5 -5
  464. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  465. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  466. oci/osub_subscription/commitment_client.py +2 -2
  467. oci/osub_subscription/ratecard_client.py +1 -1
  468. oci/osub_subscription/subscription_client.py +1 -1
  469. oci/osub_usage/computed_usage_client.py +3 -3
  470. oci/psql/postgresql_client.py +34 -34
  471. oci/queue/queue_admin_client.py +11 -11
  472. oci/queue/queue_client.py +8 -8
  473. oci/recovery/database_recovery_client.py +26 -26
  474. oci/redis/redis_cluster_client.py +12 -12
  475. oci/resource_manager/resource_manager_client.py +52 -52
  476. oci/resource_scheduler/schedule_client.py +14 -14
  477. oci/resource_search/resource_search_client.py +3 -3
  478. oci/rover/rover_bundle_client.py +8 -8
  479. oci/rover/rover_cluster_client.py +8 -8
  480. oci/rover/rover_entitlement_client.py +6 -6
  481. oci/rover/rover_node_client.py +15 -15
  482. oci/rover/shape_client.py +1 -1
  483. oci/rover/work_requests_client.py +5 -5
  484. oci/sch/connector_plugins_client.py +2 -2
  485. oci/sch/service_connector_client.py +12 -12
  486. oci/secrets/secrets_client.py +3 -3
  487. oci/security_attribute/security_attribute_client.py +18 -18
  488. oci/service_catalog/service_catalog_client.py +26 -26
  489. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  490. oci/service_mesh/service_mesh_client.py +48 -48
  491. oci/stack_monitoring/stack_monitoring_client.py +87 -87
  492. oci/streaming/stream_admin_client.py +18 -18
  493. oci/streaming/stream_client.py +8 -8
  494. oci/tenant_manager_control_plane/domain_client.py +5 -5
  495. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  496. oci/tenant_manager_control_plane/governance_client.py +2 -2
  497. oci/tenant_manager_control_plane/link_client.py +3 -3
  498. oci/tenant_manager_control_plane/orders_client.py +2 -2
  499. oci/tenant_manager_control_plane/organization_client.py +10 -10
  500. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  501. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  502. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  503. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  504. oci/threat_intelligence/threatintel_client.py +5 -5
  505. oci/usage/resources_client.py +2 -2
  506. oci/usage/rewards_client.py +6 -6
  507. oci/usage/usagelimits_client.py +1 -1
  508. oci/usage_api/models/average_carbon_emission.py +3 -3
  509. oci/usage_api/models/create_email_recipients_group_details.py +3 -3
  510. oci/usage_api/models/email_recipient.py +6 -6
  511. oci/usage_api/models/email_recipients_group.py +5 -5
  512. oci/usage_api/models/email_recipients_group_collection.py +3 -3
  513. oci/usage_api/models/email_recipients_group_summary.py +5 -5
  514. oci/usage_api/models/forecast.py +5 -3
  515. oci/usage_api/models/report_query.py +16 -16
  516. oci/usage_api/models/request_summarized_usages_details.py +4 -4
  517. oci/usage_api/models/request_usage_carbon_emissions_details.py +143 -2
  518. oci/usage_api/models/saved_custom_table.py +4 -4
  519. oci/usage_api/models/scheduled_run.py +12 -12
  520. oci/usage_api/models/scheduled_run_summary.py +12 -12
  521. oci/usage_api/models/update_email_recipients_group_details.py +3 -3
  522. oci/usage_api/models/usage_carbon_emission_aggregation.py +5 -5
  523. oci/usage_api/models/usage_carbon_emission_summary.py +36 -5
  524. oci/usage_api/models/usage_carbon_emissions_query.py +1 -1
  525. oci/usage_api/models/usage_carbon_emissions_query_collection.py +1 -1
  526. oci/usage_api/models/usage_carbon_emissions_query_summary.py +1 -1
  527. oci/usage_api/models/usage_carbon_emissions_report_query.py +98 -5
  528. oci/usage_api/usageapi_client.py +69 -69
  529. oci/usage_api/usageapi_client_composite_operations.py +4 -4
  530. oci/vault/vaults_client.py +13 -13
  531. oci/vbs_inst/vbs_instance_client.py +10 -10
  532. oci/version.py +1 -1
  533. oci/visual_builder/vb_instance_client.py +14 -14
  534. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  535. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  536. oci/waa/waa_client.py +13 -13
  537. oci/waa/work_request_client.py +4 -4
  538. oci/waas/redirect_client.py +6 -6
  539. oci/waas/waas_client.py +66 -66
  540. oci/waf/waf_client.py +24 -24
  541. oci/work_requests/work_request_client.py +4 -4
  542. oci/zpr/zpr_client.py +15 -15
  543. {oci-2.152.0.dist-info → oci-2.153.0.dist-info}/METADATA +1 -1
  544. {oci-2.152.0.dist-info → oci-2.153.0.dist-info}/RECORD +548 -378
  545. {oci-2.152.0.dist-info → oci-2.153.0.dist-info}/LICENSE.txt +0 -0
  546. {oci-2.152.0.dist-info → oci-2.153.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  547. {oci-2.152.0.dist-info → oci-2.153.0.dist-info}/WHEEL +0 -0
  548. {oci-2.152.0.dist-info → oci-2.153.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,1605 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
3
+ # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
+
5
+ # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20231107
6
+
7
+ from __future__ import absolute_import
8
+
9
+ from oci._vendor import requests # noqa: F401
10
+ from oci._vendor import six
11
+
12
+ from oci import retry, circuit_breaker # noqa: F401
13
+ from oci.base_client import BaseClient
14
+ from oci.config import get_config_value_or_default, validate_config
15
+ from oci.signer import Signer
16
+ from oci.util import Sentinel, get_signer_from_authentication_type, AUTHENTICATION_TYPE_FIELD_NAME
17
+ from oci.exceptions import InvalidAlloyConfig
18
+ from oci.alloy import OCI_SDK_ENABLED_SERVICES_SET
19
+ from .models import capacity_management_type_mapping
20
+ missing = Sentinel("Missing")
21
+
22
+
23
+ class InternalDemandSignalClient(object):
24
+ """
25
+ OCI Control Center (OCC) Capacity Management enables you to manage capacity requests in realms where OCI Control Center Capacity Management is available. For more information, see [OCI Control Center](/iaas/Content/control-center/home.htm).
26
+ """
27
+
28
+ def __init__(self, config, **kwargs):
29
+ """
30
+ Creates a new service client
31
+
32
+ :param dict config:
33
+ Configuration keys and values as per `SDK and Tool Configuration <https://docs.cloud.oracle.com/Content/API/Concepts/sdkconfig.htm>`__.
34
+ 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
35
+ the dict using :py:meth:`~oci.config.validate_config`
36
+
37
+ :param str service_endpoint: (optional)
38
+ The endpoint of the service to call using this client. For example ``https://iaas.us-ashburn-1.oraclecloud.com``. If this keyword argument is
39
+ 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
40
+ need to specify a service endpoint.
41
+
42
+ :param timeout: (optional)
43
+ 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
44
+ 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
45
+ a tuple is provided then the first value is used as the connection timeout and the second value as the read timeout.
46
+ :type timeout: float or tuple(float, float)
47
+
48
+ :param signer: (optional)
49
+ 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
50
+ provided in the config parameter.
51
+
52
+ One use case for this parameter is for `Instance Principals authentication <https://docs.cloud.oracle.com/Content/Identity/Tasks/callingservicesfrominstances.htm>`__
53
+ by passing an instance of :py:class:`~oci.auth.signers.InstancePrincipalsSecurityTokenSigner` as the value for this keyword argument
54
+ :type signer: :py:class:`~oci.signer.AbstractBaseSigner`
55
+
56
+ :param obj retry_strategy: (optional)
57
+ 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.
58
+ Retry strategies can also be applied at the operation level by passing a ``retry_strategy`` keyword argument as part of calling the operation.
59
+ Any value provided at the operation level will override whatever is specified at the client level.
60
+
61
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
62
+ 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>`__.
63
+
64
+ :param obj circuit_breaker_strategy: (optional)
65
+ A circuit breaker strategy to apply to all calls made by this service client (i.e. at the client level).
66
+ This client uses :py:data:`~oci.circuit_breaker.DEFAULT_CIRCUIT_BREAKER_STRATEGY` as default if no circuit breaker strategy is provided.
67
+ The specifics of circuit breaker strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/circuit_breakers.html>`__.
68
+
69
+ :param function circuit_breaker_callback: (optional)
70
+ Callback function to receive any exceptions triggerred by the circuit breaker.
71
+
72
+ :param bool client_level_realm_specific_endpoint_template_enabled: (optional)
73
+ A boolean flag to indicate whether or not this client should be created with realm specific endpoint template enabled or disable. By default, this will be set as None.
74
+
75
+ :param allow_control_chars: (optional)
76
+ 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
77
+ allow control characters to be in the response object.
78
+ """
79
+ if not OCI_SDK_ENABLED_SERVICES_SET.is_service_enabled("capacity_management"):
80
+ raise InvalidAlloyConfig("The Alloy configuration has disabled this service, this behavior is controlled by OCI_SDK_ENABLED_SERVICES_SET variable. Please check if your local alloy-config file configured the service you're targeting or contact the cloud provider on the availability of this service")
81
+
82
+ validate_config(config, signer=kwargs.get('signer'))
83
+ if 'signer' in kwargs:
84
+ signer = kwargs['signer']
85
+
86
+ elif AUTHENTICATION_TYPE_FIELD_NAME in config:
87
+ signer = get_signer_from_authentication_type(config)
88
+
89
+ else:
90
+ signer = Signer(
91
+ tenancy=config["tenancy"],
92
+ user=config["user"],
93
+ fingerprint=config["fingerprint"],
94
+ private_key_file_location=config.get("key_file"),
95
+ pass_phrase=get_config_value_or_default(config, "pass_phrase"),
96
+ private_key_content=config.get("key_content")
97
+ )
98
+
99
+ base_client_init_kwargs = {
100
+ 'regional_client': True,
101
+ 'service_endpoint': kwargs.get('service_endpoint'),
102
+ 'base_path': '/20231107',
103
+ 'service_endpoint_template': 'https://control-center-cp.{region}.oci.{secondLevelDomain}',
104
+ 'endpoint_service_name': 'control-center-cp',
105
+ 'service_endpoint_template_per_realm': { }, # noqa: E201 E202
106
+ 'skip_deserialization': kwargs.get('skip_deserialization', False),
107
+ 'circuit_breaker_strategy': kwargs.get('circuit_breaker_strategy', circuit_breaker.GLOBAL_CIRCUIT_BREAKER_STRATEGY),
108
+ 'client_level_realm_specific_endpoint_template_enabled': kwargs.get('client_level_realm_specific_endpoint_template_enabled')
109
+ }
110
+ if 'timeout' in kwargs:
111
+ base_client_init_kwargs['timeout'] = kwargs.get('timeout')
112
+ if base_client_init_kwargs.get('circuit_breaker_strategy') is None:
113
+ base_client_init_kwargs['circuit_breaker_strategy'] = circuit_breaker.DEFAULT_CIRCUIT_BREAKER_STRATEGY
114
+ if 'allow_control_chars' in kwargs:
115
+ base_client_init_kwargs['allow_control_chars'] = kwargs.get('allow_control_chars')
116
+ self.base_client = BaseClient("internal_demand_signal", config, signer, capacity_management_type_mapping, **base_client_init_kwargs)
117
+ self.retry_strategy = kwargs.get('retry_strategy')
118
+ self.circuit_breaker_callback = kwargs.get('circuit_breaker_callback')
119
+
120
+ def create_internal_occm_demand_signal_delivery(self, create_internal_occm_demand_signal_delivery_details, **kwargs):
121
+ """
122
+ This is a post API which is used to create a demand signal delivery resource.
123
+ operationId: CreateInternalOccmDemandSignalDelivery
124
+ summary: A post call to create a demand signal delivery.
125
+
126
+
127
+ :param oci.capacity_management.models.CreateInternalOccmDemandSignalDeliveryDetails create_internal_occm_demand_signal_delivery_details: (required)
128
+ The request details for creating an occm demand signal delivery resource.
129
+
130
+ :param str opc_retry_token: (optional)
131
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
132
+ server error without risk of executing that same action again. Retry tokens expire after 24
133
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
134
+ has been deleted and purged from the system, then a retry of the original creation request
135
+ might be rejected.
136
+
137
+ :param str opc_request_id: (optional)
138
+ The client request ID for tracing. The only valid characters for request IDs are letters, numbers,
139
+ underscore, and dash.
140
+
141
+ :param obj retry_strategy: (optional)
142
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
143
+
144
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
145
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
146
+
147
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
148
+
149
+ :param bool allow_control_chars: (optional)
150
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
151
+ By default, the response will not allow control characters in strings
152
+
153
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.capacity_management.models.InternalOccmDemandSignalDelivery`
154
+ :rtype: :class:`~oci.response.Response`
155
+
156
+ :example:
157
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/capacitymanagement/create_internal_occm_demand_signal_delivery.py.html>`__ to see an example of how to use create_internal_occm_demand_signal_delivery API.
158
+ """
159
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
160
+ required_arguments = []
161
+ resource_path = "/internal/occmDemandSignalDeliveries"
162
+ method = "POST"
163
+ operation_name = "create_internal_occm_demand_signal_delivery"
164
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/occcm/20231107/InternalOccmDemandSignalDelivery/CreateInternalOccmDemandSignalDelivery"
165
+
166
+ # Don't accept unknown kwargs
167
+ expected_kwargs = [
168
+ "allow_control_chars",
169
+ "retry_strategy",
170
+ "opc_retry_token",
171
+ "opc_request_id"
172
+ ]
173
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
174
+ if extra_kwargs:
175
+ raise ValueError(
176
+ f"create_internal_occm_demand_signal_delivery got unknown kwargs: {extra_kwargs!r}")
177
+
178
+ header_params = {
179
+ "accept": "application/json",
180
+ "content-type": "application/json",
181
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
182
+ "opc-request-id": kwargs.get("opc_request_id", missing)
183
+ }
184
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
185
+
186
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
187
+ operation_retry_strategy=kwargs.get('retry_strategy'),
188
+ client_retry_strategy=self.retry_strategy
189
+ )
190
+ if retry_strategy is None:
191
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
192
+
193
+ if retry_strategy:
194
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
195
+ self.base_client.add_opc_retry_token_if_needed(header_params)
196
+ self.base_client.add_opc_client_retries_header(header_params)
197
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
198
+ return retry_strategy.make_retrying_call(
199
+ self.base_client.call_api,
200
+ resource_path=resource_path,
201
+ method=method,
202
+ header_params=header_params,
203
+ body=create_internal_occm_demand_signal_delivery_details,
204
+ response_type="InternalOccmDemandSignalDelivery",
205
+ allow_control_chars=kwargs.get('allow_control_chars'),
206
+ operation_name=operation_name,
207
+ api_reference_link=api_reference_link,
208
+ required_arguments=required_arguments)
209
+ else:
210
+ return self.base_client.call_api(
211
+ resource_path=resource_path,
212
+ method=method,
213
+ header_params=header_params,
214
+ body=create_internal_occm_demand_signal_delivery_details,
215
+ response_type="InternalOccmDemandSignalDelivery",
216
+ allow_control_chars=kwargs.get('allow_control_chars'),
217
+ operation_name=operation_name,
218
+ api_reference_link=api_reference_link,
219
+ required_arguments=required_arguments)
220
+
221
+ def delete_internal_occm_demand_signal_delivery(self, occm_demand_signal_delivery_id, **kwargs):
222
+ """
223
+ This is an internal DELETE API which is used to delete a demand signal delivery resource.
224
+
225
+
226
+ :param str occm_demand_signal_delivery_id: (required)
227
+ The OCID of the demand signal delivery.
228
+
229
+ :param str opc_request_id: (optional)
230
+ The client request ID for tracing. The only valid characters for request IDs are letters, numbers,
231
+ underscore, and dash.
232
+
233
+ :param str if_match: (optional)
234
+ For optimistic concurrency control. In the PUT or DELETE call
235
+ for a resource, set the `if-match` parameter to the value of the
236
+ etag from a previous GET or POST response for that resource.
237
+ The resource will be updated or deleted only if the etag you
238
+ provide matches the resource's current etag value.
239
+
240
+ :param obj retry_strategy: (optional)
241
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
242
+
243
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
244
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
245
+
246
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
247
+
248
+ :param bool allow_control_chars: (optional)
249
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
250
+ By default, the response will not allow control characters in strings
251
+
252
+ :return: A :class:`~oci.response.Response` object with data of type None
253
+ :rtype: :class:`~oci.response.Response`
254
+
255
+ :example:
256
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/capacitymanagement/delete_internal_occm_demand_signal_delivery.py.html>`__ to see an example of how to use delete_internal_occm_demand_signal_delivery API.
257
+ """
258
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
259
+ required_arguments = ['occmDemandSignalDeliveryId']
260
+ resource_path = "/internal/occmDemandSignalDeliveries/{occmDemandSignalDeliveryId}"
261
+ method = "DELETE"
262
+ operation_name = "delete_internal_occm_demand_signal_delivery"
263
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/occcm/20231107/InternalOccmDemandSignalDelivery/DeleteInternalOccmDemandSignalDelivery"
264
+
265
+ # Don't accept unknown kwargs
266
+ expected_kwargs = [
267
+ "allow_control_chars",
268
+ "retry_strategy",
269
+ "opc_request_id",
270
+ "if_match"
271
+ ]
272
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
273
+ if extra_kwargs:
274
+ raise ValueError(
275
+ f"delete_internal_occm_demand_signal_delivery got unknown kwargs: {extra_kwargs!r}")
276
+
277
+ path_params = {
278
+ "occmDemandSignalDeliveryId": occm_demand_signal_delivery_id
279
+ }
280
+
281
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
282
+
283
+ for (k, v) in six.iteritems(path_params):
284
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
285
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
286
+
287
+ header_params = {
288
+ "accept": "application/json",
289
+ "content-type": "application/json",
290
+ "opc-request-id": kwargs.get("opc_request_id", missing),
291
+ "if-match": kwargs.get("if_match", missing)
292
+ }
293
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
294
+
295
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
296
+ operation_retry_strategy=kwargs.get('retry_strategy'),
297
+ client_retry_strategy=self.retry_strategy
298
+ )
299
+ if retry_strategy is None:
300
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
301
+
302
+ if retry_strategy:
303
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
304
+ self.base_client.add_opc_client_retries_header(header_params)
305
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
306
+ return retry_strategy.make_retrying_call(
307
+ self.base_client.call_api,
308
+ resource_path=resource_path,
309
+ method=method,
310
+ path_params=path_params,
311
+ header_params=header_params,
312
+ allow_control_chars=kwargs.get('allow_control_chars'),
313
+ operation_name=operation_name,
314
+ api_reference_link=api_reference_link,
315
+ required_arguments=required_arguments)
316
+ else:
317
+ return self.base_client.call_api(
318
+ resource_path=resource_path,
319
+ method=method,
320
+ path_params=path_params,
321
+ header_params=header_params,
322
+ allow_control_chars=kwargs.get('allow_control_chars'),
323
+ operation_name=operation_name,
324
+ api_reference_link=api_reference_link,
325
+ required_arguments=required_arguments)
326
+
327
+ def get_internal_occm_demand_signal(self, occm_demand_signal_id, **kwargs):
328
+ """
329
+ This is an internal GET API which gets the detailed information about a specific demand signal.
330
+
331
+
332
+ :param str occm_demand_signal_id: (required)
333
+ The OCID of the demand signal.
334
+
335
+ :param str opc_request_id: (optional)
336
+ The client request ID for tracing. The only valid characters for request IDs are letters, numbers,
337
+ underscore, and dash.
338
+
339
+ :param obj retry_strategy: (optional)
340
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
341
+
342
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
343
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
344
+
345
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
346
+
347
+ :param bool allow_control_chars: (optional)
348
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
349
+ By default, the response will not allow control characters in strings
350
+
351
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.capacity_management.models.InternalOccmDemandSignal`
352
+ :rtype: :class:`~oci.response.Response`
353
+
354
+ :example:
355
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/capacitymanagement/get_internal_occm_demand_signal.py.html>`__ to see an example of how to use get_internal_occm_demand_signal API.
356
+ """
357
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
358
+ required_arguments = ['occmDemandSignalId']
359
+ resource_path = "/internal/occmDemandSignals/{occmDemandSignalId}"
360
+ method = "GET"
361
+ operation_name = "get_internal_occm_demand_signal"
362
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/occcm/20231107/InternalOccmDemandSignal/GetInternalOccmDemandSignal"
363
+
364
+ # Don't accept unknown kwargs
365
+ expected_kwargs = [
366
+ "allow_control_chars",
367
+ "retry_strategy",
368
+ "opc_request_id"
369
+ ]
370
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
371
+ if extra_kwargs:
372
+ raise ValueError(
373
+ f"get_internal_occm_demand_signal got unknown kwargs: {extra_kwargs!r}")
374
+
375
+ path_params = {
376
+ "occmDemandSignalId": occm_demand_signal_id
377
+ }
378
+
379
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
380
+
381
+ for (k, v) in six.iteritems(path_params):
382
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
383
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
384
+
385
+ header_params = {
386
+ "accept": "application/json",
387
+ "content-type": "application/json",
388
+ "opc-request-id": kwargs.get("opc_request_id", missing)
389
+ }
390
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
391
+
392
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
393
+ operation_retry_strategy=kwargs.get('retry_strategy'),
394
+ client_retry_strategy=self.retry_strategy
395
+ )
396
+ if retry_strategy is None:
397
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
398
+
399
+ if retry_strategy:
400
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
401
+ self.base_client.add_opc_client_retries_header(header_params)
402
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
403
+ return retry_strategy.make_retrying_call(
404
+ self.base_client.call_api,
405
+ resource_path=resource_path,
406
+ method=method,
407
+ path_params=path_params,
408
+ header_params=header_params,
409
+ response_type="InternalOccmDemandSignal",
410
+ allow_control_chars=kwargs.get('allow_control_chars'),
411
+ operation_name=operation_name,
412
+ api_reference_link=api_reference_link,
413
+ required_arguments=required_arguments)
414
+ else:
415
+ return self.base_client.call_api(
416
+ resource_path=resource_path,
417
+ method=method,
418
+ path_params=path_params,
419
+ header_params=header_params,
420
+ response_type="InternalOccmDemandSignal",
421
+ allow_control_chars=kwargs.get('allow_control_chars'),
422
+ operation_name=operation_name,
423
+ api_reference_link=api_reference_link,
424
+ required_arguments=required_arguments)
425
+
426
+ def get_internal_occm_demand_signal_catalog(self, occm_demand_signal_catalog_id, **kwargs):
427
+ """
428
+ This API helps in getting the details about a specific occm demand signal catalog.
429
+
430
+
431
+ :param str occm_demand_signal_catalog_id: (required)
432
+ The OCID of the demand signal catalog.
433
+
434
+ :param str opc_request_id: (optional)
435
+ The client request ID for tracing. The only valid characters for request IDs are letters, numbers,
436
+ underscore, and dash.
437
+
438
+ :param obj retry_strategy: (optional)
439
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
440
+
441
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
442
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
443
+
444
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
445
+
446
+ :param bool allow_control_chars: (optional)
447
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
448
+ By default, the response will not allow control characters in strings
449
+
450
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.capacity_management.models.OccmDemandSignalCatalog`
451
+ :rtype: :class:`~oci.response.Response`
452
+
453
+ :example:
454
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/capacitymanagement/get_internal_occm_demand_signal_catalog.py.html>`__ to see an example of how to use get_internal_occm_demand_signal_catalog API.
455
+ """
456
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
457
+ required_arguments = ['occmDemandSignalCatalogId']
458
+ resource_path = "/internal/occmDemandSignalCatalog/{occmDemandSignalCatalogId}"
459
+ method = "GET"
460
+ operation_name = "get_internal_occm_demand_signal_catalog"
461
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/occcm/20231107/OccmDemandSignalCatalogResource/GetInternalOccmDemandSignalCatalog"
462
+
463
+ # Don't accept unknown kwargs
464
+ expected_kwargs = [
465
+ "allow_control_chars",
466
+ "retry_strategy",
467
+ "opc_request_id"
468
+ ]
469
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
470
+ if extra_kwargs:
471
+ raise ValueError(
472
+ f"get_internal_occm_demand_signal_catalog got unknown kwargs: {extra_kwargs!r}")
473
+
474
+ path_params = {
475
+ "occmDemandSignalCatalogId": occm_demand_signal_catalog_id
476
+ }
477
+
478
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
479
+
480
+ for (k, v) in six.iteritems(path_params):
481
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
482
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
483
+
484
+ header_params = {
485
+ "accept": "application/json",
486
+ "content-type": "application/json",
487
+ "opc-request-id": kwargs.get("opc_request_id", missing)
488
+ }
489
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
490
+
491
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
492
+ operation_retry_strategy=kwargs.get('retry_strategy'),
493
+ client_retry_strategy=self.retry_strategy
494
+ )
495
+ if retry_strategy is None:
496
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
497
+
498
+ if retry_strategy:
499
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
500
+ self.base_client.add_opc_client_retries_header(header_params)
501
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
502
+ return retry_strategy.make_retrying_call(
503
+ self.base_client.call_api,
504
+ resource_path=resource_path,
505
+ method=method,
506
+ path_params=path_params,
507
+ header_params=header_params,
508
+ response_type="OccmDemandSignalCatalog",
509
+ allow_control_chars=kwargs.get('allow_control_chars'),
510
+ operation_name=operation_name,
511
+ api_reference_link=api_reference_link,
512
+ required_arguments=required_arguments)
513
+ else:
514
+ return self.base_client.call_api(
515
+ resource_path=resource_path,
516
+ method=method,
517
+ path_params=path_params,
518
+ header_params=header_params,
519
+ response_type="OccmDemandSignalCatalog",
520
+ allow_control_chars=kwargs.get('allow_control_chars'),
521
+ operation_name=operation_name,
522
+ api_reference_link=api_reference_link,
523
+ required_arguments=required_arguments)
524
+
525
+ def get_internal_occm_demand_signal_delivery(self, occm_demand_signal_delivery_id, **kwargs):
526
+ """
527
+ This is an internal GET API to get the details of a demand signal delivery resource corresponding to a demand signal item.
528
+
529
+
530
+ :param str occm_demand_signal_delivery_id: (required)
531
+ The OCID of the demand signal delivery.
532
+
533
+ :param str opc_request_id: (optional)
534
+ The client request ID for tracing. The only valid characters for request IDs are letters, numbers,
535
+ underscore, and dash.
536
+
537
+ :param obj retry_strategy: (optional)
538
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
539
+
540
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
541
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
542
+
543
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
544
+
545
+ :param bool allow_control_chars: (optional)
546
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
547
+ By default, the response will not allow control characters in strings
548
+
549
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.capacity_management.models.InternalOccmDemandSignalDelivery`
550
+ :rtype: :class:`~oci.response.Response`
551
+
552
+ :example:
553
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/capacitymanagement/get_internal_occm_demand_signal_delivery.py.html>`__ to see an example of how to use get_internal_occm_demand_signal_delivery API.
554
+ """
555
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
556
+ required_arguments = ['occmDemandSignalDeliveryId']
557
+ resource_path = "/internal/occmDemandSignalDeliveries/{occmDemandSignalDeliveryId}"
558
+ method = "GET"
559
+ operation_name = "get_internal_occm_demand_signal_delivery"
560
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/occcm/20231107/InternalOccmDemandSignalDelivery/GetInternalOccmDemandSignalDelivery"
561
+
562
+ # Don't accept unknown kwargs
563
+ expected_kwargs = [
564
+ "allow_control_chars",
565
+ "retry_strategy",
566
+ "opc_request_id"
567
+ ]
568
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
569
+ if extra_kwargs:
570
+ raise ValueError(
571
+ f"get_internal_occm_demand_signal_delivery got unknown kwargs: {extra_kwargs!r}")
572
+
573
+ path_params = {
574
+ "occmDemandSignalDeliveryId": occm_demand_signal_delivery_id
575
+ }
576
+
577
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
578
+
579
+ for (k, v) in six.iteritems(path_params):
580
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
581
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
582
+
583
+ header_params = {
584
+ "accept": "application/json",
585
+ "content-type": "application/json",
586
+ "opc-request-id": kwargs.get("opc_request_id", missing)
587
+ }
588
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
589
+
590
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
591
+ operation_retry_strategy=kwargs.get('retry_strategy'),
592
+ client_retry_strategy=self.retry_strategy
593
+ )
594
+ if retry_strategy is None:
595
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
596
+
597
+ if retry_strategy:
598
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
599
+ self.base_client.add_opc_client_retries_header(header_params)
600
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
601
+ return retry_strategy.make_retrying_call(
602
+ self.base_client.call_api,
603
+ resource_path=resource_path,
604
+ method=method,
605
+ path_params=path_params,
606
+ header_params=header_params,
607
+ response_type="InternalOccmDemandSignalDelivery",
608
+ allow_control_chars=kwargs.get('allow_control_chars'),
609
+ operation_name=operation_name,
610
+ api_reference_link=api_reference_link,
611
+ required_arguments=required_arguments)
612
+ else:
613
+ return self.base_client.call_api(
614
+ resource_path=resource_path,
615
+ method=method,
616
+ path_params=path_params,
617
+ header_params=header_params,
618
+ response_type="InternalOccmDemandSignalDelivery",
619
+ allow_control_chars=kwargs.get('allow_control_chars'),
620
+ operation_name=operation_name,
621
+ api_reference_link=api_reference_link,
622
+ required_arguments=required_arguments)
623
+
624
+ def list_internal_occm_demand_signal_catalog_resources(self, compartment_id, occ_customer_group_id, occm_demand_signal_catalog_id, **kwargs):
625
+ """
626
+ This API will list all the resources across all demand signal catalogs for a given namespace and customer group.
627
+
628
+
629
+ :param str compartment_id: (required)
630
+ The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
631
+
632
+ :param str occ_customer_group_id: (required)
633
+ The customer group ocid by which we would filter the list.
634
+
635
+ :param str occm_demand_signal_catalog_id: (required)
636
+ The ocid of demand signal catalog id.
637
+
638
+ :param str name: (optional)
639
+ A query parameter to filter the list of demand signal catalog resource based on the resource name.
640
+
641
+ :param str demand_signal_namespace: (optional)
642
+ A query parameter to filter the list of demand signal catalog resources based on the namespace.
643
+
644
+ Allowed values are: "COMPUTE", "NETWORK", "GPU", "STORAGE"
645
+
646
+ :param int limit: (optional)
647
+ The maximum number of items to return.
648
+
649
+ :param str page: (optional)
650
+ A token representing the position at which to start retrieving results. This must come from `opc-next-page` header field of a previous response.
651
+
652
+ :param str opc_request_id: (optional)
653
+ The client request ID for tracing. The only valid characters for request IDs are letters, numbers,
654
+ underscore, and dash.
655
+
656
+ :param str sort_order: (optional)
657
+ The sort order to use, either 'ASC' or 'DESC'.
658
+
659
+ Allowed values are: "ASC", "DESC"
660
+
661
+ :param str sort_by: (optional)
662
+ The field to sort the response of List Demand catalog resources API. Only one sort order may be provided. The default order for name is case sensitive alphabetical order.
663
+
664
+ Allowed values are: "name"
665
+
666
+ :param obj retry_strategy: (optional)
667
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
668
+
669
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
670
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
671
+
672
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
673
+
674
+ :param bool allow_control_chars: (optional)
675
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
676
+ By default, the response will not allow control characters in strings
677
+
678
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.capacity_management.models.InternalOccmDemandSignalCatalogResourceCollection`
679
+ :rtype: :class:`~oci.response.Response`
680
+
681
+ :example:
682
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/capacitymanagement/list_internal_occm_demand_signal_catalog_resources.py.html>`__ to see an example of how to use list_internal_occm_demand_signal_catalog_resources API.
683
+ """
684
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
685
+ required_arguments = ['compartmentId', 'occCustomerGroupId', 'occmDemandSignalCatalogId']
686
+ resource_path = "/internal/occmDemandSignalCatalogResources"
687
+ method = "GET"
688
+ operation_name = "list_internal_occm_demand_signal_catalog_resources"
689
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/occcm/20231107/InternalOccmDemandSignalCatalogResource/ListInternalOccmDemandSignalCatalogResources"
690
+
691
+ # Don't accept unknown kwargs
692
+ expected_kwargs = [
693
+ "allow_control_chars",
694
+ "retry_strategy",
695
+ "name",
696
+ "demand_signal_namespace",
697
+ "limit",
698
+ "page",
699
+ "opc_request_id",
700
+ "sort_order",
701
+ "sort_by"
702
+ ]
703
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
704
+ if extra_kwargs:
705
+ raise ValueError(
706
+ f"list_internal_occm_demand_signal_catalog_resources got unknown kwargs: {extra_kwargs!r}")
707
+
708
+ if 'demand_signal_namespace' in kwargs:
709
+ demand_signal_namespace_allowed_values = ["COMPUTE", "NETWORK", "GPU", "STORAGE"]
710
+ if kwargs['demand_signal_namespace'] not in demand_signal_namespace_allowed_values:
711
+ raise ValueError(
712
+ f"Invalid value for `demand_signal_namespace`, must be one of { demand_signal_namespace_allowed_values }"
713
+ )
714
+
715
+ if 'sort_order' in kwargs:
716
+ sort_order_allowed_values = ["ASC", "DESC"]
717
+ if kwargs['sort_order'] not in sort_order_allowed_values:
718
+ raise ValueError(
719
+ f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
720
+ )
721
+
722
+ if 'sort_by' in kwargs:
723
+ sort_by_allowed_values = ["name"]
724
+ if kwargs['sort_by'] not in sort_by_allowed_values:
725
+ raise ValueError(
726
+ f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
727
+ )
728
+
729
+ query_params = {
730
+ "compartmentId": compartment_id,
731
+ "occCustomerGroupId": occ_customer_group_id,
732
+ "occmDemandSignalCatalogId": occm_demand_signal_catalog_id,
733
+ "name": kwargs.get("name", missing),
734
+ "demandSignalNamespace": kwargs.get("demand_signal_namespace", missing),
735
+ "limit": kwargs.get("limit", missing),
736
+ "page": kwargs.get("page", missing),
737
+ "sortOrder": kwargs.get("sort_order", missing),
738
+ "sortBy": kwargs.get("sort_by", missing)
739
+ }
740
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
741
+
742
+ header_params = {
743
+ "accept": "application/json",
744
+ "content-type": "application/json",
745
+ "opc-request-id": kwargs.get("opc_request_id", missing)
746
+ }
747
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
748
+
749
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
750
+ operation_retry_strategy=kwargs.get('retry_strategy'),
751
+ client_retry_strategy=self.retry_strategy
752
+ )
753
+ if retry_strategy is None:
754
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
755
+
756
+ if retry_strategy:
757
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
758
+ self.base_client.add_opc_client_retries_header(header_params)
759
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
760
+ return retry_strategy.make_retrying_call(
761
+ self.base_client.call_api,
762
+ resource_path=resource_path,
763
+ method=method,
764
+ query_params=query_params,
765
+ header_params=header_params,
766
+ response_type="InternalOccmDemandSignalCatalogResourceCollection",
767
+ allow_control_chars=kwargs.get('allow_control_chars'),
768
+ operation_name=operation_name,
769
+ api_reference_link=api_reference_link,
770
+ required_arguments=required_arguments)
771
+ else:
772
+ return self.base_client.call_api(
773
+ resource_path=resource_path,
774
+ method=method,
775
+ query_params=query_params,
776
+ header_params=header_params,
777
+ response_type="InternalOccmDemandSignalCatalogResourceCollection",
778
+ allow_control_chars=kwargs.get('allow_control_chars'),
779
+ operation_name=operation_name,
780
+ api_reference_link=api_reference_link,
781
+ required_arguments=required_arguments)
782
+
783
+ def list_internal_occm_demand_signal_catalogs(self, compartment_id, occ_customer_group_id, **kwargs):
784
+ """
785
+ This API will list demand signal catalogs for a given customer group.
786
+
787
+
788
+ :param str compartment_id: (required)
789
+ The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
790
+
791
+ :param str occ_customer_group_id: (required)
792
+ The customer group ocid by which we would filter the list.
793
+
794
+ :param str display_name: (optional)
795
+ A filter to return only the resources that match the entire display name. The match is not case sensitive.
796
+
797
+ :param int limit: (optional)
798
+ The maximum number of items to return.
799
+
800
+ :param str page: (optional)
801
+ A token representing the position at which to start retrieving results. This must come from `opc-next-page` header field of a previous response.
802
+
803
+ :param str opc_request_id: (optional)
804
+ The client request ID for tracing. The only valid characters for request IDs are letters, numbers,
805
+ underscore, and dash.
806
+
807
+ :param str sort_order: (optional)
808
+ The sort order to use, either 'ASC' or 'DESC'.
809
+
810
+ Allowed values are: "ASC", "DESC"
811
+
812
+ :param str sort_by: (optional)
813
+ The field to sort the response of List Demand catalog API. Only one sort order may be provided. The default order for name is case sensitive alphabetical order.
814
+
815
+ Allowed values are: "name"
816
+
817
+ :param obj retry_strategy: (optional)
818
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
819
+
820
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
821
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
822
+
823
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
824
+
825
+ :param bool allow_control_chars: (optional)
826
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
827
+ By default, the response will not allow control characters in strings
828
+
829
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.capacity_management.models.OccmDemandSignalCatalogCollection`
830
+ :rtype: :class:`~oci.response.Response`
831
+
832
+ :example:
833
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/capacitymanagement/list_internal_occm_demand_signal_catalogs.py.html>`__ to see an example of how to use list_internal_occm_demand_signal_catalogs API.
834
+ """
835
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
836
+ required_arguments = ['compartmentId', 'occCustomerGroupId']
837
+ resource_path = "/internal/occmDemandSignalCatalog"
838
+ method = "GET"
839
+ operation_name = "list_internal_occm_demand_signal_catalogs"
840
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/occcm/20231107/OccmDemandSignalCatalog/ListInternalOccmDemandSignalCatalogs"
841
+
842
+ # Don't accept unknown kwargs
843
+ expected_kwargs = [
844
+ "allow_control_chars",
845
+ "retry_strategy",
846
+ "display_name",
847
+ "limit",
848
+ "page",
849
+ "opc_request_id",
850
+ "sort_order",
851
+ "sort_by"
852
+ ]
853
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
854
+ if extra_kwargs:
855
+ raise ValueError(
856
+ f"list_internal_occm_demand_signal_catalogs got unknown kwargs: {extra_kwargs!r}")
857
+
858
+ if 'sort_order' in kwargs:
859
+ sort_order_allowed_values = ["ASC", "DESC"]
860
+ if kwargs['sort_order'] not in sort_order_allowed_values:
861
+ raise ValueError(
862
+ f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
863
+ )
864
+
865
+ if 'sort_by' in kwargs:
866
+ sort_by_allowed_values = ["name"]
867
+ if kwargs['sort_by'] not in sort_by_allowed_values:
868
+ raise ValueError(
869
+ f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
870
+ )
871
+
872
+ query_params = {
873
+ "compartmentId": compartment_id,
874
+ "occCustomerGroupId": occ_customer_group_id,
875
+ "displayName": kwargs.get("display_name", missing),
876
+ "limit": kwargs.get("limit", missing),
877
+ "page": kwargs.get("page", missing),
878
+ "sortOrder": kwargs.get("sort_order", missing),
879
+ "sortBy": kwargs.get("sort_by", missing)
880
+ }
881
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
882
+
883
+ header_params = {
884
+ "accept": "application/json",
885
+ "content-type": "application/json",
886
+ "opc-request-id": kwargs.get("opc_request_id", missing)
887
+ }
888
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
889
+
890
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
891
+ operation_retry_strategy=kwargs.get('retry_strategy'),
892
+ client_retry_strategy=self.retry_strategy
893
+ )
894
+ if retry_strategy is None:
895
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
896
+
897
+ if retry_strategy:
898
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
899
+ self.base_client.add_opc_client_retries_header(header_params)
900
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
901
+ return retry_strategy.make_retrying_call(
902
+ self.base_client.call_api,
903
+ resource_path=resource_path,
904
+ method=method,
905
+ query_params=query_params,
906
+ header_params=header_params,
907
+ response_type="OccmDemandSignalCatalogCollection",
908
+ allow_control_chars=kwargs.get('allow_control_chars'),
909
+ operation_name=operation_name,
910
+ api_reference_link=api_reference_link,
911
+ required_arguments=required_arguments)
912
+ else:
913
+ return self.base_client.call_api(
914
+ resource_path=resource_path,
915
+ method=method,
916
+ query_params=query_params,
917
+ header_params=header_params,
918
+ response_type="OccmDemandSignalCatalogCollection",
919
+ allow_control_chars=kwargs.get('allow_control_chars'),
920
+ operation_name=operation_name,
921
+ api_reference_link=api_reference_link,
922
+ required_arguments=required_arguments)
923
+
924
+ def list_internal_occm_demand_signal_deliveries(self, compartment_id, occ_customer_group_id, **kwargs):
925
+ """
926
+ This GET call is used to list all demand signal delivery resources within the customer group passed as a query parameter.
927
+
928
+
929
+ :param str compartment_id: (required)
930
+ The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
931
+
932
+ :param str occ_customer_group_id: (required)
933
+ The customer group ocid by which we would filter the list.
934
+
935
+ :param str id: (optional)
936
+ A query parameter to filter the list of demand signals based on it's OCID.
937
+
938
+ :param str occm_demand_signal_item_id: (optional)
939
+ A query parameter to filter the list of demand signal items based on it's OCID.
940
+
941
+ :param int limit: (optional)
942
+ The maximum number of items to return.
943
+
944
+ :param str page: (optional)
945
+ A token representing the position at which to start retrieving results. This must come from `opc-next-page` header field of a previous response.
946
+
947
+ :param str opc_request_id: (optional)
948
+ The client request ID for tracing. The only valid characters for request IDs are letters, numbers,
949
+ underscore, and dash.
950
+
951
+ :param str sort_order: (optional)
952
+ The sort order to use, either 'ASC' or 'DESC'.
953
+
954
+ Allowed values are: "ASC", "DESC"
955
+
956
+ :param str sort_by: (optional)
957
+ The field to sort the response of List Demand Signal Delivery API. Only one sort order may be provided. The default order for resource name is case sensitive alphabetical order.
958
+
959
+ Allowed values are: "resourceName"
960
+
961
+ :param obj retry_strategy: (optional)
962
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
963
+
964
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
965
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
966
+
967
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
968
+
969
+ :param bool allow_control_chars: (optional)
970
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
971
+ By default, the response will not allow control characters in strings
972
+
973
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.capacity_management.models.InternalOccmDemandSignalDeliveryCollection`
974
+ :rtype: :class:`~oci.response.Response`
975
+
976
+ :example:
977
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/capacitymanagement/list_internal_occm_demand_signal_deliveries.py.html>`__ to see an example of how to use list_internal_occm_demand_signal_deliveries API.
978
+ """
979
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
980
+ required_arguments = ['compartmentId', 'occCustomerGroupId']
981
+ resource_path = "/internal/occmDemandSignalDeliveries"
982
+ method = "GET"
983
+ operation_name = "list_internal_occm_demand_signal_deliveries"
984
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/occcm/20231107/InternalOccmDemandSignalDelivery/ListInternalOccmDemandSignalDeliveries"
985
+
986
+ # Don't accept unknown kwargs
987
+ expected_kwargs = [
988
+ "allow_control_chars",
989
+ "retry_strategy",
990
+ "id",
991
+ "occm_demand_signal_item_id",
992
+ "limit",
993
+ "page",
994
+ "opc_request_id",
995
+ "sort_order",
996
+ "sort_by"
997
+ ]
998
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
999
+ if extra_kwargs:
1000
+ raise ValueError(
1001
+ f"list_internal_occm_demand_signal_deliveries got unknown kwargs: {extra_kwargs!r}")
1002
+
1003
+ if 'sort_order' in kwargs:
1004
+ sort_order_allowed_values = ["ASC", "DESC"]
1005
+ if kwargs['sort_order'] not in sort_order_allowed_values:
1006
+ raise ValueError(
1007
+ f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
1008
+ )
1009
+
1010
+ if 'sort_by' in kwargs:
1011
+ sort_by_allowed_values = ["resourceName"]
1012
+ if kwargs['sort_by'] not in sort_by_allowed_values:
1013
+ raise ValueError(
1014
+ f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
1015
+ )
1016
+
1017
+ query_params = {
1018
+ "compartmentId": compartment_id,
1019
+ "occCustomerGroupId": occ_customer_group_id,
1020
+ "id": kwargs.get("id", missing),
1021
+ "occmDemandSignalItemId": kwargs.get("occm_demand_signal_item_id", missing),
1022
+ "limit": kwargs.get("limit", missing),
1023
+ "page": kwargs.get("page", missing),
1024
+ "sortOrder": kwargs.get("sort_order", missing),
1025
+ "sortBy": kwargs.get("sort_by", missing)
1026
+ }
1027
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
1028
+
1029
+ header_params = {
1030
+ "accept": "application/json",
1031
+ "content-type": "application/json",
1032
+ "opc-request-id": kwargs.get("opc_request_id", missing)
1033
+ }
1034
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1035
+
1036
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
1037
+ operation_retry_strategy=kwargs.get('retry_strategy'),
1038
+ client_retry_strategy=self.retry_strategy
1039
+ )
1040
+ if retry_strategy is None:
1041
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
1042
+
1043
+ if retry_strategy:
1044
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
1045
+ self.base_client.add_opc_client_retries_header(header_params)
1046
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
1047
+ return retry_strategy.make_retrying_call(
1048
+ self.base_client.call_api,
1049
+ resource_path=resource_path,
1050
+ method=method,
1051
+ query_params=query_params,
1052
+ header_params=header_params,
1053
+ response_type="InternalOccmDemandSignalDeliveryCollection",
1054
+ allow_control_chars=kwargs.get('allow_control_chars'),
1055
+ operation_name=operation_name,
1056
+ api_reference_link=api_reference_link,
1057
+ required_arguments=required_arguments)
1058
+ else:
1059
+ return self.base_client.call_api(
1060
+ resource_path=resource_path,
1061
+ method=method,
1062
+ query_params=query_params,
1063
+ header_params=header_params,
1064
+ response_type="InternalOccmDemandSignalDeliveryCollection",
1065
+ allow_control_chars=kwargs.get('allow_control_chars'),
1066
+ operation_name=operation_name,
1067
+ api_reference_link=api_reference_link,
1068
+ required_arguments=required_arguments)
1069
+
1070
+ def list_internal_occm_demand_signal_items(self, compartment_id, occ_customer_group_id, **kwargs):
1071
+ """
1072
+ This internal API will list the detailed information about the resources demanded as part of the demand signal.
1073
+
1074
+
1075
+ :param str compartment_id: (required)
1076
+ The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
1077
+
1078
+ :param str occ_customer_group_id: (required)
1079
+ The customer group ocid by which we would filter the list.
1080
+
1081
+ :param str occm_demand_signal_id: (optional)
1082
+ A query parameter to filter the list of demand signal items based on a demand signal id.
1083
+
1084
+ :param str resource_name: (optional)
1085
+ A query parameter to filter the list of demand signal details based on the resource name.
1086
+
1087
+ :param str demand_signal_namespace: (optional)
1088
+ A query parameter to filter the list of demand signal details based on the namespace.
1089
+
1090
+ Allowed values are: "COMPUTE", "NETWORK", "GPU", "STORAGE"
1091
+
1092
+ :param int limit: (optional)
1093
+ The maximum number of items to return.
1094
+
1095
+ :param str page: (optional)
1096
+ A token representing the position at which to start retrieving results. This must come from `opc-next-page` header field of a previous response.
1097
+
1098
+ :param str opc_request_id: (optional)
1099
+ The client request ID for tracing. The only valid characters for request IDs are letters, numbers,
1100
+ underscore, and dash.
1101
+
1102
+ :param str sort_order: (optional)
1103
+ The sort order to use, either 'ASC' or 'DESC'.
1104
+
1105
+ Allowed values are: "ASC", "DESC"
1106
+
1107
+ :param str sort_by: (optional)
1108
+ The field to sort the response of List Demand Signal Details API. Only one sort order may be provided. The default order for resource name is case sensitive alphabetical order.
1109
+
1110
+ Allowed values are: "resourceName"
1111
+
1112
+ :param obj retry_strategy: (optional)
1113
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1114
+
1115
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
1116
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
1117
+
1118
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1119
+
1120
+ :param bool allow_control_chars: (optional)
1121
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
1122
+ By default, the response will not allow control characters in strings
1123
+
1124
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.capacity_management.models.InternalOccmDemandSignalItemCollection`
1125
+ :rtype: :class:`~oci.response.Response`
1126
+
1127
+ :example:
1128
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/capacitymanagement/list_internal_occm_demand_signal_items.py.html>`__ to see an example of how to use list_internal_occm_demand_signal_items API.
1129
+ """
1130
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1131
+ required_arguments = ['compartmentId', 'occCustomerGroupId']
1132
+ resource_path = "/internal/occmDemandSignalItems"
1133
+ method = "GET"
1134
+ operation_name = "list_internal_occm_demand_signal_items"
1135
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/occcm/20231107/InternalOccmDemandSignalItemCollection/ListInternalOccmDemandSignalItems"
1136
+
1137
+ # Don't accept unknown kwargs
1138
+ expected_kwargs = [
1139
+ "allow_control_chars",
1140
+ "retry_strategy",
1141
+ "occm_demand_signal_id",
1142
+ "resource_name",
1143
+ "demand_signal_namespace",
1144
+ "limit",
1145
+ "page",
1146
+ "opc_request_id",
1147
+ "sort_order",
1148
+ "sort_by"
1149
+ ]
1150
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1151
+ if extra_kwargs:
1152
+ raise ValueError(
1153
+ f"list_internal_occm_demand_signal_items got unknown kwargs: {extra_kwargs!r}")
1154
+
1155
+ if 'demand_signal_namespace' in kwargs:
1156
+ demand_signal_namespace_allowed_values = ["COMPUTE", "NETWORK", "GPU", "STORAGE"]
1157
+ if kwargs['demand_signal_namespace'] not in demand_signal_namespace_allowed_values:
1158
+ raise ValueError(
1159
+ f"Invalid value for `demand_signal_namespace`, must be one of { demand_signal_namespace_allowed_values }"
1160
+ )
1161
+
1162
+ if 'sort_order' in kwargs:
1163
+ sort_order_allowed_values = ["ASC", "DESC"]
1164
+ if kwargs['sort_order'] not in sort_order_allowed_values:
1165
+ raise ValueError(
1166
+ f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
1167
+ )
1168
+
1169
+ if 'sort_by' in kwargs:
1170
+ sort_by_allowed_values = ["resourceName"]
1171
+ if kwargs['sort_by'] not in sort_by_allowed_values:
1172
+ raise ValueError(
1173
+ f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
1174
+ )
1175
+
1176
+ query_params = {
1177
+ "compartmentId": compartment_id,
1178
+ "occCustomerGroupId": occ_customer_group_id,
1179
+ "occmDemandSignalId": kwargs.get("occm_demand_signal_id", missing),
1180
+ "resourceName": kwargs.get("resource_name", missing),
1181
+ "demandSignalNamespace": kwargs.get("demand_signal_namespace", missing),
1182
+ "limit": kwargs.get("limit", missing),
1183
+ "page": kwargs.get("page", missing),
1184
+ "sortOrder": kwargs.get("sort_order", missing),
1185
+ "sortBy": kwargs.get("sort_by", missing)
1186
+ }
1187
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
1188
+
1189
+ header_params = {
1190
+ "accept": "application/json",
1191
+ "content-type": "application/json",
1192
+ "opc-request-id": kwargs.get("opc_request_id", missing)
1193
+ }
1194
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1195
+
1196
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
1197
+ operation_retry_strategy=kwargs.get('retry_strategy'),
1198
+ client_retry_strategy=self.retry_strategy
1199
+ )
1200
+ if retry_strategy is None:
1201
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
1202
+
1203
+ if retry_strategy:
1204
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
1205
+ self.base_client.add_opc_client_retries_header(header_params)
1206
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
1207
+ return retry_strategy.make_retrying_call(
1208
+ self.base_client.call_api,
1209
+ resource_path=resource_path,
1210
+ method=method,
1211
+ query_params=query_params,
1212
+ header_params=header_params,
1213
+ response_type="InternalOccmDemandSignalItemCollection",
1214
+ allow_control_chars=kwargs.get('allow_control_chars'),
1215
+ operation_name=operation_name,
1216
+ api_reference_link=api_reference_link,
1217
+ required_arguments=required_arguments)
1218
+ else:
1219
+ return self.base_client.call_api(
1220
+ resource_path=resource_path,
1221
+ method=method,
1222
+ query_params=query_params,
1223
+ header_params=header_params,
1224
+ response_type="InternalOccmDemandSignalItemCollection",
1225
+ allow_control_chars=kwargs.get('allow_control_chars'),
1226
+ operation_name=operation_name,
1227
+ api_reference_link=api_reference_link,
1228
+ required_arguments=required_arguments)
1229
+
1230
+ def list_internal_occm_demand_signals(self, compartment_id, occ_customer_group_id, **kwargs):
1231
+ """
1232
+ This is an internal GET call is used to list all demand signals within the compartment passed as a query parameter.
1233
+
1234
+
1235
+ :param str compartment_id: (required)
1236
+ The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
1237
+
1238
+ :param str occ_customer_group_id: (required)
1239
+ The customer group ocid by which we would filter the list.
1240
+
1241
+ :param str id: (optional)
1242
+ A query parameter to filter the list of demand signals based on it's OCID.
1243
+
1244
+ :param str lifecycle_details: (optional)
1245
+ A query parameter to filter the list of demand signals based on its state.
1246
+
1247
+ :param str display_name: (optional)
1248
+ A filter to return only the resources that match the entire display name. The match is not case sensitive.
1249
+
1250
+ :param int limit: (optional)
1251
+ The maximum number of items to return.
1252
+
1253
+ :param str page: (optional)
1254
+ A token representing the position at which to start retrieving results. This must come from `opc-next-page` header field of a previous response.
1255
+
1256
+ :param str opc_request_id: (optional)
1257
+ The client request ID for tracing. The only valid characters for request IDs are letters, numbers,
1258
+ underscore, and dash.
1259
+
1260
+ :param str sort_order: (optional)
1261
+ The sort order to use, either 'ASC' or 'DESC'.
1262
+
1263
+ Allowed values are: "ASC", "DESC"
1264
+
1265
+ :param str sort_by: (optional)
1266
+ The field to sort the response of List Demand Signal API. Only one sort order may be provided. The default order for timeCreated is reverse chronological order (latest date at the top). The default order for displayName is case sensitive alphabetical order.
1267
+
1268
+ Allowed values are: "timeCreated", "displayName"
1269
+
1270
+ :param obj retry_strategy: (optional)
1271
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1272
+
1273
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
1274
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
1275
+
1276
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1277
+
1278
+ :param bool allow_control_chars: (optional)
1279
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
1280
+ By default, the response will not allow control characters in strings
1281
+
1282
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.capacity_management.models.InternalOccmDemandSignalCollection`
1283
+ :rtype: :class:`~oci.response.Response`
1284
+
1285
+ :example:
1286
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/capacitymanagement/list_internal_occm_demand_signals.py.html>`__ to see an example of how to use list_internal_occm_demand_signals API.
1287
+ """
1288
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1289
+ required_arguments = ['compartmentId', 'occCustomerGroupId']
1290
+ resource_path = "/internal/occmDemandSignals"
1291
+ method = "GET"
1292
+ operation_name = "list_internal_occm_demand_signals"
1293
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/occcm/20231107/InternalOccmDemandSignal/ListInternalOccmDemandSignals"
1294
+
1295
+ # Don't accept unknown kwargs
1296
+ expected_kwargs = [
1297
+ "allow_control_chars",
1298
+ "retry_strategy",
1299
+ "id",
1300
+ "lifecycle_details",
1301
+ "display_name",
1302
+ "limit",
1303
+ "page",
1304
+ "opc_request_id",
1305
+ "sort_order",
1306
+ "sort_by"
1307
+ ]
1308
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1309
+ if extra_kwargs:
1310
+ raise ValueError(
1311
+ f"list_internal_occm_demand_signals got unknown kwargs: {extra_kwargs!r}")
1312
+
1313
+ if 'sort_order' in kwargs:
1314
+ sort_order_allowed_values = ["ASC", "DESC"]
1315
+ if kwargs['sort_order'] not in sort_order_allowed_values:
1316
+ raise ValueError(
1317
+ f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
1318
+ )
1319
+
1320
+ if 'sort_by' in kwargs:
1321
+ sort_by_allowed_values = ["timeCreated", "displayName"]
1322
+ if kwargs['sort_by'] not in sort_by_allowed_values:
1323
+ raise ValueError(
1324
+ f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
1325
+ )
1326
+
1327
+ query_params = {
1328
+ "compartmentId": compartment_id,
1329
+ "occCustomerGroupId": occ_customer_group_id,
1330
+ "id": kwargs.get("id", missing),
1331
+ "lifecycleDetails": kwargs.get("lifecycle_details", missing),
1332
+ "displayName": kwargs.get("display_name", missing),
1333
+ "limit": kwargs.get("limit", missing),
1334
+ "page": kwargs.get("page", missing),
1335
+ "sortOrder": kwargs.get("sort_order", missing),
1336
+ "sortBy": kwargs.get("sort_by", missing)
1337
+ }
1338
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
1339
+
1340
+ header_params = {
1341
+ "accept": "application/json",
1342
+ "content-type": "application/json",
1343
+ "opc-request-id": kwargs.get("opc_request_id", missing)
1344
+ }
1345
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1346
+
1347
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
1348
+ operation_retry_strategy=kwargs.get('retry_strategy'),
1349
+ client_retry_strategy=self.retry_strategy
1350
+ )
1351
+ if retry_strategy is None:
1352
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
1353
+
1354
+ if retry_strategy:
1355
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
1356
+ self.base_client.add_opc_client_retries_header(header_params)
1357
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
1358
+ return retry_strategy.make_retrying_call(
1359
+ self.base_client.call_api,
1360
+ resource_path=resource_path,
1361
+ method=method,
1362
+ query_params=query_params,
1363
+ header_params=header_params,
1364
+ response_type="InternalOccmDemandSignalCollection",
1365
+ allow_control_chars=kwargs.get('allow_control_chars'),
1366
+ operation_name=operation_name,
1367
+ api_reference_link=api_reference_link,
1368
+ required_arguments=required_arguments)
1369
+ else:
1370
+ return self.base_client.call_api(
1371
+ resource_path=resource_path,
1372
+ method=method,
1373
+ query_params=query_params,
1374
+ header_params=header_params,
1375
+ response_type="InternalOccmDemandSignalCollection",
1376
+ allow_control_chars=kwargs.get('allow_control_chars'),
1377
+ operation_name=operation_name,
1378
+ api_reference_link=api_reference_link,
1379
+ required_arguments=required_arguments)
1380
+
1381
+ def update_internal_occm_demand_signal(self, update_internal_occm_demand_signal_details, occm_demand_signal_id, **kwargs):
1382
+ """
1383
+ This is a internal PUT API which shall be used to update the metadata of the demand signal.
1384
+
1385
+
1386
+ :param oci.capacity_management.models.UpdateInternalOccmDemandSignalDetails update_internal_occm_demand_signal_details: (required)
1387
+ The request details for this PUT API to update the metadata for a given demand signal resource.
1388
+
1389
+ :param str occm_demand_signal_id: (required)
1390
+ The OCID of the demand signal.
1391
+
1392
+ :param str if_match: (optional)
1393
+ For optimistic concurrency control. In the PUT or DELETE call
1394
+ for a resource, set the `if-match` parameter to the value of the
1395
+ etag from a previous GET or POST response for that resource.
1396
+ The resource will be updated or deleted only if the etag you
1397
+ provide matches the resource's current etag value.
1398
+
1399
+ :param str opc_request_id: (optional)
1400
+ The client request ID for tracing. The only valid characters for request IDs are letters, numbers,
1401
+ underscore, and dash.
1402
+
1403
+ :param obj retry_strategy: (optional)
1404
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1405
+
1406
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
1407
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
1408
+
1409
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1410
+
1411
+ :param bool allow_control_chars: (optional)
1412
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
1413
+ By default, the response will not allow control characters in strings
1414
+
1415
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.capacity_management.models.InternalOccmDemandSignal`
1416
+ :rtype: :class:`~oci.response.Response`
1417
+
1418
+ :example:
1419
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/capacitymanagement/update_internal_occm_demand_signal.py.html>`__ to see an example of how to use update_internal_occm_demand_signal API.
1420
+ """
1421
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1422
+ required_arguments = ['occmDemandSignalId']
1423
+ resource_path = "/internal/occmDemandSignals/{occmDemandSignalId}"
1424
+ method = "PUT"
1425
+ operation_name = "update_internal_occm_demand_signal"
1426
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/occcm/20231107/InternalOccmDemandSignal/UpdateInternalOccmDemandSignal"
1427
+
1428
+ # Don't accept unknown kwargs
1429
+ expected_kwargs = [
1430
+ "allow_control_chars",
1431
+ "retry_strategy",
1432
+ "if_match",
1433
+ "opc_request_id"
1434
+ ]
1435
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1436
+ if extra_kwargs:
1437
+ raise ValueError(
1438
+ f"update_internal_occm_demand_signal got unknown kwargs: {extra_kwargs!r}")
1439
+
1440
+ path_params = {
1441
+ "occmDemandSignalId": occm_demand_signal_id
1442
+ }
1443
+
1444
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1445
+
1446
+ for (k, v) in six.iteritems(path_params):
1447
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1448
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
1449
+
1450
+ header_params = {
1451
+ "accept": "application/json",
1452
+ "content-type": "application/json",
1453
+ "if-match": kwargs.get("if_match", missing),
1454
+ "opc-request-id": kwargs.get("opc_request_id", missing)
1455
+ }
1456
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1457
+
1458
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
1459
+ operation_retry_strategy=kwargs.get('retry_strategy'),
1460
+ client_retry_strategy=self.retry_strategy
1461
+ )
1462
+ if retry_strategy is None:
1463
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
1464
+
1465
+ if retry_strategy:
1466
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
1467
+ self.base_client.add_opc_client_retries_header(header_params)
1468
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
1469
+ return retry_strategy.make_retrying_call(
1470
+ self.base_client.call_api,
1471
+ resource_path=resource_path,
1472
+ method=method,
1473
+ path_params=path_params,
1474
+ header_params=header_params,
1475
+ body=update_internal_occm_demand_signal_details,
1476
+ response_type="InternalOccmDemandSignal",
1477
+ allow_control_chars=kwargs.get('allow_control_chars'),
1478
+ operation_name=operation_name,
1479
+ api_reference_link=api_reference_link,
1480
+ required_arguments=required_arguments)
1481
+ else:
1482
+ return self.base_client.call_api(
1483
+ resource_path=resource_path,
1484
+ method=method,
1485
+ path_params=path_params,
1486
+ header_params=header_params,
1487
+ body=update_internal_occm_demand_signal_details,
1488
+ response_type="InternalOccmDemandSignal",
1489
+ allow_control_chars=kwargs.get('allow_control_chars'),
1490
+ operation_name=operation_name,
1491
+ api_reference_link=api_reference_link,
1492
+ required_arguments=required_arguments)
1493
+
1494
+ def update_internal_occm_demand_signal_delivery(self, update_internal_occm_demand_signal_delivery_details, occm_demand_signal_delivery_id, **kwargs):
1495
+ """
1496
+ This is an internal PUT API which is used to update the demand signal delivery resource.
1497
+
1498
+
1499
+ :param oci.capacity_management.models.UpdateInternalOccmDemandSignalDeliveryDetails update_internal_occm_demand_signal_delivery_details: (required)
1500
+ The details about the request to update the specified demand signal delivery.
1501
+
1502
+ :param str occm_demand_signal_delivery_id: (required)
1503
+ The OCID of the demand signal delivery.
1504
+
1505
+ :param str opc_request_id: (optional)
1506
+ The client request ID for tracing. The only valid characters for request IDs are letters, numbers,
1507
+ underscore, and dash.
1508
+
1509
+ :param str if_match: (optional)
1510
+ For optimistic concurrency control. In the PUT or DELETE call
1511
+ for a resource, set the `if-match` parameter to the value of the
1512
+ etag from a previous GET or POST response for that resource.
1513
+ The resource will be updated or deleted only if the etag you
1514
+ provide matches the resource's current etag value.
1515
+
1516
+ :param obj retry_strategy: (optional)
1517
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1518
+
1519
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
1520
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
1521
+
1522
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1523
+
1524
+ :param bool allow_control_chars: (optional)
1525
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
1526
+ By default, the response will not allow control characters in strings
1527
+
1528
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.capacity_management.models.InternalOccmDemandSignalDelivery`
1529
+ :rtype: :class:`~oci.response.Response`
1530
+
1531
+ :example:
1532
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.153.0/capacitymanagement/update_internal_occm_demand_signal_delivery.py.html>`__ to see an example of how to use update_internal_occm_demand_signal_delivery API.
1533
+ """
1534
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1535
+ required_arguments = ['occmDemandSignalDeliveryId']
1536
+ resource_path = "/internal/occmDemandSignalDeliveries/{occmDemandSignalDeliveryId}"
1537
+ method = "PUT"
1538
+ operation_name = "update_internal_occm_demand_signal_delivery"
1539
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/occcm/20231107/InternalOccmDemandSignalDelivery/UpdateInternalOccmDemandSignalDelivery"
1540
+
1541
+ # Don't accept unknown kwargs
1542
+ expected_kwargs = [
1543
+ "allow_control_chars",
1544
+ "retry_strategy",
1545
+ "opc_request_id",
1546
+ "if_match"
1547
+ ]
1548
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1549
+ if extra_kwargs:
1550
+ raise ValueError(
1551
+ f"update_internal_occm_demand_signal_delivery got unknown kwargs: {extra_kwargs!r}")
1552
+
1553
+ path_params = {
1554
+ "occmDemandSignalDeliveryId": occm_demand_signal_delivery_id
1555
+ }
1556
+
1557
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1558
+
1559
+ for (k, v) in six.iteritems(path_params):
1560
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1561
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
1562
+
1563
+ header_params = {
1564
+ "accept": "application/json",
1565
+ "content-type": "application/json",
1566
+ "opc-request-id": kwargs.get("opc_request_id", missing),
1567
+ "if-match": kwargs.get("if_match", missing)
1568
+ }
1569
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1570
+
1571
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
1572
+ operation_retry_strategy=kwargs.get('retry_strategy'),
1573
+ client_retry_strategy=self.retry_strategy
1574
+ )
1575
+ if retry_strategy is None:
1576
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
1577
+
1578
+ if retry_strategy:
1579
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
1580
+ self.base_client.add_opc_client_retries_header(header_params)
1581
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
1582
+ return retry_strategy.make_retrying_call(
1583
+ self.base_client.call_api,
1584
+ resource_path=resource_path,
1585
+ method=method,
1586
+ path_params=path_params,
1587
+ header_params=header_params,
1588
+ body=update_internal_occm_demand_signal_delivery_details,
1589
+ response_type="InternalOccmDemandSignalDelivery",
1590
+ allow_control_chars=kwargs.get('allow_control_chars'),
1591
+ operation_name=operation_name,
1592
+ api_reference_link=api_reference_link,
1593
+ required_arguments=required_arguments)
1594
+ else:
1595
+ return self.base_client.call_api(
1596
+ resource_path=resource_path,
1597
+ method=method,
1598
+ path_params=path_params,
1599
+ header_params=header_params,
1600
+ body=update_internal_occm_demand_signal_delivery_details,
1601
+ response_type="InternalOccmDemandSignalDelivery",
1602
+ allow_control_chars=kwargs.get('allow_control_chars'),
1603
+ operation_name=operation_name,
1604
+ api_reference_link=api_reference_link,
1605
+ required_arguments=required_arguments)