@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
52 lines (51 loc) • 2.4 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.
*/
/**
* current status of a horizontal pod autoscaler
* @export
* @interface IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus
*/
export interface IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus {
/**
* currentCPUUtilizationPercentage is the current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.
* @type {number}
* @memberof IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus
*/
currentCPUUtilizationPercentage?: number;
/**
* currentReplicas is the current number of replicas of pods managed by this autoscaler.
* @type {number}
* @memberof IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus
*/
currentReplicas: number;
/**
* desiredReplicas is the desired number of replicas of pods managed by this autoscaler.
* @type {number}
* @memberof IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus
*/
desiredReplicas: number;
/**
* Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
* @type {string}
* @memberof IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus
*/
lastScaleTime?: string;
/**
* observedGeneration is the most recent generation observed by this autoscaler.
* @type {number}
* @memberof IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus
*/
observedGeneration?: number;
}
export declare function IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatusFromJSON(json: any): IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus;
export declare function IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatusFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus;
export declare function IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatusToJSON(value?: IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus | null): any;