/** * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1.22.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { V2beta2ContainerResourceMetricSource } from './v2beta2ContainerResourceMetricSource'; import { V2beta2ExternalMetricSource } from './v2beta2ExternalMetricSource'; import { V2beta2ObjectMetricSource } from './v2beta2ObjectMetricSource'; import { V2beta2PodsMetricSource } from './v2beta2PodsMetricSource'; import { V2beta2ResourceMetricSource } from './v2beta2ResourceMetricSource'; /** * MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once). */ export declare class V2beta2MetricSpec { 'containerResource'?: V2beta2ContainerResourceMetricSource; 'external'?: V2beta2ExternalMetricSource; 'object'?: V2beta2ObjectMetricSource; 'pods'?: V2beta2PodsMetricSource; 'resource'?: V2beta2ResourceMetricSource; /** * type is the type of metric source. It should be one of \"ContainerResource\", \"External\", \"Object\", \"Pods\" or \"Resource\", each mapping to a matching field in the object. Note: \"ContainerResource\" type is available on when the feature-gate HPAContainerMetrics is enabled */ 'type': string; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; }