oci 2.118.1__py3-none-any.whl → 2.119.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 (323) hide show
  1. oci/access_governance_cp/access_governance_cp_client.py +8 -8
  2. oci/adm/application_dependency_management_client.py +100 -47
  3. oci/adm/application_dependency_management_client_composite_operations.py +10 -5
  4. oci/adm/models/application_dependency.py +36 -3
  5. oci/adm/models/application_dependency_recommendation_summary.py +64 -2
  6. oci/adm/models/application_dependency_vulnerability_summary.py +35 -2
  7. oci/adm/models/create_vulnerability_audit_details.py +3 -3
  8. oci/adm/models/detect_configuration.py +65 -2
  9. oci/adm/models/usage_data_details.py +2 -1
  10. oci/adm/models/usage_data_via_object_storage_tuple_details.py +2 -1
  11. oci/adm/models/vulnerability.py +92 -2
  12. oci/adm/models/vulnerability_audit.py +133 -11
  13. oci/adm/models/vulnerability_audit_configuration.py +63 -0
  14. oci/adm/models/vulnerability_audit_summary.py +124 -6
  15. oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
  16. oci/ai_document/ai_service_document_client.py +22 -22
  17. oci/ai_language/ai_service_language_client.py +36 -36
  18. oci/ai_speech/ai_service_speech_client.py +9 -9
  19. oci/ai_vision/ai_service_vision_client.py +25 -25
  20. oci/analytics/analytics_client.py +23 -23
  21. oci/announcements_service/announcement_client.py +4 -4
  22. oci/announcements_service/announcement_subscription_client.py +9 -9
  23. oci/announcements_service/announcements_preferences_client.py +4 -4
  24. oci/apigateway/api_gateway_client.py +21 -21
  25. oci/apigateway/deployment_client.py +6 -6
  26. oci/apigateway/gateway_client.py +6 -6
  27. oci/apigateway/subscribers_client.py +6 -6
  28. oci/apigateway/usage_plans_client.py +6 -6
  29. oci/apigateway/work_requests_client.py +5 -5
  30. oci/apm_config/config_client.py +8 -8
  31. oci/apm_control_plane/apm_domain_client.py +14 -14
  32. oci/apm_synthetics/apm_synthetic_client.py +28 -28
  33. oci/apm_traces/query_client.py +2 -2
  34. oci/apm_traces/trace_client.py +4 -4
  35. oci/application_migration/application_migration_client.py +19 -19
  36. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  37. oci/artifacts/artifacts_client.py +32 -32
  38. oci/audit/audit_client.py +3 -3
  39. oci/auth/__init__.py +0 -4
  40. oci/autoscaling/auto_scaling_client.py +11 -11
  41. oci/bastion/bastion_client.py +15 -15
  42. oci/bds/bds_client.py +51 -51
  43. oci/blockchain/blockchain_platform_client.py +27 -27
  44. oci/budget/budget_client.py +10 -10
  45. oci/certificates/certificates_client.py +5 -5
  46. oci/certificates_management/certificates_management_client.py +32 -32
  47. oci/cims/incident_client.py +8 -8
  48. oci/cims/user_client.py +1 -1
  49. oci/cloud_bridge/common_client.py +5 -5
  50. oci/cloud_bridge/discovery_client.py +14 -14
  51. oci/cloud_bridge/inventory_client.py +16 -16
  52. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  53. oci/cloud_guard/cloud_guard_client.py +133 -133
  54. oci/cloud_migrations/migration_client.py +43 -43
  55. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  56. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  57. oci/compute_instance_agent/plugin_client.py +2 -2
  58. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  59. oci/container_engine/container_engine_client.py +44 -44
  60. oci/container_instances/container_instance_client.py +25 -20
  61. oci/core/blockstorage_client.py +60 -60
  62. oci/core/compute_client.py +99 -99
  63. oci/core/compute_management_client.py +32 -32
  64. oci/core/virtual_network_client.py +242 -242
  65. oci/dashboard_service/dashboard_client.py +6 -6
  66. oci/dashboard_service/dashboard_group_client.py +6 -6
  67. oci/data_catalog/data_catalog_client.py +147 -147
  68. oci/data_flow/data_flow_client.py +42 -42
  69. oci/data_integration/data_integration_client.py +163 -163
  70. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  71. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  72. oci/data_safe/data_safe_client.py +4081 -1170
  73. oci/data_safe/data_safe_client_composite_operations.py +257 -0
  74. oci/data_safe/models/__init__.py +60 -0
  75. oci/data_safe/models/audit_event_summary.py +109 -0
  76. oci/data_safe/models/audit_trail.py +191 -0
  77. oci/data_safe/models/audit_trail_summary.py +31 -0
  78. oci/data_safe/models/available_audit_volume_summary.py +62 -0
  79. oci/data_safe/models/calculate_audit_volume_available_details.py +34 -3
  80. oci/data_safe/models/create_peer_target_database_details.py +188 -0
  81. oci/data_safe/models/create_target_database_details.py +31 -0
  82. oci/data_safe/models/database_table_access_entry.py +837 -0
  83. oci/data_safe/models/database_table_access_entry_collection.py +72 -0
  84. oci/data_safe/models/database_table_access_entry_summary.py +835 -0
  85. oci/data_safe/models/database_view_access_entry.py +772 -0
  86. oci/data_safe/models/database_view_access_entry_collection.py +72 -0
  87. oci/data_safe/models/database_view_access_entry_summary.py +771 -0
  88. oci/data_safe/models/diffs.py +7 -3
  89. oci/data_safe/models/finding.py +347 -5
  90. oci/data_safe/models/finding_analytics_collection.py +72 -0
  91. oci/data_safe/models/finding_analytics_dimensions.py +299 -0
  92. oci/data_safe/models/finding_analytics_summary.py +148 -0
  93. oci/data_safe/models/finding_summary.py +316 -5
  94. oci/data_safe/models/findings_change_audit_log_collection.py +72 -0
  95. oci/data_safe/models/findings_change_audit_log_summary.py +458 -0
  96. oci/data_safe/models/peer_target_database.py +414 -0
  97. oci/data_safe/models/peer_target_database_collection.py +134 -0
  98. oci/data_safe/models/peer_target_database_summary.py +360 -0
  99. oci/data_safe/models/role_grant_path_collection.py +72 -0
  100. oci/data_safe/models/role_grant_path_summary.py +169 -0
  101. oci/data_safe/models/security_assessment_statistics.py +29 -2
  102. oci/data_safe/models/security_feature_analytics_collection.py +72 -0
  103. oci/data_safe/models/security_feature_analytics_dimensions.py +124 -0
  104. oci/data_safe/models/security_feature_analytics_summary.py +142 -0
  105. oci/data_safe/models/security_feature_collection.py +72 -0
  106. oci/data_safe/models/security_feature_summary.py +773 -0
  107. oci/data_safe/models/security_policy_report.py +475 -0
  108. oci/data_safe/models/security_policy_report_collection.py +72 -0
  109. oci/data_safe/models/security_policy_report_summary.py +442 -0
  110. oci/data_safe/models/target_database.py +31 -0
  111. oci/data_safe/models/update_finding_details.py +134 -0
  112. oci/data_safe/models/update_peer_target_database_details.py +157 -0
  113. oci/data_safe/models/update_report_details.py +119 -0
  114. oci/data_safe/models/user_access_analytics_collection.py +72 -0
  115. oci/data_safe/models/user_access_analytics_summary.py +103 -0
  116. oci/data_safe/models/user_summary.py +64 -2
  117. oci/data_safe/models/work_request.py +35 -3
  118. oci/data_safe/models/work_request_summary.py +35 -3
  119. oci/data_science/data_science_client.py +91 -91
  120. oci/database/database_client.py +327 -327
  121. oci/database_management/db_management_client.py +182 -182
  122. oci/database_management/diagnosability_client.py +4 -4
  123. oci/database_management/managed_my_sql_databases_client.py +6 -6
  124. oci/database_management/perfhub_client.py +1 -1
  125. oci/database_management/sql_tuning_client.py +17 -17
  126. oci/database_migration/database_migration_client.py +41 -41
  127. oci/database_tools/database_tools_client.py +23 -23
  128. oci/devops/devops_client.py +89 -89
  129. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  130. oci/dns/dns_client.py +52 -52
  131. oci/dts/appliance_export_job_client.py +6 -6
  132. oci/dts/shipping_vendors_client.py +1 -1
  133. oci/dts/transfer_appliance_client.py +8 -8
  134. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  135. oci/dts/transfer_device_client.py +5 -5
  136. oci/dts/transfer_job_client.py +6 -6
  137. oci/dts/transfer_package_client.py +7 -7
  138. oci/em_warehouse/em_data_lake_client.py +13 -13
  139. oci/em_warehouse/em_warehouse_client.py +13 -13
  140. oci/email/email_client.py +25 -25
  141. oci/events/events_client.py +6 -6
  142. oci/file_storage/file_storage_client.py +50 -50
  143. oci/fleet_software_update/fleet_software_update_client.py +44 -44
  144. oci/functions/functions_invoke_client.py +1 -1
  145. oci/functions/functions_management_client.py +16 -16
  146. oci/fusion_apps/data_masking_activity_client.py +3 -3
  147. oci/fusion_apps/fusion_applications_client.py +39 -39
  148. oci/fusion_apps/fusion_environment_client.py +15 -15
  149. oci/fusion_apps/fusion_environment_family_client.py +8 -8
  150. oci/fusion_apps/refresh_activity_client.py +4 -4
  151. oci/fusion_apps/scheduled_activity_client.py +2 -2
  152. oci/fusion_apps/service_attachment_client.py +2 -2
  153. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  154. oci/golden_gate/golden_gate_client.py +61 -61
  155. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  156. oci/governance_rules_control_plane/work_request_client.py +5 -5
  157. oci/healthchecks/health_checks_client.py +17 -17
  158. oci/identity/identity_client.py +145 -145
  159. oci/identity_data_plane/dataplane_client.py +2 -2
  160. oci/identity_domains/identity_domains_client.py +558 -558
  161. oci/integration/integration_instance_client.py +15 -15
  162. oci/jms/java_management_service_client.py +66 -66
  163. oci/jms_java_downloads/java_download_client.py +25 -25
  164. oci/key_management/ekm_client.py +5 -5
  165. oci/key_management/kms_crypto_client.py +6 -6
  166. oci/key_management/kms_management_client.py +21 -21
  167. oci/key_management/kms_vault_client.py +14 -14
  168. oci/license_manager/license_manager_client.py +18 -18
  169. oci/limits/limits_client.py +4 -4
  170. oci/limits/quotas_client.py +7 -7
  171. oci/load_balancer/load_balancer_client.py +61 -61
  172. oci/lockbox/lockbox_client.py +23 -23
  173. oci/log_analytics/log_analytics_client.py +193 -193
  174. oci/logging/logging_management_client.py +30 -30
  175. oci/loggingingestion/logging_client.py +1 -1
  176. oci/loggingsearch/log_search_client.py +1 -1
  177. oci/management_agent/management_agent_client.py +23 -23
  178. oci/management_dashboard/dashx_apis_client.py +14 -14
  179. oci/marketplace/account_client.py +2 -2
  180. oci/marketplace/marketplace_client.py +30 -30
  181. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  182. oci/media_services/media_services_client.py +48 -48
  183. oci/media_services/media_stream_client.py +2 -2
  184. oci/monitoring/models/__init__.py +18 -0
  185. oci/monitoring/models/aggregated_datapoint.py +2 -2
  186. oci/monitoring/models/alarm.py +8 -10
  187. oci/monitoring/models/alarm_history_entry.py +4 -4
  188. oci/monitoring/models/alarm_status_summary.py +4 -4
  189. oci/monitoring/models/alarm_summary.py +43 -6
  190. oci/monitoring/models/alarm_suppression.py +506 -0
  191. oci/monitoring/models/alarm_suppression_alarm_target.py +86 -0
  192. oci/monitoring/models/alarm_suppression_collection.py +72 -0
  193. oci/monitoring/models/alarm_suppression_history_item.py +335 -0
  194. oci/monitoring/models/alarm_suppression_history_item_collection.py +72 -0
  195. oci/monitoring/models/alarm_suppression_summary.py +490 -0
  196. oci/monitoring/models/alarm_suppression_target.py +101 -0
  197. oci/monitoring/models/create_alarm_details.py +2 -4
  198. oci/monitoring/models/create_alarm_suppression_details.py +327 -0
  199. oci/monitoring/models/datapoint.py +2 -2
  200. oci/monitoring/models/list_metrics_details.py +2 -2
  201. oci/monitoring/models/metric.py +2 -2
  202. oci/monitoring/models/metric_data.py +2 -2
  203. oci/monitoring/models/metric_data_details.py +6 -6
  204. oci/monitoring/models/summarize_alarm_suppression_history_details.py +164 -0
  205. oci/monitoring/models/summarize_metrics_data_details.py +12 -6
  206. oci/monitoring/models/suppression.py +6 -5
  207. oci/monitoring/models/update_alarm_details.py +2 -4
  208. oci/monitoring/monitoring_client.py +737 -89
  209. oci/monitoring/monitoring_client_composite_operations.py +105 -0
  210. oci/mysql/channels_client.py +7 -7
  211. oci/mysql/db_backups_client.py +6 -6
  212. oci/mysql/db_system_client.py +17 -17
  213. oci/mysql/mysqlaas_client.py +7 -7
  214. oci/mysql/replicas_client.py +5 -5
  215. oci/mysql/work_requests_client.py +4 -4
  216. oci/network_firewall/network_firewall_client.py +80 -80
  217. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  218. oci/nosql/nosql_client.py +24 -24
  219. oci/object_storage/object_storage_client.py +50 -50
  220. oci/oce/oce_instance_client.py +10 -10
  221. oci/oci_control_center/occ_metrics_client.py +3 -3
  222. oci/ocvp/cluster_client.py +5 -5
  223. oci/ocvp/esxi_host_client.py +8 -8
  224. oci/ocvp/sddc_client.py +14 -14
  225. oci/ocvp/work_request_client.py +4 -4
  226. oci/oda/management_client.py +56 -56
  227. oci/oda/oda_client.py +17 -17
  228. oci/oda/odapackage_client.py +7 -7
  229. oci/onesubscription/billing_schedule_client.py +1 -1
  230. oci/onesubscription/commitment_client.py +2 -2
  231. oci/onesubscription/computed_usage_client.py +3 -3
  232. oci/onesubscription/invoice_summary_client.py +2 -2
  233. oci/onesubscription/organization_subscription_client.py +1 -1
  234. oci/onesubscription/ratecard_client.py +1 -1
  235. oci/onesubscription/subscribed_service_client.py +2 -2
  236. oci/onesubscription/subscription_client.py +1 -1
  237. oci/ons/notification_control_plane_client.py +6 -6
  238. oci/ons/notification_data_plane_client.py +10 -10
  239. oci/opa/opa_instance_client.py +11 -11
  240. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  241. oci/opensearch/opensearch_cluster_client.py +14 -14
  242. oci/operator_access_control/access_requests_client.py +9 -9
  243. oci/operator_access_control/operator_actions_client.py +2 -2
  244. oci/operator_access_control/operator_control_assignment_client.py +6 -6
  245. oci/operator_access_control/operator_control_client.py +6 -6
  246. oci/opsi/operations_insights_client.py +175 -175
  247. oci/optimizer/optimizer_client.py +26 -26
  248. oci/os_management/event_client.py +8 -8
  249. oci/os_management/os_management_client.py +69 -69
  250. oci/os_management_hub/lifecycle_environment_client.py +11 -11
  251. oci/os_management_hub/managed_instance_client.py +22 -22
  252. oci/os_management_hub/managed_instance_group_client.py +22 -22
  253. oci/os_management_hub/management_station_client.py +8 -8
  254. oci/os_management_hub/onboarding_client.py +5 -5
  255. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  256. oci/os_management_hub/scheduled_job_client.py +6 -6
  257. oci/os_management_hub/software_source_client.py +22 -22
  258. oci/os_management_hub/work_request_client.py +4 -4
  259. oci/osp_gateway/address_rule_service_client.py +1 -1
  260. oci/osp_gateway/address_service_client.py +2 -2
  261. oci/osp_gateway/invoice_service_client.py +5 -5
  262. oci/osp_gateway/subscription_service_client.py +5 -5
  263. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  264. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  265. oci/osub_subscription/commitment_client.py +2 -2
  266. oci/osub_subscription/ratecard_client.py +1 -1
  267. oci/osub_subscription/subscription_client.py +1 -1
  268. oci/osub_usage/computed_usage_client.py +3 -3
  269. oci/psql/postgresql_client.py +33 -33
  270. oci/queue/queue_admin_client.py +11 -11
  271. oci/queue/queue_client.py +8 -8
  272. oci/recovery/database_recovery_client.py +23 -23
  273. oci/redis/redis_cluster_client.py +11 -11
  274. oci/resource_manager/resource_manager_client.py +52 -52
  275. oci/resource_search/resource_search_client.py +3 -3
  276. oci/rover/rover_bundle_client.py +8 -8
  277. oci/rover/rover_cluster_client.py +8 -8
  278. oci/rover/rover_entitlement_client.py +6 -6
  279. oci/rover/rover_node_client.py +15 -15
  280. oci/rover/shape_client.py +1 -1
  281. oci/rover/work_requests_client.py +5 -5
  282. oci/sch/service_connector_client.py +12 -12
  283. oci/secrets/secrets_client.py +3 -3
  284. oci/service_catalog/service_catalog_client.py +26 -26
  285. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  286. oci/service_mesh/service_mesh_client.py +48 -48
  287. oci/stack_monitoring/stack_monitoring_client.py +58 -58
  288. oci/streaming/stream_admin_client.py +18 -18
  289. oci/streaming/stream_client.py +8 -8
  290. oci/tenant_manager_control_plane/domain_client.py +5 -5
  291. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  292. oci/tenant_manager_control_plane/governance_client.py +2 -2
  293. oci/tenant_manager_control_plane/link_client.py +3 -3
  294. oci/tenant_manager_control_plane/orders_client.py +2 -2
  295. oci/tenant_manager_control_plane/organization_client.py +10 -10
  296. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  297. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  298. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  299. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  300. oci/threat_intelligence/threatintel_client.py +5 -5
  301. oci/usage/resources_client.py +2 -2
  302. oci/usage/rewards_client.py +6 -6
  303. oci/usage/usagelimits_client.py +1 -1
  304. oci/usage_api/usageapi_client.py +28 -28
  305. oci/vault/vaults_client.py +11 -11
  306. oci/vbs_inst/vbs_instance_client.py +10 -10
  307. oci/version.py +1 -1
  308. oci/visual_builder/vb_instance_client.py +13 -13
  309. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  310. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  311. oci/waa/waa_client.py +13 -13
  312. oci/waa/work_request_client.py +4 -4
  313. oci/waas/redirect_client.py +6 -6
  314. oci/waas/waas_client.py +66 -66
  315. oci/waf/waf_client.py +24 -24
  316. oci/work_requests/work_request_client.py +4 -4
  317. {oci-2.118.1.dist-info → oci-2.119.0.dist-info}/METADATA +1 -2
  318. {oci-2.118.1.dist-info → oci-2.119.0.dist-info}/RECORD +322 -284
  319. oci/auth/signers/yubikey_signer.py +0 -140
  320. {oci-2.118.1.dist-info → oci-2.119.0.dist-info}/LICENSE.txt +0 -0
  321. {oci-2.118.1.dist-info → oci-2.119.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  322. {oci-2.118.1.dist-info → oci-2.119.0.dist-info}/WHEEL +0 -0
  323. {oci-2.118.1.dist-info → oci-2.119.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,86 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
3
+ # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
+
5
+ # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20180401
6
+
7
+ from .alarm_suppression_target import AlarmSuppressionTarget
8
+ from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
9
+ from oci.decorators import init_model_state_from_kwargs
10
+
11
+
12
+ @init_model_state_from_kwargs
13
+ class AlarmSuppressionAlarmTarget(AlarmSuppressionTarget):
14
+ """
15
+ The alarm target of the alarm suppression.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new AlarmSuppressionAlarmTarget object with values from keyword arguments. The default value of the :py:attr:`~oci.monitoring.models.AlarmSuppressionAlarmTarget.target_type` attribute
21
+ of this class is ``ALARM`` and it should not be changed.
22
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
23
+
24
+ :param target_type:
25
+ The value to assign to the target_type property of this AlarmSuppressionAlarmTarget.
26
+ Allowed values for this property are: "ALARM"
27
+ :type target_type: str
28
+
29
+ :param alarm_id:
30
+ The value to assign to the alarm_id property of this AlarmSuppressionAlarmTarget.
31
+ :type alarm_id: str
32
+
33
+ """
34
+ self.swagger_types = {
35
+ 'target_type': 'str',
36
+ 'alarm_id': 'str'
37
+ }
38
+
39
+ self.attribute_map = {
40
+ 'target_type': 'targetType',
41
+ 'alarm_id': 'alarmId'
42
+ }
43
+
44
+ self._target_type = None
45
+ self._alarm_id = None
46
+ self._target_type = 'ALARM'
47
+
48
+ @property
49
+ def alarm_id(self):
50
+ """
51
+ **[Required]** Gets the alarm_id of this AlarmSuppressionAlarmTarget.
52
+ The `OCID`__ of the alarm that is the target of the alarm suppression.
53
+
54
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
55
+
56
+
57
+ :return: The alarm_id of this AlarmSuppressionAlarmTarget.
58
+ :rtype: str
59
+ """
60
+ return self._alarm_id
61
+
62
+ @alarm_id.setter
63
+ def alarm_id(self, alarm_id):
64
+ """
65
+ Sets the alarm_id of this AlarmSuppressionAlarmTarget.
66
+ The `OCID`__ of the alarm that is the target of the alarm suppression.
67
+
68
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
69
+
70
+
71
+ :param alarm_id: The alarm_id of this AlarmSuppressionAlarmTarget.
72
+ :type: str
73
+ """
74
+ self._alarm_id = alarm_id
75
+
76
+ def __repr__(self):
77
+ return formatted_flat_dict(self)
78
+
79
+ def __eq__(self, other):
80
+ if other is None:
81
+ return False
82
+
83
+ return self.__dict__ == other.__dict__
84
+
85
+ def __ne__(self, other):
86
+ return not self == other
@@ -0,0 +1,72 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
3
+ # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
+
5
+ # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20180401
6
+
7
+
8
+ from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
9
+ from oci.decorators import init_model_state_from_kwargs
10
+
11
+
12
+ @init_model_state_from_kwargs
13
+ class AlarmSuppressionCollection(object):
14
+ """
15
+ Collection of property summaries for dimension-specific alarm suppressions.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new AlarmSuppressionCollection object with values from keyword arguments.
21
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
22
+
23
+ :param items:
24
+ The value to assign to the items property of this AlarmSuppressionCollection.
25
+ :type items: list[oci.monitoring.models.AlarmSuppressionSummary]
26
+
27
+ """
28
+ self.swagger_types = {
29
+ 'items': 'list[AlarmSuppressionSummary]'
30
+ }
31
+
32
+ self.attribute_map = {
33
+ 'items': 'items'
34
+ }
35
+
36
+ self._items = None
37
+
38
+ @property
39
+ def items(self):
40
+ """
41
+ **[Required]** Gets the items of this AlarmSuppressionCollection.
42
+ List of property summaries for dimension-specific alarm suppressions.
43
+
44
+
45
+ :return: The items of this AlarmSuppressionCollection.
46
+ :rtype: list[oci.monitoring.models.AlarmSuppressionSummary]
47
+ """
48
+ return self._items
49
+
50
+ @items.setter
51
+ def items(self, items):
52
+ """
53
+ Sets the items of this AlarmSuppressionCollection.
54
+ List of property summaries for dimension-specific alarm suppressions.
55
+
56
+
57
+ :param items: The items of this AlarmSuppressionCollection.
58
+ :type: list[oci.monitoring.models.AlarmSuppressionSummary]
59
+ """
60
+ self._items = items
61
+
62
+ def __repr__(self):
63
+ return formatted_flat_dict(self)
64
+
65
+ def __eq__(self, other):
66
+ if other is None:
67
+ return False
68
+
69
+ return self.__dict__ == other.__dict__
70
+
71
+ def __ne__(self, other):
72
+ return not self == other
@@ -0,0 +1,335 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
3
+ # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
+
5
+ # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20180401
6
+
7
+
8
+ from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
9
+ from oci.decorators import init_model_state_from_kwargs
10
+
11
+
12
+ @init_model_state_from_kwargs
13
+ class AlarmSuppressionHistoryItem(object):
14
+ """
15
+ A summary of properties for the specified alarm suppression history item.
16
+ """
17
+
18
+ #: A constant which can be used with the level property of a AlarmSuppressionHistoryItem.
19
+ #: This constant has a value of "ALARM"
20
+ LEVEL_ALARM = "ALARM"
21
+
22
+ #: A constant which can be used with the level property of a AlarmSuppressionHistoryItem.
23
+ #: This constant has a value of "DIMENSION"
24
+ LEVEL_DIMENSION = "DIMENSION"
25
+
26
+ def __init__(self, **kwargs):
27
+ """
28
+ Initializes a new AlarmSuppressionHistoryItem object with values from keyword arguments.
29
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
30
+
31
+ :param suppression_id:
32
+ The value to assign to the suppression_id property of this AlarmSuppressionHistoryItem.
33
+ :type suppression_id: str
34
+
35
+ :param alarm_suppression_target:
36
+ The value to assign to the alarm_suppression_target property of this AlarmSuppressionHistoryItem.
37
+ :type alarm_suppression_target: oci.monitoring.models.AlarmSuppressionTarget
38
+
39
+ :param level:
40
+ The value to assign to the level property of this AlarmSuppressionHistoryItem.
41
+ Allowed values for this property are: "ALARM", "DIMENSION", 'UNKNOWN_ENUM_VALUE'.
42
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
43
+ :type level: str
44
+
45
+ :param display_name:
46
+ The value to assign to the display_name property of this AlarmSuppressionHistoryItem.
47
+ :type display_name: str
48
+
49
+ :param description:
50
+ The value to assign to the description property of this AlarmSuppressionHistoryItem.
51
+ :type description: str
52
+
53
+ :param dimensions:
54
+ The value to assign to the dimensions property of this AlarmSuppressionHistoryItem.
55
+ :type dimensions: dict(str, str)
56
+
57
+ :param time_effective_from:
58
+ The value to assign to the time_effective_from property of this AlarmSuppressionHistoryItem.
59
+ :type time_effective_from: datetime
60
+
61
+ :param time_effective_until:
62
+ The value to assign to the time_effective_until property of this AlarmSuppressionHistoryItem.
63
+ :type time_effective_until: datetime
64
+
65
+ """
66
+ self.swagger_types = {
67
+ 'suppression_id': 'str',
68
+ 'alarm_suppression_target': 'AlarmSuppressionTarget',
69
+ 'level': 'str',
70
+ 'display_name': 'str',
71
+ 'description': 'str',
72
+ 'dimensions': 'dict(str, str)',
73
+ 'time_effective_from': 'datetime',
74
+ 'time_effective_until': 'datetime'
75
+ }
76
+
77
+ self.attribute_map = {
78
+ 'suppression_id': 'suppressionId',
79
+ 'alarm_suppression_target': 'alarmSuppressionTarget',
80
+ 'level': 'level',
81
+ 'display_name': 'displayName',
82
+ 'description': 'description',
83
+ 'dimensions': 'dimensions',
84
+ 'time_effective_from': 'timeEffectiveFrom',
85
+ 'time_effective_until': 'timeEffectiveUntil'
86
+ }
87
+
88
+ self._suppression_id = None
89
+ self._alarm_suppression_target = None
90
+ self._level = None
91
+ self._display_name = None
92
+ self._description = None
93
+ self._dimensions = None
94
+ self._time_effective_from = None
95
+ self._time_effective_until = None
96
+
97
+ @property
98
+ def suppression_id(self):
99
+ """
100
+ **[Required]** Gets the suppression_id of this AlarmSuppressionHistoryItem.
101
+ The `OCID`__ of the alarm suppression.
102
+
103
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
104
+
105
+
106
+ :return: The suppression_id of this AlarmSuppressionHistoryItem.
107
+ :rtype: str
108
+ """
109
+ return self._suppression_id
110
+
111
+ @suppression_id.setter
112
+ def suppression_id(self, suppression_id):
113
+ """
114
+ Sets the suppression_id of this AlarmSuppressionHistoryItem.
115
+ The `OCID`__ of the alarm suppression.
116
+
117
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
118
+
119
+
120
+ :param suppression_id: The suppression_id of this AlarmSuppressionHistoryItem.
121
+ :type: str
122
+ """
123
+ self._suppression_id = suppression_id
124
+
125
+ @property
126
+ def alarm_suppression_target(self):
127
+ """
128
+ **[Required]** Gets the alarm_suppression_target of this AlarmSuppressionHistoryItem.
129
+
130
+ :return: The alarm_suppression_target of this AlarmSuppressionHistoryItem.
131
+ :rtype: oci.monitoring.models.AlarmSuppressionTarget
132
+ """
133
+ return self._alarm_suppression_target
134
+
135
+ @alarm_suppression_target.setter
136
+ def alarm_suppression_target(self, alarm_suppression_target):
137
+ """
138
+ Sets the alarm_suppression_target of this AlarmSuppressionHistoryItem.
139
+
140
+ :param alarm_suppression_target: The alarm_suppression_target of this AlarmSuppressionHistoryItem.
141
+ :type: oci.monitoring.models.AlarmSuppressionTarget
142
+ """
143
+ self._alarm_suppression_target = alarm_suppression_target
144
+
145
+ @property
146
+ def level(self):
147
+ """
148
+ **[Required]** Gets the level of this AlarmSuppressionHistoryItem.
149
+ The level of this alarm suppression.
150
+ `ALARM` indicates a suppression of the entire alarm, regardless of dimension.
151
+ `DIMENSION` indicates a suppression configured for specified dimensions.
152
+
153
+ Allowed values for this property are: "ALARM", "DIMENSION", 'UNKNOWN_ENUM_VALUE'.
154
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
155
+
156
+
157
+ :return: The level of this AlarmSuppressionHistoryItem.
158
+ :rtype: str
159
+ """
160
+ return self._level
161
+
162
+ @level.setter
163
+ def level(self, level):
164
+ """
165
+ Sets the level of this AlarmSuppressionHistoryItem.
166
+ The level of this alarm suppression.
167
+ `ALARM` indicates a suppression of the entire alarm, regardless of dimension.
168
+ `DIMENSION` indicates a suppression configured for specified dimensions.
169
+
170
+
171
+ :param level: The level of this AlarmSuppressionHistoryItem.
172
+ :type: str
173
+ """
174
+ allowed_values = ["ALARM", "DIMENSION"]
175
+ if not value_allowed_none_or_none_sentinel(level, allowed_values):
176
+ level = 'UNKNOWN_ENUM_VALUE'
177
+ self._level = level
178
+
179
+ @property
180
+ def display_name(self):
181
+ """
182
+ **[Required]** Gets the display_name of this AlarmSuppressionHistoryItem.
183
+ A user-friendly name for the alarm suppression. It does not have to be unique, and it's changeable. Avoid entering confidential information.
184
+
185
+
186
+ :return: The display_name of this AlarmSuppressionHistoryItem.
187
+ :rtype: str
188
+ """
189
+ return self._display_name
190
+
191
+ @display_name.setter
192
+ def display_name(self, display_name):
193
+ """
194
+ Sets the display_name of this AlarmSuppressionHistoryItem.
195
+ A user-friendly name for the alarm suppression. It does not have to be unique, and it's changeable. Avoid entering confidential information.
196
+
197
+
198
+ :param display_name: The display_name of this AlarmSuppressionHistoryItem.
199
+ :type: str
200
+ """
201
+ self._display_name = display_name
202
+
203
+ @property
204
+ def description(self):
205
+ """
206
+ Gets the description of this AlarmSuppressionHistoryItem.
207
+ Human-readable reason for this alarm suppression.
208
+ It does not have to be unique, and it's changeable.
209
+ Avoid entering confidential information.
210
+
211
+ Oracle recommends including tracking information for the event or associated work,
212
+ such as a ticket number.
213
+
214
+ Example: `Planned outage due to change IT-1234.`
215
+
216
+
217
+ :return: The description of this AlarmSuppressionHistoryItem.
218
+ :rtype: str
219
+ """
220
+ return self._description
221
+
222
+ @description.setter
223
+ def description(self, description):
224
+ """
225
+ Sets the description of this AlarmSuppressionHistoryItem.
226
+ Human-readable reason for this alarm suppression.
227
+ It does not have to be unique, and it's changeable.
228
+ Avoid entering confidential information.
229
+
230
+ Oracle recommends including tracking information for the event or associated work,
231
+ such as a ticket number.
232
+
233
+ Example: `Planned outage due to change IT-1234.`
234
+
235
+
236
+ :param description: The description of this AlarmSuppressionHistoryItem.
237
+ :type: str
238
+ """
239
+ self._description = description
240
+
241
+ @property
242
+ def dimensions(self):
243
+ """
244
+ Gets the dimensions of this AlarmSuppressionHistoryItem.
245
+ Configured dimension filter for suppressing alarm state entries that include the set of specified dimension key-value pairs.
246
+
247
+ Example: `{\"resourceId\": \"ocid1.instance.region1.phx.exampleuniqueID\"}`
248
+
249
+
250
+ :return: The dimensions of this AlarmSuppressionHistoryItem.
251
+ :rtype: dict(str, str)
252
+ """
253
+ return self._dimensions
254
+
255
+ @dimensions.setter
256
+ def dimensions(self, dimensions):
257
+ """
258
+ Sets the dimensions of this AlarmSuppressionHistoryItem.
259
+ Configured dimension filter for suppressing alarm state entries that include the set of specified dimension key-value pairs.
260
+
261
+ Example: `{\"resourceId\": \"ocid1.instance.region1.phx.exampleuniqueID\"}`
262
+
263
+
264
+ :param dimensions: The dimensions of this AlarmSuppressionHistoryItem.
265
+ :type: dict(str, str)
266
+ """
267
+ self._dimensions = dimensions
268
+
269
+ @property
270
+ def time_effective_from(self):
271
+ """
272
+ **[Required]** Gets the time_effective_from of this AlarmSuppressionHistoryItem.
273
+ The start date and time for the suppression actually starts, inclusive. Format defined by RFC3339.
274
+
275
+ Example: `2023-02-01T01:02:29.600Z`
276
+
277
+
278
+ :return: The time_effective_from of this AlarmSuppressionHistoryItem.
279
+ :rtype: datetime
280
+ """
281
+ return self._time_effective_from
282
+
283
+ @time_effective_from.setter
284
+ def time_effective_from(self, time_effective_from):
285
+ """
286
+ Sets the time_effective_from of this AlarmSuppressionHistoryItem.
287
+ The start date and time for the suppression actually starts, inclusive. Format defined by RFC3339.
288
+
289
+ Example: `2023-02-01T01:02:29.600Z`
290
+
291
+
292
+ :param time_effective_from: The time_effective_from of this AlarmSuppressionHistoryItem.
293
+ :type: datetime
294
+ """
295
+ self._time_effective_from = time_effective_from
296
+
297
+ @property
298
+ def time_effective_until(self):
299
+ """
300
+ **[Required]** Gets the time_effective_until of this AlarmSuppressionHistoryItem.
301
+ The end date and time for the suppression actually ends, inclusive. Format defined by RFC3339.
302
+
303
+ Example: `2023-02-01T02:02:29.600Z`
304
+
305
+
306
+ :return: The time_effective_until of this AlarmSuppressionHistoryItem.
307
+ :rtype: datetime
308
+ """
309
+ return self._time_effective_until
310
+
311
+ @time_effective_until.setter
312
+ def time_effective_until(self, time_effective_until):
313
+ """
314
+ Sets the time_effective_until of this AlarmSuppressionHistoryItem.
315
+ The end date and time for the suppression actually ends, inclusive. Format defined by RFC3339.
316
+
317
+ Example: `2023-02-01T02:02:29.600Z`
318
+
319
+
320
+ :param time_effective_until: The time_effective_until of this AlarmSuppressionHistoryItem.
321
+ :type: datetime
322
+ """
323
+ self._time_effective_until = time_effective_until
324
+
325
+ def __repr__(self):
326
+ return formatted_flat_dict(self)
327
+
328
+ def __eq__(self, other):
329
+ if other is None:
330
+ return False
331
+
332
+ return self.__dict__ == other.__dict__
333
+
334
+ def __ne__(self, other):
335
+ return not self == other
@@ -0,0 +1,72 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
3
+ # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
+
5
+ # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20180401
6
+
7
+
8
+ from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
9
+ from oci.decorators import init_model_state_from_kwargs
10
+
11
+
12
+ @init_model_state_from_kwargs
13
+ class AlarmSuppressionHistoryItemCollection(object):
14
+ """
15
+ Collection of property summaries for alarm suppression history items.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new AlarmSuppressionHistoryItemCollection object with values from keyword arguments.
21
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
22
+
23
+ :param items:
24
+ The value to assign to the items property of this AlarmSuppressionHistoryItemCollection.
25
+ :type items: list[oci.monitoring.models.AlarmSuppressionHistoryItem]
26
+
27
+ """
28
+ self.swagger_types = {
29
+ 'items': 'list[AlarmSuppressionHistoryItem]'
30
+ }
31
+
32
+ self.attribute_map = {
33
+ 'items': 'items'
34
+ }
35
+
36
+ self._items = None
37
+
38
+ @property
39
+ def items(self):
40
+ """
41
+ **[Required]** Gets the items of this AlarmSuppressionHistoryItemCollection.
42
+ List of alarm suppression history items.
43
+
44
+
45
+ :return: The items of this AlarmSuppressionHistoryItemCollection.
46
+ :rtype: list[oci.monitoring.models.AlarmSuppressionHistoryItem]
47
+ """
48
+ return self._items
49
+
50
+ @items.setter
51
+ def items(self, items):
52
+ """
53
+ Sets the items of this AlarmSuppressionHistoryItemCollection.
54
+ List of alarm suppression history items.
55
+
56
+
57
+ :param items: The items of this AlarmSuppressionHistoryItemCollection.
58
+ :type: list[oci.monitoring.models.AlarmSuppressionHistoryItem]
59
+ """
60
+ self._items = items
61
+
62
+ def __repr__(self):
63
+ return formatted_flat_dict(self)
64
+
65
+ def __eq__(self, other):
66
+ if other is None:
67
+ return False
68
+
69
+ return self.__dict__ == other.__dict__
70
+
71
+ def __ne__(self, other):
72
+ return not self == other