[SDK reference](../../index.md) / [Models](../index.md) / [Observability](index.md)

# UptimeCheck

**Kind:** class  
**Namespace:** `Egulu.Sdk.Models.Observability`  

An external HTTP/HTTPS synthetic uptime check routed via Smokescreen SSRF egress guard (ADR-0802, ADR-0803).

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `Annotations` | `Models.Observability.UptimeCheck_annotations?` | `annotations` | At most 256 KiB in all; never policy input. |
| `ConsecutiveFailures` | `int?` | `consecutiveFailures` | Consecutive failed probes since the last healthy result. |
| `CreateTime` | `DateTimeOffset?` | `createTime` | The createTime property |
| `DeleteTime` | `DateTimeOffset?` | `deleteTime` | The deleteTime property |
| `DisplayName` | `string?` | `displayName` | Up to 63 characters. |
| `Etag` | `string?` | `etag` | "{generation}"; send it back in If-Match. |
| `ExpectedBodySubstring` | `string?` | `expectedBodySubstring` | Optional substring required in the HTTP response body. |
| `ExpectedStatusCode` | `int?` | `expectedStatusCode` | Expected HTTP status code (100..599, default 200). |
| `Healthy` | `bool?` | `healthy` | True when the most recent probe matched expectedStatusCode and expectedBodySubstring. |
| `IntervalSeconds` | `int?` | `intervalSeconds` | Probe interval in seconds (30..3600, default 60). |
| `Labels` | `Models.Observability.UptimeCheck_labels?` | `labels` | At most 64. |
| `LastLatencyMs` | `int?` | `lastLatencyMs` | Round-trip latency in milliseconds on the most recent probe. |
| `LastProbeTime` | `DateTimeOffset?` | `lastProbeTime` | Timestamp of the most recent probe execution. |
| `LastStatusCode` | `int?` | `lastStatusCode` | HTTP status code observed on the most recent probe. |
| `Method` | `string?` | `method` | HTTP method: GET or HEAD (default GET). |
| `Name` | `string?` | `name` | The resource name, for example projects/p/locations/l/instances/i. |
| `ProbeLocations` | `List<string>?` | `probeLocations` | Vantage location IDs (for example ["lab-de1"]). |
| `PurgeTime` | `DateTimeOffset?` | `purgeTime` | The purgeTime property |
| `Reconciling` | `bool?` | `reconciling` | True while the platform works toward the spec. |
| `Simulated` | `bool?` | `simulated` | True when probes are executed by the simulated lab prober. |
| `State` | `Models.Observability.UptimeCheckState?` | `state` | Current lifecycle state. |
| `SuspendReason` | `string?` | `suspendReason` | Reason the check is paused (for example spend-cap or user). |
| `Suspended` | `bool?` | `suspended` | Whether probing is paused by the user. |
| `TargetUrl` | `string?` | `targetUrl` | Target HTTP or HTTPS URL (RFC 1918, CGNAT, loopback, link-local/IMDS, IPv6 ULA and .internal/.local hosts are refused). |
| `TimeoutSeconds` | `int?` | `timeoutSeconds` | Per-probe timeout in seconds (1..30, default 10). |
| `Uid` | `string?` | `uid` | UUIDv7, never reused. |
| `UpdateTime` | `DateTimeOffset?` | `updateTime` | The updateTime property |
