/
v1HorizontalPodAutoscalerStatus.ts
73 lines (67 loc) · 2.29 KB
/
v1HorizontalPodAutoscalerStatus.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: release-1.28
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { RequestFile } from './models';
/**
* current status of a horizontal pod autoscaler
*/
export class V1HorizontalPodAutoscalerStatus {
/**
* 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.
*/
'currentCPUUtilizationPercentage'?: number;
/**
* currentReplicas is the current number of replicas of pods managed by this autoscaler.
*/
'currentReplicas': number;
/**
* desiredReplicas is the desired number of replicas of pods managed by this autoscaler.
*/
'desiredReplicas': number;
/**
* lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed.
*/
'lastScaleTime'?: Date;
/**
* observedGeneration is the most recent generation observed by this autoscaler.
*/
'observedGeneration'?: number;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "currentCPUUtilizationPercentage",
"baseName": "currentCPUUtilizationPercentage",
"type": "number"
},
{
"name": "currentReplicas",
"baseName": "currentReplicas",
"type": "number"
},
{
"name": "desiredReplicas",
"baseName": "desiredReplicas",
"type": "number"
},
{
"name": "lastScaleTime",
"baseName": "lastScaleTime",
"type": "Date"
},
{
"name": "observedGeneration",
"baseName": "observedGeneration",
"type": "number"
} ];
static getAttributeTypeMap() {
return V1HorizontalPodAutoscalerStatus.attributeTypeMap;
}
}