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

# PostgresSwitchover

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

One role change of a cluster.

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `FromPrimary` | `string?` | `fromPrimary` | The server that was primary. |
| `Kind` | `string?` | `kind` | switchover (planned) or failover (forced). |
| `Operation` | `string?` | `operation` | The operation that carried it out. |
| `Reason` | `string?` | `reason` | The reason the owner gave. |
| `RequestedAt` | `DateTimeOffset?` | `requestedAt` | The requestedAt property |
| `RequestedBy` | `string?` | `requestedBy` | Who asked. |
| `TargetServer` | `string?` | `targetServer` | The server asked to take over, when one was named. |
