oci 2.135.1__py3-none-any.whl → 2.136.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (523) hide show
  1. oci/access_governance_cp/access_governance_cp_client.py +8 -8
  2. oci/adm/application_dependency_management_client.py +36 -36
  3. oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
  4. oci/ai_document/ai_service_document_client.py +26 -26
  5. oci/ai_language/ai_service_language_client.py +44 -44
  6. oci/ai_speech/ai_service_speech_client.py +19 -19
  7. oci/ai_vision/ai_service_vision_client.py +25 -25
  8. oci/analytics/analytics_client.py +24 -24
  9. oci/announcements_service/announcement_client.py +5 -5
  10. oci/announcements_service/announcement_subscription_client.py +9 -9
  11. oci/announcements_service/announcements_preferences_client.py +4 -4
  12. oci/announcements_service/service_client.py +1 -1
  13. oci/apigateway/api_gateway_client.py +21 -21
  14. oci/apigateway/deployment_client.py +6 -6
  15. oci/apigateway/gateway_client.py +6 -6
  16. oci/apigateway/subscribers_client.py +6 -6
  17. oci/apigateway/usage_plans_client.py +6 -6
  18. oci/apigateway/work_requests_client.py +5 -5
  19. oci/apm_config/config_client.py +9 -9
  20. oci/apm_control_plane/apm_domain_client.py +14 -14
  21. oci/apm_synthetics/apm_synthetic_client.py +28 -28
  22. oci/apm_traces/attributes_client.py +8 -8
  23. oci/apm_traces/query_client.py +2 -2
  24. oci/apm_traces/trace_client.py +4 -4
  25. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  26. oci/artifacts/artifacts_client.py +32 -32
  27. oci/audit/audit_client.py +3 -3
  28. oci/autoscaling/auto_scaling_client.py +11 -11
  29. oci/bastion/bastion_client.py +15 -15
  30. oci/bds/bds_client.py +72 -72
  31. oci/blockchain/blockchain_platform_client.py +27 -27
  32. oci/budget/budget_client.py +10 -10
  33. oci/capacity_management/capacity_management_client.py +32 -32
  34. oci/certificates/certificates_client.py +5 -5
  35. oci/certificates_management/certificates_management_client.py +32 -32
  36. oci/cims/incident_client.py +8 -8
  37. oci/cloud_bridge/common_client.py +5 -5
  38. oci/cloud_bridge/discovery_client.py +14 -14
  39. oci/cloud_bridge/inventory_client.py +16 -16
  40. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  41. oci/cloud_guard/cloud_guard_client.py +155 -155
  42. oci/cloud_migrations/migration_client.py +43 -43
  43. oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
  44. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  45. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  46. oci/compute_instance_agent/plugin_client.py +2 -2
  47. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  48. oci/container_engine/container_engine_client.py +98 -94
  49. oci/container_engine/models/__init__.py +4 -0
  50. oci/container_engine/models/cluster.py +39 -4
  51. oci/container_engine/models/cluster_create_options.py +56 -2
  52. oci/container_engine/models/cluster_summary.py +6 -2
  53. oci/container_engine/models/node.py +6 -2
  54. oci/container_engine/models/node_pool.py +6 -2
  55. oci/container_engine/models/node_pool_summary.py +6 -2
  56. oci/container_engine/models/open_id_connect_discovery.py +72 -0
  57. oci/container_engine/models/open_id_connect_token_authentication_config.py +370 -0
  58. oci/container_engine/models/start_credential_rotation_details.py +2 -2
  59. oci/container_engine/models/update_cluster_options_details.py +56 -2
  60. oci/container_engine/models/work_request.py +7 -3
  61. oci/container_engine/models/work_request_summary.py +7 -3
  62. oci/container_engine/models/workload_mapping.py +35 -2
  63. oci/container_engine/models/workload_mapping_summary.py +35 -2
  64. oci/container_instances/container_instance_client.py +18 -18
  65. oci/core/blockstorage_client.py +60 -60
  66. oci/core/compute_client.py +102 -102
  67. oci/core/compute_management_client.py +32 -32
  68. oci/core/models/__init__.py +6 -0
  69. oci/core/models/block_volume_replica.py +43 -2
  70. oci/core/models/block_volume_replica_details.py +45 -2
  71. oci/core/models/block_volume_replica_info.py +43 -2
  72. oci/core/models/boot_volume_replica.py +43 -2
  73. oci/core/models/boot_volume_replica_details.py +45 -2
  74. oci/core/models/boot_volume_replica_info.py +43 -2
  75. oci/core/models/boot_volume_source_details.py +4 -0
  76. oci/core/models/boot_volume_source_from_boot_volume_backup_delta_details.py +143 -0
  77. oci/core/models/create_boot_volume_details.py +45 -2
  78. oci/core/models/create_volume_backup_policy_assignment_details.py +45 -2
  79. oci/core/models/create_volume_details.py +45 -2
  80. oci/core/models/create_volume_group_details.py +45 -2
  81. oci/core/models/instance_configuration_create_volume_details.py +45 -2
  82. oci/core/models/launch_attach_paravirtualized_volume_details.py +123 -0
  83. oci/core/models/launch_attach_volume_details.py +4 -0
  84. oci/core/models/volume_backup_policy_assignment.py +45 -2
  85. oci/core/models/volume_group_replica_details.py +45 -2
  86. oci/core/models/volume_group_replica_info.py +43 -2
  87. oci/core/models/volume_source_details.py +4 -0
  88. oci/core/models/volume_source_from_volume_backup_delta_details.py +143 -0
  89. oci/core/virtual_network_client.py +247 -247
  90. oci/dashboard_service/dashboard_client.py +6 -6
  91. oci/dashboard_service/dashboard_group_client.py +6 -6
  92. oci/data_catalog/data_catalog_client.py +149 -149
  93. oci/data_flow/data_flow_client.py +42 -42
  94. oci/data_integration/data_integration_client.py +163 -163
  95. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  96. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  97. oci/data_safe/data_safe_client.py +292 -292
  98. oci/data_science/data_science_client.py +91 -91
  99. oci/database/database_client.py +396 -396
  100. oci/database/models/cloud_vm_cluster.py +29 -2
  101. oci/database/models/cloud_vm_cluster_summary.py +29 -2
  102. oci/database/models/create_cloud_vm_cluster_details.py +29 -2
  103. oci/database/models/create_vm_cluster_details.py +29 -2
  104. oci/database/models/update_cloud_vm_cluster_details.py +29 -2
  105. oci/database/models/update_vm_cluster_details.py +29 -2
  106. oci/database/models/vm_cluster.py +29 -2
  107. oci/database/models/vm_cluster_summary.py +29 -2
  108. oci/database_management/db_management_client.py +211 -211
  109. oci/database_management/diagnosability_client.py +4 -4
  110. oci/database_management/managed_my_sql_databases_client.py +7 -7
  111. oci/database_management/perfhub_client.py +1 -1
  112. oci/database_management/sql_tuning_client.py +17 -17
  113. oci/database_migration/database_migration_client.py +42 -42
  114. oci/database_tools/database_tools_client.py +23 -23
  115. oci/delegate_access_control/delegate_access_control_client.py +26 -26
  116. oci/delegate_access_control/work_request_client.py +4 -4
  117. oci/demand_signal/occ_demand_signal_client.py +7 -7
  118. oci/desktops/desktop_service_client.py +33 -22
  119. oci/desktops/models/__init__.py +18 -0
  120. oci/desktops/models/create_desktop_pool_desktop_session_lifecycle_actions.py +95 -0
  121. oci/desktops/models/create_desktop_pool_details.py +136 -4
  122. oci/desktops/models/create_desktop_pool_private_access_details.py +142 -0
  123. oci/desktops/models/create_desktop_pool_shape_config_details.py +170 -0
  124. oci/desktops/models/desktop_image.py +33 -2
  125. oci/desktops/models/desktop_network_configuration.py +14 -4
  126. oci/desktops/models/desktop_pool.py +136 -4
  127. oci/desktops/models/desktop_pool_private_access_details.py +212 -0
  128. oci/desktops/models/desktop_pool_shape_config.py +170 -0
  129. oci/desktops/models/desktop_session_lifecycle_actions.py +95 -0
  130. oci/desktops/models/disconnect_config.py +121 -0
  131. oci/desktops/models/inactivity_config.py +121 -0
  132. oci/desktops/models/update_desktop_pool_desktop_session_lifecycle_actions.py +95 -0
  133. oci/desktops/models/update_desktop_pool_details.py +29 -2
  134. oci/devops/devops_client.py +141 -141
  135. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  136. oci/dns/dns_client.py +389 -54
  137. oci/dns/dns_client_composite_operations.py +886 -193
  138. oci/dns/models/__init__.py +13 -1
  139. oci/dns/models/create_zone_details.py +101 -2
  140. oci/dns/models/dnssec_config.py +105 -0
  141. oci/dns/models/dnssec_key_version_ds_data.py +121 -0
  142. oci/dns/models/ksk_dnssec_key_version.py +550 -0
  143. oci/dns/models/promote_zone_dnssec_key_version_details.py +72 -0
  144. oci/dns/models/stage_zone_dnssec_key_version_details.py +72 -0
  145. oci/dns/models/update_zone_details.py +99 -0
  146. oci/dns/models/zone.py +126 -0
  147. oci/dns/models/zone_summary.py +128 -2
  148. oci/dns/models/zsk_dnssec_key_version.py +517 -0
  149. oci/dts/appliance_export_job_client.py +6 -6
  150. oci/dts/shipping_vendors_client.py +1 -1
  151. oci/dts/transfer_appliance_client.py +8 -8
  152. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  153. oci/dts/transfer_device_client.py +5 -5
  154. oci/dts/transfer_job_client.py +6 -6
  155. oci/dts/transfer_package_client.py +7 -7
  156. oci/em_warehouse/em_warehouse_client.py +13 -13
  157. oci/email/email_client.py +31 -31
  158. oci/email_data_plane/email_dp_client.py +1 -1
  159. oci/events/events_client.py +6 -6
  160. oci/file_storage/file_storage_client.py +54 -54
  161. oci/fleet_apps_management/fleet_apps_management_admin_client.py +8 -8
  162. oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
  163. oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
  164. oci/fleet_apps_management/fleet_apps_management_operations_client.py +13 -13
  165. oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +4 -4
  166. oci/fleet_software_update/fleet_software_update_client.py +46 -46
  167. oci/functions/functions_invoke_client.py +1 -1
  168. oci/functions/functions_management_client.py +16 -16
  169. oci/fusion_apps/fusion_applications_client.py +42 -42
  170. oci/fusion_apps/models/create_fusion_environment_admin_user_details.py +1 -1
  171. oci/generative_ai/generative_ai_client.py +22 -22
  172. oci/generative_ai_agent/generative_ai_agent_client.py +33 -33
  173. oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +5 -5
  174. oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
  175. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  176. oci/globally_distributed_database/sharded_database_service_client.py +30 -30
  177. oci/golden_gate/golden_gate_client.py +211 -70
  178. oci/golden_gate/models/__init__.py +8 -0
  179. oci/golden_gate/models/create_database_registration_details.py +4 -4
  180. oci/golden_gate/models/create_deployment_details.py +47 -0
  181. oci/golden_gate/models/create_ogg_deployment_details.py +29 -2
  182. oci/golden_gate/models/create_oracle_connection_details.py +4 -4
  183. oci/golden_gate/models/deployment.py +102 -0
  184. oci/{database_migration/models/agent_collection.py → golden_gate/models/deployment_environment_collection.py} +15 -15
  185. oci/golden_gate/models/deployment_environment_summary.py +389 -0
  186. oci/golden_gate/models/deployment_summary.py +103 -1
  187. oci/golden_gate/models/deployment_type_summary.py +3 -0
  188. oci/golden_gate/models/group_to_roles_mapping_details.py +197 -0
  189. oci/golden_gate/models/ogg_deployment.py +29 -2
  190. oci/golden_gate/models/test_connection_assignment_result.py +34 -2
  191. oci/golden_gate/models/update_database_registration_details.py +4 -4
  192. oci/golden_gate/models/update_deployment_details.py +47 -0
  193. oci/golden_gate/models/update_group_to_roles_mapping_details.py +197 -0
  194. oci/golden_gate/models/update_ogg_deployment_details.py +29 -2
  195. oci/golden_gate/models/update_oracle_connection_details.py +4 -4
  196. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  197. oci/governance_rules_control_plane/work_request_client.py +5 -5
  198. oci/healthchecks/health_checks_client.py +17 -17
  199. oci/identity/identity_client.py +145 -145
  200. oci/identity_data_plane/dataplane_client.py +2 -2
  201. oci/identity_domains/identity_domains_client.py +307 -307
  202. oci/integration/integration_instance_client.py +19 -19
  203. oci/jms/java_management_service_client.py +75 -75
  204. oci/jms_java_downloads/java_download_client.py +25 -25
  205. oci/key_management/ekm_client.py +5 -5
  206. oci/key_management/kms_crypto_client.py +6 -6
  207. oci/key_management/kms_hsm_cluster_client.py +12 -12
  208. oci/key_management/kms_management_client.py +21 -21
  209. oci/key_management/kms_vault_client.py +14 -14
  210. oci/license_manager/license_manager_client.py +18 -18
  211. oci/limits/limits_client.py +4 -4
  212. oci/limits/quotas_client.py +7 -7
  213. oci/load_balancer/load_balancer_client.py +61 -61
  214. oci/load_balancer/models/connection_configuration.py +47 -2
  215. oci/lockbox/lockbox_client.py +24 -24
  216. oci/log_analytics/log_analytics_client.py +193 -193
  217. oci/logging/logging_management_client.py +30 -30
  218. oci/loggingingestion/logging_client.py +1 -1
  219. oci/loggingsearch/log_search_client.py +1 -1
  220. oci/management_agent/management_agent_client.py +28 -28
  221. oci/management_dashboard/dashx_apis_client.py +14 -14
  222. oci/marketplace/account_client.py +2 -2
  223. oci/marketplace/marketplace_client.py +30 -30
  224. oci/marketplace_private_offer/attachment_client.py +5 -5
  225. oci/marketplace_private_offer/offer_client.py +6 -6
  226. oci/marketplace_publisher/attachment_client.py +5 -5
  227. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  228. oci/marketplace_publisher/offer_client.py +6 -6
  229. oci/media_services/media_services_client.py +60 -60
  230. oci/media_services/media_stream_client.py +2 -2
  231. oci/monitoring/monitoring_client.py +18 -18
  232. oci/mysql/channels_client.py +7 -7
  233. oci/mysql/db_backups_client.py +7 -7
  234. oci/mysql/db_system_client.py +17 -17
  235. oci/mysql/mysqlaas_client.py +7 -7
  236. oci/mysql/replicas_client.py +5 -5
  237. oci/mysql/work_requests_client.py +4 -4
  238. oci/network_firewall/network_firewall_client.py +86 -86
  239. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  240. oci/nosql/nosql_client.py +24 -24
  241. oci/object_storage/object_storage_client.py +55 -55
  242. oci/oce/oce_instance_client.py +10 -10
  243. oci/oci_control_center/occ_metrics_client.py +3 -3
  244. oci/ocvp/cluster_client.py +5 -5
  245. oci/ocvp/esxi_host_client.py +8 -8
  246. oci/ocvp/sddc_client.py +14 -14
  247. oci/ocvp/work_request_client.py +4 -4
  248. oci/oda/management_client.py +59 -59
  249. oci/oda/oda_client.py +17 -17
  250. oci/oda/odapackage_client.py +7 -7
  251. oci/onesubscription/billing_schedule_client.py +1 -1
  252. oci/onesubscription/commitment_client.py +2 -2
  253. oci/onesubscription/computed_usage_client.py +3 -3
  254. oci/onesubscription/invoice_summary_client.py +2 -2
  255. oci/onesubscription/organization_subscription_client.py +1 -1
  256. oci/onesubscription/ratecard_client.py +1 -1
  257. oci/onesubscription/subscribed_service_client.py +2 -2
  258. oci/onesubscription/subscription_client.py +1 -1
  259. oci/ons/notification_control_plane_client.py +6 -6
  260. oci/ons/notification_data_plane_client.py +10 -10
  261. oci/opa/opa_instance_client.py +13 -13
  262. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  263. oci/opensearch/opensearch_cluster_client.py +14 -14
  264. oci/operator_access_control/access_requests_client.py +10 -10
  265. oci/operator_access_control/operator_actions_client.py +2 -2
  266. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  267. oci/operator_access_control/operator_control_client.py +6 -6
  268. oci/opsi/models/__init__.py +6 -0
  269. oci/opsi/models/create_autonomous_database_insight_details.py +291 -0
  270. oci/opsi/models/create_database_insight_details.py +4 -0
  271. oci/opsi/models/credential_by_iam.py +58 -0
  272. oci/opsi/models/credential_by_vault.py +1 -1
  273. oci/opsi/models/credential_details.py +13 -5
  274. oci/opsi/models/credentials_by_source.py +1 -1
  275. oci/opsi/models/enable_autonomous_database_insight_details.py +301 -0
  276. oci/opsi/models/enable_database_insight_details.py +4 -0
  277. oci/opsi/operations_insights_client.py +179 -179
  278. oci/optimizer/optimizer_client.py +26 -26
  279. oci/os_management/event_client.py +8 -8
  280. oci/os_management/os_management_client.py +69 -69
  281. oci/os_management_hub/event_client.py +8 -8
  282. oci/os_management_hub/lifecycle_environment_client.py +12 -12
  283. oci/os_management_hub/managed_instance_client.py +31 -31
  284. oci/os_management_hub/managed_instance_group_client.py +25 -25
  285. oci/os_management_hub/management_station_client.py +10 -10
  286. oci/os_management_hub/onboarding_client.py +6 -6
  287. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  288. oci/os_management_hub/scheduled_job_client.py +7 -7
  289. oci/os_management_hub/software_source_client.py +27 -27
  290. oci/os_management_hub/work_request_client.py +4 -4
  291. oci/osp_gateway/address_rule_service_client.py +1 -1
  292. oci/osp_gateway/address_service_client.py +2 -2
  293. oci/osp_gateway/invoice_service_client.py +5 -5
  294. oci/osp_gateway/subscription_service_client.py +5 -5
  295. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  296. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  297. oci/osub_subscription/commitment_client.py +2 -2
  298. oci/osub_subscription/ratecard_client.py +1 -1
  299. oci/osub_subscription/subscription_client.py +1 -1
  300. oci/osub_usage/computed_usage_client.py +3 -3
  301. oci/psql/postgresql_client.py +33 -33
  302. oci/queue/queue_admin_client.py +11 -11
  303. oci/queue/queue_client.py +8 -8
  304. oci/recovery/database_recovery_client.py +26 -26
  305. oci/redis/redis_cluster_client.py +12 -12
  306. oci/resource_manager/resource_manager_client.py +52 -52
  307. oci/resource_scheduler/schedule_client.py +13 -13
  308. oci/resource_search/resource_search_client.py +3 -3
  309. oci/rover/rover_bundle_client.py +8 -8
  310. oci/rover/rover_cluster_client.py +8 -8
  311. oci/rover/rover_entitlement_client.py +6 -6
  312. oci/rover/rover_node_client.py +15 -15
  313. oci/rover/shape_client.py +1 -1
  314. oci/rover/work_requests_client.py +5 -5
  315. oci/sch/connector_plugins_client.py +2 -2
  316. oci/sch/service_connector_client.py +12 -12
  317. oci/secrets/secrets_client.py +3 -3
  318. oci/security_attribute/security_attribute_client.py +36 -36
  319. oci/service_catalog/service_catalog_client.py +26 -26
  320. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  321. oci/service_mesh/service_mesh_client.py +48 -48
  322. oci/stack_monitoring/models/__init__.py +20 -0
  323. oci/stack_monitoring/models/create_maintenance_window_details.py +196 -0
  324. oci/stack_monitoring/models/create_maintenance_window_resource_details.py +111 -0
  325. oci/stack_monitoring/models/maintenance_window.py +439 -0
  326. oci/{database_migration/models/agent_image_collection.py → stack_monitoring/models/maintenance_window_collection.py} +15 -15
  327. oci/stack_monitoring/models/maintenance_window_schedule.py +109 -0
  328. oci/stack_monitoring/models/maintenance_window_summary.py +519 -0
  329. oci/stack_monitoring/models/monitored_resource_details.py +171 -0
  330. oci/stack_monitoring/models/one_time_maintenance_window_schedule.py +113 -0
  331. oci/stack_monitoring/models/recurrent_maintenance_window_schedule.py +191 -0
  332. oci/stack_monitoring/models/update_maintenance_window_details.py +130 -0
  333. oci/stack_monitoring/models/work_request.py +19 -3
  334. oci/stack_monitoring/models/work_request_summary.py +19 -3
  335. oci/stack_monitoring/stack_monitoring_client.py +921 -113
  336. oci/stack_monitoring/stack_monitoring_client_composite_operations.py +214 -0
  337. oci/streaming/stream_admin_client.py +18 -18
  338. oci/streaming/stream_client.py +8 -8
  339. oci/tenant_manager_control_plane/domain_client.py +5 -5
  340. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  341. oci/tenant_manager_control_plane/governance_client.py +2 -2
  342. oci/tenant_manager_control_plane/link_client.py +3 -3
  343. oci/tenant_manager_control_plane/orders_client.py +2 -2
  344. oci/tenant_manager_control_plane/organization_client.py +10 -10
  345. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  346. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  347. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  348. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  349. oci/threat_intelligence/threatintel_client.py +5 -5
  350. oci/usage/resources_client.py +2 -2
  351. oci/usage/rewards_client.py +6 -6
  352. oci/usage/usagelimits_client.py +1 -1
  353. oci/usage_api/usageapi_client.py +33 -33
  354. oci/util.py +2 -1
  355. oci/vault/vaults_client.py +13 -13
  356. oci/vbs_inst/vbs_instance_client.py +10 -10
  357. oci/version.py +1 -1
  358. oci/visual_builder/vb_instance_client.py +13 -13
  359. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  360. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  361. oci/waa/waa_client.py +13 -13
  362. oci/waa/work_request_client.py +4 -4
  363. oci/waas/redirect_client.py +6 -6
  364. oci/waas/waas_client.py +66 -66
  365. oci/waf/waf_client.py +24 -24
  366. oci/work_requests/work_request_client.py +4 -4
  367. oci/zpr/zpr_client.py +31 -32
  368. {oci-2.135.1.dist-info → oci-2.136.0.dist-info}/METADATA +2 -2
  369. {oci-2.135.1.dist-info → oci-2.136.0.dist-info}/RECORD +373 -488
  370. oci/ai_language/models/entity_document.py +0 -136
  371. oci/ai_language/models/key_phrase_document.py +0 -136
  372. oci/ai_language/models/pre_trained_phi_model_details.py +0 -91
  373. oci/ai_language/models/sentiments_document.py +0 -136
  374. oci/ai_language/models/text_classification_document.py +0 -136
  375. oci/capacity_management/models/occ_capacity_request_compute_details.py +0 -148
  376. oci/cims/user_client.py +0 -207
  377. oci/cims/user_client_composite_operations.py +0 -26
  378. oci/compute_instance_agent/models/instance_agent_command_content_info.py +0 -252
  379. oci/data_integration/models/connection_from_lakehouse.py +0 -140
  380. oci/data_integration/models/connection_from_lakehouse_details.py +0 -133
  381. oci/data_integration/models/connection_summary_from_lakehouse.py +0 -140
  382. oci/data_integration/models/create_connection_from_lakehouse.py +0 -112
  383. oci/data_integration/models/create_data_asset_from_lakehouse.py +0 -232
  384. oci/data_integration/models/data_asset_from_lakehouse_details.py +0 -260
  385. oci/data_integration/models/data_asset_summary_from_lakehouse.py +0 -253
  386. oci/data_integration/models/update_connection_from_lakehouse.py +0 -119
  387. oci/data_integration/models/update_data_asset_from_lakehouse.py +0 -239
  388. oci/database_migration/models/advisor_settings.py +0 -103
  389. oci/database_migration/models/agent.py +0 -486
  390. oci/database_migration/models/agent_image_summary.py +0 -103
  391. oci/database_migration/models/agent_summary.py +0 -455
  392. oci/database_migration/models/aws_s3_data_transfer_medium_details.py +0 -211
  393. oci/database_migration/models/aws_s3_details.py +0 -108
  394. oci/database_migration/models/change_agent_compartment_details.py +0 -72
  395. oci/database_migration/models/connect_descriptor.py +0 -165
  396. oci/database_migration/models/create_advisor_settings.py +0 -103
  397. oci/database_migration/models/create_agent_details.py +0 -260
  398. oci/database_migration/models/create_aws_s3_details.py +0 -174
  399. oci/database_migration/models/create_connect_descriptor.py +0 -174
  400. oci/database_migration/models/create_data_pump_settings.py +0 -251
  401. oci/database_migration/models/create_data_transfer_medium_details.py +0 -124
  402. oci/database_migration/models/create_database_link_details.py +0 -99
  403. oci/database_migration/models/create_dump_transfer_details.py +0 -126
  404. oci/database_migration/models/create_golden_gate_details.py +0 -95
  405. oci/database_migration/models/create_golden_gate_hub.py +0 -275
  406. oci/database_migration/models/create_golden_gate_service_details.py +0 -149
  407. oci/database_migration/models/create_golden_gate_settings.py +0 -126
  408. oci/database_migration/models/create_private_endpoint.py +0 -151
  409. oci/database_migration/models/create_ssh_details.py +0 -166
  410. oci/database_migration/models/create_vault_details.py +0 -134
  411. oci/database_migration/models/data_pump_settings.py +0 -251
  412. oci/database_migration/models/data_transfer_medium_details.py +0 -122
  413. oci/database_migration/models/data_transfer_medium_details_v2.py +0 -125
  414. oci/database_migration/models/database_credentials.py +0 -103
  415. oci/database_migration/models/database_link_details.py +0 -99
  416. oci/database_migration/models/database_object.py +0 -167
  417. oci/database_migration/models/db_link_data_transfer_medium_details.py +0 -109
  418. oci/database_migration/models/dump_transfer_details.py +0 -126
  419. oci/database_migration/models/generate_token.py +0 -70
  420. oci/database_migration/models/golden_gate_details.py +0 -95
  421. oci/database_migration/models/golden_gate_hub.py +0 -275
  422. oci/database_migration/models/golden_gate_service_details.py +0 -95
  423. oci/database_migration/models/golden_gate_settings.py +0 -126
  424. oci/database_migration/models/migration_object_summary.py +0 -214
  425. oci/database_migration/models/nfs_data_transfer_medium_details.py +0 -78
  426. oci/database_migration/models/object_storage_data_transfer_medium_details.py +0 -78
  427. oci/database_migration/models/par_link.py +0 -70
  428. oci/database_migration/models/private_endpoint_details.py +0 -185
  429. oci/database_migration/models/ssh_details.py +0 -134
  430. oci/database_migration/models/update_advisor_settings.py +0 -103
  431. oci/database_migration/models/update_agent_details.py +0 -231
  432. oci/database_migration/models/update_aws_s3_details.py +0 -174
  433. oci/database_migration/models/update_connect_descriptor.py +0 -173
  434. oci/database_migration/models/update_data_pump_settings.py +0 -253
  435. oci/database_migration/models/update_data_transfer_medium_details.py +0 -125
  436. oci/database_migration/models/update_database_link_details.py +0 -99
  437. oci/database_migration/models/update_dump_transfer_details.py +0 -126
  438. oci/database_migration/models/update_golden_gate_details.py +0 -95
  439. oci/database_migration/models/update_golden_gate_hub.py +0 -275
  440. oci/database_migration/models/update_golden_gate_service_details.py +0 -149
  441. oci/database_migration/models/update_golden_gate_settings.py +0 -127
  442. oci/database_migration/models/update_private_endpoint.py +0 -151
  443. oci/database_migration/models/update_ssh_details.py +0 -165
  444. oci/database_migration/models/update_vault_details.py +0 -134
  445. oci/database_migration/models/vault_details.py +0 -134
  446. oci/database_tools/models/database_tools_allowed_network_sources.py +0 -107
  447. oci/database_tools/models/database_tools_virtual_source.py +0 -107
  448. oci/devops/models/run_pipeline_deploy_stage_execution_progress.py +0 -98
  449. oci/devops/models/run_validation_test_on_compute_instance_deploy_stage_execution_progress.py +0 -98
  450. oci/em_warehouse/em_data_lake_client.py +0 -1610
  451. oci/em_warehouse/em_data_lake_client_composite_operations.py +0 -190
  452. oci/fusion_apps/data_masking_activity_client.py +0 -456
  453. oci/fusion_apps/data_masking_activity_client_composite_operations.py +0 -65
  454. oci/fusion_apps/fusion_environment_client.py +0 -1772
  455. oci/fusion_apps/fusion_environment_client_composite_operations.py +0 -324
  456. oci/fusion_apps/fusion_environment_family_client.py +0 -943
  457. oci/fusion_apps/fusion_environment_family_client_composite_operations.py +0 -190
  458. oci/fusion_apps/models/attach_existing_instance_details.py +0 -194
  459. oci/fusion_apps/models/create_new_instance_details.py +0 -142
  460. oci/fusion_apps/models/create_oax_service_instance_details.py +0 -152
  461. oci/fusion_apps/models/create_oic_service_instance_details.py +0 -142
  462. oci/fusion_apps/models/create_service_instance_details.py +0 -170
  463. oci/fusion_apps/models/faw_admin_info_details.py +0 -132
  464. oci/fusion_apps/refresh_activity_client.py +0 -607
  465. oci/fusion_apps/refresh_activity_client_composite_operations.py +0 -65
  466. oci/fusion_apps/scheduled_activity_client.py +0 -380
  467. oci/fusion_apps/scheduled_activity_client_composite_operations.py +0 -24
  468. oci/fusion_apps/service_attachment_client.py +0 -370
  469. oci/fusion_apps/service_attachment_client_composite_operations.py +0 -24
  470. oci/jms/models/request_summarized_application_usage_details.py +0 -504
  471. oci/jms/models/request_summarized_installation_usage_details.py +0 -448
  472. oci/jms/models/request_summarized_jre_usage_details.py +0 -421
  473. oci/jms/models/request_summarized_managed_instance_usage_details.py +0 -480
  474. oci/log_analytics/models/agent_upload.py +0 -70
  475. oci/log_analytics/models/attribute.py +0 -602
  476. oci/log_analytics/models/create_namespace_details.py +0 -70
  477. oci/log_analytics/models/field_map.py +0 -101
  478. oci/log_analytics/models/generate_agent_object_name_details.py +0 -163
  479. oci/log_analytics/models/log_analytics.py +0 -370
  480. oci/log_analytics/models/log_analytics_collection_warning.py +0 -70
  481. oci/log_analytics/models/log_analytics_summary.py +0 -304
  482. oci/log_analytics/models/out_of_box_entity_type_details.py +0 -211
  483. oci/log_analytics/models/query.py +0 -70
  484. oci/log_analytics/models/query_work_request_resource.py +0 -70
  485. oci/log_analytics/models/register_entity_types_details.py +0 -70
  486. oci/log_analytics/models/service_tenancy.py +0 -70
  487. oci/log_analytics/models/string_list_details.py +0 -70
  488. oci/logging/models/log_included_search.py +0 -307
  489. oci/logging/models/log_included_search_summary.py +0 -165
  490. oci/logging/models/log_included_search_summary_collection.py +0 -70
  491. oci/media_services/models/media_workflow_job_fact.py +0 -198
  492. oci/media_services/models/media_workflow_job_fact_collection.py +0 -72
  493. oci/media_services/models/media_workflow_job_fact_summary.py +0 -165
  494. oci/mysql/models/add_analytics_cluster_details.py +0 -108
  495. oci/mysql/models/analytics_cluster.py +0 -338
  496. oci/mysql/models/analytics_cluster_memory_estimate.py +0 -241
  497. oci/mysql/models/analytics_cluster_node.py +0 -210
  498. oci/mysql/models/analytics_cluster_schema_memory_estimate.py +0 -107
  499. oci/mysql/models/analytics_cluster_summary.py +0 -209
  500. oci/mysql/models/analytics_cluster_table_memory_estimate.py +0 -239
  501. oci/mysql/models/update_analytics_cluster_details.py +0 -120
  502. oci/network_firewall/models/tcp_application.py +0 -112
  503. oci/network_firewall/models/udp_application.py +0 -112
  504. oci/oce/models/delete_oce_instance_details.py +0 -70
  505. oci/ocvp/models/datastore_summary.py +0 -154
  506. oci/ocvp/models/supported_sku_summary.py +0 -96
  507. oci/ocvp/models/supported_sku_summary_collection.py +0 -72
  508. oci/os_management/models/errata_id.py +0 -101
  509. oci/os_management/models/managed_instance_update_details.py +0 -101
  510. oci/os_management/models/updatable_package_summary.py +0 -287
  511. oci/osp_gateway/models/billing_address.py +0 -382
  512. oci/service_mesh/models/create_ingress_gateway_mutual_transport_layer_security_details.py +0 -76
  513. oci/service_mesh/models/create_mutual_transport_layer_security_details.py +0 -111
  514. oci/usage_api/models/create_schedule_report_details.py +0 -128
  515. oci/usage_api/models/saved_schedule_report.py +0 -145
  516. oci/usage_api/models/schedule_report.py +0 -159
  517. oci/usage_api/models/schedule_report_collection.py +0 -70
  518. oci/usage_api/models/schedule_report_summary.py +0 -97
  519. oci/usage_api/models/update_schedule_report_details.py +0 -66
  520. {oci-2.135.1.dist-info → oci-2.136.0.dist-info}/LICENSE.txt +0 -0
  521. {oci-2.135.1.dist-info → oci-2.136.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  522. {oci-2.135.1.dist-info → oci-2.136.0.dist-info}/WHEEL +0 -0
  523. {oci-2.135.1.dist-info → oci-2.136.0.dist-info}/top_level.txt +0 -0
@@ -160,7 +160,7 @@ class StackMonitoringClient(object):
160
160
  :rtype: :class:`~oci.response.Response`
161
161
 
162
162
  :example:
163
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/associate_monitored_resources.py.html>`__ to see an example of how to use associate_monitored_resources API.
163
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/associate_monitored_resources.py.html>`__ to see an example of how to use associate_monitored_resources API.
164
164
  """
165
165
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
166
166
  required_arguments = []
@@ -279,7 +279,7 @@ class StackMonitoringClient(object):
279
279
  :rtype: :class:`~oci.response.Response`
280
280
 
281
281
  :example:
282
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/change_config_compartment.py.html>`__ to see an example of how to use change_config_compartment API.
282
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/change_config_compartment.py.html>`__ to see an example of how to use change_config_compartment API.
283
283
  """
284
284
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
285
285
  required_arguments = ['configId']
@@ -403,7 +403,7 @@ class StackMonitoringClient(object):
403
403
  :rtype: :class:`~oci.response.Response`
404
404
 
405
405
  :example:
406
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/change_metric_extension_compartment.py.html>`__ to see an example of how to use change_metric_extension_compartment API.
406
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/change_metric_extension_compartment.py.html>`__ to see an example of how to use change_metric_extension_compartment API.
407
407
  """
408
408
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
409
409
  required_arguments = ['metricExtensionId']
@@ -525,7 +525,7 @@ class StackMonitoringClient(object):
525
525
  :rtype: :class:`~oci.response.Response`
526
526
 
527
527
  :example:
528
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/change_monitored_resource_compartment.py.html>`__ to see an example of how to use change_monitored_resource_compartment API.
528
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/change_monitored_resource_compartment.py.html>`__ to see an example of how to use change_monitored_resource_compartment API.
529
529
  """
530
530
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
531
531
  required_arguments = ['monitoredResourceId']
@@ -646,7 +646,7 @@ class StackMonitoringClient(object):
646
646
  :rtype: :class:`~oci.response.Response`
647
647
 
648
648
  :example:
649
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/change_monitored_resource_task_compartment.py.html>`__ to see an example of how to use change_monitored_resource_task_compartment API.
649
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/change_monitored_resource_task_compartment.py.html>`__ to see an example of how to use change_monitored_resource_task_compartment API.
650
650
  """
651
651
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
652
652
  required_arguments = ['monitoredResourceTaskId']
@@ -767,7 +767,7 @@ class StackMonitoringClient(object):
767
767
  :rtype: :class:`~oci.response.Response`
768
768
 
769
769
  :example:
770
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/change_process_set_compartment.py.html>`__ to see an example of how to use change_process_set_compartment API.
770
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/change_process_set_compartment.py.html>`__ to see an example of how to use change_process_set_compartment API.
771
771
  """
772
772
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
773
773
  required_arguments = ['processSetId']
@@ -878,7 +878,7 @@ class StackMonitoringClient(object):
878
878
  :rtype: :class:`~oci.response.Response`
879
879
 
880
880
  :example:
881
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/create_baselineable_metric.py.html>`__ to see an example of how to use create_baselineable_metric API.
881
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/create_baselineable_metric.py.html>`__ to see an example of how to use create_baselineable_metric API.
882
882
  """
883
883
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
884
884
  required_arguments = []
@@ -983,7 +983,7 @@ class StackMonitoringClient(object):
983
983
  :rtype: :class:`~oci.response.Response`
984
984
 
985
985
  :example:
986
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/create_config.py.html>`__ to see an example of how to use create_config API.
986
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/create_config.py.html>`__ to see an example of how to use create_config API.
987
987
  """
988
988
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
989
989
  required_arguments = []
@@ -1082,7 +1082,7 @@ class StackMonitoringClient(object):
1082
1082
  :rtype: :class:`~oci.response.Response`
1083
1083
 
1084
1084
  :example:
1085
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/create_discovery_job.py.html>`__ to see an example of how to use create_discovery_job API.
1085
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/create_discovery_job.py.html>`__ to see an example of how to use create_discovery_job API.
1086
1086
  """
1087
1087
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1088
1088
  required_arguments = []
@@ -1144,6 +1144,106 @@ class StackMonitoringClient(object):
1144
1144
  api_reference_link=api_reference_link,
1145
1145
  required_arguments=required_arguments)
1146
1146
 
1147
+ def create_maintenance_window(self, create_maintenance_window_details, **kwargs):
1148
+ """
1149
+ Creates a new Maintenance Window for the given resources. It will create also the
1150
+ Alarms Suppression for each alarm that the resource migth trigger.
1151
+
1152
+
1153
+ :param oci.stack_monitoring.models.CreateMaintenanceWindowDetails create_maintenance_window_details: (required)
1154
+ Details to create the Maintenance Window
1155
+
1156
+ :param str opc_retry_token: (optional)
1157
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
1158
+ server error without risk of executing that same action again. Retry tokens expire after 24
1159
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
1160
+ has been deleted and purged from the system, then a retry of the original creation request
1161
+ might be rejected.
1162
+
1163
+ :param str opc_request_id: (optional)
1164
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
1165
+ particular request, please provide the request ID.
1166
+
1167
+ :param obj retry_strategy: (optional)
1168
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1169
+
1170
+ 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.
1171
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
1172
+
1173
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1174
+
1175
+ :param bool allow_control_chars: (optional)
1176
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
1177
+ By default, the response will not allow control characters in strings
1178
+
1179
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.stack_monitoring.models.MaintenanceWindow`
1180
+ :rtype: :class:`~oci.response.Response`
1181
+
1182
+ :example:
1183
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/create_maintenance_window.py.html>`__ to see an example of how to use create_maintenance_window API.
1184
+ """
1185
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1186
+ required_arguments = []
1187
+ resource_path = "/maintenanceWindows"
1188
+ method = "POST"
1189
+ operation_name = "create_maintenance_window"
1190
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MaintenanceWindow/CreateMaintenanceWindow"
1191
+
1192
+ # Don't accept unknown kwargs
1193
+ expected_kwargs = [
1194
+ "allow_control_chars",
1195
+ "retry_strategy",
1196
+ "opc_retry_token",
1197
+ "opc_request_id"
1198
+ ]
1199
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1200
+ if extra_kwargs:
1201
+ raise ValueError(
1202
+ f"create_maintenance_window got unknown kwargs: {extra_kwargs!r}")
1203
+
1204
+ header_params = {
1205
+ "accept": "application/json",
1206
+ "content-type": "application/json",
1207
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
1208
+ "opc-request-id": kwargs.get("opc_request_id", missing)
1209
+ }
1210
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1211
+
1212
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
1213
+ operation_retry_strategy=kwargs.get('retry_strategy'),
1214
+ client_retry_strategy=self.retry_strategy
1215
+ )
1216
+ if retry_strategy is None:
1217
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
1218
+
1219
+ if retry_strategy:
1220
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
1221
+ self.base_client.add_opc_retry_token_if_needed(header_params)
1222
+ self.base_client.add_opc_client_retries_header(header_params)
1223
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
1224
+ return retry_strategy.make_retrying_call(
1225
+ self.base_client.call_api,
1226
+ resource_path=resource_path,
1227
+ method=method,
1228
+ header_params=header_params,
1229
+ body=create_maintenance_window_details,
1230
+ response_type="MaintenanceWindow",
1231
+ allow_control_chars=kwargs.get('allow_control_chars'),
1232
+ operation_name=operation_name,
1233
+ api_reference_link=api_reference_link,
1234
+ required_arguments=required_arguments)
1235
+ else:
1236
+ return self.base_client.call_api(
1237
+ resource_path=resource_path,
1238
+ method=method,
1239
+ header_params=header_params,
1240
+ body=create_maintenance_window_details,
1241
+ response_type="MaintenanceWindow",
1242
+ allow_control_chars=kwargs.get('allow_control_chars'),
1243
+ operation_name=operation_name,
1244
+ api_reference_link=api_reference_link,
1245
+ required_arguments=required_arguments)
1246
+
1147
1247
  def create_metric_extension(self, create_metric_extension_details, **kwargs):
1148
1248
  """
1149
1249
  Creates a new metric extension resource for a given compartment
@@ -1179,7 +1279,7 @@ class StackMonitoringClient(object):
1179
1279
  :rtype: :class:`~oci.response.Response`
1180
1280
 
1181
1281
  :example:
1182
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/create_metric_extension.py.html>`__ to see an example of how to use create_metric_extension API.
1282
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/create_metric_extension.py.html>`__ to see an example of how to use create_metric_extension API.
1183
1283
  """
1184
1284
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1185
1285
  required_arguments = []
@@ -1284,7 +1384,7 @@ class StackMonitoringClient(object):
1284
1384
  :rtype: :class:`~oci.response.Response`
1285
1385
 
1286
1386
  :example:
1287
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/create_monitored_resource.py.html>`__ to see an example of how to use create_monitored_resource API.
1387
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/create_monitored_resource.py.html>`__ to see an example of how to use create_monitored_resource API.
1288
1388
  """
1289
1389
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1290
1390
  required_arguments = []
@@ -1383,7 +1483,7 @@ class StackMonitoringClient(object):
1383
1483
  :rtype: :class:`~oci.response.Response`
1384
1484
 
1385
1485
  :example:
1386
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/create_monitored_resource_task.py.html>`__ to see an example of how to use create_monitored_resource_task API.
1486
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/create_monitored_resource_task.py.html>`__ to see an example of how to use create_monitored_resource_task API.
1387
1487
  """
1388
1488
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1389
1489
  required_arguments = []
@@ -1482,7 +1582,7 @@ class StackMonitoringClient(object):
1482
1582
  :rtype: :class:`~oci.response.Response`
1483
1583
 
1484
1584
  :example:
1485
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/create_monitored_resource_type.py.html>`__ to see an example of how to use create_monitored_resource_type API.
1585
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/create_monitored_resource_type.py.html>`__ to see an example of how to use create_monitored_resource_type API.
1486
1586
  """
1487
1587
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1488
1588
  required_arguments = []
@@ -1581,7 +1681,7 @@ class StackMonitoringClient(object):
1581
1681
  :rtype: :class:`~oci.response.Response`
1582
1682
 
1583
1683
  :example:
1584
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/create_process_set.py.html>`__ to see an example of how to use create_process_set API.
1684
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/create_process_set.py.html>`__ to see an example of how to use create_process_set API.
1585
1685
  """
1586
1686
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1587
1687
  required_arguments = []
@@ -1680,7 +1780,7 @@ class StackMonitoringClient(object):
1680
1780
  :rtype: :class:`~oci.response.Response`
1681
1781
 
1682
1782
  :example:
1683
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/delete_baselineable_metric.py.html>`__ to see an example of how to use delete_baselineable_metric API.
1783
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/delete_baselineable_metric.py.html>`__ to see an example of how to use delete_baselineable_metric API.
1684
1784
  """
1685
1785
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1686
1786
  required_arguments = ['baselineableMetricId']
@@ -1786,7 +1886,7 @@ class StackMonitoringClient(object):
1786
1886
  :rtype: :class:`~oci.response.Response`
1787
1887
 
1788
1888
  :example:
1789
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/delete_config.py.html>`__ to see an example of how to use delete_config API.
1889
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/delete_config.py.html>`__ to see an example of how to use delete_config API.
1790
1890
  """
1791
1891
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1792
1892
  required_arguments = ['configId']
@@ -1892,7 +1992,7 @@ class StackMonitoringClient(object):
1892
1992
  :rtype: :class:`~oci.response.Response`
1893
1993
 
1894
1994
  :example:
1895
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/delete_discovery_job.py.html>`__ to see an example of how to use delete_discovery_job API.
1995
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/delete_discovery_job.py.html>`__ to see an example of how to use delete_discovery_job API.
1896
1996
  """
1897
1997
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1898
1998
  required_arguments = ['discoveryJobId']
@@ -1963,6 +2063,112 @@ class StackMonitoringClient(object):
1963
2063
  api_reference_link=api_reference_link,
1964
2064
  required_arguments=required_arguments)
1965
2065
 
2066
+ def delete_maintenance_window(self, maintenance_window_id, **kwargs):
2067
+ """
2068
+ Deletes a maintenance window by identifier
2069
+
2070
+
2071
+ :param str maintenance_window_id: (required)
2072
+ The `OCID`__ of maintenance window.
2073
+
2074
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
2075
+
2076
+ :param str if_match: (optional)
2077
+ For optimistic concurrency control. In the PUT or DELETE call
2078
+ for a resource, set the `if-match` parameter to the value of the
2079
+ etag from a previous GET or POST response for that resource.
2080
+ The resource will be updated or deleted only if the etag you
2081
+ provide matches the resource's current etag value.
2082
+
2083
+ :param str opc_request_id: (optional)
2084
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
2085
+ particular request, please provide the request ID.
2086
+
2087
+ :param obj retry_strategy: (optional)
2088
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
2089
+
2090
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
2091
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
2092
+
2093
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
2094
+
2095
+ :param bool allow_control_chars: (optional)
2096
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
2097
+ By default, the response will not allow control characters in strings
2098
+
2099
+ :return: A :class:`~oci.response.Response` object with data of type None
2100
+ :rtype: :class:`~oci.response.Response`
2101
+
2102
+ :example:
2103
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/delete_maintenance_window.py.html>`__ to see an example of how to use delete_maintenance_window API.
2104
+ """
2105
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2106
+ required_arguments = ['maintenanceWindowId']
2107
+ resource_path = "/maintenanceWindows/{maintenanceWindowId}"
2108
+ method = "DELETE"
2109
+ operation_name = "delete_maintenance_window"
2110
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MaintenanceWindow/DeleteMaintenanceWindow"
2111
+
2112
+ # Don't accept unknown kwargs
2113
+ expected_kwargs = [
2114
+ "allow_control_chars",
2115
+ "retry_strategy",
2116
+ "if_match",
2117
+ "opc_request_id"
2118
+ ]
2119
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
2120
+ if extra_kwargs:
2121
+ raise ValueError(
2122
+ f"delete_maintenance_window got unknown kwargs: {extra_kwargs!r}")
2123
+
2124
+ path_params = {
2125
+ "maintenanceWindowId": maintenance_window_id
2126
+ }
2127
+
2128
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
2129
+
2130
+ for (k, v) in six.iteritems(path_params):
2131
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
2132
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
2133
+
2134
+ header_params = {
2135
+ "accept": "application/json",
2136
+ "content-type": "application/json",
2137
+ "if-match": kwargs.get("if_match", missing),
2138
+ "opc-request-id": kwargs.get("opc_request_id", missing)
2139
+ }
2140
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
2141
+
2142
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
2143
+ operation_retry_strategy=kwargs.get('retry_strategy'),
2144
+ client_retry_strategy=self.retry_strategy
2145
+ )
2146
+
2147
+ if retry_strategy:
2148
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
2149
+ self.base_client.add_opc_client_retries_header(header_params)
2150
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
2151
+ return retry_strategy.make_retrying_call(
2152
+ self.base_client.call_api,
2153
+ resource_path=resource_path,
2154
+ method=method,
2155
+ path_params=path_params,
2156
+ header_params=header_params,
2157
+ allow_control_chars=kwargs.get('allow_control_chars'),
2158
+ operation_name=operation_name,
2159
+ api_reference_link=api_reference_link,
2160
+ required_arguments=required_arguments)
2161
+ else:
2162
+ return self.base_client.call_api(
2163
+ resource_path=resource_path,
2164
+ method=method,
2165
+ path_params=path_params,
2166
+ header_params=header_params,
2167
+ allow_control_chars=kwargs.get('allow_control_chars'),
2168
+ operation_name=operation_name,
2169
+ api_reference_link=api_reference_link,
2170
+ required_arguments=required_arguments)
2171
+
1966
2172
  def delete_metric_extension(self, metric_extension_id, **kwargs):
1967
2173
  """
1968
2174
  Deletes a metric extension by identifier
@@ -2000,7 +2206,7 @@ class StackMonitoringClient(object):
2000
2206
  :rtype: :class:`~oci.response.Response`
2001
2207
 
2002
2208
  :example:
2003
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/delete_metric_extension.py.html>`__ to see an example of how to use delete_metric_extension API.
2209
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/delete_metric_extension.py.html>`__ to see an example of how to use delete_metric_extension API.
2004
2210
  """
2005
2211
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2006
2212
  required_arguments = ['metricExtensionId']
@@ -2115,7 +2321,7 @@ class StackMonitoringClient(object):
2115
2321
  :rtype: :class:`~oci.response.Response`
2116
2322
 
2117
2323
  :example:
2118
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/delete_monitored_resource.py.html>`__ to see an example of how to use delete_monitored_resource API.
2324
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/delete_monitored_resource.py.html>`__ to see an example of how to use delete_monitored_resource API.
2119
2325
  """
2120
2326
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2121
2327
  required_arguments = ['monitoredResourceId']
@@ -2231,7 +2437,7 @@ class StackMonitoringClient(object):
2231
2437
  :rtype: :class:`~oci.response.Response`
2232
2438
 
2233
2439
  :example:
2234
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/delete_monitored_resource_type.py.html>`__ to see an example of how to use delete_monitored_resource_type API.
2440
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/delete_monitored_resource_type.py.html>`__ to see an example of how to use delete_monitored_resource_type API.
2235
2441
  """
2236
2442
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2237
2443
  required_arguments = ['monitoredResourceTypeId']
@@ -2335,7 +2541,7 @@ class StackMonitoringClient(object):
2335
2541
  :rtype: :class:`~oci.response.Response`
2336
2542
 
2337
2543
  :example:
2338
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/delete_process_set.py.html>`__ to see an example of how to use delete_process_set API.
2544
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/delete_process_set.py.html>`__ to see an example of how to use delete_process_set API.
2339
2545
  """
2340
2546
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2341
2547
  required_arguments = ['processSetId']
@@ -2451,7 +2657,7 @@ class StackMonitoringClient(object):
2451
2657
  :rtype: :class:`~oci.response.Response`
2452
2658
 
2453
2659
  :example:
2454
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/disable_external_database.py.html>`__ to see an example of how to use disable_external_database API.
2660
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/disable_external_database.py.html>`__ to see an example of how to use disable_external_database API.
2455
2661
  """
2456
2662
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2457
2663
  required_arguments = ['monitoredResourceId']
@@ -2570,7 +2776,7 @@ class StackMonitoringClient(object):
2570
2776
  :rtype: :class:`~oci.response.Response`
2571
2777
 
2572
2778
  :example:
2573
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/disable_metric_extension.py.html>`__ to see an example of how to use disable_metric_extension API.
2779
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/disable_metric_extension.py.html>`__ to see an example of how to use disable_metric_extension API.
2574
2780
  """
2575
2781
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2576
2782
  required_arguments = ['metricExtensionId']
@@ -2686,7 +2892,7 @@ class StackMonitoringClient(object):
2686
2892
  :rtype: :class:`~oci.response.Response`
2687
2893
 
2688
2894
  :example:
2689
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/disassociate_monitored_resources.py.html>`__ to see an example of how to use disassociate_monitored_resources API.
2895
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/disassociate_monitored_resources.py.html>`__ to see an example of how to use disassociate_monitored_resources API.
2690
2896
  """
2691
2897
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2692
2898
  required_arguments = []
@@ -2795,7 +3001,7 @@ class StackMonitoringClient(object):
2795
3001
  :rtype: :class:`~oci.response.Response`
2796
3002
 
2797
3003
  :example:
2798
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/enable_metric_extension.py.html>`__ to see an example of how to use enable_metric_extension API.
3004
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/enable_metric_extension.py.html>`__ to see an example of how to use enable_metric_extension API.
2799
3005
  """
2800
3006
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2801
3007
  required_arguments = ['metricExtensionId']
@@ -2914,7 +3120,7 @@ class StackMonitoringClient(object):
2914
3120
  :rtype: :class:`~oci.response.Response`
2915
3121
 
2916
3122
  :example:
2917
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/evaluate_baselineable_metric.py.html>`__ to see an example of how to use evaluate_baselineable_metric API.
3123
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/evaluate_baselineable_metric.py.html>`__ to see an example of how to use evaluate_baselineable_metric API.
2918
3124
  """
2919
3125
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2920
3126
  required_arguments = ['baselineableMetricId']
@@ -3037,7 +3243,7 @@ class StackMonitoringClient(object):
3037
3243
  :rtype: :class:`~oci.response.Response`
3038
3244
 
3039
3245
  :example:
3040
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/export_metric_extension.py.html>`__ to see an example of how to use export_metric_extension API.
3246
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/export_metric_extension.py.html>`__ to see an example of how to use export_metric_extension API.
3041
3247
  """
3042
3248
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3043
3249
  required_arguments = ['metricExtensionId']
@@ -3141,7 +3347,7 @@ class StackMonitoringClient(object):
3141
3347
  :rtype: :class:`~oci.response.Response`
3142
3348
 
3143
3349
  :example:
3144
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/get_baselineable_metric.py.html>`__ to see an example of how to use get_baselineable_metric API.
3350
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/get_baselineable_metric.py.html>`__ to see an example of how to use get_baselineable_metric API.
3145
3351
  """
3146
3352
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3147
3353
  required_arguments = ['baselineableMetricId']
@@ -3240,7 +3446,7 @@ class StackMonitoringClient(object):
3240
3446
  :rtype: :class:`~oci.response.Response`
3241
3447
 
3242
3448
  :example:
3243
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/get_config.py.html>`__ to see an example of how to use get_config API.
3449
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/get_config.py.html>`__ to see an example of how to use get_config API.
3244
3450
  """
3245
3451
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3246
3452
  required_arguments = ['configId']
@@ -3339,7 +3545,7 @@ class StackMonitoringClient(object):
3339
3545
  :rtype: :class:`~oci.response.Response`
3340
3546
 
3341
3547
  :example:
3342
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/get_discovery_job.py.html>`__ to see an example of how to use get_discovery_job API.
3548
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/get_discovery_job.py.html>`__ to see an example of how to use get_discovery_job API.
3343
3549
  """
3344
3550
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3345
3551
  required_arguments = ['discoveryJobId']
@@ -3410,13 +3616,15 @@ class StackMonitoringClient(object):
3410
3616
  api_reference_link=api_reference_link,
3411
3617
  required_arguments=required_arguments)
3412
3618
 
3413
- def get_metric_extension(self, metric_extension_id, **kwargs):
3619
+ def get_maintenance_window(self, maintenance_window_id, **kwargs):
3414
3620
  """
3415
- Gets a Metric Extension by identifier
3621
+ Get maintenance window for the given identifier `OCID`__.
3416
3622
 
3623
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
3417
3624
 
3418
- :param str metric_extension_id: (required)
3419
- The `OCID`__ of the metric extension resource.
3625
+
3626
+ :param str maintenance_window_id: (required)
3627
+ The `OCID`__ of maintenance window.
3420
3628
 
3421
3629
  __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
3422
3630
 
@@ -3436,18 +3644,18 @@ class StackMonitoringClient(object):
3436
3644
  allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
3437
3645
  By default, the response will not allow control characters in strings
3438
3646
 
3439
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.stack_monitoring.models.MetricExtension`
3647
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.stack_monitoring.models.MaintenanceWindow`
3440
3648
  :rtype: :class:`~oci.response.Response`
3441
3649
 
3442
3650
  :example:
3443
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/get_metric_extension.py.html>`__ to see an example of how to use get_metric_extension API.
3651
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/get_maintenance_window.py.html>`__ to see an example of how to use get_maintenance_window API.
3444
3652
  """
3445
3653
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3446
- required_arguments = ['metricExtensionId']
3447
- resource_path = "/metricExtensions/{metricExtensionId}"
3654
+ required_arguments = ['maintenanceWindowId']
3655
+ resource_path = "/maintenanceWindows/{maintenanceWindowId}"
3448
3656
  method = "GET"
3449
- operation_name = "get_metric_extension"
3450
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MetricExtension/GetMetricExtension"
3657
+ operation_name = "get_maintenance_window"
3658
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MaintenanceWindow/GetMaintenanceWindow"
3451
3659
 
3452
3660
  # Don't accept unknown kwargs
3453
3661
  expected_kwargs = [
@@ -3458,10 +3666,10 @@ class StackMonitoringClient(object):
3458
3666
  extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
3459
3667
  if extra_kwargs:
3460
3668
  raise ValueError(
3461
- f"get_metric_extension got unknown kwargs: {extra_kwargs!r}")
3669
+ f"get_maintenance_window got unknown kwargs: {extra_kwargs!r}")
3462
3670
 
3463
3671
  path_params = {
3464
- "metricExtensionId": metric_extension_id
3672
+ "maintenanceWindowId": maintenance_window_id
3465
3673
  }
3466
3674
 
3467
3675
  path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -3494,7 +3702,7 @@ class StackMonitoringClient(object):
3494
3702
  method=method,
3495
3703
  path_params=path_params,
3496
3704
  header_params=header_params,
3497
- response_type="MetricExtension",
3705
+ response_type="MaintenanceWindow",
3498
3706
  allow_control_chars=kwargs.get('allow_control_chars'),
3499
3707
  operation_name=operation_name,
3500
3708
  api_reference_link=api_reference_link,
@@ -3505,21 +3713,19 @@ class StackMonitoringClient(object):
3505
3713
  method=method,
3506
3714
  path_params=path_params,
3507
3715
  header_params=header_params,
3508
- response_type="MetricExtension",
3716
+ response_type="MaintenanceWindow",
3509
3717
  allow_control_chars=kwargs.get('allow_control_chars'),
3510
3718
  operation_name=operation_name,
3511
3719
  api_reference_link=api_reference_link,
3512
3720
  required_arguments=required_arguments)
3513
3721
 
3514
- def get_monitored_resource(self, monitored_resource_id, **kwargs):
3722
+ def get_metric_extension(self, metric_extension_id, **kwargs):
3515
3723
  """
3516
- Get monitored resource for the given identifier `OCID`__.
3517
-
3518
- __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
3724
+ Gets a Metric Extension by identifier
3519
3725
 
3520
3726
 
3521
- :param str monitored_resource_id: (required)
3522
- The `OCID`__ of monitored resource.
3727
+ :param str metric_extension_id: (required)
3728
+ The `OCID`__ of the metric extension resource.
3523
3729
 
3524
3730
  __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
3525
3731
 
@@ -3539,18 +3745,18 @@ class StackMonitoringClient(object):
3539
3745
  allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
3540
3746
  By default, the response will not allow control characters in strings
3541
3747
 
3542
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.stack_monitoring.models.MonitoredResource`
3748
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.stack_monitoring.models.MetricExtension`
3543
3749
  :rtype: :class:`~oci.response.Response`
3544
3750
 
3545
3751
  :example:
3546
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/get_monitored_resource.py.html>`__ to see an example of how to use get_monitored_resource API.
3752
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/get_metric_extension.py.html>`__ to see an example of how to use get_metric_extension API.
3547
3753
  """
3548
3754
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3549
- required_arguments = ['monitoredResourceId']
3550
- resource_path = "/monitoredResources/{monitoredResourceId}"
3755
+ required_arguments = ['metricExtensionId']
3756
+ resource_path = "/metricExtensions/{metricExtensionId}"
3551
3757
  method = "GET"
3552
- operation_name = "get_monitored_resource"
3553
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MonitoredResource/GetMonitoredResource"
3758
+ operation_name = "get_metric_extension"
3759
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MetricExtension/GetMetricExtension"
3554
3760
 
3555
3761
  # Don't accept unknown kwargs
3556
3762
  expected_kwargs = [
@@ -3561,10 +3767,10 @@ class StackMonitoringClient(object):
3561
3767
  extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
3562
3768
  if extra_kwargs:
3563
3769
  raise ValueError(
3564
- f"get_monitored_resource got unknown kwargs: {extra_kwargs!r}")
3770
+ f"get_metric_extension got unknown kwargs: {extra_kwargs!r}")
3565
3771
 
3566
3772
  path_params = {
3567
- "monitoredResourceId": monitored_resource_id
3773
+ "metricExtensionId": metric_extension_id
3568
3774
  }
3569
3775
 
3570
3776
  path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -3597,7 +3803,7 @@ class StackMonitoringClient(object):
3597
3803
  method=method,
3598
3804
  path_params=path_params,
3599
3805
  header_params=header_params,
3600
- response_type="MonitoredResource",
3806
+ response_type="MetricExtension",
3601
3807
  allow_control_chars=kwargs.get('allow_control_chars'),
3602
3808
  operation_name=operation_name,
3603
3809
  api_reference_link=api_reference_link,
@@ -3608,21 +3814,21 @@ class StackMonitoringClient(object):
3608
3814
  method=method,
3609
3815
  path_params=path_params,
3610
3816
  header_params=header_params,
3611
- response_type="MonitoredResource",
3817
+ response_type="MetricExtension",
3612
3818
  allow_control_chars=kwargs.get('allow_control_chars'),
3613
3819
  operation_name=operation_name,
3614
3820
  api_reference_link=api_reference_link,
3615
3821
  required_arguments=required_arguments)
3616
3822
 
3617
- def get_monitored_resource_task(self, monitored_resource_task_id, **kwargs):
3823
+ def get_monitored_resource(self, monitored_resource_id, **kwargs):
3618
3824
  """
3619
- Gets stack monitoring resource task details by identifier `OCID`__.
3825
+ Get monitored resource for the given identifier `OCID`__.
3620
3826
 
3621
3827
  __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
3622
3828
 
3623
3829
 
3624
- :param str monitored_resource_task_id: (required)
3625
- The `OCID`__ of stack monitoring resource task.
3830
+ :param str monitored_resource_id: (required)
3831
+ The `OCID`__ of monitored resource.
3626
3832
 
3627
3833
  __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
3628
3834
 
@@ -3642,18 +3848,18 @@ class StackMonitoringClient(object):
3642
3848
  allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
3643
3849
  By default, the response will not allow control characters in strings
3644
3850
 
3645
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.stack_monitoring.models.MonitoredResourceTask`
3851
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.stack_monitoring.models.MonitoredResource`
3646
3852
  :rtype: :class:`~oci.response.Response`
3647
3853
 
3648
3854
  :example:
3649
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/get_monitored_resource_task.py.html>`__ to see an example of how to use get_monitored_resource_task API.
3855
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/get_monitored_resource.py.html>`__ to see an example of how to use get_monitored_resource API.
3650
3856
  """
3651
3857
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3652
- required_arguments = ['monitoredResourceTaskId']
3653
- resource_path = "/monitoredResourceTasks/{monitoredResourceTaskId}"
3858
+ required_arguments = ['monitoredResourceId']
3859
+ resource_path = "/monitoredResources/{monitoredResourceId}"
3654
3860
  method = "GET"
3655
- operation_name = "get_monitored_resource_task"
3656
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MonitoredResourceTask/GetMonitoredResourceTask"
3861
+ operation_name = "get_monitored_resource"
3862
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MonitoredResource/GetMonitoredResource"
3657
3863
 
3658
3864
  # Don't accept unknown kwargs
3659
3865
  expected_kwargs = [
@@ -3664,10 +3870,10 @@ class StackMonitoringClient(object):
3664
3870
  extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
3665
3871
  if extra_kwargs:
3666
3872
  raise ValueError(
3667
- f"get_monitored_resource_task got unknown kwargs: {extra_kwargs!r}")
3873
+ f"get_monitored_resource got unknown kwargs: {extra_kwargs!r}")
3668
3874
 
3669
3875
  path_params = {
3670
- "monitoredResourceTaskId": monitored_resource_task_id
3876
+ "monitoredResourceId": monitored_resource_id
3671
3877
  }
3672
3878
 
3673
3879
  path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -3700,7 +3906,7 @@ class StackMonitoringClient(object):
3700
3906
  method=method,
3701
3907
  path_params=path_params,
3702
3908
  header_params=header_params,
3703
- response_type="MonitoredResourceTask",
3909
+ response_type="MonitoredResource",
3704
3910
  allow_control_chars=kwargs.get('allow_control_chars'),
3705
3911
  operation_name=operation_name,
3706
3912
  api_reference_link=api_reference_link,
@@ -3711,22 +3917,125 @@ class StackMonitoringClient(object):
3711
3917
  method=method,
3712
3918
  path_params=path_params,
3713
3919
  header_params=header_params,
3714
- response_type="MonitoredResourceTask",
3920
+ response_type="MonitoredResource",
3715
3921
  allow_control_chars=kwargs.get('allow_control_chars'),
3716
3922
  operation_name=operation_name,
3717
3923
  api_reference_link=api_reference_link,
3718
3924
  required_arguments=required_arguments)
3719
3925
 
3720
- def get_monitored_resource_type(self, monitored_resource_type_id, **kwargs):
3926
+ def get_monitored_resource_task(self, monitored_resource_task_id, **kwargs):
3721
3927
  """
3722
- Gets a monitored resource type by identifier `OCID`__.
3928
+ Gets stack monitoring resource task details by identifier `OCID`__.
3723
3929
 
3724
3930
  __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
3725
3931
 
3726
3932
 
3727
- :param str monitored_resource_type_id: (required)
3728
- The `OCID`__ of monitored resource type.
3729
-
3933
+ :param str monitored_resource_task_id: (required)
3934
+ The `OCID`__ of stack monitoring resource task.
3935
+
3936
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
3937
+
3938
+ :param str opc_request_id: (optional)
3939
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
3940
+ particular request, please provide the request ID.
3941
+
3942
+ :param obj retry_strategy: (optional)
3943
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
3944
+
3945
+ 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.
3946
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
3947
+
3948
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
3949
+
3950
+ :param bool allow_control_chars: (optional)
3951
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
3952
+ By default, the response will not allow control characters in strings
3953
+
3954
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.stack_monitoring.models.MonitoredResourceTask`
3955
+ :rtype: :class:`~oci.response.Response`
3956
+
3957
+ :example:
3958
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/get_monitored_resource_task.py.html>`__ to see an example of how to use get_monitored_resource_task API.
3959
+ """
3960
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3961
+ required_arguments = ['monitoredResourceTaskId']
3962
+ resource_path = "/monitoredResourceTasks/{monitoredResourceTaskId}"
3963
+ method = "GET"
3964
+ operation_name = "get_monitored_resource_task"
3965
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MonitoredResourceTask/GetMonitoredResourceTask"
3966
+
3967
+ # Don't accept unknown kwargs
3968
+ expected_kwargs = [
3969
+ "allow_control_chars",
3970
+ "retry_strategy",
3971
+ "opc_request_id"
3972
+ ]
3973
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
3974
+ if extra_kwargs:
3975
+ raise ValueError(
3976
+ f"get_monitored_resource_task got unknown kwargs: {extra_kwargs!r}")
3977
+
3978
+ path_params = {
3979
+ "monitoredResourceTaskId": monitored_resource_task_id
3980
+ }
3981
+
3982
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
3983
+
3984
+ for (k, v) in six.iteritems(path_params):
3985
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
3986
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
3987
+
3988
+ header_params = {
3989
+ "accept": "application/json",
3990
+ "content-type": "application/json",
3991
+ "opc-request-id": kwargs.get("opc_request_id", missing)
3992
+ }
3993
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
3994
+
3995
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
3996
+ operation_retry_strategy=kwargs.get('retry_strategy'),
3997
+ client_retry_strategy=self.retry_strategy
3998
+ )
3999
+ if retry_strategy is None:
4000
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
4001
+
4002
+ if retry_strategy:
4003
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
4004
+ self.base_client.add_opc_client_retries_header(header_params)
4005
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
4006
+ return retry_strategy.make_retrying_call(
4007
+ self.base_client.call_api,
4008
+ resource_path=resource_path,
4009
+ method=method,
4010
+ path_params=path_params,
4011
+ header_params=header_params,
4012
+ response_type="MonitoredResourceTask",
4013
+ allow_control_chars=kwargs.get('allow_control_chars'),
4014
+ operation_name=operation_name,
4015
+ api_reference_link=api_reference_link,
4016
+ required_arguments=required_arguments)
4017
+ else:
4018
+ return self.base_client.call_api(
4019
+ resource_path=resource_path,
4020
+ method=method,
4021
+ path_params=path_params,
4022
+ header_params=header_params,
4023
+ response_type="MonitoredResourceTask",
4024
+ allow_control_chars=kwargs.get('allow_control_chars'),
4025
+ operation_name=operation_name,
4026
+ api_reference_link=api_reference_link,
4027
+ required_arguments=required_arguments)
4028
+
4029
+ def get_monitored_resource_type(self, monitored_resource_type_id, **kwargs):
4030
+ """
4031
+ Gets a monitored resource type by identifier `OCID`__.
4032
+
4033
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
4034
+
4035
+
4036
+ :param str monitored_resource_type_id: (required)
4037
+ The `OCID`__ of monitored resource type.
4038
+
3730
4039
  __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
3731
4040
 
3732
4041
  :param str opc_request_id: (optional)
@@ -3749,7 +4058,7 @@ class StackMonitoringClient(object):
3749
4058
  :rtype: :class:`~oci.response.Response`
3750
4059
 
3751
4060
  :example:
3752
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/get_monitored_resource_type.py.html>`__ to see an example of how to use get_monitored_resource_type API.
4061
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/get_monitored_resource_type.py.html>`__ to see an example of how to use get_monitored_resource_type API.
3753
4062
  """
3754
4063
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3755
4064
  required_arguments = ['monitoredResourceTypeId']
@@ -3848,7 +4157,7 @@ class StackMonitoringClient(object):
3848
4157
  :rtype: :class:`~oci.response.Response`
3849
4158
 
3850
4159
  :example:
3851
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/get_process_set.py.html>`__ to see an example of how to use get_process_set API.
4160
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/get_process_set.py.html>`__ to see an example of how to use get_process_set API.
3852
4161
  """
3853
4162
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3854
4163
  required_arguments = ['processSetId']
@@ -3949,7 +4258,7 @@ class StackMonitoringClient(object):
3949
4258
  :rtype: :class:`~oci.response.Response`
3950
4259
 
3951
4260
  :example:
3952
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
4261
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
3953
4262
  """
3954
4263
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3955
4264
  required_arguments = ['workRequestId']
@@ -4090,7 +4399,7 @@ class StackMonitoringClient(object):
4090
4399
  :rtype: :class:`~oci.response.Response`
4091
4400
 
4092
4401
  :example:
4093
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/list_baselineable_metrics.py.html>`__ to see an example of how to use list_baselineable_metrics API.
4402
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/list_baselineable_metrics.py.html>`__ to see an example of how to use list_baselineable_metrics API.
4094
4403
  """
4095
4404
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4096
4405
  required_arguments = []
@@ -4258,7 +4567,7 @@ class StackMonitoringClient(object):
4258
4567
  :rtype: :class:`~oci.response.Response`
4259
4568
 
4260
4569
  :example:
4261
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/list_configs.py.html>`__ to see an example of how to use list_configs API.
4570
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/list_configs.py.html>`__ to see an example of how to use list_configs API.
4262
4571
  """
4263
4572
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4264
4573
  required_arguments = ['compartmentId']
@@ -4423,7 +4732,7 @@ class StackMonitoringClient(object):
4423
4732
  :rtype: :class:`~oci.response.Response`
4424
4733
 
4425
4734
  :example:
4426
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/list_discovery_job_logs.py.html>`__ to see an example of how to use list_discovery_job_logs API.
4735
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/list_discovery_job_logs.py.html>`__ to see an example of how to use list_discovery_job_logs API.
4427
4736
  """
4428
4737
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4429
4738
  required_arguments = ['discoveryJobId']
@@ -4586,7 +4895,7 @@ class StackMonitoringClient(object):
4586
4895
  :rtype: :class:`~oci.response.Response`
4587
4896
 
4588
4897
  :example:
4589
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/list_discovery_jobs.py.html>`__ to see an example of how to use list_discovery_jobs API.
4898
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/list_discovery_jobs.py.html>`__ to see an example of how to use list_discovery_jobs API.
4590
4899
  """
4591
4900
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4592
4901
  required_arguments = ['compartmentId']
@@ -4676,6 +4985,180 @@ class StackMonitoringClient(object):
4676
4985
  api_reference_link=api_reference_link,
4677
4986
  required_arguments=required_arguments)
4678
4987
 
4988
+ def list_maintenance_windows(self, compartment_id, **kwargs):
4989
+ """
4990
+ Returns a list of maintenance windows.
4991
+
4992
+
4993
+ :param str compartment_id: (required)
4994
+ The ID of the compartment in which data is listed.
4995
+
4996
+ :param str name: (optional)
4997
+ A filter to return maintenance windows that match exact resource name.
4998
+
4999
+ :param str lifecycle_details: (optional)
5000
+ A filter to return maintenance windows with matching lifecycleDetails.
5001
+
5002
+ Allowed values are: "IN_PROGRESS", "SCHEDULED", "COMPLETED"
5003
+
5004
+ :param str status: (optional)
5005
+ A filter to return only maintenance windows with matching lifecycleState.
5006
+
5007
+ Allowed values are: "CREATING", "UPDATING", "INACTIVE", "ACTIVE", "DELETING", "DELETED", "FAILED", "NEEDS_ATTENTION"
5008
+
5009
+ :param str sort_by: (optional)
5010
+ The field to sort by. Only one sort order may be provided.
5011
+ Default order for timeCreated is descending. Default order for mainteance window name is ascending.
5012
+
5013
+ Allowed values are: "NAME", "START_TIME", "END_TIME", "TIME_CREATED", "TIME_UPDATED"
5014
+
5015
+ :param str sort_order: (optional)
5016
+ The sort order to use, either ascending (`ASC`) or descending (`DESC`).
5017
+
5018
+ Allowed values are: "ASC", "DESC"
5019
+
5020
+ :param int limit: (optional)
5021
+ For list pagination. The maximum number of results per page, or items to return in a
5022
+ paginated \"List\" call. For important details about how pagination works, see
5023
+ `List Pagination`__.
5024
+
5025
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
5026
+
5027
+ :param str page: (optional)
5028
+ For list pagination. The value of the `opc-next-page` response header from the
5029
+ previous \"List\" call. For important details about how pagination works, see
5030
+ `List Pagination`__.
5031
+
5032
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
5033
+
5034
+ :param str opc_request_id: (optional)
5035
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
5036
+ particular request, please provide the request ID.
5037
+
5038
+ :param obj retry_strategy: (optional)
5039
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
5040
+
5041
+ 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.
5042
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
5043
+
5044
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
5045
+
5046
+ :param bool allow_control_chars: (optional)
5047
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
5048
+ By default, the response will not allow control characters in strings
5049
+
5050
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.stack_monitoring.models.MaintenanceWindowCollection`
5051
+ :rtype: :class:`~oci.response.Response`
5052
+
5053
+ :example:
5054
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/list_maintenance_windows.py.html>`__ to see an example of how to use list_maintenance_windows API.
5055
+ """
5056
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
5057
+ required_arguments = ['compartmentId']
5058
+ resource_path = "/maintenanceWindows"
5059
+ method = "GET"
5060
+ operation_name = "list_maintenance_windows"
5061
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MaintenanceWindow/ListMaintenanceWindows"
5062
+
5063
+ # Don't accept unknown kwargs
5064
+ expected_kwargs = [
5065
+ "allow_control_chars",
5066
+ "retry_strategy",
5067
+ "name",
5068
+ "lifecycle_details",
5069
+ "status",
5070
+ "sort_by",
5071
+ "sort_order",
5072
+ "limit",
5073
+ "page",
5074
+ "opc_request_id"
5075
+ ]
5076
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
5077
+ if extra_kwargs:
5078
+ raise ValueError(
5079
+ f"list_maintenance_windows got unknown kwargs: {extra_kwargs!r}")
5080
+
5081
+ if 'lifecycle_details' in kwargs:
5082
+ lifecycle_details_allowed_values = ["IN_PROGRESS", "SCHEDULED", "COMPLETED"]
5083
+ if kwargs['lifecycle_details'] not in lifecycle_details_allowed_values:
5084
+ raise ValueError(
5085
+ f"Invalid value for `lifecycle_details`, must be one of { lifecycle_details_allowed_values }"
5086
+ )
5087
+
5088
+ if 'status' in kwargs:
5089
+ status_allowed_values = ["CREATING", "UPDATING", "INACTIVE", "ACTIVE", "DELETING", "DELETED", "FAILED", "NEEDS_ATTENTION"]
5090
+ if kwargs['status'] not in status_allowed_values:
5091
+ raise ValueError(
5092
+ f"Invalid value for `status`, must be one of { status_allowed_values }"
5093
+ )
5094
+
5095
+ if 'sort_by' in kwargs:
5096
+ sort_by_allowed_values = ["NAME", "START_TIME", "END_TIME", "TIME_CREATED", "TIME_UPDATED"]
5097
+ if kwargs['sort_by'] not in sort_by_allowed_values:
5098
+ raise ValueError(
5099
+ f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
5100
+ )
5101
+
5102
+ if 'sort_order' in kwargs:
5103
+ sort_order_allowed_values = ["ASC", "DESC"]
5104
+ if kwargs['sort_order'] not in sort_order_allowed_values:
5105
+ raise ValueError(
5106
+ f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
5107
+ )
5108
+
5109
+ query_params = {
5110
+ "compartmentId": compartment_id,
5111
+ "name": kwargs.get("name", missing),
5112
+ "lifecycleDetails": kwargs.get("lifecycle_details", missing),
5113
+ "status": kwargs.get("status", missing),
5114
+ "sortBy": kwargs.get("sort_by", missing),
5115
+ "sortOrder": kwargs.get("sort_order", missing),
5116
+ "limit": kwargs.get("limit", missing),
5117
+ "page": kwargs.get("page", missing)
5118
+ }
5119
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
5120
+
5121
+ header_params = {
5122
+ "accept": "application/json",
5123
+ "content-type": "application/json",
5124
+ "opc-request-id": kwargs.get("opc_request_id", missing)
5125
+ }
5126
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
5127
+
5128
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
5129
+ operation_retry_strategy=kwargs.get('retry_strategy'),
5130
+ client_retry_strategy=self.retry_strategy
5131
+ )
5132
+ if retry_strategy is None:
5133
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
5134
+
5135
+ if retry_strategy:
5136
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
5137
+ self.base_client.add_opc_client_retries_header(header_params)
5138
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
5139
+ return retry_strategy.make_retrying_call(
5140
+ self.base_client.call_api,
5141
+ resource_path=resource_path,
5142
+ method=method,
5143
+ query_params=query_params,
5144
+ header_params=header_params,
5145
+ response_type="MaintenanceWindowCollection",
5146
+ allow_control_chars=kwargs.get('allow_control_chars'),
5147
+ operation_name=operation_name,
5148
+ api_reference_link=api_reference_link,
5149
+ required_arguments=required_arguments)
5150
+ else:
5151
+ return self.base_client.call_api(
5152
+ resource_path=resource_path,
5153
+ method=method,
5154
+ query_params=query_params,
5155
+ header_params=header_params,
5156
+ response_type="MaintenanceWindowCollection",
5157
+ allow_control_chars=kwargs.get('allow_control_chars'),
5158
+ operation_name=operation_name,
5159
+ api_reference_link=api_reference_link,
5160
+ required_arguments=required_arguments)
5161
+
4679
5162
  def list_metric_extensions(self, compartment_id, **kwargs):
4680
5163
  """
4681
5164
  Returns a list of metric extensions
@@ -4748,7 +5231,7 @@ class StackMonitoringClient(object):
4748
5231
  :rtype: :class:`~oci.response.Response`
4749
5232
 
4750
5233
  :example:
4751
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/list_metric_extensions.py.html>`__ to see an example of how to use list_metric_extensions API.
5234
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/list_metric_extensions.py.html>`__ to see an example of how to use list_metric_extensions API.
4752
5235
  """
4753
5236
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4754
5237
  required_arguments = ['compartmentId']
@@ -4921,7 +5404,7 @@ class StackMonitoringClient(object):
4921
5404
  :rtype: :class:`~oci.response.Response`
4922
5405
 
4923
5406
  :example:
4924
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/list_monitored_resource_tasks.py.html>`__ to see an example of how to use list_monitored_resource_tasks API.
5407
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/list_monitored_resource_tasks.py.html>`__ to see an example of how to use list_monitored_resource_tasks API.
4925
5408
  """
4926
5409
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
4927
5410
  required_arguments = ['compartmentId']
@@ -5119,7 +5602,7 @@ class StackMonitoringClient(object):
5119
5602
  :rtype: :class:`~oci.response.Response`
5120
5603
 
5121
5604
  :example:
5122
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/list_monitored_resource_types.py.html>`__ to see an example of how to use list_monitored_resource_types API.
5605
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/list_monitored_resource_types.py.html>`__ to see an example of how to use list_monitored_resource_types API.
5123
5606
  """
5124
5607
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
5125
5608
  required_arguments = ['compartmentId']
@@ -5290,7 +5773,7 @@ class StackMonitoringClient(object):
5290
5773
  :rtype: :class:`~oci.response.Response`
5291
5774
 
5292
5775
  :example:
5293
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/list_monitored_resources.py.html>`__ to see an example of how to use list_monitored_resources API.
5776
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/list_monitored_resources.py.html>`__ to see an example of how to use list_monitored_resources API.
5294
5777
  """
5295
5778
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
5296
5779
  required_arguments = ['compartmentId']
@@ -5446,7 +5929,7 @@ class StackMonitoringClient(object):
5446
5929
  :rtype: :class:`~oci.response.Response`
5447
5930
 
5448
5931
  :example:
5449
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/list_process_sets.py.html>`__ to see an example of how to use list_process_sets API.
5932
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/list_process_sets.py.html>`__ to see an example of how to use list_process_sets API.
5450
5933
  """
5451
5934
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
5452
5935
  required_arguments = ['compartmentId']
@@ -5590,7 +6073,7 @@ class StackMonitoringClient(object):
5590
6073
  :rtype: :class:`~oci.response.Response`
5591
6074
 
5592
6075
  :example:
5593
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
6076
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
5594
6077
  """
5595
6078
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
5596
6079
  required_arguments = ['workRequestId']
@@ -5743,7 +6226,7 @@ class StackMonitoringClient(object):
5743
6226
  :rtype: :class:`~oci.response.Response`
5744
6227
 
5745
6228
  :example:
5746
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
6229
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
5747
6230
  """
5748
6231
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
5749
6232
  required_arguments = ['workRequestId']
@@ -5905,7 +6388,7 @@ class StackMonitoringClient(object):
5905
6388
  :rtype: :class:`~oci.response.Response`
5906
6389
 
5907
6390
  :example:
5908
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
6391
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
5909
6392
  """
5910
6393
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
5911
6394
  required_arguments = ['compartmentId']
@@ -6057,7 +6540,7 @@ class StackMonitoringClient(object):
6057
6540
  :rtype: :class:`~oci.response.Response`
6058
6541
 
6059
6542
  :example:
6060
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/manage_license.py.html>`__ to see an example of how to use manage_license API.
6543
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/manage_license.py.html>`__ to see an example of how to use manage_license API.
6061
6544
  """
6062
6545
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
6063
6546
  required_arguments = ['monitoredResourceId']
@@ -6177,7 +6660,7 @@ class StackMonitoringClient(object):
6177
6660
  :rtype: :class:`~oci.response.Response`
6178
6661
 
6179
6662
  :example:
6180
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/publish_metric_extension.py.html>`__ to see an example of how to use publish_metric_extension API.
6663
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/publish_metric_extension.py.html>`__ to see an example of how to use publish_metric_extension API.
6181
6664
  """
6182
6665
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
6183
6666
  required_arguments = ['metricExtensionId']
@@ -6316,7 +6799,7 @@ class StackMonitoringClient(object):
6316
6799
  :rtype: :class:`~oci.response.Response`
6317
6800
 
6318
6801
  :example:
6319
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/request_monitored_resources_summarized_count.py.html>`__ to see an example of how to use request_monitored_resources_summarized_count API.
6802
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/request_monitored_resources_summarized_count.py.html>`__ to see an example of how to use request_monitored_resources_summarized_count API.
6320
6803
  """
6321
6804
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
6322
6805
  required_arguments = ['compartmentId']
@@ -6424,10 +6907,116 @@ class StackMonitoringClient(object):
6424
6907
  api_reference_link=api_reference_link,
6425
6908
  required_arguments=required_arguments)
6426
6909
 
6427
- def search_associated_resources(self, search_associated_resources_details, **kwargs):
6910
+ def retry_failed_maintenance_window_operation(self, maintenance_window_id, **kwargs):
6428
6911
  """
6429
- List all associated resources recursively up-to a specified level,
6430
- for the monitored resources of type specified.
6912
+ Retry the last failed operation. The operation failed will be the most recent one. It won't apply for previous failed operations.
6913
+
6914
+
6915
+ :param str maintenance_window_id: (required)
6916
+ The `OCID`__ of maintenance window.
6917
+
6918
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
6919
+
6920
+ :param str if_match: (optional)
6921
+ For optimistic concurrency control. In the PUT or DELETE call
6922
+ for a resource, set the `if-match` parameter to the value of the
6923
+ etag from a previous GET or POST response for that resource.
6924
+ The resource will be updated or deleted only if the etag you
6925
+ provide matches the resource's current etag value.
6926
+
6927
+ :param str opc_request_id: (optional)
6928
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
6929
+ particular request, please provide the request ID.
6930
+
6931
+ :param obj retry_strategy: (optional)
6932
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
6933
+
6934
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
6935
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
6936
+
6937
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
6938
+
6939
+ :param bool allow_control_chars: (optional)
6940
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
6941
+ By default, the response will not allow control characters in strings
6942
+
6943
+ :return: A :class:`~oci.response.Response` object with data of type None
6944
+ :rtype: :class:`~oci.response.Response`
6945
+
6946
+ :example:
6947
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/retry_failed_maintenance_window_operation.py.html>`__ to see an example of how to use retry_failed_maintenance_window_operation API.
6948
+ """
6949
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
6950
+ required_arguments = ['maintenanceWindowId']
6951
+ resource_path = "/maintenanceWindows/{maintenanceWindowId}/actions/retryFailedOperation"
6952
+ method = "POST"
6953
+ operation_name = "retry_failed_maintenance_window_operation"
6954
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MaintenanceWindow/RetryFailedMaintenanceWindowOperation"
6955
+
6956
+ # Don't accept unknown kwargs
6957
+ expected_kwargs = [
6958
+ "allow_control_chars",
6959
+ "retry_strategy",
6960
+ "if_match",
6961
+ "opc_request_id"
6962
+ ]
6963
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
6964
+ if extra_kwargs:
6965
+ raise ValueError(
6966
+ f"retry_failed_maintenance_window_operation got unknown kwargs: {extra_kwargs!r}")
6967
+
6968
+ path_params = {
6969
+ "maintenanceWindowId": maintenance_window_id
6970
+ }
6971
+
6972
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
6973
+
6974
+ for (k, v) in six.iteritems(path_params):
6975
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
6976
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
6977
+
6978
+ header_params = {
6979
+ "accept": "application/json",
6980
+ "content-type": "application/json",
6981
+ "if-match": kwargs.get("if_match", missing),
6982
+ "opc-request-id": kwargs.get("opc_request_id", missing)
6983
+ }
6984
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
6985
+
6986
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
6987
+ operation_retry_strategy=kwargs.get('retry_strategy'),
6988
+ client_retry_strategy=self.retry_strategy
6989
+ )
6990
+
6991
+ if retry_strategy:
6992
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
6993
+ self.base_client.add_opc_client_retries_header(header_params)
6994
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
6995
+ return retry_strategy.make_retrying_call(
6996
+ self.base_client.call_api,
6997
+ resource_path=resource_path,
6998
+ method=method,
6999
+ path_params=path_params,
7000
+ header_params=header_params,
7001
+ allow_control_chars=kwargs.get('allow_control_chars'),
7002
+ operation_name=operation_name,
7003
+ api_reference_link=api_reference_link,
7004
+ required_arguments=required_arguments)
7005
+ else:
7006
+ return self.base_client.call_api(
7007
+ resource_path=resource_path,
7008
+ method=method,
7009
+ path_params=path_params,
7010
+ header_params=header_params,
7011
+ allow_control_chars=kwargs.get('allow_control_chars'),
7012
+ operation_name=operation_name,
7013
+ api_reference_link=api_reference_link,
7014
+ required_arguments=required_arguments)
7015
+
7016
+ def search_associated_resources(self, search_associated_resources_details, **kwargs):
7017
+ """
7018
+ List all associated resources recursively up-to a specified level,
7019
+ for the monitored resources of type specified.
6431
7020
 
6432
7021
 
6433
7022
  :param oci.stack_monitoring.models.SearchAssociatedResourcesDetails search_associated_resources_details: (required)
@@ -6505,7 +7094,7 @@ class StackMonitoringClient(object):
6505
7094
  :rtype: :class:`~oci.response.Response`
6506
7095
 
6507
7096
  :example:
6508
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/search_associated_resources.py.html>`__ to see an example of how to use search_associated_resources API.
7097
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/search_associated_resources.py.html>`__ to see an example of how to use search_associated_resources API.
6509
7098
  """
6510
7099
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
6511
7100
  required_arguments = []
@@ -6641,7 +7230,7 @@ class StackMonitoringClient(object):
6641
7230
  :rtype: :class:`~oci.response.Response`
6642
7231
 
6643
7232
  :example:
6644
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/search_monitored_resource_associations.py.html>`__ to see an example of how to use search_monitored_resource_associations API.
7233
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/search_monitored_resource_associations.py.html>`__ to see an example of how to use search_monitored_resource_associations API.
6645
7234
  """
6646
7235
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
6647
7236
  required_arguments = []
@@ -6790,7 +7379,7 @@ class StackMonitoringClient(object):
6790
7379
  :rtype: :class:`~oci.response.Response`
6791
7380
 
6792
7381
  :example:
6793
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/search_monitored_resource_members.py.html>`__ to see an example of how to use search_monitored_resource_members API.
7382
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/search_monitored_resource_members.py.html>`__ to see an example of how to use search_monitored_resource_members API.
6794
7383
  """
6795
7384
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
6796
7385
  required_arguments = ['monitoredResourceId']
@@ -6976,7 +7565,7 @@ class StackMonitoringClient(object):
6976
7565
  :rtype: :class:`~oci.response.Response`
6977
7566
 
6978
7567
  :example:
6979
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/search_monitored_resources.py.html>`__ to see an example of how to use search_monitored_resources API.
7568
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/search_monitored_resources.py.html>`__ to see an example of how to use search_monitored_resources API.
6980
7569
  """
6981
7570
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
6982
7571
  required_arguments = []
@@ -7056,6 +7645,112 @@ class StackMonitoringClient(object):
7056
7645
  api_reference_link=api_reference_link,
7057
7646
  required_arguments=required_arguments)
7058
7647
 
7648
+ def stop_maintenance_window(self, maintenance_window_id, **kwargs):
7649
+ """
7650
+ Stop a maintenance window before the end time is reached.
7651
+
7652
+
7653
+ :param str maintenance_window_id: (required)
7654
+ The `OCID`__ of maintenance window.
7655
+
7656
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
7657
+
7658
+ :param str if_match: (optional)
7659
+ For optimistic concurrency control. In the PUT or DELETE call
7660
+ for a resource, set the `if-match` parameter to the value of the
7661
+ etag from a previous GET or POST response for that resource.
7662
+ The resource will be updated or deleted only if the etag you
7663
+ provide matches the resource's current etag value.
7664
+
7665
+ :param str opc_request_id: (optional)
7666
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
7667
+ particular request, please provide the request ID.
7668
+
7669
+ :param obj retry_strategy: (optional)
7670
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
7671
+
7672
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
7673
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
7674
+
7675
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
7676
+
7677
+ :param bool allow_control_chars: (optional)
7678
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
7679
+ By default, the response will not allow control characters in strings
7680
+
7681
+ :return: A :class:`~oci.response.Response` object with data of type None
7682
+ :rtype: :class:`~oci.response.Response`
7683
+
7684
+ :example:
7685
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/stop_maintenance_window.py.html>`__ to see an example of how to use stop_maintenance_window API.
7686
+ """
7687
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
7688
+ required_arguments = ['maintenanceWindowId']
7689
+ resource_path = "/maintenanceWindows/{maintenanceWindowId}/actions/stop"
7690
+ method = "POST"
7691
+ operation_name = "stop_maintenance_window"
7692
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MaintenanceWindow/StopMaintenanceWindow"
7693
+
7694
+ # Don't accept unknown kwargs
7695
+ expected_kwargs = [
7696
+ "allow_control_chars",
7697
+ "retry_strategy",
7698
+ "if_match",
7699
+ "opc_request_id"
7700
+ ]
7701
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
7702
+ if extra_kwargs:
7703
+ raise ValueError(
7704
+ f"stop_maintenance_window got unknown kwargs: {extra_kwargs!r}")
7705
+
7706
+ path_params = {
7707
+ "maintenanceWindowId": maintenance_window_id
7708
+ }
7709
+
7710
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
7711
+
7712
+ for (k, v) in six.iteritems(path_params):
7713
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
7714
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
7715
+
7716
+ header_params = {
7717
+ "accept": "application/json",
7718
+ "content-type": "application/json",
7719
+ "if-match": kwargs.get("if_match", missing),
7720
+ "opc-request-id": kwargs.get("opc_request_id", missing)
7721
+ }
7722
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
7723
+
7724
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
7725
+ operation_retry_strategy=kwargs.get('retry_strategy'),
7726
+ client_retry_strategy=self.retry_strategy
7727
+ )
7728
+
7729
+ if retry_strategy:
7730
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
7731
+ self.base_client.add_opc_client_retries_header(header_params)
7732
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
7733
+ return retry_strategy.make_retrying_call(
7734
+ self.base_client.call_api,
7735
+ resource_path=resource_path,
7736
+ method=method,
7737
+ path_params=path_params,
7738
+ header_params=header_params,
7739
+ allow_control_chars=kwargs.get('allow_control_chars'),
7740
+ operation_name=operation_name,
7741
+ api_reference_link=api_reference_link,
7742
+ required_arguments=required_arguments)
7743
+ else:
7744
+ return self.base_client.call_api(
7745
+ resource_path=resource_path,
7746
+ method=method,
7747
+ path_params=path_params,
7748
+ header_params=header_params,
7749
+ allow_control_chars=kwargs.get('allow_control_chars'),
7750
+ operation_name=operation_name,
7751
+ api_reference_link=api_reference_link,
7752
+ required_arguments=required_arguments)
7753
+
7059
7754
  def test_metric_extension(self, metric_extension_id, test_metric_extension_details, **kwargs):
7060
7755
  """
7061
7756
  Performs test of Metric Extension on a specific resource Id
@@ -7103,7 +7798,7 @@ class StackMonitoringClient(object):
7103
7798
  :rtype: :class:`~oci.response.Response`
7104
7799
 
7105
7800
  :example:
7106
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/test_metric_extension.py.html>`__ to see an example of how to use test_metric_extension API.
7801
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/test_metric_extension.py.html>`__ to see an example of how to use test_metric_extension API.
7107
7802
  """
7108
7803
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
7109
7804
  required_arguments = ['metricExtensionId']
@@ -7231,7 +7926,7 @@ class StackMonitoringClient(object):
7231
7926
  :rtype: :class:`~oci.response.Response`
7232
7927
 
7233
7928
  :example:
7234
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/update_and_propagate_tags.py.html>`__ to see an example of how to use update_and_propagate_tags API.
7929
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/update_and_propagate_tags.py.html>`__ to see an example of how to use update_and_propagate_tags API.
7235
7930
  """
7236
7931
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
7237
7932
  required_arguments = ['monitoredResourceId']
@@ -7345,7 +8040,7 @@ class StackMonitoringClient(object):
7345
8040
  :rtype: :class:`~oci.response.Response`
7346
8041
 
7347
8042
  :example:
7348
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/update_baselineable_metric.py.html>`__ to see an example of how to use update_baselineable_metric API.
8043
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/update_baselineable_metric.py.html>`__ to see an example of how to use update_baselineable_metric API.
7349
8044
  """
7350
8045
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
7351
8046
  required_arguments = ['baselineableMetricId']
@@ -7458,7 +8153,7 @@ class StackMonitoringClient(object):
7458
8153
  :rtype: :class:`~oci.response.Response`
7459
8154
 
7460
8155
  :example:
7461
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/update_config.py.html>`__ to see an example of how to use update_config API.
8156
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/update_config.py.html>`__ to see an example of how to use update_config API.
7462
8157
  """
7463
8158
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
7464
8159
  required_arguments = ['configId']
@@ -7533,6 +8228,119 @@ class StackMonitoringClient(object):
7533
8228
  api_reference_link=api_reference_link,
7534
8229
  required_arguments=required_arguments)
7535
8230
 
8231
+ def update_maintenance_window(self, maintenance_window_id, update_maintenance_window_details, **kwargs):
8232
+ """
8233
+ Update maintenance window by the given identifier `OCID`__.
8234
+
8235
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
8236
+
8237
+
8238
+ :param str maintenance_window_id: (required)
8239
+ The `OCID`__ of maintenance window.
8240
+
8241
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
8242
+
8243
+ :param oci.stack_monitoring.models.UpdateMaintenanceWindowDetails update_maintenance_window_details: (required)
8244
+ The information to be updated.
8245
+
8246
+ :param str if_match: (optional)
8247
+ For optimistic concurrency control. In the PUT or DELETE call
8248
+ for a resource, set the `if-match` parameter to the value of the
8249
+ etag from a previous GET or POST response for that resource.
8250
+ The resource will be updated or deleted only if the etag you
8251
+ provide matches the resource's current etag value.
8252
+
8253
+ :param str opc_request_id: (optional)
8254
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
8255
+ particular request, please provide the request ID.
8256
+
8257
+ :param obj retry_strategy: (optional)
8258
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
8259
+
8260
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
8261
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
8262
+
8263
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
8264
+
8265
+ :param bool allow_control_chars: (optional)
8266
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
8267
+ By default, the response will not allow control characters in strings
8268
+
8269
+ :return: A :class:`~oci.response.Response` object with data of type None
8270
+ :rtype: :class:`~oci.response.Response`
8271
+
8272
+ :example:
8273
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/update_maintenance_window.py.html>`__ to see an example of how to use update_maintenance_window API.
8274
+ """
8275
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
8276
+ required_arguments = ['maintenanceWindowId']
8277
+ resource_path = "/maintenanceWindows/{maintenanceWindowId}"
8278
+ method = "PUT"
8279
+ operation_name = "update_maintenance_window"
8280
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MaintenanceWindow/UpdateMaintenanceWindow"
8281
+
8282
+ # Don't accept unknown kwargs
8283
+ expected_kwargs = [
8284
+ "allow_control_chars",
8285
+ "retry_strategy",
8286
+ "if_match",
8287
+ "opc_request_id"
8288
+ ]
8289
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
8290
+ if extra_kwargs:
8291
+ raise ValueError(
8292
+ f"update_maintenance_window got unknown kwargs: {extra_kwargs!r}")
8293
+
8294
+ path_params = {
8295
+ "maintenanceWindowId": maintenance_window_id
8296
+ }
8297
+
8298
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
8299
+
8300
+ for (k, v) in six.iteritems(path_params):
8301
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
8302
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
8303
+
8304
+ header_params = {
8305
+ "accept": "application/json",
8306
+ "content-type": "application/json",
8307
+ "if-match": kwargs.get("if_match", missing),
8308
+ "opc-request-id": kwargs.get("opc_request_id", missing)
8309
+ }
8310
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
8311
+
8312
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
8313
+ operation_retry_strategy=kwargs.get('retry_strategy'),
8314
+ client_retry_strategy=self.retry_strategy
8315
+ )
8316
+
8317
+ if retry_strategy:
8318
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
8319
+ self.base_client.add_opc_client_retries_header(header_params)
8320
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
8321
+ return retry_strategy.make_retrying_call(
8322
+ self.base_client.call_api,
8323
+ resource_path=resource_path,
8324
+ method=method,
8325
+ path_params=path_params,
8326
+ header_params=header_params,
8327
+ body=update_maintenance_window_details,
8328
+ allow_control_chars=kwargs.get('allow_control_chars'),
8329
+ operation_name=operation_name,
8330
+ api_reference_link=api_reference_link,
8331
+ required_arguments=required_arguments)
8332
+ else:
8333
+ return self.base_client.call_api(
8334
+ resource_path=resource_path,
8335
+ method=method,
8336
+ path_params=path_params,
8337
+ header_params=header_params,
8338
+ body=update_maintenance_window_details,
8339
+ allow_control_chars=kwargs.get('allow_control_chars'),
8340
+ operation_name=operation_name,
8341
+ api_reference_link=api_reference_link,
8342
+ required_arguments=required_arguments)
8343
+
7536
8344
  def update_metric_extension(self, metric_extension_id, update_metric_extension_details, **kwargs):
7537
8345
  """
7538
8346
  Updates the Metric Extension
@@ -7573,7 +8381,7 @@ class StackMonitoringClient(object):
7573
8381
  :rtype: :class:`~oci.response.Response`
7574
8382
 
7575
8383
  :example:
7576
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/update_metric_extension.py.html>`__ to see an example of how to use update_metric_extension API.
8384
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/update_metric_extension.py.html>`__ to see an example of how to use update_metric_extension API.
7577
8385
  """
7578
8386
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
7579
8387
  required_arguments = ['metricExtensionId']
@@ -7690,7 +8498,7 @@ class StackMonitoringClient(object):
7690
8498
  :rtype: :class:`~oci.response.Response`
7691
8499
 
7692
8500
  :example:
7693
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/update_monitored_resource.py.html>`__ to see an example of how to use update_monitored_resource API.
8501
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/update_monitored_resource.py.html>`__ to see an example of how to use update_monitored_resource API.
7694
8502
  """
7695
8503
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
7696
8504
  required_arguments = ['monitoredResourceId']
@@ -7803,7 +8611,7 @@ class StackMonitoringClient(object):
7803
8611
  :rtype: :class:`~oci.response.Response`
7804
8612
 
7805
8613
  :example:
7806
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/update_monitored_resource_task.py.html>`__ to see an example of how to use update_monitored_resource_task API.
8614
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/update_monitored_resource_task.py.html>`__ to see an example of how to use update_monitored_resource_task API.
7807
8615
  """
7808
8616
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
7809
8617
  required_arguments = ['monitoredResourceTaskId']
@@ -7918,7 +8726,7 @@ class StackMonitoringClient(object):
7918
8726
  :rtype: :class:`~oci.response.Response`
7919
8727
 
7920
8728
  :example:
7921
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/update_monitored_resource_type.py.html>`__ to see an example of how to use update_monitored_resource_type API.
8729
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/update_monitored_resource_type.py.html>`__ to see an example of how to use update_monitored_resource_type API.
7922
8730
  """
7923
8731
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
7924
8732
  required_arguments = ['monitoredResourceTypeId']
@@ -8029,7 +8837,7 @@ class StackMonitoringClient(object):
8029
8837
  :rtype: :class:`~oci.response.Response`
8030
8838
 
8031
8839
  :example:
8032
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.1/stackmonitoring/update_process_set.py.html>`__ to see an example of how to use update_process_set API.
8840
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.136.0/stackmonitoring/update_process_set.py.html>`__ to see an example of how to use update_process_set API.
8033
8841
  """
8034
8842
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
8035
8843
  required_arguments = ['processSetId']