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

# InstanceMergePatchUpdate

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

A virtual machine.

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `Annotations` | `UntypedNode?` | `annotations` | At most 256 KiB in all; never policy input. |
| `DeletionProtection` | `Models.Compute.InstanceMergePatchUpdate.InstanceMergePatchUpdate_deletionProtection?` | `deletionProtection` | When true, `delete` is refused with failed-precondition until it is turned off. |
| `DisplayName` | `Models.Compute.InstanceMergePatchUpdate.InstanceMergePatchUpdate_displayName?` | `displayName` | Up to 63 characters. |
| `Image` | `string?` | `image` | An image family, or projects/public-images/images/{name}. |
| `Labels` | `UntypedNode?` | `labels` | At most 64. |
| `MachineType` | `string?` | `machineType` | f1.micro (free) \| vm.s1 \| vm.m2 \| vm.l4. |
| `MaintenanceWindow` | `Models.Compute.MaintenanceWindowMergePatchUpdateOrCreate?` | `maintenanceWindow` | When the platform may schedule maintenance that restarts the machine; scheduled events fall inside it. |
| `Metadata` | `UntypedNode?` | `metadata` | Key-value metadata the guest reads from the metadata service (`/metadata/v1/instance/metadata` and `…/metadata/{key}`): at most64 keys of `[a-z0-9._-]` (up to 63 characters, none starting with `plat.`), values up to 4096 bytes, 32 KiB in all. Not a place for secrets. |
| `PowerSchedule` | `Models.Compute.PowerScheduleMergePatchUpdateOrCreate?` | `powerSchedule` | Start and stop on a timetable. |
| `SleepWhenIdle` | `Models.Compute.SleepWhenIdleMergePatchUpdateOrCreate?` | `sleepWhenIdle` | Put the machine to sleep (memory kept where the hypervisor allows) after it has been idle. |
| `SnapshotSchedule` | `Models.Common.SnapshotScheduleMergePatchUpdateOrCreate?` | `snapshotSchedule` | The snapshot schedule of every disk of the VM, the boot disk included (ADR-0502). Absent means no schedule (Off). A data disk may override it. |
| `SshKeys` | `Models.Compute.InstanceMergePatchUpdate.InstanceMergePatchUpdate_sshKeys?` | `sshKeys` | OpenSSH public keys for the image's login user; at most 10. Stored with the instance and served to the guest by the metadataservice (`/metadata/v1/instance/ssh-keys`), so cloud-init installs them at first boot and again at every later boot. A changereaches the guest at its next boot (`:restart`). |
