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

# ScheduledEvent

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

A maintenance event that affects an instance.

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `CanRestartUntil` | `DateTimeOffset?` | `canRestartUntil` | Until when the machine may be restarted by hand to move off the member ahead of the event. |
| `CreateTime` | `DateTimeOffset?` | `createTime` | The createTime property |
| `Description` | `string?` | `description` | The description property |
| `EventType` | `string?` | `eventType` | HOST_EVACUATION (a member is being emptied for maintenance), HOST_FAILURE (a member went down) or HOST_RESTORED. |
| `Instance` | `string?` | `instance` | The affected instance's name (`projects/{p}/locations/{l}/instances/{i}`). |
| `Name` | `string?` | `name` | projects/{p}/locations/{l}/scheduledEvents/{event}. |
| `NotBefore` | `DateTimeOffset?` | `notBefore` | The machine will not be touched before this time (inside its maintenance window when it has one). |
| `State` | `string?` | `state` | SCHEDULED, IN_PROGRESS, COMPLETED or CANCELLED. |
| `Uid` | `string?` | `uid` | The uid property |
