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.
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +100 -47
- oci/adm/application_dependency_management_client_composite_operations.py +10 -5
- oci/adm/models/application_dependency.py +36 -3
- oci/adm/models/application_dependency_recommendation_summary.py +64 -2
- oci/adm/models/application_dependency_vulnerability_summary.py +35 -2
- oci/adm/models/create_vulnerability_audit_details.py +3 -3
- oci/adm/models/detect_configuration.py +65 -2
- oci/adm/models/usage_data_details.py +2 -1
- oci/adm/models/usage_data_via_object_storage_tuple_details.py +2 -1
- oci/adm/models/vulnerability.py +92 -2
- oci/adm/models/vulnerability_audit.py +133 -11
- oci/adm/models/vulnerability_audit_configuration.py +63 -0
- oci/adm/models/vulnerability_audit_summary.py +124 -6
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +22 -22
- oci/ai_language/ai_service_language_client.py +36 -36
- oci/ai_speech/ai_service_speech_client.py +9 -9
- oci/ai_vision/ai_service_vision_client.py +25 -25
- oci/analytics/analytics_client.py +23 -23
- oci/announcements_service/announcement_client.py +4 -4
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +8 -8
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +28 -28
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/application_migration/application_migration_client.py +19 -19
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/auth/__init__.py +0 -4
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +51 -51
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +8 -8
- oci/cims/user_client.py +1 -1
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +14 -14
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +133 -133
- oci/cloud_migrations/migration_client.py +43 -43
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +44 -44
- oci/container_instances/container_instance_client.py +25 -20
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +99 -99
- oci/core/compute_management_client.py +32 -32
- oci/core/virtual_network_client.py +242 -242
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +147 -147
- oci/data_flow/data_flow_client.py +42 -42
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +4081 -1170
- oci/data_safe/data_safe_client_composite_operations.py +257 -0
- oci/data_safe/models/__init__.py +60 -0
- oci/data_safe/models/audit_event_summary.py +109 -0
- oci/data_safe/models/audit_trail.py +191 -0
- oci/data_safe/models/audit_trail_summary.py +31 -0
- oci/data_safe/models/available_audit_volume_summary.py +62 -0
- oci/data_safe/models/calculate_audit_volume_available_details.py +34 -3
- oci/data_safe/models/create_peer_target_database_details.py +188 -0
- oci/data_safe/models/create_target_database_details.py +31 -0
- oci/data_safe/models/database_table_access_entry.py +837 -0
- oci/data_safe/models/database_table_access_entry_collection.py +72 -0
- oci/data_safe/models/database_table_access_entry_summary.py +835 -0
- oci/data_safe/models/database_view_access_entry.py +772 -0
- oci/data_safe/models/database_view_access_entry_collection.py +72 -0
- oci/data_safe/models/database_view_access_entry_summary.py +771 -0
- oci/data_safe/models/diffs.py +7 -3
- oci/data_safe/models/finding.py +347 -5
- oci/data_safe/models/finding_analytics_collection.py +72 -0
- oci/data_safe/models/finding_analytics_dimensions.py +299 -0
- oci/data_safe/models/finding_analytics_summary.py +148 -0
- oci/data_safe/models/finding_summary.py +316 -5
- oci/data_safe/models/findings_change_audit_log_collection.py +72 -0
- oci/data_safe/models/findings_change_audit_log_summary.py +458 -0
- oci/data_safe/models/peer_target_database.py +414 -0
- oci/data_safe/models/peer_target_database_collection.py +134 -0
- oci/data_safe/models/peer_target_database_summary.py +360 -0
- oci/data_safe/models/role_grant_path_collection.py +72 -0
- oci/data_safe/models/role_grant_path_summary.py +169 -0
- oci/data_safe/models/security_assessment_statistics.py +29 -2
- oci/data_safe/models/security_feature_analytics_collection.py +72 -0
- oci/data_safe/models/security_feature_analytics_dimensions.py +124 -0
- oci/data_safe/models/security_feature_analytics_summary.py +142 -0
- oci/data_safe/models/security_feature_collection.py +72 -0
- oci/data_safe/models/security_feature_summary.py +773 -0
- oci/data_safe/models/security_policy_report.py +475 -0
- oci/data_safe/models/security_policy_report_collection.py +72 -0
- oci/data_safe/models/security_policy_report_summary.py +442 -0
- oci/data_safe/models/target_database.py +31 -0
- oci/data_safe/models/update_finding_details.py +134 -0
- oci/data_safe/models/update_peer_target_database_details.py +157 -0
- oci/data_safe/models/update_report_details.py +119 -0
- oci/data_safe/models/user_access_analytics_collection.py +72 -0
- oci/data_safe/models/user_access_analytics_summary.py +103 -0
- oci/data_safe/models/user_summary.py +64 -2
- oci/data_safe/models/work_request.py +35 -3
- oci/data_safe/models/work_request_summary.py +35 -3
- oci/data_science/data_science_client.py +91 -91
- oci/database/database_client.py +327 -327
- oci/database_management/db_management_client.py +182 -182
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +6 -6
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +41 -41
- oci/database_tools/database_tools_client.py +23 -23
- oci/devops/devops_client.py +89 -89
- oci/disaster_recovery/disaster_recovery_client.py +29 -29
- oci/dns/dns_client.py +52 -52
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_data_lake_client.py +13 -13
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +25 -25
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +50 -50
- oci/fleet_software_update/fleet_software_update_client.py +44 -44
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/data_masking_activity_client.py +3 -3
- oci/fusion_apps/fusion_applications_client.py +39 -39
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/refresh_activity_client.py +4 -4
- oci/fusion_apps/scheduled_activity_client.py +2 -2
- oci/fusion_apps/service_attachment_client.py +2 -2
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/golden_gate/golden_gate_client.py +61 -61
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +558 -558
- oci/integration/integration_instance_client.py +15 -15
- oci/jms/java_management_service_client.py +66 -66
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/lockbox/lockbox_client.py +23 -23
- oci/log_analytics/log_analytics_client.py +193 -193
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +23 -23
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/media_services/media_services_client.py +48 -48
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/models/__init__.py +18 -0
- oci/monitoring/models/aggregated_datapoint.py +2 -2
- oci/monitoring/models/alarm.py +8 -10
- oci/monitoring/models/alarm_history_entry.py +4 -4
- oci/monitoring/models/alarm_status_summary.py +4 -4
- oci/monitoring/models/alarm_summary.py +43 -6
- oci/monitoring/models/alarm_suppression.py +506 -0
- oci/monitoring/models/alarm_suppression_alarm_target.py +86 -0
- oci/monitoring/models/alarm_suppression_collection.py +72 -0
- oci/monitoring/models/alarm_suppression_history_item.py +335 -0
- oci/monitoring/models/alarm_suppression_history_item_collection.py +72 -0
- oci/monitoring/models/alarm_suppression_summary.py +490 -0
- oci/monitoring/models/alarm_suppression_target.py +101 -0
- oci/monitoring/models/create_alarm_details.py +2 -4
- oci/monitoring/models/create_alarm_suppression_details.py +327 -0
- oci/monitoring/models/datapoint.py +2 -2
- oci/monitoring/models/list_metrics_details.py +2 -2
- oci/monitoring/models/metric.py +2 -2
- oci/monitoring/models/metric_data.py +2 -2
- oci/monitoring/models/metric_data_details.py +6 -6
- oci/monitoring/models/summarize_alarm_suppression_history_details.py +164 -0
- oci/monitoring/models/summarize_metrics_data_details.py +12 -6
- oci/monitoring/models/suppression.py +6 -5
- oci/monitoring/models/update_alarm_details.py +2 -4
- oci/monitoring/monitoring_client.py +737 -89
- oci/monitoring/monitoring_client_composite_operations.py +105 -0
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +6 -6
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +80 -80
- oci/network_load_balancer/network_load_balancer_client.py +34 -34
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +50 -50
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +56 -56
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/opa/opa_instance_client.py +11 -11
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +14 -14
- oci/operator_access_control/access_requests_client.py +9 -9
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +6 -6
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/operations_insights_client.py +175 -175
- oci/optimizer/optimizer_client.py +26 -26
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management_hub/lifecycle_environment_client.py +11 -11
- oci/os_management_hub/managed_instance_client.py +22 -22
- oci/os_management_hub/managed_instance_group_client.py +22 -22
- oci/os_management_hub/management_station_client.py +8 -8
- oci/os_management_hub/onboarding_client.py +5 -5
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +6 -6
- oci/os_management_hub/software_source_client.py +22 -22
- oci/os_management_hub/work_request_client.py +4 -4
- oci/osp_gateway/address_rule_service_client.py +1 -1
- oci/osp_gateway/address_service_client.py +2 -2
- oci/osp_gateway/invoice_service_client.py +5 -5
- oci/osp_gateway/subscription_service_client.py +5 -5
- oci/osub_billing_schedule/billing_schedule_client.py +1 -1
- oci/osub_organization_subscription/organization_subscription_client.py +1 -1
- oci/osub_subscription/commitment_client.py +2 -2
- oci/osub_subscription/ratecard_client.py +1 -1
- oci/osub_subscription/subscription_client.py +1 -1
- oci/osub_usage/computed_usage_client.py +3 -3
- oci/psql/postgresql_client.py +33 -33
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +23 -23
- oci/redis/redis_cluster_client.py +11 -11
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/stack_monitoring_client.py +58 -58
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/usageapi_client.py +28 -28
- oci/vault/vaults_client.py +11 -11
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +13 -13
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- {oci-2.118.1.dist-info → oci-2.119.0.dist-info}/METADATA +1 -2
- {oci-2.118.1.dist-info → oci-2.119.0.dist-info}/RECORD +322 -284
- oci/auth/signers/yubikey_signer.py +0 -140
- {oci-2.118.1.dist-info → oci-2.119.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.118.1.dist-info → oci-2.119.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.118.1.dist-info → oci-2.119.0.dist-info}/WHEEL +0 -0
- {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
|