Datenquellen
uptimeify_website
Datenquelle uptimeify_website: Beispiel, alle Attribute.
Die Beschreibungen auf dieser Seite kommen direkt aus dem Provider-Schema und sind deshalb englisch.
Read one website monitor by id. Secrets (headers, body, auth secrets) are never returned.
Beispiel
data "uptimeify_website" "api" {
id = "42"
}Schema
Pflichtfelder
id(String) Numeric id or public id.
Nur lesbar
allowed_check_country_codes(Set of String) Upper-case ISO country codes of the check locations. Unset at create: the package default (null = all). Removing it later keeps the last value.auth_mode(String)none,authorization_header(needsauthorization_header_wo) orbasic(needsbasic_auth_usernameandbasic_auth_password_wo). Defaults tonone.basic_auth_username(String) Username forauth_mode = "basic".check_domain_expiry_enabled(Boolean) Domain expiry check. Unset: the package default. The package may switch it off; a full update switches it off on heartbeat monitors.check_expected_response_enabled(Boolean) Compare the response body withexpected_response_value. Defaults tofalse.check_https_redirect_enabled(Boolean) HTTP to HTTPS redirect check. Unset: the package default. The package may switch it off; a full update switches it off on heartbeat monitors.check_interval(Number) Minutes between checks; at least the package minimum, at most 1440 (43200 for heartbeat). Defaults to30.check_keyword_enabled(Boolean) Keyword check againstsearch_term; off without a search term. Unset: the package default. The package may switch it off; a full update switches it off on heartbeat monitors.check_response_time_enabled(Boolean) Response time check (the threshold is not configurable per monitor). Unset: the package default. The package may switch it off; a full update switches it off on heartbeat monitors.check_size_enabled(Boolean) Page size check againstmin_page_size/max_page_size; off without a limit. Unset: the package default. The package may switch it off; a full update switches it off on heartbeat monitors.check_ssl_enabled(Boolean) Certificate validity and expiry check. Unset: the package default. The package may switch it off; a full update switches it off on heartbeat monitors.check_status_enabled(Boolean) Status code check againstexpected_status_codes. Unset: the package default. The package may switch it off; a full update switches it off on heartbeat monitors.connect_host(String) Connect target (connectHost): IP or host name to connect to instead of the URL's host; SNI and Host header stay the URL's. Lower case, without port (useconnect_port), must be public.connect_port(Number) Port of the connect target; unset = the URL's port.connect_tls_insecure(Boolean) Skip certificate verification at the connect target; needsconnect_host. Defaults tofalse.cookie_handling(String)noneorjar(keep cookies across redirects). Defaults tonone.created_at(String)customer_id(Number) Numeric id of the customer that owns the monitor. Changing it moves the monitor.domain_expiry_error_days(Number) Error this many days before domain expiry. Defaults to7.domain_expiry_notice_days(Number) Warn this many days before domain expiry. Defaults to30.expected_response_json_path(String)expected_response_match_type(String)contains,equalsorjson_path_equals(needsexpected_response_json_path). Defaults tocontains.expected_response_value(String)expected_status_codes(String) Comma-separated accepted status codes. Defaults to200,301,302.follow_redirects(Boolean) Defaults totrue.has_custom_headers(Boolean) Whether custom headers are stored.has_request_body(Boolean) Whether a request body is stored.heartbeat_grace_period_minutes(Number) Heartbeat monitors: minutes a ping may be late. Server default 5; null for other types.heartbeat_token(String, Sensitive) Heartbeat monitors: token of the ping URL (server-generated). Sensitive: anyone with it can report the job as healthy.http_method(String)GET,QUERY,POST,PUT,PATCH,DELETE,HEADorOPTIONS. Defaults toGET.max_page_size(Number) Bytes; dropped by the server whilecheck_size_enabledis off.min_page_size(Number) Bytes; dropped by the server whilecheck_size_enabledis off.monitoring_type(String)combined,http_status,ssl_checkorheartbeat. Changing it replaces the monitor. Defaults tocombined.name(String)public_id(String) Public UUID of the website.search_term(String) Keyword the page must contain (needscheck_keyword_enabled; the server drops it while that check is off).ssl_error_days(Number) Error this many days before certificate expiry; at mostssl_notice_days. Defaults to0.ssl_notice_days(Number) Warn this many days before certificate expiry. Defaults to7.status(String)active,inactiveormaintenance. Defaults toactive.timeout_seconds(Number) Request timeout, 1 to 60. Defaults to30.updated_at(String)url(String) URL with protocol; required except for heartbeat monitors. Heartbeat monitors getheartbeat://<monitor id>from the server (the ping token isheartbeat_token), leave it unset there. Must resolve to a public address at create and update.