# virt.instance.update

Update instance.

This method is a job.

Type: object

##

Type: array
No Additional Items

#### Tuple Validation

##### Parameter 1: id

#### id

Type: string

##### Parameter 2: virt_instance_update

#### virt_instance_update

Type: object
No Additional Properties

##

#### Environment

## Any of

Type: object

##

Each additional property must conform to the following schema

Type: string
Type: null

##

#### Autostart

## Any of

Type: boolean
Type: null

##

#### Cpu

## Any of

Type: string
Type: null

##

#### Memory

## Any of

Type: integer
Type: null

##

#### Vnc Port

## Any of

Type: integer

Value must be greater or equal to `5900` and lesser or equal to `65535`

Type: null

##

#### Enable Vnc

Type: boolean

##

#### Vnc Password

Setting vnc_password to null will unset VNC password

## Any of

Type: string

Must be at least `1` characters long

Type: null

##

#### Secure Boot

Type: boolean

##

#### Root Disk Size

## Any of

Type: integer

Value must be greater or equal to `5`

Type: null

##

#### Root Disk Io Bus

Type: enum (of null or string)

##### Must be one of:

- "NVME"
- "VIRTIO-BLK"
- "VIRTIO-SCSI"
- null

##

#### VirtInstanceEntry

Type: object
No Additional Properties

##

#### Id

Type: string

##

#### Name

Type: string

Must be at least `1` characters long

Must be at most `200` characters long

##

#### Type

Type: enum (of string) Default: "CONTAINER"

##### Must be one of:

- "CONTAINER"
- "VM"

##

#### Status

Type: enum (of string)

##### Must be one of:

- "RUNNING"
- "STOPPED"
- "UNKNOWN"
- "ERROR"
- "FROZEN"
- "STARTING"
- "STOPPING"
- "FREEZING"
- "THAWED"
- "ABORTING"

##

#### Cpu

## Any of

Type: string
Type: null

##

#### Memory

## Any of

Type: integer
Type: null

##

#### Autostart

Type: boolean

##

#### Environment

Type: object

##

Each additional property must conform to the following schema

Type: string

##

#### Aliases

Type: array of object
No Additional Items

##### Each item of this array must be:

#### VirtInstanceAlias

Type: object
No Additional Properties

##

#### Type

Type: enum (of string)

##### Must be one of:

- "INET"
- "INET6"

##

#### Address

Type: string

Must be at least `1` characters long

##

#### Netmask

## Any of

Type: integer
Type: null

##

#### Image

Type: object
No Additional Properties

##

#### Architecture

## Any of

Type: string
Type: null

##

#### Description

## Any of

Type: string
Type: null

##

#### Os

## Any of

Type: string
Type: null

##

#### Release

## Any of

Type: string
Type: null

##

#### Serial

## Any of

Type: string
Type: null

##

#### Type

## Any of

Type: string
Type: null

##

#### Variant

## Any of

Type: string
Type: null

##

#### Secureboot

## Any of

Type: boolean
Type: null

##

## Any of

#### UserNsIdmap

Type: object
No Additional Properties

##

#### IdmapUserNsEntry

Type: object
No Additional Properties

##

#### Hostid

Type: integer

##

#### Maprange

Type: integer

##

#### Nsid

Type: integer

##

#### IdmapUserNsEntry

Type: object
No Additional Properties

##

#### Hostid

Type: integer

##

#### Maprange

Type: integer

##

#### Nsid

Type: integer
Type: null

##

#### Raw

## Any of

Type: object
Type: null

##

#### Vnc Enabled

Type: boolean

##

#### Vnc Port

## Any of

Type: integer
Type: null

##

#### Vnc Password

## Any of

Type: string

Must be at least `1` characters long

Type: null

##

#### Secure Boot

## Any of

Type: boolean
Type: null

##

#### Root Disk Size

## Any of

Type: integer
Type: null

##

#### Root Disk Io Bus

Type: enum (of null or string)

##### Must be one of:

- "NVME"
- "VIRTIO-BLK"
- "VIRTIO-SCSI"
- null

##

#### Storage Pool

Type: string

Storage pool in which the root of the instance is located.

Must be at least `1` characters long

Required roles: VIRT_INSTANCE_WRITE