@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
35 lines (34 loc) • 1.59 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 './';
/**
* ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).
* @export
* @interface IoK8sApiAutoscalingV2ExternalMetricSource
*/
export interface IoK8sApiAutoscalingV2ExternalMetricSource {
/**
*
* @type {IoK8sApiAutoscalingV2MetricIdentifier}
* @memberof IoK8sApiAutoscalingV2ExternalMetricSource
*/
metric: IoK8sApiAutoscalingV2MetricIdentifier;
/**
*
* @type {IoK8sApiAutoscalingV2MetricTarget}
* @memberof IoK8sApiAutoscalingV2ExternalMetricSource
*/
target: IoK8sApiAutoscalingV2MetricTarget;
}
export declare function IoK8sApiAutoscalingV2ExternalMetricSourceFromJSON(json: any): IoK8sApiAutoscalingV2ExternalMetricSource;
export declare function IoK8sApiAutoscalingV2ExternalMetricSourceFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiAutoscalingV2ExternalMetricSource;
export declare function IoK8sApiAutoscalingV2ExternalMetricSourceToJSON(value?: IoK8sApiAutoscalingV2ExternalMetricSource | null): any;