@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
41 lines (40 loc) • 1.83 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 { IoK8sApiResourceV1beta2Counter } from './';
/**
* CounterSet defines a named set of counters that are available to be used by devices defined in the ResourceSlice.
*
* The counters are not allocatable by themselves, but can be referenced by devices. When a device is allocated, the portion of counters it uses will no longer be available for use by other devices.
* @export
* @interface IoK8sApiResourceV1beta2CounterSet
*/
export interface IoK8sApiResourceV1beta2CounterSet {
/**
* Counters defines the set of counters for this CounterSet The name of each counter must be unique in that set and must be a DNS label.
*
* The maximum number of counters in all sets is 32.
* @type {{ [key: string]: IoK8sApiResourceV1beta2Counter; }}
* @memberof IoK8sApiResourceV1beta2CounterSet
*/
counters: {
[key: string]: IoK8sApiResourceV1beta2Counter;
};
/**
* Name defines the name of the counter set. It must be a DNS label.
* @type {string}
* @memberof IoK8sApiResourceV1beta2CounterSet
*/
name: string;
}
export declare function IoK8sApiResourceV1beta2CounterSetFromJSON(json: any): IoK8sApiResourceV1beta2CounterSet;
export declare function IoK8sApiResourceV1beta2CounterSetFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiResourceV1beta2CounterSet;
export declare function IoK8sApiResourceV1beta2CounterSetToJSON(value?: IoK8sApiResourceV1beta2CounterSet | null): any;