Data Sources
uptimeify_dns_monitor
Look up one DNS monitor by numeric id or public id. Secrets are never readable.
Look up one DNS monitor by numeric id or public id. Secrets are never readable.
Example Usage
data "uptimeify_dns_monitor" "this" {
id = "42"
}Schema
Required
id(String) Numeric id or public id.
Read-Only
allowed_check_country_codes(Set of String) Upper-case ISO 3166-1 alpha-2 codes of the allowed check locations. Unset = all locations.check_interval(Number) Minutes between checks, 1 to 1440. Defaults to 30. The customer's package can require a larger minimum.created_at(String)customer_id(Number) Customer the monitor belongs to. Changing it moves the monitor to another customer of the same organization in place.expected_values(Map of List of String) Expected answers per record type (upper-case key); every type inrecord_typesneeds at least one value. Values unique and without surrounding spaces.hostname(String) Host name or IP address only: no scheme, no path, no spaces.management_type(String)managedorself_service. Only organization writers choose it; customer tokens always getself_service. Defaults tomanaged.match_mode(String)exact(answer set equals the expected values) orcontains(answer includes them).name(String) Display name, 1 to 255 characters.organization_id(Number)public_id(String) Public UUID of the DNS monitor.record_types(List of String) Record types to resolve, upper case and unique, e.g.["A", "MX"].require_expected_values(Boolean) Defaults to false.status(String)active,maintenanceordisabled. Defaults toactive.timeout_seconds(Number) Timeout per check in seconds, 1 to 60. Defaults to 30.trigger_on_mismatch(Boolean) Alert when the answers do not match. Defaults to true.trigger_on_resolve_error(Boolean) Alert when the name does not resolve. Defaults to true.updated_at(String)