UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

101 lines (100 loc) 2.89 kB
/** * KubeVirt API * This is KubeVirt API an add-on for Kubernetes. * * The version of the OpenAPI document: 1.0.0 * Contact: kubevirt-dev@googlegroups.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { V1BlockSize, V1CDRomTarget, V1DiskTarget, V1LunTarget } from './'; /** * * @export * @interface V1Disk */ export interface V1Disk { /** * * @type {V1BlockSize} * @memberof V1Disk */ blockSize?: V1BlockSize; /** * 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. * @type {number} * @memberof V1Disk */ bootOrder?: number; /** * Cache specifies which kvm disk cache mode should be used. Supported values are: CacheNone, CacheWriteThrough. * @type {string} * @memberof V1Disk */ cache?: string; /** * * @type {V1CDRomTarget} * @memberof V1Disk */ cdrom?: V1CDRomTarget; /** * dedicatedIOThread indicates this disk should have an exclusive IO Thread. Enabling this implies useIOThreads = true. Defaults to false. * @type {boolean} * @memberof V1Disk */ dedicatedIOThread?: boolean; /** * * @type {V1DiskTarget} * @memberof V1Disk */ disk?: V1DiskTarget; /** * If specified, it can change the default error policy (stop) for the disk * @type {string} * @memberof V1Disk */ errorPolicy?: string; /** * IO specifies which QEMU disk IO mode should be used. Supported values are: native, default, threads. * @type {string} * @memberof V1Disk */ io?: string; /** * * @type {V1LunTarget} * @memberof V1Disk */ lun?: V1LunTarget; /** * Name is the device name * @type {string} * @memberof V1Disk */ name: string; /** * Serial provides the ability to specify a serial number for the disk device. * @type {string} * @memberof V1Disk */ serial?: string; /** * If specified the disk is made sharable and multiple write from different VMs are permitted * @type {boolean} * @memberof V1Disk */ shareable?: boolean; /** * If specified, disk address and its tag will be provided to the guest via config drive metadata * @type {string} * @memberof V1Disk */ tag?: string; } export declare function V1DiskFromJSON(json: any): V1Disk; export declare function V1DiskFromJSONTyped(json: any, _ignoreDiscriminator: boolean): V1Disk; export declare function V1DiskToJSON(value?: V1Disk | null): any;