oci 2.124.2__py3-none-any.whl → 2.125.1__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/__init__.py +2 -2
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +36 -36
- 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 +43 -43
- oci/ai_speech/ai_service_speech_client.py +10 -10
- 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/attributes_client.py +8 -8
- 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/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/capacity_management/capacity_management_client.py +19 -19
- 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 +176 -177
- oci/cloud_guard/models/activity_problem_aggregation.py +1 -1
- oci/cloud_guard/models/condition_metadata_type.py +1 -1
- oci/cloud_guard/models/configuration.py +1 -1
- oci/cloud_guard/models/create_data_source_details.py +47 -0
- oci/cloud_guard/models/create_managed_list_details.py +11 -3
- oci/cloud_guard/models/data_mask_rule.py +1 -1
- oci/cloud_guard/models/detector.py +1 -1
- oci/cloud_guard/models/detector_recipe.py +1 -1
- oci/cloud_guard/models/detector_recipe_detector_rule.py +12 -4
- oci/cloud_guard/models/detector_recipe_detector_rule_summary.py +11 -3
- oci/cloud_guard/models/detector_rule.py +12 -4
- oci/cloud_guard/models/detector_rule_summary.py +11 -3
- oci/cloud_guard/models/impacted_resource_summary.py +1 -1
- oci/cloud_guard/models/managed_list.py +12 -4
- oci/cloud_guard/models/managed_list_summary.py +11 -3
- oci/cloud_guard/models/managed_list_type_summary.py +1 -1
- oci/cloud_guard/models/policy_summary.py +1 -1
- oci/cloud_guard/models/problem.py +1 -1
- oci/cloud_guard/models/problem_aggregation.py +1 -1
- oci/cloud_guard/models/problem_endpoint_summary.py +1 -1
- oci/cloud_guard/models/problem_trend_aggregation.py +1 -1
- oci/cloud_guard/models/target_detector_recipe_detector_rule.py +11 -3
- oci/cloud_guard/models/target_detector_recipe_detector_rule_summary.py +11 -3
- 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 +18 -18
- 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 +148 -148
- 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 +272 -272
- oci/data_science/data_science_client.py +91 -91
- oci/database/database_client.py +327 -327
- oci/database/models/autonomous_database.py +93 -0
- oci/database/models/autonomous_database_summary.py +93 -0
- oci/database/models/create_refreshable_autonomous_database_clone_details.py +146 -2
- oci/database/models/update_autonomous_database_details.py +93 -0
- oci/database_management/db_management_client.py +194 -194
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +148 -8
- oci/database_management/models/__init__.py +14 -0
- oci/database_management/models/heat_wave_cluster_usage_metrics.py +340 -0
- oci/database_management/models/heat_wave_fleet_by_category.py +134 -0
- oci/database_management/models/heat_wave_fleet_metric_definition.py +196 -0
- oci/database_management/models/heat_wave_fleet_metric_summary_definition.py +165 -0
- oci/database_management/models/heat_wave_fleet_metrics.py +165 -0
- oci/database_management/models/heat_wave_fleet_summary.py +103 -0
- oci/database_management/models/heat_wave_node.py +154 -0
- oci/database_management/models/managed_my_sql_database.py +250 -2
- oci/database_management/models/my_sql_data_summary.py +64 -2
- oci/database_management/models/my_sql_database_usage_metrics.py +93 -0
- 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/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +92 -92
- oci/devops/models/__init__.py +2 -0
- oci/devops/models/create_oke_helm_chart_deploy_stage_details.py +109 -0
- oci/devops/models/create_repository_details.py +2 -2
- oci/devops/models/deploy_artifact.py +7 -3
- oci/devops/models/deploy_artifact_source.py +4 -0
- oci/devops/models/devops_code_repository_filter.py +2 -2
- oci/devops/models/devops_code_repository_filter_attributes.py +2 -2
- oci/devops/models/diff_summary.py +37 -2
- oci/devops/models/helm_command_spec_artifact_source.py +126 -0
- oci/devops/models/oke_helm_chart_deploy_stage.py +113 -2
- oci/devops/models/oke_helm_chart_deploy_stage_summary.py +109 -0
- oci/devops/models/repository.py +17 -5
- oci/devops/models/repository_author_summary.py +37 -2
- oci/devops/models/repository_branch_summary.py +7 -0
- oci/devops/models/repository_commit_summary.py +37 -2
- oci/devops/models/repository_mirror_record_summary.py +37 -2
- oci/devops/models/repository_path_summary.py +37 -2
- oci/devops/models/repository_ref_summary.py +37 -2
- oci/devops/models/repository_summary.py +2 -2
- oci/devops/models/repository_tag_summary.py +7 -0
- oci/devops/models/update_oke_helm_chart_deploy_stage_details.py +109 -0
- oci/devops/models/update_repository_details.py +2 -2
- 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 +135 -41
- oci/email/models/__init__.py +2 -0
- oci/email/models/configuration.py +138 -0
- oci/email/models/create_dkim_details.py +4 -4
- oci/email/models/create_email_domain_details.py +6 -2
- oci/email/models/dkim.py +8 -8
- oci/email/models/dkim_collection.py +1 -1
- oci/email/models/email_domain.py +6 -6
- oci/email/models/email_domain_collection.py +1 -1
- oci/email/models/email_domain_summary.py +6 -6
- oci/email/models/sender.py +41 -4
- oci/email/models/sender_summary.py +41 -28
- oci/email/models/suppression.py +12 -4
- oci/email/models/suppression_summary.py +6 -2
- oci/email/models/work_request.py +13 -5
- oci/email/models/work_request_error.py +8 -6
- oci/email/models/work_request_resource.py +7 -3
- oci/email/models/work_request_summary.py +13 -5
- oci/email_data_plane/__init__.py +14 -0
- oci/email_data_plane/email_dp_client.py +206 -0
- oci/email_data_plane/email_dp_client_composite_operations.py +26 -0
- oci/email_data_plane/models/__init__.py +22 -0
- oci/email_data_plane/models/email_address.py +107 -0
- oci/email_data_plane/models/email_submitted_response.py +136 -0
- oci/email_data_plane/models/recipients.py +135 -0
- oci/email_data_plane/models/sender.py +103 -0
- oci/email_data_plane/models/submit_email_details.py +297 -0
- 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/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_inference/generative_ai_inference_client.py +3 -3
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +29 -29
- 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 +300 -300
- 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_hsm_cluster_client.py +12 -12
- 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/load_balancer/models/create_ssl_cipher_suite_details.py +102 -0
- oci/load_balancer/models/ssl_cipher_suite.py +102 -0
- oci/load_balancer/models/ssl_cipher_suite_details.py +102 -0
- oci/load_balancer/models/ssl_configuration.py +2 -0
- oci/load_balancer/models/ssl_configuration_details.py +2 -0
- oci/load_balancer/models/update_ssl_cipher_suite_details.py +16 -0
- 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/logging/models/__init__.py +52 -0
- oci/logging/models/create_unified_agent_configuration_details.py +2 -2
- oci/logging/models/grep_filter_allow_rule.py +103 -0
- oci/logging/models/grep_filter_deny_rule.py +103 -0
- oci/logging/models/operational_metrics_source.py +1 -1
- oci/logging/models/record_transformer_pair.py +103 -0
- oci/logging/models/unified_agent_apache2_parser.py +1 -1
- oci/logging/models/unified_agent_apache_error_parser.py +1 -1
- oci/logging/models/unified_agent_auditd_parser.py +1 -1
- oci/logging/models/unified_agent_configuration_summary.py +7 -3
- oci/logging/models/unified_agent_cri_parser.py +1 -1
- oci/logging/models/unified_agent_csv_parser.py +1 -1
- oci/logging/models/unified_agent_custom_filter.py +151 -0
- oci/logging/models/unified_agent_custom_plugin_log_source.py +89 -0
- oci/logging/models/unified_agent_custom_section.py +103 -0
- oci/logging/models/unified_agent_grok_parser.py +1 -1
- oci/logging/models/unified_agent_kubernetes_configuration_details.py +132 -0
- oci/logging/models/unified_agent_kubernetes_filter.py +121 -0
- oci/logging/models/unified_agent_kubernetes_scrape_target.py +189 -0
- oci/logging/models/unified_agent_kubernetes_source.py +103 -0
- oci/logging/models/unified_agent_logging_configuration.py +32 -1
- oci/logging/models/unified_agent_logging_filter.py +156 -0
- oci/logging/models/unified_agent_logging_grep_filter.py +121 -0
- oci/logging/models/unified_agent_logging_record_transformer_filter.py +276 -0
- oci/logging/models/unified_agent_logging_source.py +11 -3
- oci/logging/models/unified_agent_monitoring_application_configuration_details.py +117 -0
- oci/logging/models/unified_agent_monitoring_configuration_details.py +82 -0
- oci/logging/models/unified_agent_monitoring_destination.py +103 -0
- oci/logging/models/unified_agent_monitoring_filter.py +140 -0
- oci/logging/models/unified_agent_monitoring_url_source.py +103 -0
- oci/logging/models/unified_agent_msgpack_parser.py +1 -1
- oci/logging/models/unified_agent_multiline_grok_parser.py +1 -1
- oci/logging/models/unified_agent_multiline_parser.py +1 -1
- oci/logging/models/unified_agent_none_parser.py +1 -1
- oci/logging/models/unified_agent_openmetrics_parser.py +127 -0
- oci/logging/models/unified_agent_openmetrics_parser_record.py +134 -0
- oci/logging/models/unified_agent_openmetrics_tail_configuration_details.py +109 -0
- oci/logging/models/unified_agent_parser.py +11 -3
- oci/logging/models/unified_agent_parser_filter.py +338 -0
- oci/logging/models/unified_agent_regex_parser.py +1 -1
- oci/logging/models/unified_agent_service_configuration_details.py +11 -3
- oci/logging/models/unified_agent_syslog_parser.py +1 -1
- oci/logging/models/unified_agent_tail_log_source.py +30 -3
- oci/logging/models/unified_agent_tail_source_advanced_options.py +72 -0
- oci/logging/models/unified_agent_tsv_parser.py +1 -1
- oci/logging/models/unified_agent_url_configuration_details.py +132 -0
- oci/logging/models/unified_agent_url_filter.py +120 -0
- oci/logging/models/unified_agent_url_scrape_target.py +103 -0
- oci/logging/models/unified_agent_windows_event_source.py +1 -1
- oci/logging/models/unified_json_parser.py +65 -3
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +28 -28
- 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 +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/models/__init__.py +2 -0
- oci/monitoring/models/alarm.py +107 -0
- oci/monitoring/models/alarm_dimension_states_entry.py +35 -0
- oci/monitoring/models/alarm_override.py +304 -0
- oci/monitoring/models/alarm_status_summary.py +35 -0
- oci/monitoring/models/alarm_summary.py +109 -2
- oci/monitoring/models/create_alarm_details.py +109 -2
- oci/monitoring/models/update_alarm_details.py +109 -2
- oci/monitoring/monitoring_client.py +23 -22
- 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/models/backend.py +3 -3
- oci/network_load_balancer/models/backend_details.py +2 -2
- oci/network_load_balancer/models/backend_set.py +1 -1
- oci/network_load_balancer/models/backend_set_details.py +1 -1
- oci/network_load_balancer/models/backend_set_summary.py +1 -1
- oci/network_load_balancer/models/backend_summary.py +3 -3
- oci/network_load_balancer/models/create_backend_details.py +3 -3
- oci/network_load_balancer/models/create_backend_set_details.py +1 -1
- oci/network_load_balancer/models/create_listener_details.py +7 -9
- oci/network_load_balancer/models/create_network_load_balancer_details.py +144 -6
- oci/network_load_balancer/models/health_checker.py +1 -1
- oci/network_load_balancer/models/health_checker_details.py +1 -1
- oci/network_load_balancer/models/listener.py +6 -8
- oci/network_load_balancer/models/listener_details.py +6 -8
- oci/network_load_balancer/models/listener_summary.py +6 -8
- oci/network_load_balancer/models/network_load_balancer.py +43 -6
- oci/network_load_balancer/models/network_load_balancer_summary.py +42 -5
- oci/network_load_balancer/models/update_backend_details.py +4 -4
- oci/network_load_balancer/models/update_backend_set_details.py +1 -1
- oci/network_load_balancer/models/update_listener_details.py +5 -7
- oci/network_load_balancer/models/update_network_load_balancer_details.py +106 -3
- oci/network_load_balancer/models/work_request.py +7 -3
- oci/network_load_balancer/models/work_request_summary.py +7 -3
- oci/network_load_balancer/network_load_balancer_client.py +136 -68
- 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 +59 -59
- 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 +10 -10
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +8 -8
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/operations_insights_client.py +350 -350
- 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/connector_plugins_client.py +2 -2
- 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 +64 -64
- 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 +13 -13
- 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.124.2.dist-info → oci-2.125.1.dist-info}/METADATA +1 -1
- {oci-2.124.2.dist-info → oci-2.125.1.dist-info}/RECORD +420 -375
- {oci-2.124.2.dist-info → oci-2.125.1.dist-info}/LICENSE.txt +0 -0
- {oci-2.124.2.dist-info → oci-2.125.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.124.2.dist-info → oci-2.125.1.dist-info}/WHEEL +0 -0
- {oci-2.124.2.dist-info → oci-2.125.1.dist-info}/top_level.txt +0 -0
oci/monitoring/models/alarm.py
CHANGED
@@ -160,6 +160,18 @@ class Alarm(object):
|
|
160
160
|
The value to assign to the defined_tags property of this Alarm.
|
161
161
|
:type defined_tags: dict(str, dict(str, object))
|
162
162
|
|
163
|
+
:param overrides:
|
164
|
+
The value to assign to the overrides property of this Alarm.
|
165
|
+
:type overrides: list[oci.monitoring.models.AlarmOverride]
|
166
|
+
|
167
|
+
:param rule_name:
|
168
|
+
The value to assign to the rule_name property of this Alarm.
|
169
|
+
:type rule_name: str
|
170
|
+
|
171
|
+
:param notification_version:
|
172
|
+
The value to assign to the notification_version property of this Alarm.
|
173
|
+
:type notification_version: str
|
174
|
+
|
163
175
|
:param lifecycle_state:
|
164
176
|
The value to assign to the lifecycle_state property of this Alarm.
|
165
177
|
Allowed values for this property are: "ACTIVE", "DELETING", "DELETED", 'UNKNOWN_ENUM_VALUE'.
|
@@ -196,6 +208,9 @@ class Alarm(object):
|
|
196
208
|
'is_enabled': 'bool',
|
197
209
|
'freeform_tags': 'dict(str, str)',
|
198
210
|
'defined_tags': 'dict(str, dict(str, object))',
|
211
|
+
'overrides': 'list[AlarmOverride]',
|
212
|
+
'rule_name': 'str',
|
213
|
+
'notification_version': 'str',
|
199
214
|
'lifecycle_state': 'str',
|
200
215
|
'time_created': 'datetime',
|
201
216
|
'time_updated': 'datetime'
|
@@ -222,6 +237,9 @@ class Alarm(object):
|
|
222
237
|
'is_enabled': 'isEnabled',
|
223
238
|
'freeform_tags': 'freeformTags',
|
224
239
|
'defined_tags': 'definedTags',
|
240
|
+
'overrides': 'overrides',
|
241
|
+
'rule_name': 'ruleName',
|
242
|
+
'notification_version': 'notificationVersion',
|
225
243
|
'lifecycle_state': 'lifecycleState',
|
226
244
|
'time_created': 'timeCreated',
|
227
245
|
'time_updated': 'timeUpdated'
|
@@ -247,6 +265,9 @@ class Alarm(object):
|
|
247
265
|
self._is_enabled = None
|
248
266
|
self._freeform_tags = None
|
249
267
|
self._defined_tags = None
|
268
|
+
self._overrides = None
|
269
|
+
self._rule_name = None
|
270
|
+
self._notification_version = None
|
250
271
|
self._lifecycle_state = None
|
251
272
|
self._time_created = None
|
252
273
|
self._time_updated = None
|
@@ -931,6 +952,92 @@ class Alarm(object):
|
|
931
952
|
"""
|
932
953
|
self._defined_tags = defined_tags
|
933
954
|
|
955
|
+
@property
|
956
|
+
def overrides(self):
|
957
|
+
"""
|
958
|
+
Gets the overrides of this Alarm.
|
959
|
+
A set of overrides that control evaluations of the alarm.
|
960
|
+
|
961
|
+
Each override can specify values for query, severity, body, and pending duration.
|
962
|
+
When an alarm contains overrides, the Monitoring service evaluates each override in order, beginning with the first override in the array (index position `0`),
|
963
|
+
and then evaluates the alarm's base values (`ruleName` value of `BASE`).
|
964
|
+
|
965
|
+
|
966
|
+
:return: The overrides of this Alarm.
|
967
|
+
:rtype: list[oci.monitoring.models.AlarmOverride]
|
968
|
+
"""
|
969
|
+
return self._overrides
|
970
|
+
|
971
|
+
@overrides.setter
|
972
|
+
def overrides(self, overrides):
|
973
|
+
"""
|
974
|
+
Sets the overrides of this Alarm.
|
975
|
+
A set of overrides that control evaluations of the alarm.
|
976
|
+
|
977
|
+
Each override can specify values for query, severity, body, and pending duration.
|
978
|
+
When an alarm contains overrides, the Monitoring service evaluates each override in order, beginning with the first override in the array (index position `0`),
|
979
|
+
and then evaluates the alarm's base values (`ruleName` value of `BASE`).
|
980
|
+
|
981
|
+
|
982
|
+
:param overrides: The overrides of this Alarm.
|
983
|
+
:type: list[oci.monitoring.models.AlarmOverride]
|
984
|
+
"""
|
985
|
+
self._overrides = overrides
|
986
|
+
|
987
|
+
@property
|
988
|
+
def rule_name(self):
|
989
|
+
"""
|
990
|
+
Gets the rule_name of this Alarm.
|
991
|
+
Identifier of the alarm's base values for alarm evaluation, for use when the alarm contains overrides.
|
992
|
+
A valid ruleName value starts with an alphabetic character and includes only alphanumeric characters, underscores and square brackets.
|
993
|
+
Minimum number of characters: 3. Default value is `BASE`. For information about alarm overrides, see :func:`alarm_override`.
|
994
|
+
|
995
|
+
|
996
|
+
:return: The rule_name of this Alarm.
|
997
|
+
:rtype: str
|
998
|
+
"""
|
999
|
+
return self._rule_name
|
1000
|
+
|
1001
|
+
@rule_name.setter
|
1002
|
+
def rule_name(self, rule_name):
|
1003
|
+
"""
|
1004
|
+
Sets the rule_name of this Alarm.
|
1005
|
+
Identifier of the alarm's base values for alarm evaluation, for use when the alarm contains overrides.
|
1006
|
+
A valid ruleName value starts with an alphabetic character and includes only alphanumeric characters, underscores and square brackets.
|
1007
|
+
Minimum number of characters: 3. Default value is `BASE`. For information about alarm overrides, see :func:`alarm_override`.
|
1008
|
+
|
1009
|
+
|
1010
|
+
:param rule_name: The rule_name of this Alarm.
|
1011
|
+
:type: str
|
1012
|
+
"""
|
1013
|
+
self._rule_name = rule_name
|
1014
|
+
|
1015
|
+
@property
|
1016
|
+
def notification_version(self):
|
1017
|
+
"""
|
1018
|
+
Gets the notification_version of this Alarm.
|
1019
|
+
The version of the alarm notification to be delivered. Allowed value: `1.X`
|
1020
|
+
The value must start with a number (up to four digits), followed by a period and an uppercase X.
|
1021
|
+
|
1022
|
+
|
1023
|
+
:return: The notification_version of this Alarm.
|
1024
|
+
:rtype: str
|
1025
|
+
"""
|
1026
|
+
return self._notification_version
|
1027
|
+
|
1028
|
+
@notification_version.setter
|
1029
|
+
def notification_version(self, notification_version):
|
1030
|
+
"""
|
1031
|
+
Sets the notification_version of this Alarm.
|
1032
|
+
The version of the alarm notification to be delivered. Allowed value: `1.X`
|
1033
|
+
The value must start with a number (up to four digits), followed by a period and an uppercase X.
|
1034
|
+
|
1035
|
+
|
1036
|
+
:param notification_version: The notification_version of this Alarm.
|
1037
|
+
:type: str
|
1038
|
+
"""
|
1039
|
+
self._notification_version = notification_version
|
1040
|
+
|
934
1041
|
@property
|
935
1042
|
def lifecycle_state(self):
|
936
1043
|
"""
|
@@ -38,6 +38,10 @@ class AlarmDimensionStatesEntry(object):
|
|
38
38
|
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
39
39
|
:type status: str
|
40
40
|
|
41
|
+
:param rule_name:
|
42
|
+
The value to assign to the rule_name property of this AlarmDimensionStatesEntry.
|
43
|
+
:type rule_name: str
|
44
|
+
|
41
45
|
:param timestamp:
|
42
46
|
The value to assign to the timestamp property of this AlarmDimensionStatesEntry.
|
43
47
|
:type timestamp: datetime
|
@@ -46,17 +50,20 @@ class AlarmDimensionStatesEntry(object):
|
|
46
50
|
self.swagger_types = {
|
47
51
|
'dimensions': 'dict(str, str)',
|
48
52
|
'status': 'str',
|
53
|
+
'rule_name': 'str',
|
49
54
|
'timestamp': 'datetime'
|
50
55
|
}
|
51
56
|
|
52
57
|
self.attribute_map = {
|
53
58
|
'dimensions': 'dimensions',
|
54
59
|
'status': 'status',
|
60
|
+
'rule_name': 'ruleName',
|
55
61
|
'timestamp': 'timestamp'
|
56
62
|
}
|
57
63
|
|
58
64
|
self._dimensions = None
|
59
65
|
self._status = None
|
66
|
+
self._rule_name = None
|
60
67
|
self._timestamp = None
|
61
68
|
|
62
69
|
@property
|
@@ -117,6 +124,34 @@ class AlarmDimensionStatesEntry(object):
|
|
117
124
|
status = 'UNKNOWN_ENUM_VALUE'
|
118
125
|
self._status = status
|
119
126
|
|
127
|
+
@property
|
128
|
+
def rule_name(self):
|
129
|
+
"""
|
130
|
+
**[Required]** Gets the rule_name of this AlarmDimensionStatesEntry.
|
131
|
+
Identifier of the alarm's base values for alarm evaluation, for use when the alarm contains overrides.
|
132
|
+
A valid ruleName value starts with an alphabetic character and includes only alphanumeric characters, underscores and square brackets.
|
133
|
+
Minimum number of characters: 3. Default value is `BASE`. For information about alarm overrides, see :func:`alarm_override`.
|
134
|
+
|
135
|
+
|
136
|
+
:return: The rule_name of this AlarmDimensionStatesEntry.
|
137
|
+
:rtype: str
|
138
|
+
"""
|
139
|
+
return self._rule_name
|
140
|
+
|
141
|
+
@rule_name.setter
|
142
|
+
def rule_name(self, rule_name):
|
143
|
+
"""
|
144
|
+
Sets the rule_name of this AlarmDimensionStatesEntry.
|
145
|
+
Identifier of the alarm's base values for alarm evaluation, for use when the alarm contains overrides.
|
146
|
+
A valid ruleName value starts with an alphabetic character and includes only alphanumeric characters, underscores and square brackets.
|
147
|
+
Minimum number of characters: 3. Default value is `BASE`. For information about alarm overrides, see :func:`alarm_override`.
|
148
|
+
|
149
|
+
|
150
|
+
:param rule_name: The rule_name of this AlarmDimensionStatesEntry.
|
151
|
+
:type: str
|
152
|
+
"""
|
153
|
+
self._rule_name = rule_name
|
154
|
+
|
120
155
|
@property
|
121
156
|
def timestamp(self):
|
122
157
|
"""
|
@@ -0,0 +1,304 @@
|
|
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 AlarmOverride(object):
|
14
|
+
"""
|
15
|
+
Values to use for an independent evaluation of the alarm.
|
16
|
+
You can specify values for query, severity, body, and pending duration.
|
17
|
+
When an alarm contains overrides, the Monitoring service evaluates each override in order,
|
18
|
+
beginning with the first override in the array (index position `0`),
|
19
|
+
and then evaluates the alarm's base values (`ruleName` value of `BASE`)
|
20
|
+
"""
|
21
|
+
|
22
|
+
def __init__(self, **kwargs):
|
23
|
+
"""
|
24
|
+
Initializes a new AlarmOverride object with values from keyword arguments.
|
25
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
26
|
+
|
27
|
+
:param pending_duration:
|
28
|
+
The value to assign to the pending_duration property of this AlarmOverride.
|
29
|
+
:type pending_duration: str
|
30
|
+
|
31
|
+
:param severity:
|
32
|
+
The value to assign to the severity property of this AlarmOverride.
|
33
|
+
:type severity: str
|
34
|
+
|
35
|
+
:param body:
|
36
|
+
The value to assign to the body property of this AlarmOverride.
|
37
|
+
:type body: str
|
38
|
+
|
39
|
+
:param rule_name:
|
40
|
+
The value to assign to the rule_name property of this AlarmOverride.
|
41
|
+
:type rule_name: str
|
42
|
+
|
43
|
+
:param query:
|
44
|
+
The value to assign to the query property of this AlarmOverride.
|
45
|
+
:type query: str
|
46
|
+
|
47
|
+
"""
|
48
|
+
self.swagger_types = {
|
49
|
+
'pending_duration': 'str',
|
50
|
+
'severity': 'str',
|
51
|
+
'body': 'str',
|
52
|
+
'rule_name': 'str',
|
53
|
+
'query': 'str'
|
54
|
+
}
|
55
|
+
|
56
|
+
self.attribute_map = {
|
57
|
+
'pending_duration': 'pendingDuration',
|
58
|
+
'severity': 'severity',
|
59
|
+
'body': 'body',
|
60
|
+
'rule_name': 'ruleName',
|
61
|
+
'query': 'query'
|
62
|
+
}
|
63
|
+
|
64
|
+
self._pending_duration = None
|
65
|
+
self._severity = None
|
66
|
+
self._body = None
|
67
|
+
self._rule_name = None
|
68
|
+
self._query = None
|
69
|
+
|
70
|
+
@property
|
71
|
+
def pending_duration(self):
|
72
|
+
"""
|
73
|
+
Gets the pending_duration of this AlarmOverride.
|
74
|
+
The period of time that the condition defined in the alarm must persist before the alarm state
|
75
|
+
changes from \"OK\" to \"FIRING\". For example, a value of 5 minutes means that the
|
76
|
+
alarm must persist in breaching the condition for five minutes before the alarm updates its
|
77
|
+
state to \"FIRING\".
|
78
|
+
|
79
|
+
The duration is specified as a string in ISO 8601 format (`PT10M` for ten minutes or `PT1H`
|
80
|
+
for one hour). Minimum: PT1M. Maximum: PT1H. Default: PT1M.
|
81
|
+
|
82
|
+
Under the default value of PT1M, the first evaluation that breaches the alarm updates the
|
83
|
+
state to \"FIRING\".
|
84
|
+
|
85
|
+
The alarm updates its status to \"OK\" when the breaching condition has been clear for
|
86
|
+
the most recent minute.
|
87
|
+
|
88
|
+
Example: `PT5M`
|
89
|
+
|
90
|
+
|
91
|
+
:return: The pending_duration of this AlarmOverride.
|
92
|
+
:rtype: str
|
93
|
+
"""
|
94
|
+
return self._pending_duration
|
95
|
+
|
96
|
+
@pending_duration.setter
|
97
|
+
def pending_duration(self, pending_duration):
|
98
|
+
"""
|
99
|
+
Sets the pending_duration of this AlarmOverride.
|
100
|
+
The period of time that the condition defined in the alarm must persist before the alarm state
|
101
|
+
changes from \"OK\" to \"FIRING\". For example, a value of 5 minutes means that the
|
102
|
+
alarm must persist in breaching the condition for five minutes before the alarm updates its
|
103
|
+
state to \"FIRING\".
|
104
|
+
|
105
|
+
The duration is specified as a string in ISO 8601 format (`PT10M` for ten minutes or `PT1H`
|
106
|
+
for one hour). Minimum: PT1M. Maximum: PT1H. Default: PT1M.
|
107
|
+
|
108
|
+
Under the default value of PT1M, the first evaluation that breaches the alarm updates the
|
109
|
+
state to \"FIRING\".
|
110
|
+
|
111
|
+
The alarm updates its status to \"OK\" when the breaching condition has been clear for
|
112
|
+
the most recent minute.
|
113
|
+
|
114
|
+
Example: `PT5M`
|
115
|
+
|
116
|
+
|
117
|
+
:param pending_duration: The pending_duration of this AlarmOverride.
|
118
|
+
:type: str
|
119
|
+
"""
|
120
|
+
self._pending_duration = pending_duration
|
121
|
+
|
122
|
+
@property
|
123
|
+
def severity(self):
|
124
|
+
"""
|
125
|
+
Gets the severity of this AlarmOverride.
|
126
|
+
The perceived severity of the alarm with regard to the affected system.
|
127
|
+
|
128
|
+
Example: `CRITICAL`
|
129
|
+
|
130
|
+
|
131
|
+
:return: The severity of this AlarmOverride.
|
132
|
+
:rtype: str
|
133
|
+
"""
|
134
|
+
return self._severity
|
135
|
+
|
136
|
+
@severity.setter
|
137
|
+
def severity(self, severity):
|
138
|
+
"""
|
139
|
+
Sets the severity of this AlarmOverride.
|
140
|
+
The perceived severity of the alarm with regard to the affected system.
|
141
|
+
|
142
|
+
Example: `CRITICAL`
|
143
|
+
|
144
|
+
|
145
|
+
:param severity: The severity of this AlarmOverride.
|
146
|
+
:type: str
|
147
|
+
"""
|
148
|
+
self._severity = severity
|
149
|
+
|
150
|
+
@property
|
151
|
+
def body(self):
|
152
|
+
"""
|
153
|
+
Gets the body of this AlarmOverride.
|
154
|
+
The human-readable content of the delivered alarm notification. Oracle recommends providing guidance
|
155
|
+
to operators for resolving the alarm condition. Consider adding links to standard runbook
|
156
|
+
practices. Avoid entering confidential information.
|
157
|
+
|
158
|
+
Example: `High CPU usage alert. Follow runbook instructions for resolution.`
|
159
|
+
|
160
|
+
|
161
|
+
:return: The body of this AlarmOverride.
|
162
|
+
:rtype: str
|
163
|
+
"""
|
164
|
+
return self._body
|
165
|
+
|
166
|
+
@body.setter
|
167
|
+
def body(self, body):
|
168
|
+
"""
|
169
|
+
Sets the body of this AlarmOverride.
|
170
|
+
The human-readable content of the delivered alarm notification. Oracle recommends providing guidance
|
171
|
+
to operators for resolving the alarm condition. Consider adding links to standard runbook
|
172
|
+
practices. Avoid entering confidential information.
|
173
|
+
|
174
|
+
Example: `High CPU usage alert. Follow runbook instructions for resolution.`
|
175
|
+
|
176
|
+
|
177
|
+
:param body: The body of this AlarmOverride.
|
178
|
+
:type: str
|
179
|
+
"""
|
180
|
+
self._body = body
|
181
|
+
|
182
|
+
@property
|
183
|
+
def rule_name(self):
|
184
|
+
"""
|
185
|
+
Gets the rule_name of this AlarmOverride.
|
186
|
+
A user-friendly description for this alarm override. Must be unique across all `ruleName` values for the alarm.
|
187
|
+
|
188
|
+
|
189
|
+
:return: The rule_name of this AlarmOverride.
|
190
|
+
:rtype: str
|
191
|
+
"""
|
192
|
+
return self._rule_name
|
193
|
+
|
194
|
+
@rule_name.setter
|
195
|
+
def rule_name(self, rule_name):
|
196
|
+
"""
|
197
|
+
Sets the rule_name of this AlarmOverride.
|
198
|
+
A user-friendly description for this alarm override. Must be unique across all `ruleName` values for the alarm.
|
199
|
+
|
200
|
+
|
201
|
+
:param rule_name: The rule_name of this AlarmOverride.
|
202
|
+
:type: str
|
203
|
+
"""
|
204
|
+
self._rule_name = rule_name
|
205
|
+
|
206
|
+
@property
|
207
|
+
def query(self):
|
208
|
+
"""
|
209
|
+
Gets the query of this AlarmOverride.
|
210
|
+
The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of
|
211
|
+
the Monitoring service interprets results for each returned time series as Boolean values,
|
212
|
+
where zero represents false and a non-zero value represents true. A true value means that the trigger
|
213
|
+
rule condition has been met. The query must specify a metric, statistic, interval, and trigger
|
214
|
+
rule (threshold or absence). Supported values for interval depend on the specified time range. More
|
215
|
+
interval values are supported for smaller time ranges. You can optionally
|
216
|
+
specify dimensions and grouping functions. Supported grouping functions: `grouping()`, `groupBy()`.
|
217
|
+
For information about writing MQL expressions, see
|
218
|
+
`Editing the MQL Expression for a Query`__.
|
219
|
+
For details about MQL, see
|
220
|
+
`Monitoring Query Language (MQL) Reference`__.
|
221
|
+
For available dimensions, review the metric definition for the supported service. See
|
222
|
+
`Supported Services`__.
|
223
|
+
|
224
|
+
Example of threshold alarm:
|
225
|
+
|
226
|
+
-----
|
227
|
+
|
228
|
+
CpuUtilization[1m]{availabilityDomain=\"cumS:PHX-AD-1\"}.groupBy(availabilityDomain).percentile(0.9) > 85
|
229
|
+
|
230
|
+
-----
|
231
|
+
|
232
|
+
Example of absence alarm:
|
233
|
+
|
234
|
+
-----
|
235
|
+
|
236
|
+
CpuUtilization[1m]{availabilityDomain=\"cumS:PHX-AD-1\"}.absent()
|
237
|
+
|
238
|
+
-----
|
239
|
+
|
240
|
+
__ https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/query-metric-mql.htm
|
241
|
+
__ https://docs.cloud.oracle.com/iaas/Content/Monitoring/Reference/mql.htm
|
242
|
+
__ https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices
|
243
|
+
|
244
|
+
|
245
|
+
:return: The query of this AlarmOverride.
|
246
|
+
:rtype: str
|
247
|
+
"""
|
248
|
+
return self._query
|
249
|
+
|
250
|
+
@query.setter
|
251
|
+
def query(self, query):
|
252
|
+
"""
|
253
|
+
Sets the query of this AlarmOverride.
|
254
|
+
The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of
|
255
|
+
the Monitoring service interprets results for each returned time series as Boolean values,
|
256
|
+
where zero represents false and a non-zero value represents true. A true value means that the trigger
|
257
|
+
rule condition has been met. The query must specify a metric, statistic, interval, and trigger
|
258
|
+
rule (threshold or absence). Supported values for interval depend on the specified time range. More
|
259
|
+
interval values are supported for smaller time ranges. You can optionally
|
260
|
+
specify dimensions and grouping functions. Supported grouping functions: `grouping()`, `groupBy()`.
|
261
|
+
For information about writing MQL expressions, see
|
262
|
+
`Editing the MQL Expression for a Query`__.
|
263
|
+
For details about MQL, see
|
264
|
+
`Monitoring Query Language (MQL) Reference`__.
|
265
|
+
For available dimensions, review the metric definition for the supported service. See
|
266
|
+
`Supported Services`__.
|
267
|
+
|
268
|
+
Example of threshold alarm:
|
269
|
+
|
270
|
+
-----
|
271
|
+
|
272
|
+
CpuUtilization[1m]{availabilityDomain=\"cumS:PHX-AD-1\"}.groupBy(availabilityDomain).percentile(0.9) > 85
|
273
|
+
|
274
|
+
-----
|
275
|
+
|
276
|
+
Example of absence alarm:
|
277
|
+
|
278
|
+
-----
|
279
|
+
|
280
|
+
CpuUtilization[1m]{availabilityDomain=\"cumS:PHX-AD-1\"}.absent()
|
281
|
+
|
282
|
+
-----
|
283
|
+
|
284
|
+
__ https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/query-metric-mql.htm
|
285
|
+
__ https://docs.cloud.oracle.com/iaas/Content/Monitoring/Reference/mql.htm
|
286
|
+
__ https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices
|
287
|
+
|
288
|
+
|
289
|
+
:param query: The query of this AlarmOverride.
|
290
|
+
:type: str
|
291
|
+
"""
|
292
|
+
self._query = query
|
293
|
+
|
294
|
+
def __repr__(self):
|
295
|
+
return formatted_flat_dict(self)
|
296
|
+
|
297
|
+
def __eq__(self, other):
|
298
|
+
if other is None:
|
299
|
+
return False
|
300
|
+
|
301
|
+
return self.__dict__ == other.__dict__
|
302
|
+
|
303
|
+
def __ne__(self, other):
|
304
|
+
return not self == other
|
@@ -78,6 +78,10 @@ class AlarmStatusSummary(object):
|
|
78
78
|
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
79
79
|
:type severity: str
|
80
80
|
|
81
|
+
:param rule_name:
|
82
|
+
The value to assign to the rule_name property of this AlarmStatusSummary.
|
83
|
+
:type rule_name: str
|
84
|
+
|
81
85
|
:param timestamp_triggered:
|
82
86
|
The value to assign to the timestamp_triggered property of this AlarmStatusSummary.
|
83
87
|
:type timestamp_triggered: datetime
|
@@ -97,6 +101,7 @@ class AlarmStatusSummary(object):
|
|
97
101
|
'id': 'str',
|
98
102
|
'display_name': 'str',
|
99
103
|
'severity': 'str',
|
104
|
+
'rule_name': 'str',
|
100
105
|
'timestamp_triggered': 'datetime',
|
101
106
|
'status': 'str',
|
102
107
|
'suppression': 'Suppression'
|
@@ -106,6 +111,7 @@ class AlarmStatusSummary(object):
|
|
106
111
|
'id': 'id',
|
107
112
|
'display_name': 'displayName',
|
108
113
|
'severity': 'severity',
|
114
|
+
'rule_name': 'ruleName',
|
109
115
|
'timestamp_triggered': 'timestampTriggered',
|
110
116
|
'status': 'status',
|
111
117
|
'suppression': 'suppression'
|
@@ -114,6 +120,7 @@ class AlarmStatusSummary(object):
|
|
114
120
|
self._id = None
|
115
121
|
self._display_name = None
|
116
122
|
self._severity = None
|
123
|
+
self._rule_name = None
|
117
124
|
self._timestamp_triggered = None
|
118
125
|
self._status = None
|
119
126
|
self._suppression = None
|
@@ -208,6 +215,34 @@ class AlarmStatusSummary(object):
|
|
208
215
|
severity = 'UNKNOWN_ENUM_VALUE'
|
209
216
|
self._severity = severity
|
210
217
|
|
218
|
+
@property
|
219
|
+
def rule_name(self):
|
220
|
+
"""
|
221
|
+
**[Required]** Gets the rule_name of this AlarmStatusSummary.
|
222
|
+
Identifier of the alarm's base values for alarm evaluation, for use when the alarm contains overrides.
|
223
|
+
A valid ruleName value starts with an alphabetic character and includes only alphanumeric characters, underscores and square brackets.
|
224
|
+
Minimum number of characters: 3. Default value is `BASE`. For information about alarm overrides, see :func:`alarm_override`.
|
225
|
+
|
226
|
+
|
227
|
+
:return: The rule_name of this AlarmStatusSummary.
|
228
|
+
:rtype: str
|
229
|
+
"""
|
230
|
+
return self._rule_name
|
231
|
+
|
232
|
+
@rule_name.setter
|
233
|
+
def rule_name(self, rule_name):
|
234
|
+
"""
|
235
|
+
Sets the rule_name of this AlarmStatusSummary.
|
236
|
+
Identifier of the alarm's base values for alarm evaluation, for use when the alarm contains overrides.
|
237
|
+
A valid ruleName value starts with an alphabetic character and includes only alphanumeric characters, underscores and square brackets.
|
238
|
+
Minimum number of characters: 3. Default value is `BASE`. For information about alarm overrides, see :func:`alarm_override`.
|
239
|
+
|
240
|
+
|
241
|
+
:param rule_name: The rule_name of this AlarmStatusSummary.
|
242
|
+
:type: str
|
243
|
+
"""
|
244
|
+
self._rule_name = rule_name
|
245
|
+
|
211
246
|
@property
|
212
247
|
def timestamp_triggered(self):
|
213
248
|
"""
|