@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
35 lines (34 loc) • 1.57 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 { IoK8sApiAutoscalingV2MetricIdentifier, IoK8sApiAutoscalingV2MetricTarget } from './';
/**
* PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.
* @export
* @interface IoK8sApiAutoscalingV2PodsMetricSource
*/
export interface IoK8sApiAutoscalingV2PodsMetricSource {
/**
*
* @type {IoK8sApiAutoscalingV2MetricIdentifier}
* @memberof IoK8sApiAutoscalingV2PodsMetricSource
*/
metric: IoK8sApiAutoscalingV2MetricIdentifier;
/**
*
* @type {IoK8sApiAutoscalingV2MetricTarget}
* @memberof IoK8sApiAutoscalingV2PodsMetricSource
*/
target: IoK8sApiAutoscalingV2MetricTarget;
}
export declare function IoK8sApiAutoscalingV2PodsMetricSourceFromJSON(json: any): IoK8sApiAutoscalingV2PodsMetricSource;
export declare function IoK8sApiAutoscalingV2PodsMetricSourceFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiAutoscalingV2PodsMetricSource;
export declare function IoK8sApiAutoscalingV2PodsMetricSourceToJSON(value?: IoK8sApiAutoscalingV2PodsMetricSource | null): any;