Data Source: oci_health_checks_http_monitors
This data source provides the list of Http Monitors in Oracle Cloud Infrastructure Health Checks service.
Gets a list of HTTP monitors.
Example Usage
data "oci_health_checks_http_monitors" "test_http_monitors" {
	#Required
	compartment_id = var.compartment_id
	#Optional
	display_name = var.http_monitor_display_name
	home_region = var.http_monitor_home_region
}
Argument Reference
The following arguments are supported:
- compartment_id- (Required) Filters results by compartment.
- display_name- (Optional) Filters results that exactly match the- displayNamefield.
- home_region- (Optional) Filters results that match the- homeRegion.
Attributes Reference
The following attributes are exported:
- http_monitors- The list of http_monitors.
HttpMonitor Reference
The following attributes are exported:
- compartment_id- The OCID of the compartment.
- 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"}
- display_name- A user-friendly and mutable name suitable for display in a user interface.
- 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"}
- headers- A dictionary of HTTP request headers.- Note: Monitors and probes do not support the use of the - AuthorizationHTTP header.
- home_region- The region where updates must be made and where results must be fetched from.
- id- The OCID of the resource.
- interval_in_seconds- The monitor interval in seconds. Valid values: 10, 30, and 60.
- is_enabled- Enables or disables the monitor. Set to ‘true’ to launch monitoring.
- method- The supported HTTP methods available for probes.
- path- The optional URL path to probe, including query parameters.
- port- The port on which to probe endpoints. If unspecified, probes will use the default port of their protocol.
- protocol- The supported protocols available for HTTP probes.
- results_url- A URL for fetching the probe results.
- targets- A list of targets (hostnames or IP addresses) of the probe.
- time_created- The RFC 3339-formatted creation date and time of the probe.
- timeout_in_seconds- The probe timeout in seconds. Valid values: 10, 20, 30, and 60. The probe timeout must be less than or equal to- intervalInSecondsfor monitors.
- vantage_point_names- A list of names of vantage points from which to execute the probe.