@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
41 lines (40 loc) • 2.02 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 { IoK8sApiAutoscalingV2MetricValueStatus } from './';
/**
* ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
* @export
* @interface IoK8sApiAutoscalingV2ContainerResourceMetricStatus
*/
export interface IoK8sApiAutoscalingV2ContainerResourceMetricStatus {
/**
* container is the name of the container in the pods of the scaling target
* @type {string}
* @memberof IoK8sApiAutoscalingV2ContainerResourceMetricStatus
*/
container: string;
/**
*
* @type {IoK8sApiAutoscalingV2MetricValueStatus}
* @memberof IoK8sApiAutoscalingV2ContainerResourceMetricStatus
*/
current: IoK8sApiAutoscalingV2MetricValueStatus;
/**
* name is the name of the resource in question.
* @type {string}
* @memberof IoK8sApiAutoscalingV2ContainerResourceMetricStatus
*/
name: string;
}
export declare function IoK8sApiAutoscalingV2ContainerResourceMetricStatusFromJSON(json: any): IoK8sApiAutoscalingV2ContainerResourceMetricStatus;
export declare function IoK8sApiAutoscalingV2ContainerResourceMetricStatusFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiAutoscalingV2ContainerResourceMetricStatus;
export declare function IoK8sApiAutoscalingV2ContainerResourceMetricStatusToJSON(value?: IoK8sApiAutoscalingV2ContainerResourceMetricStatus | null): any;