@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
41 lines (40 loc) • 1.77 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 { IoK8sApiAutoscalingV2CrossVersionObjectReference, IoK8sApiAutoscalingV2MetricIdentifier, IoK8sApiAutoscalingV2MetricTarget } from './';
/**
* ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
* @export
* @interface IoK8sApiAutoscalingV2ObjectMetricSource
*/
export interface IoK8sApiAutoscalingV2ObjectMetricSource {
/**
*
* @type {IoK8sApiAutoscalingV2CrossVersionObjectReference}
* @memberof IoK8sApiAutoscalingV2ObjectMetricSource
*/
describedObject: IoK8sApiAutoscalingV2CrossVersionObjectReference;
/**
*
* @type {IoK8sApiAutoscalingV2MetricIdentifier}
* @memberof IoK8sApiAutoscalingV2ObjectMetricSource
*/
metric: IoK8sApiAutoscalingV2MetricIdentifier;
/**
*
* @type {IoK8sApiAutoscalingV2MetricTarget}
* @memberof IoK8sApiAutoscalingV2ObjectMetricSource
*/
target: IoK8sApiAutoscalingV2MetricTarget;
}
export declare function IoK8sApiAutoscalingV2ObjectMetricSourceFromJSON(json: any): IoK8sApiAutoscalingV2ObjectMetricSource;
export declare function IoK8sApiAutoscalingV2ObjectMetricSourceFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiAutoscalingV2ObjectMetricSource;
export declare function IoK8sApiAutoscalingV2ObjectMetricSourceToJSON(value?: IoK8sApiAutoscalingV2ObjectMetricSource | null): any;