UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

37 lines (36 loc) 2.04 kB
/** * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: unversioned * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { IoK8sApiResourceV1beta2DeviceAllocationConfiguration, IoK8sApiResourceV1beta2DeviceRequestAllocationResult } from './'; /** * DeviceAllocationResult is the result of allocating devices. * @export * @interface IoK8sApiResourceV1beta2DeviceAllocationResult */ export interface IoK8sApiResourceV1beta2DeviceAllocationResult { /** * This field is a combination of all the claim and class configuration parameters. Drivers can distinguish between those based on a flag. * * This includes configuration parameters for drivers which have no allocated devices in the result because it is up to the drivers which configuration parameters they support. They can silently ignore unknown configuration parameters. * @type {Array<IoK8sApiResourceV1beta2DeviceAllocationConfiguration>} * @memberof IoK8sApiResourceV1beta2DeviceAllocationResult */ config?: Array<IoK8sApiResourceV1beta2DeviceAllocationConfiguration>; /** * Results lists all allocated devices. * @type {Array<IoK8sApiResourceV1beta2DeviceRequestAllocationResult>} * @memberof IoK8sApiResourceV1beta2DeviceAllocationResult */ results?: Array<IoK8sApiResourceV1beta2DeviceRequestAllocationResult>; } export declare function IoK8sApiResourceV1beta2DeviceAllocationResultFromJSON(json: any): IoK8sApiResourceV1beta2DeviceAllocationResult; export declare function IoK8sApiResourceV1beta2DeviceAllocationResultFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiResourceV1beta2DeviceAllocationResult; export declare function IoK8sApiResourceV1beta2DeviceAllocationResultToJSON(value?: IoK8sApiResourceV1beta2DeviceAllocationResult | null): any;