@alicloud/cs20151215 7.2.3 → 7.2.5
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 +34 -34
- package/dist/client.js +43 -34
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +200 -161
- package/dist/models/CreateClusterNodePoolRequest.js +2 -0
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +5 -0
- package/dist/models/CreateClusterRequest.js +2 -0
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/DeleteClusterNodepoolRequest.d.ts +3 -1
- package/dist/models/DeleteClusterNodepoolRequest.js.map +1 -1
- package/dist/models/DescribeAutoRepairPolicyResponseBody.d.ts +21 -11
- package/dist/models/DescribeAutoRepairPolicyResponseBody.js +2 -0
- package/dist/models/DescribeAutoRepairPolicyResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterDetailResponseBody.d.ts +5 -0
- package/dist/models/DescribeClusterDetailResponseBody.js +2 -0
- package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +172 -176
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterUserKubeconfigRequest.d.ts +4 -4
- package/dist/models/DescribeClusterUserKubeconfigResponseBody.d.ts +1 -1
- package/dist/models/DescribeClustersForRegionResponseBody.d.ts +5 -0
- package/dist/models/DescribeClustersForRegionResponseBody.js +2 -0
- package/dist/models/DescribeClustersForRegionResponseBody.js.map +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataRequest.d.ts +5 -0
- package/dist/models/DescribeKubernetesVersionMetadataRequest.js +2 -0
- package/dist/models/DescribeKubernetesVersionMetadataRequest.js.map +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataResponse.d.ts +60 -50
- package/dist/models/DescribeKubernetesVersionMetadataResponse.js +20 -16
- package/dist/models/DescribeKubernetesVersionMetadataResponse.js.map +1 -1
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.d.ts +18 -18
- package/dist/models/ListAutoRepairPoliciesResponseBody.d.ts +19 -9
- package/dist/models/ListAutoRepairPoliciesResponseBody.js +2 -0
- package/dist/models/ListAutoRepairPoliciesResponseBody.js.map +1 -1
- package/dist/models/ListNodePoolComponentInstanceNodesRequest.d.ts +1 -1
- package/dist/models/ListNodePoolComponentInstanceNodesResponseBody.d.ts +2 -2
- package/dist/models/ListNodePoolComponentInstanceNodesShrinkRequest.d.ts +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +210 -235
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyClusterRequest.d.ts +5 -0
- package/dist/models/ModifyClusterRequest.js +2 -0
- package/dist/models/ModifyClusterRequest.js.map +1 -1
- package/dist/models/Nodepool.d.ts +152 -202
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/RemoveNodePoolNodesRequest.d.ts +6 -5
- package/dist/models/RemoveNodePoolNodesRequest.js.map +1 -1
- package/dist/models/RemoveNodePoolNodesResponseBody.d.ts +2 -2
- package/dist/models/RemoveNodePoolNodesShrinkRequest.d.ts +6 -5
- package/dist/models/RemoveNodePoolNodesShrinkRequest.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +46 -34
- package/src/models/CreateClusterNodePoolRequest.ts +202 -161
- package/src/models/CreateClusterRequest.ts +7 -0
- package/src/models/DeleteClusterNodepoolRequest.ts +3 -1
- package/src/models/DescribeAutoRepairPolicyResponseBody.ts +23 -11
- package/src/models/DescribeClusterDetailResponseBody.ts +7 -0
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +172 -176
- package/src/models/DescribeClusterUserKubeconfigRequest.ts +4 -4
- package/src/models/DescribeClusterUserKubeconfigResponseBody.ts +1 -1
- package/src/models/DescribeClustersForRegionResponseBody.ts +7 -0
- package/src/models/DescribeKubernetesVersionMetadataRequest.ts +7 -0
- package/src/models/DescribeKubernetesVersionMetadataResponse.ts +80 -66
- package/src/models/DescribePolicyGovernanceInClusterResponseBody.ts +18 -18
- package/src/models/ListAutoRepairPoliciesResponseBody.ts +21 -9
- package/src/models/ListNodePoolComponentInstanceNodesRequest.ts +1 -1
- package/src/models/ListNodePoolComponentInstanceNodesResponseBody.ts +2 -2
- package/src/models/ListNodePoolComponentInstanceNodesShrinkRequest.ts +1 -1
- package/src/models/ModifyClusterNodePoolRequest.ts +210 -235
- package/src/models/ModifyClusterRequest.ts +7 -0
- package/src/models/Nodepool.ts +152 -202
- package/src/models/RemoveNodePoolNodesRequest.ts +6 -5
- package/src/models/RemoveNodePoolNodesResponseBody.ts +2 -2
- package/src/models/RemoveNodePoolNodesShrinkRequest.ts +6 -5
|
@@ -5,9 +5,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeClusterUserKubeconfigRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Specifies whether to
|
|
9
|
-
* - `true`:
|
|
10
|
-
* - `false`:
|
|
8
|
+
* Specifies whether to obtain the internal network connection configuration. Valid values:
|
|
9
|
+
* - `true`: obtains only the internal network connection credentials.
|
|
10
|
+
* - `false`: obtains only the public network connection credentials.
|
|
11
11
|
*
|
|
12
12
|
* Default value: `false`.
|
|
13
13
|
*
|
|
@@ -17,7 +17,7 @@ export class DescribeClusterUserKubeconfigRequest extends $dara.Model {
|
|
|
17
17
|
privateIpAddress?: boolean;
|
|
18
18
|
/**
|
|
19
19
|
* @remarks
|
|
20
|
-
* The validity period of the temporary kubeconfig file, in minutes. Valid values: 15
|
|
20
|
+
* The validity period of the temporary kubeconfig file, in minutes. Valid values: 15 to 4320.
|
|
21
21
|
* > If you do not specify this parameter, the system automatically determines a longer validity period. You can determine the specific expiration time based on the value of the `expiration` field in the response.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
@@ -13,7 +13,7 @@ export class DescribeClusterUserKubeconfigResponseBody extends $dara.Model {
|
|
|
13
13
|
config?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The expiration time of the kubeconfig file. The time is displayed in UTC and follows the RFC 3339
|
|
16
|
+
* The expiration time of the kubeconfig file. The time is displayed in UTC and follows the RFC 3339 standard.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 2024-03-10T09:56:17Z
|
|
@@ -201,6 +201,11 @@ export class DescribeClustersForRegionResponseBodyClusters extends $dara.Model {
|
|
|
201
201
|
* running
|
|
202
202
|
*/
|
|
203
203
|
state?: string;
|
|
204
|
+
/**
|
|
205
|
+
* @example
|
|
206
|
+
* Extended
|
|
207
|
+
*/
|
|
208
|
+
supportPolicy?: string;
|
|
204
209
|
/**
|
|
205
210
|
* @remarks
|
|
206
211
|
* The list of tags for the cluster.
|
|
@@ -257,6 +262,7 @@ export class DescribeClustersForRegionResponseBodyClusters extends $dara.Model {
|
|
|
257
262
|
serviceCidr: 'service_cidr',
|
|
258
263
|
size: 'size',
|
|
259
264
|
state: 'state',
|
|
265
|
+
supportPolicy: 'support_policy',
|
|
260
266
|
tags: 'tags',
|
|
261
267
|
timezone: 'timezone',
|
|
262
268
|
updated: 'updated',
|
|
@@ -287,6 +293,7 @@ export class DescribeClustersForRegionResponseBodyClusters extends $dara.Model {
|
|
|
287
293
|
serviceCidr: 'string',
|
|
288
294
|
size: 'number',
|
|
289
295
|
state: 'string',
|
|
296
|
+
supportPolicy: 'string',
|
|
290
297
|
tags: { 'type': 'array', 'itemType': Tag },
|
|
291
298
|
timezone: 'string',
|
|
292
299
|
updated: 'string',
|
|
@@ -76,6 +76,11 @@ export class DescribeKubernetesVersionMetadataRequest extends $dara.Model {
|
|
|
76
76
|
* cn-beijing
|
|
77
77
|
*/
|
|
78
78
|
region?: string;
|
|
79
|
+
/**
|
|
80
|
+
* @example
|
|
81
|
+
* Extended
|
|
82
|
+
*/
|
|
83
|
+
supportPolicy?: string;
|
|
79
84
|
/**
|
|
80
85
|
* @remarks
|
|
81
86
|
* The runtime type. You can specify a runtime type to filter system images supported by the runtime. Valid values:
|
|
@@ -100,6 +105,7 @@ export class DescribeKubernetesVersionMetadataRequest extends $dara.Model {
|
|
|
100
105
|
profile: 'Profile',
|
|
101
106
|
queryUpgradableVersion: 'QueryUpgradableVersion',
|
|
102
107
|
region: 'Region',
|
|
108
|
+
supportPolicy: 'SupportPolicy',
|
|
103
109
|
runtime: 'runtime',
|
|
104
110
|
};
|
|
105
111
|
}
|
|
@@ -112,6 +118,7 @@ export class DescribeKubernetesVersionMetadataRequest extends $dara.Model {
|
|
|
112
118
|
profile: 'string',
|
|
113
119
|
queryUpgradableVersion: 'boolean',
|
|
114
120
|
region: 'string',
|
|
121
|
+
supportPolicy: 'string',
|
|
115
122
|
runtime: 'string',
|
|
116
123
|
};
|
|
117
124
|
}
|
|
@@ -6,40 +6,41 @@ import { Runtime } from "./Runtime";
|
|
|
6
6
|
export class DescribeKubernetesVersionMetadataResponseBodyImages extends $dara.Model {
|
|
7
7
|
/**
|
|
8
8
|
* @remarks
|
|
9
|
-
* The image
|
|
9
|
+
* The image architecture.
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
|
-
*
|
|
12
|
+
* x86_64
|
|
13
13
|
*/
|
|
14
|
-
|
|
14
|
+
architecture?: string;
|
|
15
15
|
/**
|
|
16
16
|
* @remarks
|
|
17
|
-
* The image
|
|
17
|
+
* The image category. Some valid values:
|
|
18
|
+
*
|
|
19
|
+
* - `system`: public images.
|
|
20
|
+
* - `self`: your custom images.
|
|
21
|
+
* - `others`: public images from other users.
|
|
22
|
+
* - `marketplace`: Alibaba Cloud Marketplace images.
|
|
18
23
|
*
|
|
19
24
|
* @example
|
|
20
|
-
*
|
|
25
|
+
* system
|
|
21
26
|
*/
|
|
22
|
-
|
|
27
|
+
imageCategory?: string;
|
|
23
28
|
/**
|
|
24
29
|
* @remarks
|
|
25
|
-
* The
|
|
26
|
-
* - `AliyunLinux`
|
|
27
|
-
* - `CentOS`
|
|
28
|
-
* - `Windows`
|
|
29
|
-
* - `WindowsCore`
|
|
30
|
+
* The image ID.
|
|
30
31
|
*
|
|
31
32
|
* @example
|
|
32
|
-
*
|
|
33
|
+
* aliyun_3_x64_20G_alibase_20241218.vhd
|
|
33
34
|
*/
|
|
34
|
-
|
|
35
|
+
imageId?: string;
|
|
35
36
|
/**
|
|
36
37
|
* @remarks
|
|
37
|
-
* The image
|
|
38
|
+
* The image name.
|
|
38
39
|
*
|
|
39
40
|
* @example
|
|
40
|
-
* 3.2104
|
|
41
|
+
* Alibaba Cloud Linux 3.2104
|
|
41
42
|
*/
|
|
42
|
-
|
|
43
|
+
imageName?: string;
|
|
43
44
|
/**
|
|
44
45
|
* @remarks
|
|
45
46
|
* The operating system distribution type. Use this field to specify the operating system for nodes. Valid values:
|
|
@@ -71,48 +72,47 @@ export class DescribeKubernetesVersionMetadataResponseBodyImages extends $dara.M
|
|
|
71
72
|
osType?: string;
|
|
72
73
|
/**
|
|
73
74
|
* @remarks
|
|
74
|
-
* The image
|
|
75
|
-
*
|
|
76
|
-
* - `system`: public images.
|
|
77
|
-
* - `self`: your custom images.
|
|
78
|
-
* - `others`: public images from other users.
|
|
79
|
-
* - `marketplace`: Alibaba Cloud Marketplace images.
|
|
75
|
+
* The image version.
|
|
80
76
|
*
|
|
81
77
|
* @example
|
|
82
|
-
*
|
|
78
|
+
* 3.2104
|
|
83
79
|
*/
|
|
84
|
-
|
|
80
|
+
osVersion?: string;
|
|
85
81
|
/**
|
|
86
82
|
* @remarks
|
|
87
|
-
* The
|
|
83
|
+
* The operating system platform. Valid values:
|
|
84
|
+
* - `AliyunLinux`
|
|
85
|
+
* - `CentOS`
|
|
86
|
+
* - `Windows`
|
|
87
|
+
* - `WindowsCore`
|
|
88
88
|
*
|
|
89
89
|
* @example
|
|
90
|
-
*
|
|
90
|
+
* AliyunLinux
|
|
91
91
|
*/
|
|
92
|
-
|
|
92
|
+
platform?: string;
|
|
93
93
|
static names(): { [key: string]: string } {
|
|
94
94
|
return {
|
|
95
|
+
architecture: 'architecture',
|
|
96
|
+
imageCategory: 'image_category',
|
|
95
97
|
imageId: 'image_id',
|
|
96
98
|
imageName: 'image_name',
|
|
97
|
-
platform: 'platform',
|
|
98
|
-
osVersion: 'os_version',
|
|
99
99
|
imageType: 'image_type',
|
|
100
100
|
osType: 'os_type',
|
|
101
|
-
|
|
102
|
-
|
|
101
|
+
osVersion: 'os_version',
|
|
102
|
+
platform: 'platform',
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
static types(): { [key: string]: any } {
|
|
107
107
|
return {
|
|
108
|
+
architecture: 'string',
|
|
109
|
+
imageCategory: 'string',
|
|
108
110
|
imageId: 'string',
|
|
109
111
|
imageName: 'string',
|
|
110
|
-
platform: 'string',
|
|
111
|
-
osVersion: 'string',
|
|
112
112
|
imageType: 'string',
|
|
113
113
|
osType: 'string',
|
|
114
|
-
|
|
115
|
-
|
|
114
|
+
osVersion: 'string',
|
|
115
|
+
platform: 'string',
|
|
116
116
|
};
|
|
117
117
|
}
|
|
118
118
|
|
|
@@ -137,6 +137,27 @@ export class DescribeKubernetesVersionMetadataResponseBody extends $dara.Model {
|
|
|
137
137
|
* }
|
|
138
138
|
*/
|
|
139
139
|
capabilities?: { [key: string]: any };
|
|
140
|
+
/**
|
|
141
|
+
* @remarks
|
|
142
|
+
* Indicates whether the Kubernetes version can be created.
|
|
143
|
+
*
|
|
144
|
+
* @example
|
|
145
|
+
* true
|
|
146
|
+
*/
|
|
147
|
+
creatable?: boolean;
|
|
148
|
+
/**
|
|
149
|
+
* @remarks
|
|
150
|
+
* The expiration time of the Kubernetes version. The time is in ISO 8601 format and includes time zone information.
|
|
151
|
+
*
|
|
152
|
+
* @example
|
|
153
|
+
* 2026-01-30T00:00:00Z
|
|
154
|
+
*/
|
|
155
|
+
expirationDate?: string;
|
|
156
|
+
/**
|
|
157
|
+
* @example
|
|
158
|
+
* 2026-04-30T00:00:00Z
|
|
159
|
+
*/
|
|
160
|
+
extendedExpirationDate?: string;
|
|
140
161
|
/**
|
|
141
162
|
* @remarks
|
|
142
163
|
* The list of system images.
|
|
@@ -154,19 +175,6 @@ export class DescribeKubernetesVersionMetadataResponseBody extends $dara.Model {
|
|
|
154
175
|
* }
|
|
155
176
|
*/
|
|
156
177
|
metaData?: { [key: string]: any };
|
|
157
|
-
/**
|
|
158
|
-
* @remarks
|
|
159
|
-
* The container runtime configurations.
|
|
160
|
-
*/
|
|
161
|
-
runtimes?: Runtime[];
|
|
162
|
-
/**
|
|
163
|
-
* @remarks
|
|
164
|
-
* The Kubernetes version released by ACK. For more information about versions, see [Overview of Kubernetes version releases](https://help.aliyun.com/document_detail/185269.html).
|
|
165
|
-
*
|
|
166
|
-
* @example
|
|
167
|
-
* 1.31.1-aliyun.1
|
|
168
|
-
*/
|
|
169
|
-
version?: string;
|
|
170
178
|
/**
|
|
171
179
|
* @remarks
|
|
172
180
|
* The release time of the Kubernetes version. The time is in ISO 8601 format and includes time zone information.
|
|
@@ -177,50 +185,56 @@ export class DescribeKubernetesVersionMetadataResponseBody extends $dara.Model {
|
|
|
177
185
|
releaseDate?: string;
|
|
178
186
|
/**
|
|
179
187
|
* @remarks
|
|
180
|
-
* The
|
|
181
|
-
*
|
|
182
|
-
* @example
|
|
183
|
-
* 2026-01-30T00:00:00Z
|
|
188
|
+
* The container runtime configurations.
|
|
184
189
|
*/
|
|
185
|
-
|
|
190
|
+
runtimes?: Runtime[];
|
|
186
191
|
/**
|
|
187
|
-
* @remarks
|
|
188
|
-
* Indicates whether the Kubernetes version can be created.
|
|
189
|
-
*
|
|
190
192
|
* @example
|
|
191
|
-
*
|
|
193
|
+
* Extended
|
|
192
194
|
*/
|
|
193
|
-
|
|
195
|
+
supportPolicy?: string;
|
|
194
196
|
/**
|
|
195
197
|
* @remarks
|
|
196
198
|
* The list of upgradable versions.
|
|
197
199
|
*/
|
|
198
200
|
upgradableVersions?: string[];
|
|
201
|
+
/**
|
|
202
|
+
* @remarks
|
|
203
|
+
* The Kubernetes version released by ACK. For more information about versions, see [Overview of Kubernetes version releases](https://help.aliyun.com/document_detail/185269.html).
|
|
204
|
+
*
|
|
205
|
+
* @example
|
|
206
|
+
* 1.31.1-aliyun.1
|
|
207
|
+
*/
|
|
208
|
+
version?: string;
|
|
199
209
|
static names(): { [key: string]: string } {
|
|
200
210
|
return {
|
|
201
211
|
capabilities: 'capabilities',
|
|
212
|
+
creatable: 'creatable',
|
|
213
|
+
expirationDate: 'expiration_date',
|
|
214
|
+
extendedExpirationDate: 'extended_expiration_date',
|
|
202
215
|
images: 'images',
|
|
203
216
|
metaData: 'meta_data',
|
|
204
|
-
runtimes: 'runtimes',
|
|
205
|
-
version: 'version',
|
|
206
217
|
releaseDate: 'release_date',
|
|
207
|
-
|
|
208
|
-
|
|
218
|
+
runtimes: 'runtimes',
|
|
219
|
+
supportPolicy: 'support_policy',
|
|
209
220
|
upgradableVersions: 'upgradable_versions',
|
|
221
|
+
version: 'version',
|
|
210
222
|
};
|
|
211
223
|
}
|
|
212
224
|
|
|
213
225
|
static types(): { [key: string]: any } {
|
|
214
226
|
return {
|
|
215
227
|
capabilities: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
228
|
+
creatable: 'boolean',
|
|
229
|
+
expirationDate: 'string',
|
|
230
|
+
extendedExpirationDate: 'string',
|
|
216
231
|
images: { 'type': 'array', 'itemType': DescribeKubernetesVersionMetadataResponseBodyImages },
|
|
217
232
|
metaData: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
218
|
-
runtimes: { 'type': 'array', 'itemType': Runtime },
|
|
219
|
-
version: 'string',
|
|
220
233
|
releaseDate: 'string',
|
|
221
|
-
|
|
222
|
-
|
|
234
|
+
runtimes: { 'type': 'array', 'itemType': Runtime },
|
|
235
|
+
supportPolicy: 'string',
|
|
223
236
|
upgradableVersions: { 'type': 'array', 'itemType': 'string' },
|
|
237
|
+
version: 'string',
|
|
224
238
|
};
|
|
225
239
|
}
|
|
226
240
|
|
|
@@ -85,12 +85,12 @@ export class DescribePolicyGovernanceInClusterResponseBodyViolationTotalViolatio
|
|
|
85
85
|
export class DescribePolicyGovernanceInClusterResponseBodyViolationTotalViolations extends $dara.Model {
|
|
86
86
|
/**
|
|
87
87
|
* @remarks
|
|
88
|
-
* The
|
|
88
|
+
* The summary of interception records.
|
|
89
89
|
*/
|
|
90
90
|
deny?: DescribePolicyGovernanceInClusterResponseBodyViolationTotalViolationsDeny[];
|
|
91
91
|
/**
|
|
92
92
|
* @remarks
|
|
93
|
-
* The
|
|
93
|
+
* The summary of alert records.
|
|
94
94
|
*/
|
|
95
95
|
warn?: DescribePolicyGovernanceInClusterResponseBodyViolationTotalViolationsWarn[];
|
|
96
96
|
static names(): { [key: string]: string } {
|
|
@@ -133,7 +133,7 @@ export class DescribePolicyGovernanceInClusterResponseBodyViolationViolationsDen
|
|
|
133
133
|
policyDescription?: string;
|
|
134
134
|
/**
|
|
135
135
|
* @remarks
|
|
136
|
-
* The
|
|
136
|
+
* The Policy Name.
|
|
137
137
|
*
|
|
138
138
|
* @example
|
|
139
139
|
* ACKNamespacesDeleteProtection
|
|
@@ -193,7 +193,7 @@ export class DescribePolicyGovernanceInClusterResponseBodyViolationViolationsWar
|
|
|
193
193
|
policyDescription?: string;
|
|
194
194
|
/**
|
|
195
195
|
* @remarks
|
|
196
|
-
* The
|
|
196
|
+
* The Policy Name.
|
|
197
197
|
*
|
|
198
198
|
* @example
|
|
199
199
|
* ACKRestrictALBCreation
|
|
@@ -245,12 +245,12 @@ export class DescribePolicyGovernanceInClusterResponseBodyViolationViolationsWar
|
|
|
245
245
|
export class DescribePolicyGovernanceInClusterResponseBodyViolationViolations extends $dara.Model {
|
|
246
246
|
/**
|
|
247
247
|
* @remarks
|
|
248
|
-
* The
|
|
248
|
+
* The summary of interception records.
|
|
249
249
|
*/
|
|
250
250
|
deny?: DescribePolicyGovernanceInClusterResponseBodyViolationViolationsDeny[];
|
|
251
251
|
/**
|
|
252
252
|
* @remarks
|
|
253
|
-
* The
|
|
253
|
+
* The summary of alert information.
|
|
254
254
|
*/
|
|
255
255
|
warn?: DescribePolicyGovernanceInClusterResponseBodyViolationViolationsWarn[];
|
|
256
256
|
static names(): { [key: string]: string } {
|
|
@@ -285,12 +285,12 @@ export class DescribePolicyGovernanceInClusterResponseBodyViolationViolations ex
|
|
|
285
285
|
export class DescribePolicyGovernanceInClusterResponseBodyViolation extends $dara.Model {
|
|
286
286
|
/**
|
|
287
287
|
* @remarks
|
|
288
|
-
* The
|
|
288
|
+
* The summary information.
|
|
289
289
|
*/
|
|
290
290
|
totalViolations?: DescribePolicyGovernanceInClusterResponseBodyViolationTotalViolations;
|
|
291
291
|
/**
|
|
292
292
|
* @remarks
|
|
293
|
-
* The violation records
|
|
293
|
+
* The violation records summarized by policy name.
|
|
294
294
|
*/
|
|
295
295
|
violations?: DescribePolicyGovernanceInClusterResponseBodyViolationViolations;
|
|
296
296
|
static names(): { [key: string]: string } {
|
|
@@ -334,8 +334,8 @@ export class DescribePolicyGovernanceInClusterResponseBodyAdmitLogLogs extends $
|
|
|
334
334
|
/**
|
|
335
335
|
* @remarks
|
|
336
336
|
* The action taken by the policy. Valid values:
|
|
337
|
-
* - warn:
|
|
338
|
-
* - deny: Intercepts
|
|
337
|
+
* - warn: Generates an alert for the policy violation but does not intercept the request.
|
|
338
|
+
* - deny: Intercepts the request that violates the policy.
|
|
339
339
|
*
|
|
340
340
|
* @example
|
|
341
341
|
* deny
|
|
@@ -367,7 +367,7 @@ export class DescribePolicyGovernanceInClusterResponseBodyAdmitLogLogs extends $
|
|
|
367
367
|
constraintGroup?: string;
|
|
368
368
|
/**
|
|
369
369
|
* @remarks
|
|
370
|
-
* The
|
|
370
|
+
* The corresponding Policy Name in policy management.
|
|
371
371
|
*
|
|
372
372
|
* @example
|
|
373
373
|
* ACKNamespacesDeleteProtection
|
|
@@ -439,7 +439,7 @@ export class DescribePolicyGovernanceInClusterResponseBodyAdmitLogLogs extends $
|
|
|
439
439
|
resourceName?: string;
|
|
440
440
|
/**
|
|
441
441
|
* @remarks
|
|
442
|
-
* The time when the policy
|
|
442
|
+
* The time when the policy was violated. The time is in ISO 8601 format and includes time zone information.
|
|
443
443
|
*
|
|
444
444
|
* @example
|
|
445
445
|
* 2025-10-27T11:31:40Z
|
|
@@ -505,7 +505,7 @@ export class DescribePolicyGovernanceInClusterResponseBodyAdmitLog extends $dara
|
|
|
505
505
|
count?: number;
|
|
506
506
|
/**
|
|
507
507
|
* @remarks
|
|
508
|
-
* The
|
|
508
|
+
* The log project that stores the policy action information.
|
|
509
509
|
*
|
|
510
510
|
* @example
|
|
511
511
|
* k8s-log-clusterid
|
|
@@ -513,7 +513,7 @@ export class DescribePolicyGovernanceInClusterResponseBodyAdmitLog extends $dara
|
|
|
513
513
|
logProject?: string;
|
|
514
514
|
/**
|
|
515
515
|
* @remarks
|
|
516
|
-
* The
|
|
516
|
+
* The Logstore that stores the policy action information.
|
|
517
517
|
*
|
|
518
518
|
* @example
|
|
519
519
|
* policyadmit-clusterid
|
|
@@ -521,7 +521,7 @@ export class DescribePolicyGovernanceInClusterResponseBodyAdmitLog extends $dara
|
|
|
521
521
|
logStore?: string;
|
|
522
522
|
/**
|
|
523
523
|
* @remarks
|
|
524
|
-
* The log
|
|
524
|
+
* The log information about policy violations.
|
|
525
525
|
*/
|
|
526
526
|
logs?: DescribePolicyGovernanceInClusterResponseBodyAdmitLogLogs[];
|
|
527
527
|
/**
|
|
@@ -619,17 +619,17 @@ export class DescribePolicyGovernanceInClusterResponseBodyOnState extends $dara.
|
|
|
619
619
|
export class DescribePolicyGovernanceInClusterResponseBody extends $dara.Model {
|
|
620
620
|
/**
|
|
621
621
|
* @remarks
|
|
622
|
-
* The policy violation information
|
|
622
|
+
* The policy violation information summarized by severity level.
|
|
623
623
|
*/
|
|
624
624
|
violation?: DescribePolicyGovernanceInClusterResponseBodyViolation;
|
|
625
625
|
/**
|
|
626
626
|
* @remarks
|
|
627
|
-
* The policy governance audit logs of the cluster.
|
|
627
|
+
* The current policy governance audit logs of the cluster.
|
|
628
628
|
*/
|
|
629
629
|
admitLog?: DescribePolicyGovernanceInClusterResponseBodyAdmitLog;
|
|
630
630
|
/**
|
|
631
631
|
* @remarks
|
|
632
|
-
* The counts of enabled policies at different severity levels in the
|
|
632
|
+
* The counts of enabled policies at different severity levels in the cluster.
|
|
633
633
|
*/
|
|
634
634
|
onState?: DescribePolicyGovernanceInClusterResponseBodyOnState[];
|
|
635
635
|
static names(): { [key: string]: string } {
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListAutoRepairPoliciesResponseBodyItemsRulesIncidents extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The name of the
|
|
8
|
+
* The name of the incident.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* Node.FaultNeedReboot.HOST
|
|
@@ -93,7 +93,7 @@ export class ListAutoRepairPoliciesResponseBodyItemsRulesRepairProcedureInterven
|
|
|
93
93
|
key?: string;
|
|
94
94
|
/**
|
|
95
95
|
* @remarks
|
|
96
|
-
* The value of the
|
|
96
|
+
* The value of the taint.
|
|
97
97
|
*
|
|
98
98
|
* @example
|
|
99
99
|
* inquiring
|
|
@@ -125,7 +125,7 @@ export class ListAutoRepairPoliciesResponseBodyItemsRulesRepairProcedureInterven
|
|
|
125
125
|
export class ListAutoRepairPoliciesResponseBodyItemsRulesRepairProcedureIntervention extends $dara.Model {
|
|
126
126
|
/**
|
|
127
127
|
* @remarks
|
|
128
|
-
* The label configuration for authorization confirmation.
|
|
128
|
+
* The label configuration for authorization confirmation. When you add the following labels to a node, you authorize ACK to perform operations in this phase. After completing the operations in this phase, ACK automatically removes the inquiry and confirmation labels for this phase. If you do not add the following labels in time, ACK will not perform the actions in this phase and subsequent phases, and the node may remain in a damaged state.
|
|
129
129
|
*/
|
|
130
130
|
approvedLabel?: ListAutoRepairPoliciesResponseBodyItemsRulesRepairProcedureInterventionApprovedLabel;
|
|
131
131
|
/**
|
|
@@ -138,7 +138,7 @@ export class ListAutoRepairPoliciesResponseBodyItemsRulesRepairProcedureInterven
|
|
|
138
138
|
enable?: boolean;
|
|
139
139
|
/**
|
|
140
140
|
* @remarks
|
|
141
|
-
* The label configuration for authorization inquiry. When this
|
|
141
|
+
* The label configuration for authorization inquiry. When this phase is entered, ACK adds the following labels to your node and waits for your authorization to perform the actions in this phase.
|
|
142
142
|
*/
|
|
143
143
|
inquiringLabel?: ListAutoRepairPoliciesResponseBodyItemsRulesRepairProcedureInterventionInquiringLabel;
|
|
144
144
|
/**
|
|
@@ -190,7 +190,7 @@ export class ListAutoRepairPoliciesResponseBodyItemsRulesRepairProcedure extends
|
|
|
190
190
|
config?: { [key: string]: any };
|
|
191
191
|
/**
|
|
192
192
|
* @remarks
|
|
193
|
-
* The configuration for the
|
|
193
|
+
* The manual intervention configuration for the procedure.
|
|
194
194
|
*/
|
|
195
195
|
intervention?: ListAutoRepairPoliciesResponseBodyItemsRulesRepairProcedureIntervention;
|
|
196
196
|
/**
|
|
@@ -235,7 +235,7 @@ export class ListAutoRepairPoliciesResponseBodyItemsRulesRepairProcedure extends
|
|
|
235
235
|
export class ListAutoRepairPoliciesResponseBodyItemsRules extends $dara.Model {
|
|
236
236
|
/**
|
|
237
237
|
* @remarks
|
|
238
|
-
* The list of identified
|
|
238
|
+
* The list of identified incidents.
|
|
239
239
|
*/
|
|
240
240
|
incidents?: ListAutoRepairPoliciesResponseBodyItemsRulesIncidents[];
|
|
241
241
|
/**
|
|
@@ -296,7 +296,7 @@ export class ListAutoRepairPoliciesResponseBodyItems extends $dara.Model {
|
|
|
296
296
|
resourceIds?: string[];
|
|
297
297
|
/**
|
|
298
298
|
* @remarks
|
|
299
|
-
* The subtype
|
|
299
|
+
* The resource subtype bound to the self-healing rule.
|
|
300
300
|
*
|
|
301
301
|
* @example
|
|
302
302
|
* ess
|
|
@@ -304,7 +304,7 @@ export class ListAutoRepairPoliciesResponseBodyItems extends $dara.Model {
|
|
|
304
304
|
resourceSubType?: string;
|
|
305
305
|
/**
|
|
306
306
|
* @remarks
|
|
307
|
-
* The type
|
|
307
|
+
* The resource type bound to the self-healing rule.
|
|
308
308
|
*
|
|
309
309
|
* @example
|
|
310
310
|
* nodepool
|
|
@@ -312,9 +312,19 @@ export class ListAutoRepairPoliciesResponseBodyItems extends $dara.Model {
|
|
|
312
312
|
resourceType?: string;
|
|
313
313
|
/**
|
|
314
314
|
* @remarks
|
|
315
|
-
* The list of self-healing
|
|
315
|
+
* The list of self-healing sub-rules.
|
|
316
316
|
*/
|
|
317
317
|
rules?: ListAutoRepairPoliciesResponseBodyItemsRules[];
|
|
318
|
+
/**
|
|
319
|
+
* @remarks
|
|
320
|
+
* The rule type. The value is case-sensitive. Valid values:
|
|
321
|
+
* - custom: user-defined rules that support modification and deletion
|
|
322
|
+
* - builtin: built-in system rules that are read-only and do not support creation, modification, or deletion
|
|
323
|
+
*
|
|
324
|
+
* @example
|
|
325
|
+
* custom
|
|
326
|
+
*/
|
|
327
|
+
type?: string;
|
|
318
328
|
static names(): { [key: string]: string } {
|
|
319
329
|
return {
|
|
320
330
|
id: 'id',
|
|
@@ -323,6 +333,7 @@ export class ListAutoRepairPoliciesResponseBodyItems extends $dara.Model {
|
|
|
323
333
|
resourceSubType: 'resource_sub_type',
|
|
324
334
|
resourceType: 'resource_type',
|
|
325
335
|
rules: 'rules',
|
|
336
|
+
type: 'type',
|
|
326
337
|
};
|
|
327
338
|
}
|
|
328
339
|
|
|
@@ -334,6 +345,7 @@ export class ListAutoRepairPoliciesResponseBodyItems extends $dara.Model {
|
|
|
334
345
|
resourceSubType: 'string',
|
|
335
346
|
resourceType: 'string',
|
|
336
347
|
rules: { 'type': 'array', 'itemType': ListAutoRepairPoliciesResponseBodyItemsRules },
|
|
348
|
+
type: 'string',
|
|
337
349
|
};
|
|
338
350
|
}
|
|
339
351
|
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListNodePoolComponentInstanceNodesRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Filters nodes by the specified configuration
|
|
8
|
+
* Filters nodes by the specified configuration revision of the node component.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 1
|
|
@@ -40,7 +40,7 @@ export class ListNodePoolComponentInstanceNodesResponseBodyNodeListComponent ext
|
|
|
40
40
|
config?: ListNodePoolComponentInstanceNodesResponseBodyNodeListComponentConfig;
|
|
41
41
|
/**
|
|
42
42
|
* @remarks
|
|
43
|
-
* The custom configuration
|
|
43
|
+
* The custom configuration revision of the component on the node.
|
|
44
44
|
*
|
|
45
45
|
* @example
|
|
46
46
|
* 1
|
|
@@ -95,7 +95,7 @@ export class ListNodePoolComponentInstanceNodesResponseBodyNodeListComponent ext
|
|
|
95
95
|
export class ListNodePoolComponentInstanceNodesResponseBodyNodeList extends $dara.Model {
|
|
96
96
|
/**
|
|
97
97
|
* @remarks
|
|
98
|
-
* The
|
|
98
|
+
* The detailed information about the component on the node.
|
|
99
99
|
*/
|
|
100
100
|
component?: ListNodePoolComponentInstanceNodesResponseBodyNodeListComponent;
|
|
101
101
|
/**
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListNodePoolComponentInstanceNodesShrinkRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Filters nodes by the specified configuration
|
|
8
|
+
* Filters nodes by the specified configuration revision of the node component.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 1
|