@kubevirt-ui/kubevirt-api
    Preparing search index...

    Interface V1Disk

    interface V1Disk {
        blockSize?: V1BlockSize;
        bootOrder?: number;
        cache?: string;
        cdrom?: V1CDRomTarget;
        changedBlockTracking?: boolean;
        dedicatedIOThread?: boolean;
        disk?: V1DiskTarget;
        errorPolicy?: string;
        io?: string;
        lun?: V1LunTarget;
        name: string;
        serial?: string;
        shareable?: boolean;
        tag?: string;
    }
    Index

    Properties

    blockSize?: V1BlockSize

    If specified, the virtual disk will be presented with the given block sizes.

    bootOrder?: number

    BootOrder is an integer value > 0, used to determine ordering of boot devices. Lower values take precedence. Each disk or interface that has a boot order must have a unique value. Disks without a boot order are not tried if a disk with a boot order exists.

    int32

    cache?: string

    Cache specifies which kvm disk cache mode should be used. Supported values are: none: Guest I/O not cached on the host, but may be kept in a disk cache. writethrough: Guest I/O cached on the host but written through to the physical medium. Slowest but with most guarantees. writeback: Guest I/O cached on the host. Defaults to none if the storage supports O_DIRECT, otherwise writethrough.

    Attach a volume as a cdrom to the vmi.

    changedBlockTracking?: boolean

    ChangedBlockTracking indicates this disk should have CBT option Defaults to false.

    dedicatedIOThread?: boolean

    dedicatedIOThread indicates this disk should have an exclusive IO Thread. Enabling this implies useIOThreads = true. Defaults to false.

    Attach a volume as a disk to the vmi.

    errorPolicy?: string

    If specified, it can change the default error policy (stop) for the disk

    io?: string

    IO specifies which QEMU disk IO mode should be used. Supported values are: native, default, threads.

    Attach a volume as a LUN to the vmi.

    name: string

    Name is the device name

    ""
    
    serial?: string

    Serial provides the ability to specify a serial number for the disk device.

    shareable?: boolean

    If specified the disk is made sharable and multiple write from different VMs are permitted

    tag?: string

    If specified, disk address and its tag will be provided to the guest via config drive metadata