# virt.volume.import_zvol

This method is a job.

Type: object

##

Type: array
No Additional Items

#### Tuple Validation

##### Parameter 1: virt_volume_import_iso

#### virt_volume_import_iso

Type: object

VirtVolumeImportZvolArgs parameters.

No Additional Properties

##

#### To Import

Type: array of object

Array of ZFS volumes to import as virtualization volumes.

No Additional Items

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

#### ZvolImportEntry

Type: object
No Additional Properties

##

#### Virt Volume Name

Type: string

Name for the new virtualization volume created from the imported ZFS volume.

Must be at least `1` characters long

Must be at most `63` characters long

##

#### Zvol Path

Type: string

Full path to the ZFS volume device in /dev/zvol/.

Must be at least `1` characters long

##

#### Clone

Type: boolean Default: false

Whether to clone and promote the ZFS volume instead of importing directly.

##

#### VirtVolumeEntry

Type: object

The newly created volume from the imported ZFS volume.

No Additional Properties

##

#### Id

Type: string

Unique identifier for the virtualization volume.

Must be at least `1` characters long

##

#### Name

Type: string

Human-readable name of the virtualization volume.

Must be at least `1` characters long

##

#### Storage Pool

Type: string

Name of the storage pool containing this volume.

Must be at least `1` characters long

##

#### Content Type

Type: string

Type of content stored in this volume (e.g., 'BLOCK', 'ISO').

Must be at least `1` characters long

##

#### Created At

Type: string

Timestamp when this volume was created.

##

#### Type

Type: string

Volume type indicating its storage backend and characteristics.

Must be at least `1` characters long

##

#### Config

Type: object

Object containing detailed configuration parameters for this volume.

##

#### Used By

Type: array of string

Array of virtual instance names currently using this volume.

No Additional Items

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

Type: string

Must be at least `1` characters long

Required roles: VIRT_IMAGE_WRITE