virt.volume.create

Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: virt_volume_create

virt_volume_create

Type: object

VirtVolumeCreateArgs parameters.

No Additional Properties

Name

Type: string

Name for the new virtualization volume (alphanumeric, dashes, dots, underscores).

Must be at least 1 characters long

Must be at most 63 characters long

Content Type

Type: const Default: "BLOCK"
Must be one of:
  • "BLOCK"
Specific value: "BLOCK"

Size

Type: integer Default: 1024

Size of volume in MB and it should at least be 512 MB.

Value must be greater or equal to 512

Storage Pool

Default: null

Storage pool in which to create the volume. This must be one of pools listed in virt.global.config output under storage_pools. If the value is None, then the pool defined as pool in virt.global.config will be used.

Type: string

Must be at least 1 characters long

Type: null

VirtVolumeEntry

Type: object

The newly created virtualization volume configuration.

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