---
title: "uptimeify_smtp_monitor"
description: "Datenquelle uptimeify_smtp_monitor: Beispiel, alle Attribute."
---

<Callout>Die Beschreibungen auf dieser Seite kommen direkt aus dem Provider-Schema und sind deshalb englisch.</Callout>

Look up one SMTP monitor by numeric id or public id. Secrets are never readable.

## Beispiel

```terraform
data "uptimeify_smtp_monitor" "this" {
  id = "42"
}
```

## Schema

### Pflichtfelder

- `id` (String) Numeric id or public id.

### Nur lesbar

- `allowed_check_country_codes` (Set of String) Upper-case ISO 3166-1 alpha-2 codes of the allowed check locations. Unset = all locations.
- `auth_user` (String) SMTP user. Required in check_mode `protocol`.
- `check_interval` (Number) Minutes between checks, 1 to 1440. Defaults to 30. The customer's package can require a larger minimum.
- `check_mode` (String) `protocol` (full login check, credentials required) or `tcp` (port reachability only; the API then stores no protocol settings and no credentials). Defaults to `protocol`.
- `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.
- `hostname` (String) Host name or IP address only: no scheme, no path, no spaces.
- `ignore_tls` (Boolean) Do not upgrade with STARTTLS. Defaults to false.
- `management_type` (String) `managed` or `self_service`. Only organization writers choose it; customer tokens always get `self_service`. Defaults to `managed`.
- `name` (String) Display name, 1 to 255 characters.
- `organization_id` (Number)
- `port` (Number) TCP port. Unset = 465 with `secure`, else 25.
- `public_id` (String) Public UUID of the SMTP monitor.
- `require_tls` (Boolean) Fail without STARTTLS. Defaults to false.
- `secure` (Boolean) Implicit TLS (SMTPS). Defaults to false.
- `status` (String) `active`, `maintenance` or `disabled`. Defaults to `active`.
- `timeout_seconds` (Number) Timeout per check in seconds, 1 to 60. Defaults to 30.
- `updated_at` (String)
