@alicloud/cs20151215 6.5.2 → 6.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +36 -18
- package/dist/client.js +63 -18
- package/dist/client.js.map +1 -1
- package/dist/models/Addon.d.ts +16 -1
- package/dist/models/Addon.js.map +1 -1
- package/dist/models/ContainerdConfig.d.ts +8 -0
- package/dist/models/ContainerdConfig.js.map +1 -1
- package/dist/models/CreateAutoRepairPolicyRequest.d.ts +0 -51
- package/dist/models/CreateAutoRepairPolicyRequest.js +1 -55
- package/dist/models/CreateAutoRepairPolicyRequest.js.map +1 -1
- package/dist/models/DataDisk.d.ts +71 -0
- package/dist/models/DataDisk.js.map +1 -1
- package/dist/models/DeleteAlertContactResponse.d.ts +0 -24
- package/dist/models/DeleteAlertContactResponse.js.map +1 -1
- package/dist/models/DescribeAutoRepairPolicyResponseBody.d.ts +1 -52
- package/dist/models/DescribeAutoRepairPolicyResponseBody.js +2 -56
- package/dist/models/DescribeAutoRepairPolicyResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterAddonMetadataRequest.d.ts +7 -0
- package/dist/models/DescribeClusterAddonMetadataRequest.js.map +1 -1
- package/dist/models/InstancePatterns.d.ts +77 -0
- package/dist/models/InstancePatterns.js.map +1 -1
- package/dist/models/KubeletConfig.d.ts +127 -0
- package/dist/models/KubeletConfig.js.map +1 -1
- package/dist/models/ListAutoRepairPoliciesResponseBody.d.ts +1 -52
- package/dist/models/ListAutoRepairPoliciesResponseBody.js +2 -56
- package/dist/models/ListAutoRepairPoliciesResponseBody.js.map +1 -1
- package/dist/models/MaintenanceWindow.d.ts +31 -1
- package/dist/models/MaintenanceWindow.js.map +1 -1
- package/dist/models/ModifyAutoRepairPolicyRequest.d.ts +0 -51
- package/dist/models/ModifyAutoRepairPolicyRequest.js +1 -55
- package/dist/models/ModifyAutoRepairPolicyRequest.js.map +1 -1
- package/dist/models/Nodepool.d.ts +508 -10
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/Runtime.d.ts +14 -0
- package/dist/models/Runtime.js.map +1 -1
- package/dist/models/Tag.d.ts +6 -0
- package/dist/models/Tag.js.map +1 -1
- package/dist/models/Taint.d.ts +15 -0
- package/dist/models/Taint.js.map +1 -1
- package/dist/models/UpdateKmsencryptionRequest.d.ts +23 -0
- package/dist/models/UpdateKmsencryptionRequest.js +60 -0
- package/dist/models/UpdateKmsencryptionRequest.js.map +1 -0
- package/dist/models/UpdateKmsencryptionResponse.d.ts +17 -0
- package/dist/models/UpdateKmsencryptionResponse.js +63 -0
- package/dist/models/UpdateKmsencryptionResponse.js.map +1 -0
- package/dist/models/model.d.ts +2 -8
- package/dist/models/model.js +50 -62
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +67 -18
- package/src/models/Addon.ts +16 -1
- package/src/models/ContainerdConfig.ts +8 -0
- package/src/models/CreateAutoRepairPolicyRequest.ts +0 -87
- package/src/models/DataDisk.ts +71 -0
- package/src/models/DeleteAlertContactResponse.ts +0 -24
- package/src/models/DescribeAutoRepairPolicyResponseBody.ts +2 -89
- package/src/models/DescribeClusterAddonMetadataRequest.ts +7 -0
- package/src/models/InstancePatterns.ts +77 -0
- package/src/models/KubeletConfig.ts +127 -0
- package/src/models/ListAutoRepairPoliciesResponseBody.ts +2 -89
- package/src/models/MaintenanceWindow.ts +31 -1
- package/src/models/ModifyAutoRepairPolicyRequest.ts +0 -87
- package/src/models/Nodepool.ts +508 -10
- package/src/models/Runtime.ts +14 -0
- package/src/models/Tag.ts +6 -0
- package/src/models/Taint.ts +15 -0
- package/src/models/UpdateKmsencryptionRequest.ts +38 -0
- package/src/models/UpdateKmsencryptionResponse.ts +33 -0
- package/src/models/model.ts +2 -8
|
@@ -2,84 +2,7 @@
|
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
export class DescribeAutoRepairPolicyResponseBodyRulesIncidentsConditions extends $dara.Model {
|
|
6
|
-
/**
|
|
7
|
-
* @example
|
|
8
|
-
* xxxx
|
|
9
|
-
*/
|
|
10
|
-
reason?: string;
|
|
11
|
-
/**
|
|
12
|
-
* @example
|
|
13
|
-
* False
|
|
14
|
-
*/
|
|
15
|
-
status?: string;
|
|
16
|
-
/**
|
|
17
|
-
* @example
|
|
18
|
-
* KubeletReady
|
|
19
|
-
*/
|
|
20
|
-
type?: string;
|
|
21
|
-
static names(): { [key: string]: string } {
|
|
22
|
-
return {
|
|
23
|
-
reason: 'reason',
|
|
24
|
-
status: 'status',
|
|
25
|
-
type: 'type',
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
static types(): { [key: string]: any } {
|
|
30
|
-
return {
|
|
31
|
-
reason: 'string',
|
|
32
|
-
status: 'string',
|
|
33
|
-
type: 'string',
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
validate() {
|
|
38
|
-
super.validate();
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
constructor(map?: { [key: string]: any }) {
|
|
42
|
-
super(map);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export class DescribeAutoRepairPolicyResponseBodyRulesIncidentsEvents extends $dara.Model {
|
|
47
|
-
/**
|
|
48
|
-
* @example
|
|
49
|
-
* xxxx
|
|
50
|
-
*/
|
|
51
|
-
reason?: string;
|
|
52
|
-
/**
|
|
53
|
-
* @example
|
|
54
|
-
* xxxx
|
|
55
|
-
*/
|
|
56
|
-
type?: string;
|
|
57
|
-
static names(): { [key: string]: string } {
|
|
58
|
-
return {
|
|
59
|
-
reason: 'reason',
|
|
60
|
-
type: 'type',
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
static types(): { [key: string]: any } {
|
|
65
|
-
return {
|
|
66
|
-
reason: 'string',
|
|
67
|
-
type: 'string',
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
validate() {
|
|
72
|
-
super.validate();
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
constructor(map?: { [key: string]: any }) {
|
|
76
|
-
super(map);
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
|
|
80
5
|
export class DescribeAutoRepairPolicyResponseBodyRulesIncidents extends $dara.Model {
|
|
81
|
-
conditions?: DescribeAutoRepairPolicyResponseBodyRulesIncidentsConditions[];
|
|
82
|
-
events?: DescribeAutoRepairPolicyResponseBodyRulesIncidentsEvents[];
|
|
83
6
|
/**
|
|
84
7
|
* @example
|
|
85
8
|
* Node.FaultNeedReboot.HOST
|
|
@@ -92,8 +15,6 @@ export class DescribeAutoRepairPolicyResponseBodyRulesIncidents extends $dara.Mo
|
|
|
92
15
|
type?: string;
|
|
93
16
|
static names(): { [key: string]: string } {
|
|
94
17
|
return {
|
|
95
|
-
conditions: 'conditions',
|
|
96
|
-
events: 'events',
|
|
97
18
|
name: 'name',
|
|
98
19
|
type: 'type',
|
|
99
20
|
};
|
|
@@ -101,20 +22,12 @@ export class DescribeAutoRepairPolicyResponseBodyRulesIncidents extends $dara.Mo
|
|
|
101
22
|
|
|
102
23
|
static types(): { [key: string]: any } {
|
|
103
24
|
return {
|
|
104
|
-
conditions: { 'type': 'array', 'itemType': DescribeAutoRepairPolicyResponseBodyRulesIncidentsConditions },
|
|
105
|
-
events: { 'type': 'array', 'itemType': DescribeAutoRepairPolicyResponseBodyRulesIncidentsEvents },
|
|
106
25
|
name: 'string',
|
|
107
26
|
type: 'string',
|
|
108
27
|
};
|
|
109
28
|
}
|
|
110
29
|
|
|
111
30
|
validate() {
|
|
112
|
-
if(Array.isArray(this.conditions)) {
|
|
113
|
-
$dara.Model.validateArray(this.conditions);
|
|
114
|
-
}
|
|
115
|
-
if(Array.isArray(this.events)) {
|
|
116
|
-
$dara.Model.validateArray(this.events);
|
|
117
|
-
}
|
|
118
31
|
super.validate();
|
|
119
32
|
}
|
|
120
33
|
|
|
@@ -197,7 +110,7 @@ export class DescribeAutoRepairPolicyResponseBodyRulesRepairProcedureInterventio
|
|
|
197
110
|
* @example
|
|
198
111
|
* true
|
|
199
112
|
*/
|
|
200
|
-
enable?:
|
|
113
|
+
enable?: boolean;
|
|
201
114
|
inquiringLabel?: DescribeAutoRepairPolicyResponseBodyRulesRepairProcedureInterventionInquiringLabel;
|
|
202
115
|
/**
|
|
203
116
|
* @example
|
|
@@ -216,7 +129,7 @@ export class DescribeAutoRepairPolicyResponseBodyRulesRepairProcedureInterventio
|
|
|
216
129
|
static types(): { [key: string]: any } {
|
|
217
130
|
return {
|
|
218
131
|
approvedLabel: DescribeAutoRepairPolicyResponseBodyRulesRepairProcedureInterventionApprovedLabel,
|
|
219
|
-
enable: '
|
|
132
|
+
enable: 'boolean',
|
|
220
133
|
inquiringLabel: DescribeAutoRepairPolicyResponseBodyRulesRepairProcedureInterventionInquiringLabel,
|
|
221
134
|
type: 'string',
|
|
222
135
|
};
|
|
@@ -3,6 +3,13 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeClusterAddonMetadataRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The component version.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 1.8.4.1
|
|
12
|
+
*/
|
|
6
13
|
version?: string;
|
|
7
14
|
static names(): { [key: string]: string } {
|
|
8
15
|
return {
|
|
@@ -4,10 +4,16 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class InstancePatterns extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* [This parameter is deprecated and replaced by cpu_architectures] The architectures of instance types.
|
|
9
|
+
*
|
|
7
10
|
* @deprecated
|
|
8
11
|
*/
|
|
9
12
|
architectures?: string[];
|
|
10
13
|
/**
|
|
14
|
+
* @remarks
|
|
15
|
+
* [This parameter is deprecated] Specifies whether to include burstable instance types.
|
|
16
|
+
*
|
|
11
17
|
* @example
|
|
12
18
|
* Exclude
|
|
13
19
|
*
|
|
@@ -15,6 +21,9 @@ export class InstancePatterns extends $dara.Model {
|
|
|
15
21
|
*/
|
|
16
22
|
burstPerformanceOption?: string;
|
|
17
23
|
/**
|
|
24
|
+
* @remarks
|
|
25
|
+
* [This parameter is deprecated and replaced by cores] The number of vCores provided by the instance type.
|
|
26
|
+
*
|
|
18
27
|
* @example
|
|
19
28
|
* 4
|
|
20
29
|
*
|
|
@@ -22,54 +31,122 @@ export class InstancePatterns extends $dara.Model {
|
|
|
22
31
|
*/
|
|
23
32
|
core?: number;
|
|
24
33
|
/**
|
|
34
|
+
* @remarks
|
|
35
|
+
* The number of vCPU cores for the instance type.
|
|
36
|
+
*
|
|
25
37
|
* @example
|
|
26
38
|
* 4
|
|
27
39
|
*/
|
|
28
40
|
cores?: number;
|
|
41
|
+
/**
|
|
42
|
+
* @remarks
|
|
43
|
+
* The CPU architecture of the instance type.
|
|
44
|
+
*/
|
|
29
45
|
cpuArchitectures?: string[];
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The instance type that you want to exclude.
|
|
49
|
+
*/
|
|
30
50
|
excludedInstanceTypes?: string[];
|
|
51
|
+
/**
|
|
52
|
+
* @remarks
|
|
53
|
+
* The type of the instance.
|
|
54
|
+
*/
|
|
31
55
|
instanceCategories?: string[];
|
|
32
56
|
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* The instance family level.
|
|
59
|
+
*
|
|
33
60
|
* @example
|
|
34
61
|
* EnterpriseLevel
|
|
35
62
|
*/
|
|
36
63
|
instanceFamilyLevel?: string;
|
|
64
|
+
/**
|
|
65
|
+
* @remarks
|
|
66
|
+
* The specified instance family.
|
|
67
|
+
*/
|
|
37
68
|
instanceTypeFamilies?: string[];
|
|
38
69
|
/**
|
|
70
|
+
* @remarks
|
|
71
|
+
* The maximum vCPU cores allowed for the instance type.
|
|
72
|
+
*
|
|
39
73
|
* @example
|
|
40
74
|
* 8
|
|
41
75
|
*/
|
|
42
76
|
maxCpuCores?: number;
|
|
43
77
|
/**
|
|
78
|
+
* @remarks
|
|
79
|
+
* The maximum allowed memory size. Unit: GiB.
|
|
80
|
+
*
|
|
44
81
|
* @example
|
|
45
82
|
* 16
|
|
46
83
|
*/
|
|
47
84
|
maxMemorySize?: number;
|
|
48
85
|
/**
|
|
86
|
+
* @remarks
|
|
87
|
+
* [This parameter is deprecated] The maximum hourly price of the instance.
|
|
88
|
+
*
|
|
49
89
|
* @example
|
|
50
90
|
* 2
|
|
51
91
|
*
|
|
52
92
|
* @deprecated
|
|
53
93
|
*/
|
|
54
94
|
maxPrice?: number;
|
|
95
|
+
/**
|
|
96
|
+
* @remarks
|
|
97
|
+
* The maximum allowed number of GPUs per instance.
|
|
98
|
+
*
|
|
99
|
+
* @example
|
|
100
|
+
* 8
|
|
101
|
+
*/
|
|
55
102
|
maximumGpuAmount?: number;
|
|
56
103
|
/**
|
|
104
|
+
* @remarks
|
|
105
|
+
* The memory size of the instance type. Unit: GiB.
|
|
106
|
+
*
|
|
57
107
|
* @example
|
|
58
108
|
* 8
|
|
59
109
|
*/
|
|
60
110
|
memory?: number;
|
|
61
111
|
/**
|
|
112
|
+
* @remarks
|
|
113
|
+
* The minimum vCPU cores required for the instance type.
|
|
114
|
+
*
|
|
62
115
|
* @example
|
|
63
116
|
* 4
|
|
64
117
|
*/
|
|
65
118
|
minCpuCores?: number;
|
|
66
119
|
/**
|
|
120
|
+
* @remarks
|
|
121
|
+
* The minimum required memory size. Unit: GiB.
|
|
122
|
+
*
|
|
67
123
|
* @example
|
|
68
124
|
* 8
|
|
69
125
|
*/
|
|
70
126
|
minMemorySize?: number;
|
|
127
|
+
/**
|
|
128
|
+
* @remarks
|
|
129
|
+
* The minimum required number of IPv6 addresses per ENI.
|
|
130
|
+
*
|
|
131
|
+
* @example
|
|
132
|
+
* 1
|
|
133
|
+
*/
|
|
71
134
|
minimumEniIpv6AddressQuantity?: number;
|
|
135
|
+
/**
|
|
136
|
+
* @remarks
|
|
137
|
+
* The minimum required number of IPv4 addresses per ENI.
|
|
138
|
+
*
|
|
139
|
+
* @example
|
|
140
|
+
* 10
|
|
141
|
+
*/
|
|
72
142
|
minimumEniPrivateIpAddressQuantity?: number;
|
|
143
|
+
/**
|
|
144
|
+
* @remarks
|
|
145
|
+
* The minimum required number of elastic network interfaces (ENIs) per instance.
|
|
146
|
+
*
|
|
147
|
+
* @example
|
|
148
|
+
* 3
|
|
149
|
+
*/
|
|
73
150
|
minimumEniQuantity?: number;
|
|
74
151
|
static names(): { [key: string]: string } {
|
|
75
152
|
return {
|
|
@@ -5,7 +5,21 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
/**
|
|
6
6
|
*/
|
|
7
7
|
export class KubeletConfigReservedMemory extends $dara.Model {
|
|
8
|
+
/**
|
|
9
|
+
* @remarks
|
|
10
|
+
* The memory limit.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* {"memory": "1Gi"}
|
|
14
|
+
*/
|
|
8
15
|
limits?: { [key: string]: any };
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The NUMA node identifier.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* 0
|
|
22
|
+
*/
|
|
9
23
|
numaNode?: number;
|
|
10
24
|
static names(): { [key: string]: string } {
|
|
11
25
|
return {
|
|
@@ -35,10 +49,20 @@ export class KubeletConfigReservedMemory extends $dara.Model {
|
|
|
35
49
|
|
|
36
50
|
export class KubeletConfigTracing extends $dara.Model {
|
|
37
51
|
/**
|
|
52
|
+
* @remarks
|
|
53
|
+
* The endpoint of the collector.
|
|
54
|
+
*
|
|
38
55
|
* @example
|
|
39
56
|
* localhost:4317
|
|
40
57
|
*/
|
|
41
58
|
endpoint?: string;
|
|
59
|
+
/**
|
|
60
|
+
* @remarks
|
|
61
|
+
* The number of samples to be collected per million spans.
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* 200000
|
|
65
|
+
*/
|
|
42
66
|
samplingRatePerMillion?: number;
|
|
43
67
|
static names(): { [key: string]: string } {
|
|
44
68
|
return {
|
|
@@ -64,121 +88,224 @@ export class KubeletConfigTracing extends $dara.Model {
|
|
|
64
88
|
}
|
|
65
89
|
|
|
66
90
|
export class KubeletConfig extends $dara.Model {
|
|
91
|
+
/**
|
|
92
|
+
* @remarks
|
|
93
|
+
* The whitelisted unsafe sysctls.
|
|
94
|
+
*/
|
|
67
95
|
allowedUnsafeSysctls?: string[];
|
|
96
|
+
/**
|
|
97
|
+
* @remarks
|
|
98
|
+
* The list of IP addresses of the DNS servers.
|
|
99
|
+
*/
|
|
68
100
|
clusterDNS?: string[];
|
|
69
101
|
/**
|
|
102
|
+
* @remarks
|
|
103
|
+
* The maximum number of log files that can be stored in each container.
|
|
104
|
+
*
|
|
70
105
|
* @example
|
|
71
106
|
* 5
|
|
72
107
|
*/
|
|
73
108
|
containerLogMaxFiles?: number;
|
|
74
109
|
/**
|
|
110
|
+
* @remarks
|
|
111
|
+
* The maximum size that a log file can reach before it is rotated.
|
|
112
|
+
*
|
|
75
113
|
* @example
|
|
76
114
|
* 10Mi
|
|
77
115
|
*/
|
|
78
116
|
containerLogMaxSize?: string;
|
|
79
117
|
/**
|
|
118
|
+
* @remarks
|
|
119
|
+
* The maximum number of concurrent programs that rotate logs
|
|
120
|
+
*
|
|
80
121
|
* @example
|
|
81
122
|
* 1
|
|
82
123
|
*/
|
|
83
124
|
containerLogMaxWorkers?: number;
|
|
84
125
|
/**
|
|
126
|
+
* @remarks
|
|
127
|
+
* The duration at which the container logs are monitored for rotating logs.
|
|
128
|
+
*
|
|
85
129
|
* @example
|
|
86
130
|
* 10s
|
|
87
131
|
*/
|
|
88
132
|
containerLogMonitorInterval?: string;
|
|
89
133
|
/**
|
|
134
|
+
* @remarks
|
|
135
|
+
* Specifies whether to use Completely Fair Scheduler (CFS) quota to enforce pod CPU limits.
|
|
136
|
+
*
|
|
90
137
|
* @example
|
|
91
138
|
* true
|
|
92
139
|
*/
|
|
93
140
|
cpuCFSQuota?: boolean;
|
|
94
141
|
/**
|
|
142
|
+
* @remarks
|
|
143
|
+
* The duration for the CPU CFS quota.
|
|
144
|
+
*
|
|
95
145
|
* @example
|
|
96
146
|
* 100ms
|
|
97
147
|
*/
|
|
98
148
|
cpuCFSQuotaPeriod?: string;
|
|
99
149
|
/**
|
|
150
|
+
* @remarks
|
|
151
|
+
* The CPU management policy used by kubelet.
|
|
152
|
+
*
|
|
100
153
|
* @example
|
|
101
154
|
* none
|
|
102
155
|
*/
|
|
103
156
|
cpuManagerPolicy?: string;
|
|
104
157
|
/**
|
|
158
|
+
* @remarks
|
|
159
|
+
* The maximum number of burst peaks for the event records.
|
|
160
|
+
*
|
|
105
161
|
* @example
|
|
106
162
|
* 10
|
|
107
163
|
*/
|
|
108
164
|
eventBurst?: number;
|
|
109
165
|
/**
|
|
166
|
+
* @remarks
|
|
167
|
+
* Specifies the maximum number of events that can be generated per second.
|
|
168
|
+
*
|
|
110
169
|
* @example
|
|
111
170
|
* 5
|
|
112
171
|
*/
|
|
113
172
|
eventRecordQPS?: number;
|
|
173
|
+
/**
|
|
174
|
+
* @remarks
|
|
175
|
+
* A set of eviction thresholds that will trigger a pod eviction if met.
|
|
176
|
+
*/
|
|
114
177
|
evictionHard?: { [key: string]: any };
|
|
178
|
+
/**
|
|
179
|
+
* @remarks
|
|
180
|
+
* A set of eviction thresholds that will trigger a pod eviction if met over a corresponding grace period.
|
|
181
|
+
*/
|
|
115
182
|
evictionSoft?: { [key: string]: any };
|
|
183
|
+
/**
|
|
184
|
+
* @remarks
|
|
185
|
+
* A set of grace periods for eviction thresholds.
|
|
186
|
+
*/
|
|
116
187
|
evictionSoftGracePeriod?: { [key: string]: any };
|
|
188
|
+
/**
|
|
189
|
+
* @remarks
|
|
190
|
+
* A feature gate that is used to enable an experimental feature.
|
|
191
|
+
*/
|
|
117
192
|
featureGates?: { [key: string]: any };
|
|
118
193
|
/**
|
|
194
|
+
* @remarks
|
|
195
|
+
* The percentage of disk usage after which image garbage collection always runs.
|
|
196
|
+
*
|
|
119
197
|
* @example
|
|
120
198
|
* 85
|
|
121
199
|
*/
|
|
122
200
|
imageGCHighThresholdPercent?: number;
|
|
123
201
|
/**
|
|
202
|
+
* @remarks
|
|
203
|
+
* The percentage of disk usage before which image garbage collection never runs.
|
|
204
|
+
*
|
|
124
205
|
* @example
|
|
125
206
|
* 80
|
|
126
207
|
*/
|
|
127
208
|
imageGCLowThresholdPercent?: number;
|
|
128
209
|
/**
|
|
210
|
+
* @remarks
|
|
211
|
+
* The maximum number of burst requests sent to the API server per second.
|
|
212
|
+
*
|
|
129
213
|
* @example
|
|
130
214
|
* 10
|
|
131
215
|
*/
|
|
132
216
|
kubeAPIBurst?: number;
|
|
133
217
|
/**
|
|
218
|
+
* @remarks
|
|
219
|
+
* The QPS when kubelet communicates with the Kubernetes API server.
|
|
220
|
+
*
|
|
134
221
|
* @example
|
|
135
222
|
* 5
|
|
136
223
|
*/
|
|
137
224
|
kubeAPIQPS?: number;
|
|
225
|
+
/**
|
|
226
|
+
* @remarks
|
|
227
|
+
* A set of configurations that specify resources reserved for the Kubernetes system.
|
|
228
|
+
*/
|
|
138
229
|
kubeReserved?: { [key: string]: any };
|
|
139
230
|
/**
|
|
231
|
+
* @remarks
|
|
232
|
+
* The maximum number of running pods.
|
|
233
|
+
*
|
|
140
234
|
* @example
|
|
141
235
|
* 110
|
|
142
236
|
*/
|
|
143
237
|
maxPods?: number;
|
|
144
238
|
/**
|
|
239
|
+
* @remarks
|
|
240
|
+
* The name of the policy to be used by the memory manager.
|
|
241
|
+
*
|
|
145
242
|
* @example
|
|
146
243
|
* none
|
|
147
244
|
*/
|
|
148
245
|
memoryManagerPolicy?: string;
|
|
149
246
|
/**
|
|
247
|
+
* @remarks
|
|
248
|
+
* The maximum number of processes per pod.
|
|
249
|
+
*
|
|
150
250
|
* @example
|
|
151
251
|
* -1
|
|
152
252
|
*/
|
|
153
253
|
podPidsLimit?: number;
|
|
154
254
|
/**
|
|
255
|
+
* @remarks
|
|
256
|
+
* The read-only port.
|
|
257
|
+
*
|
|
155
258
|
* @example
|
|
156
259
|
* 0
|
|
157
260
|
*/
|
|
158
261
|
readOnlyPort?: number;
|
|
159
262
|
/**
|
|
263
|
+
* @remarks
|
|
264
|
+
* The maximum number of images that can be pulled from bursty image pulls.
|
|
265
|
+
*
|
|
160
266
|
* @example
|
|
161
267
|
* 10
|
|
162
268
|
*/
|
|
163
269
|
registryBurst?: number;
|
|
164
270
|
/**
|
|
271
|
+
* @remarks
|
|
272
|
+
* The maximum queries per second (QPS) of the image repository.
|
|
273
|
+
*
|
|
165
274
|
* @example
|
|
166
275
|
* 5
|
|
167
276
|
*/
|
|
168
277
|
registryPullQPS?: number;
|
|
278
|
+
/**
|
|
279
|
+
* @remarks
|
|
280
|
+
* A list of configurations that specify memory reservations for non-uniform memory access (NUMA) nodes.
|
|
281
|
+
*/
|
|
169
282
|
reservedMemory?: KubeletConfigReservedMemory[];
|
|
170
283
|
/**
|
|
284
|
+
* @remarks
|
|
285
|
+
* Specifies whether to pull one image at a time.
|
|
286
|
+
*
|
|
171
287
|
* @example
|
|
172
288
|
* true
|
|
173
289
|
*/
|
|
174
290
|
serializeImagePulls?: boolean;
|
|
175
291
|
serverTLSBootstrap?: boolean;
|
|
292
|
+
/**
|
|
293
|
+
* @remarks
|
|
294
|
+
* A set of configurations that specify reserved resources for the system.
|
|
295
|
+
*/
|
|
176
296
|
systemReserved?: { [key: string]: any };
|
|
177
297
|
/**
|
|
298
|
+
* @remarks
|
|
299
|
+
* The name of the Topology Manager policy that you want to use.
|
|
300
|
+
*
|
|
178
301
|
* @example
|
|
179
302
|
* restricted
|
|
180
303
|
*/
|
|
181
304
|
topologyManagerPolicy?: string;
|
|
305
|
+
/**
|
|
306
|
+
* @remarks
|
|
307
|
+
* The versioned configuration information for the Managed Service for OpenTelemetry client.
|
|
308
|
+
*/
|
|
182
309
|
tracing?: KubeletConfigTracing;
|
|
183
310
|
static names(): { [key: string]: string } {
|
|
184
311
|
return {
|
|
@@ -2,84 +2,7 @@
|
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
export class ListAutoRepairPoliciesResponseBodyItemsRulesIncidentsConditions extends $dara.Model {
|
|
6
|
-
/**
|
|
7
|
-
* @example
|
|
8
|
-
* xxx
|
|
9
|
-
*/
|
|
10
|
-
reason?: string;
|
|
11
|
-
/**
|
|
12
|
-
* @example
|
|
13
|
-
* False
|
|
14
|
-
*/
|
|
15
|
-
status?: string;
|
|
16
|
-
/**
|
|
17
|
-
* @example
|
|
18
|
-
* KubeletReady
|
|
19
|
-
*/
|
|
20
|
-
type?: string;
|
|
21
|
-
static names(): { [key: string]: string } {
|
|
22
|
-
return {
|
|
23
|
-
reason: 'reason',
|
|
24
|
-
status: 'status',
|
|
25
|
-
type: 'type',
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
static types(): { [key: string]: any } {
|
|
30
|
-
return {
|
|
31
|
-
reason: 'string',
|
|
32
|
-
status: 'string',
|
|
33
|
-
type: 'string',
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
validate() {
|
|
38
|
-
super.validate();
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
constructor(map?: { [key: string]: any }) {
|
|
42
|
-
super(map);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export class ListAutoRepairPoliciesResponseBodyItemsRulesIncidentsEvents extends $dara.Model {
|
|
47
|
-
/**
|
|
48
|
-
* @example
|
|
49
|
-
* xxx
|
|
50
|
-
*/
|
|
51
|
-
reason?: string;
|
|
52
|
-
/**
|
|
53
|
-
* @example
|
|
54
|
-
* xxx
|
|
55
|
-
*/
|
|
56
|
-
type?: string;
|
|
57
|
-
static names(): { [key: string]: string } {
|
|
58
|
-
return {
|
|
59
|
-
reason: 'reason',
|
|
60
|
-
type: 'type',
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
static types(): { [key: string]: any } {
|
|
65
|
-
return {
|
|
66
|
-
reason: 'string',
|
|
67
|
-
type: 'string',
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
validate() {
|
|
72
|
-
super.validate();
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
constructor(map?: { [key: string]: any }) {
|
|
76
|
-
super(map);
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
|
|
80
5
|
export class ListAutoRepairPoliciesResponseBodyItemsRulesIncidents extends $dara.Model {
|
|
81
|
-
conditions?: ListAutoRepairPoliciesResponseBodyItemsRulesIncidentsConditions[];
|
|
82
|
-
events?: ListAutoRepairPoliciesResponseBodyItemsRulesIncidentsEvents[];
|
|
83
6
|
/**
|
|
84
7
|
* @example
|
|
85
8
|
* Node.FaultNeedReboot.HOST
|
|
@@ -92,8 +15,6 @@ export class ListAutoRepairPoliciesResponseBodyItemsRulesIncidents extends $dara
|
|
|
92
15
|
type?: string;
|
|
93
16
|
static names(): { [key: string]: string } {
|
|
94
17
|
return {
|
|
95
|
-
conditions: 'conditions',
|
|
96
|
-
events: 'events',
|
|
97
18
|
name: 'name',
|
|
98
19
|
type: 'type',
|
|
99
20
|
};
|
|
@@ -101,20 +22,12 @@ export class ListAutoRepairPoliciesResponseBodyItemsRulesIncidents extends $dara
|
|
|
101
22
|
|
|
102
23
|
static types(): { [key: string]: any } {
|
|
103
24
|
return {
|
|
104
|
-
conditions: { 'type': 'array', 'itemType': ListAutoRepairPoliciesResponseBodyItemsRulesIncidentsConditions },
|
|
105
|
-
events: { 'type': 'array', 'itemType': ListAutoRepairPoliciesResponseBodyItemsRulesIncidentsEvents },
|
|
106
25
|
name: 'string',
|
|
107
26
|
type: 'string',
|
|
108
27
|
};
|
|
109
28
|
}
|
|
110
29
|
|
|
111
30
|
validate() {
|
|
112
|
-
if(Array.isArray(this.conditions)) {
|
|
113
|
-
$dara.Model.validateArray(this.conditions);
|
|
114
|
-
}
|
|
115
|
-
if(Array.isArray(this.events)) {
|
|
116
|
-
$dara.Model.validateArray(this.events);
|
|
117
|
-
}
|
|
118
31
|
super.validate();
|
|
119
32
|
}
|
|
120
33
|
|
|
@@ -197,7 +110,7 @@ export class ListAutoRepairPoliciesResponseBodyItemsRulesRepairProcedureInterven
|
|
|
197
110
|
* @example
|
|
198
111
|
* true
|
|
199
112
|
*/
|
|
200
|
-
enable?:
|
|
113
|
+
enable?: boolean;
|
|
201
114
|
inquiringLabel?: ListAutoRepairPoliciesResponseBodyItemsRulesRepairProcedureInterventionInquiringLabel;
|
|
202
115
|
/**
|
|
203
116
|
* @example
|
|
@@ -216,7 +129,7 @@ export class ListAutoRepairPoliciesResponseBodyItemsRulesRepairProcedureInterven
|
|
|
216
129
|
static types(): { [key: string]: any } {
|
|
217
130
|
return {
|
|
218
131
|
approvedLabel: ListAutoRepairPoliciesResponseBodyItemsRulesRepairProcedureInterventionApprovedLabel,
|
|
219
|
-
enable: '
|
|
132
|
+
enable: 'boolean',
|
|
220
133
|
inquiringLabel: ListAutoRepairPoliciesResponseBodyItemsRulesRepairProcedureInterventionInquiringLabel,
|
|
221
134
|
type: 'string',
|
|
222
135
|
};
|