Data Source: oci_demand_signal_occ_metric_alarms
This data source provides the list of Occ Metric Alarms in Oracle Cloud Infrastructure Demand Signal service.
Gets a list of OccMetricAlarms.
Example Usage
data "oci_demand_signal_occ_metric_alarms" "test_occ_metric_alarms" {
#Optional
compartment_id = var.compartment_id
display_name = var.occ_metric_alarm_display_name
is_active = var.occ_metric_alarm_is_active
}
Argument Reference
The following arguments are supported:
compartment_id- (Optional) The OCID of the compartment in which to list resources.display_name- (Optional) A filter to return only resources that match the given display name exactly.is_active- (Optional) Filter to list only active or inactive alarms.
Attributes Reference
The following attributes are exported:
occ_metric_alarm_collection- The list of occ_metric_alarm_collection.
OccMetricAlarm Reference
The following attributes are exported:
compartment_id- Compartment OCID in which the alarm is created.defined_tags- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:{"Operations.CostCenter": "42"}description- Optional description for the alarm.display_name- Human-readable name for the alarm.freeform_tags- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:{"Department": "Finance"}frequency- Frequency at which notifications should be sent.id- Unique OCID for this alarm configuration.is_active- Alarm active status.resource_configuration- Configuration for a given ‘resource’compute_hw_generation- The hardware generation of the compute resource.hw_generation- The hardware generation of the Exadata system.link_role- The role of the link in the network.node_type- The type of node in the Exadata system.occ_metric_alarm_provider- The provider of the network service.resource- Resources like COMPUTE, STORAGE, EXADATA etc.shape- The shape of the compute instance.storage_type- The type of storage resource.usage_type- The type of usage for the resource.
state- The current lifecycle state of the resource.subscribers- List of topic OCIDs for notifications.system_tags- System tags for this resource. Each key is predefined and scoped to a namespace. Example:{"orcl-cloud.free-tier-retained": "true"}threshold- Threshold at which alarm must be triggered.threshold_type- Units in which threshold is being stored.time_created- Creation timestamp (RFC 3339).time_updated- Last update timestamp (RFC 3339).