@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
41 lines (40 loc) • 2.06 kB
TypeScript
/**
* 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 { IoK8sApiResourceV1beta1DeviceClaimConfiguration, IoK8sApiResourceV1beta1DeviceConstraint, IoK8sApiResourceV1beta1DeviceRequest } from './';
/**
* DeviceClaim defines how to request devices with a ResourceClaim.
* @export
* @interface IoK8sApiResourceV1beta1DeviceClaim
*/
export interface IoK8sApiResourceV1beta1DeviceClaim {
/**
* This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim.
* @type {Array<IoK8sApiResourceV1beta1DeviceClaimConfiguration>}
* @memberof IoK8sApiResourceV1beta1DeviceClaim
*/
config?: Array<IoK8sApiResourceV1beta1DeviceClaimConfiguration>;
/**
* These constraints must be satisfied by the set of devices that get allocated for the claim.
* @type {Array<IoK8sApiResourceV1beta1DeviceConstraint>}
* @memberof IoK8sApiResourceV1beta1DeviceClaim
*/
constraints?: Array<IoK8sApiResourceV1beta1DeviceConstraint>;
/**
* Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated.
* @type {Array<IoK8sApiResourceV1beta1DeviceRequest>}
* @memberof IoK8sApiResourceV1beta1DeviceClaim
*/
requests?: Array<IoK8sApiResourceV1beta1DeviceRequest>;
}
export declare function IoK8sApiResourceV1beta1DeviceClaimFromJSON(json: any): IoK8sApiResourceV1beta1DeviceClaim;
export declare function IoK8sApiResourceV1beta1DeviceClaimFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiResourceV1beta1DeviceClaim;
export declare function IoK8sApiResourceV1beta1DeviceClaimToJSON(value?: IoK8sApiResourceV1beta1DeviceClaim | null): any;