# Instance

Instance

## Properties

| Property | Type | Required | Description |
| --- | --- | --- | --- |
| `anti-affinity-groups` | array of [Anti-affinity group reference](/reference/api/_schemas/anti-affinity-group-ref/) | no | Instance Anti-affinity Groups |
| `application-consistent-snapshot-enabled` | boolean | no | Indicates if the instance will take application-consistent snapshots |
| `created-at` | string | no | Instance creation date<br/><br/>ISO 8601 date-time. |
| `deploy-target` | [Deploy target reference](/reference/api/_schemas/deploy-target-ref/) | no | Instance Deploy Target |
| `disk-encrypted` | boolean | no | Indicates if the root volume of the instance is encrypted |
| `disk-size` | integer | no | Instance disk size in GiB<br/><br/>Min: `10`. Max: `51200`. |
| `elastic-ips` | array of [Elastic IP reference](/reference/api/_schemas/elastic-ip-ref/) | no | Instance Elastic IPs |
| `id` | string | no | Instance ID<br/><br/>Must be a valid UUID. |
| `instance-type` | [Compute instance type](/reference/api/_schemas/instance-type/) | no | Instance Type |
| `ipv6-address` | string | no | Instance IPv6 address |
| `labels` | object | no | Resource labels |
| `mac-address` | string | no | Instance MAC address |
| `manager` | [Resource manager](/reference/api/_schemas/manager/) | no | Instance manager |
| `name` | string | no | Instance name<br/><br/>Min length: `1`. Max length: `255`. |
| `private-networks` | array of [Private Networks](/reference/api/_schemas/instance/#private-networks) | no | Instance Private Networks |
| `public-ip` | string | no | Instance public IPv4 address<br/><br/>Must be a valid IPv4 address. |
| `public-ip-assignment` | string | no | Instance public IP assignment<br/><br/>Allowed values: `inet4`, `dual`, `none`. |
| `secureboot-enabled` | boolean | no | Indicates if the instance has secure boot enabled |
| `security-groups` | array of [Security group reference](/reference/api/_schemas/security-group-ref/) | no | Instance Security Groups |
| `snapshots` | array of [Snapshot reference](/reference/api/_schemas/snapshot-ref/) | no | Instance Snapshots |
| `ssh-key` | [SSH key](/reference/api/_schemas/ssh-key/) | no | Instance SSH Key |
| `ssh-keys` | array of [SSH key](/reference/api/_schemas/ssh-key/) | no | Instance SSH Keys |
| `state` | string | no | Instance state<br/><br/>Allowed values: `expunging`, `starting`, `destroying`, `running`, `stopping`, `stopped`, `migrating`, `error`, `destroyed`. |
| `template` | [Instance template](/reference/api/_schemas/template/) | no | Instance Template |
| `tpm-enabled` | boolean | no | Indicates if the instance has tpm enabled |
| `user-data` | string | no | Instance Cloud-init user-data (base64 encoded)<br/><br/>Min length: `1`. |

### Private Networks {#private-networks}

Private Network

| Property | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | no | Private Network ID<br/><br/>Must be a valid UUID. |
| `mac-address` | string | no | Private Network MAC address |

