@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
40 lines (39 loc) • 1.31 kB
TypeScript
/**
* 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.
*/
/**
* CPUTopology allows specifying the amount of cores, sockets and threads.
* @export
* @interface V1CPUTopology
*/
export interface V1CPUTopology {
/**
* Cores specifies the number of cores inside the vmi. Must be a value greater or equal 1.
* @type {number}
* @memberof V1CPUTopology
*/
cores?: number;
/**
* Sockets specifies the number of sockets inside the vmi. Must be a value greater or equal 1.
* @type {number}
* @memberof V1CPUTopology
*/
sockets?: number;
/**
* Threads specifies the number of threads inside the vmi. Must be a value greater or equal 1.
* @type {number}
* @memberof V1CPUTopology
*/
threads?: number;
}
export declare function V1CPUTopologyFromJSON(json: any): V1CPUTopology;
export declare function V1CPUTopologyFromJSONTyped(json: any, _ignoreDiscriminator: boolean): V1CPUTopology;
export declare function V1CPUTopologyToJSON(value?: V1CPUTopology | null): any;