@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
35 lines (34 loc) • 1.69 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 './';
/**
* ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing 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 IoK8sApiAutoscalingV2ResourceMetricStatus
*/
export interface IoK8sApiAutoscalingV2ResourceMetricStatus {
/**
*
* @type {IoK8sApiAutoscalingV2MetricValueStatus}
* @memberof IoK8sApiAutoscalingV2ResourceMetricStatus
*/
current: IoK8sApiAutoscalingV2MetricValueStatus;
/**
* name is the name of the resource in question.
* @type {string}
* @memberof IoK8sApiAutoscalingV2ResourceMetricStatus
*/
name: string;
}
export declare function IoK8sApiAutoscalingV2ResourceMetricStatusFromJSON(json: any): IoK8sApiAutoscalingV2ResourceMetricStatus;
export declare function IoK8sApiAutoscalingV2ResourceMetricStatusFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiAutoscalingV2ResourceMetricStatus;
export declare function IoK8sApiAutoscalingV2ResourceMetricStatusToJSON(value?: IoK8sApiAutoscalingV2ResourceMetricStatus | null): any;