UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

40 lines (39 loc) 1.65 kB
/** * 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. */ /** * HPAScalingPolicy is a single policy which must hold true for a specified past interval. * @export * @interface IoK8sApiAutoscalingV2HPAScalingPolicy */ export interface IoK8sApiAutoscalingV2HPAScalingPolicy { /** * periodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min). * @type {number} * @memberof IoK8sApiAutoscalingV2HPAScalingPolicy */ periodSeconds: number; /** * type is used to specify the scaling policy. * @type {string} * @memberof IoK8sApiAutoscalingV2HPAScalingPolicy */ type: string; /** * value contains the amount of change which is permitted by the policy. It must be greater than zero * @type {number} * @memberof IoK8sApiAutoscalingV2HPAScalingPolicy */ value: number; } export declare function IoK8sApiAutoscalingV2HPAScalingPolicyFromJSON(json: any): IoK8sApiAutoscalingV2HPAScalingPolicy; export declare function IoK8sApiAutoscalingV2HPAScalingPolicyFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiAutoscalingV2HPAScalingPolicy; export declare function IoK8sApiAutoscalingV2HPAScalingPolicyToJSON(value?: IoK8sApiAutoscalingV2HPAScalingPolicy | null): any;