@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
package/src/models/Runtime.ts
CHANGED
|
@@ -4,11 +4,25 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class Runtime extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The name of a container runtime. The following types of runtime are supported by Container Service for Kubernetes (ACK).
|
|
9
|
+
*
|
|
10
|
+
* * `containerd`: supports all Kubernetes versions. We recommend that you set the parameter to this value.
|
|
11
|
+
* * `Sandboxed-Container.runv`: Sandboxed container provides enhanced isolation and supports Kubernetes 1.24 and earlier.
|
|
12
|
+
* * `docker`: supports Kubernetes 1.22 and earlier.
|
|
13
|
+
*
|
|
14
|
+
* Default value: `containerd`.
|
|
15
|
+
*
|
|
7
16
|
* @example
|
|
8
17
|
* docker
|
|
9
18
|
*/
|
|
10
19
|
name?: string;
|
|
11
20
|
/**
|
|
21
|
+
* @remarks
|
|
22
|
+
* The version of the container runtime. By default, the latest version is used.
|
|
23
|
+
*
|
|
24
|
+
* For more information about the changes to Sandboxed-Container, see [Sandboxed-Container release notes](https://help.aliyun.com/document_detail/160312.html).
|
|
25
|
+
*
|
|
12
26
|
* @example
|
|
13
27
|
* 19.03.5
|
|
14
28
|
*/
|
package/src/models/Tag.ts
CHANGED
|
@@ -4,11 +4,17 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class Tag extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The `key` of the label.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* env
|
|
9
12
|
*/
|
|
10
13
|
key?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The `value` of the label.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* prod
|
|
14
20
|
*/
|
package/src/models/Taint.ts
CHANGED
|
@@ -4,16 +4,31 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class Taint extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The scheduling policy. Valid values:
|
|
9
|
+
*
|
|
10
|
+
* * `NoSchedule`: This taint is not tolerated. However, pods that are already scheduled to the node are not affected.
|
|
11
|
+
* * `NoExecute`: Pods that do not tolerate this taint are evicted after this taint is added to the node.
|
|
12
|
+
* * `PreferNoSchedule`: This value specifies a soft limit on pods. Existing pods on the node are not affected. The scheduler attempts to avoid scheduling pods that cannot tolerate the taint to the node.
|
|
13
|
+
*
|
|
14
|
+
* Default value: `NoSchedule`.
|
|
15
|
+
*
|
|
7
16
|
* @example
|
|
8
17
|
* NoSchedule
|
|
9
18
|
*/
|
|
10
19
|
effect?: string;
|
|
11
20
|
/**
|
|
21
|
+
* @remarks
|
|
22
|
+
* The `key` of the taint.
|
|
23
|
+
*
|
|
12
24
|
* @example
|
|
13
25
|
* key
|
|
14
26
|
*/
|
|
15
27
|
key?: string;
|
|
16
28
|
/**
|
|
29
|
+
* @remarks
|
|
30
|
+
* The `value` of the taint.
|
|
31
|
+
*
|
|
17
32
|
* @example
|
|
18
33
|
* value
|
|
19
34
|
*/
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UpdateKMSEncryptionRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* false
|
|
9
|
+
*/
|
|
10
|
+
disableEncryption?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* key-abc***
|
|
14
|
+
*/
|
|
15
|
+
kmsKeyId?: string;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
disableEncryption: 'disable_encryption',
|
|
19
|
+
kmsKeyId: 'kms_key_id',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
disableEncryption: 'boolean',
|
|
26
|
+
kmsKeyId: 'string',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
validate() {
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UpdateKMSEncryptionResponse extends $dara.Model {
|
|
6
|
+
headers?: { [key: string]: string };
|
|
7
|
+
statusCode?: number;
|
|
8
|
+
static names(): { [key: string]: string } {
|
|
9
|
+
return {
|
|
10
|
+
headers: 'headers',
|
|
11
|
+
statusCode: 'statusCode',
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
static types(): { [key: string]: any } {
|
|
16
|
+
return {
|
|
17
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
18
|
+
statusCode: 'number',
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
validate() {
|
|
23
|
+
if(this.headers) {
|
|
24
|
+
$dara.Model.validateMap(this.headers);
|
|
25
|
+
}
|
|
26
|
+
super.validate();
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
constructor(map?: { [key: string]: any }) {
|
|
30
|
+
super(map);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -21,8 +21,6 @@ export { NodepoolTeeConfig } from './Nodepool';
|
|
|
21
21
|
export { AttachInstancesResponseBodyList } from './AttachInstancesResponseBody';
|
|
22
22
|
export { CheckServiceRoleRequestRoles } from './CheckServiceRoleRequest';
|
|
23
23
|
export { CheckServiceRoleResponseBodyRoles } from './CheckServiceRoleResponseBody';
|
|
24
|
-
export { CreateAutoRepairPolicyRequestRulesIncidentsConditions } from './CreateAutoRepairPolicyRequest';
|
|
25
|
-
export { CreateAutoRepairPolicyRequestRulesIncidentsEvents } from './CreateAutoRepairPolicyRequest';
|
|
26
24
|
export { CreateAutoRepairPolicyRequestRulesIncidents } from './CreateAutoRepairPolicyRequest';
|
|
27
25
|
export { CreateAutoRepairPolicyRequestRulesRepairProcedureInterventionApprovedLabel } from './CreateAutoRepairPolicyRequest';
|
|
28
26
|
export { CreateAutoRepairPolicyRequestRulesRepairProcedureInterventionInquiringLabel } from './CreateAutoRepairPolicyRequest';
|
|
@@ -65,8 +63,6 @@ export { DeleteClusterRequestDeleteOptions } from './DeleteClusterRequest';
|
|
|
65
63
|
export { DescribeAddonResponseBodyNewerVersions } from './DescribeAddonResponseBody';
|
|
66
64
|
export { DescribeAddonsResponseBodyComponentGroupsItems } from './DescribeAddonsResponseBody';
|
|
67
65
|
export { DescribeAddonsResponseBodyComponentGroups } from './DescribeAddonsResponseBody';
|
|
68
|
-
export { DescribeAutoRepairPolicyResponseBodyRulesIncidentsConditions } from './DescribeAutoRepairPolicyResponseBody';
|
|
69
|
-
export { DescribeAutoRepairPolicyResponseBodyRulesIncidentsEvents } from './DescribeAutoRepairPolicyResponseBody';
|
|
70
66
|
export { DescribeAutoRepairPolicyResponseBodyRulesIncidents } from './DescribeAutoRepairPolicyResponseBody';
|
|
71
67
|
export { DescribeAutoRepairPolicyResponseBodyRulesRepairProcedureInterventionApprovedLabel } from './DescribeAutoRepairPolicyResponseBody';
|
|
72
68
|
export { DescribeAutoRepairPolicyResponseBodyRulesRepairProcedureInterventionInquiringLabel } from './DescribeAutoRepairPolicyResponseBody';
|
|
@@ -193,8 +189,6 @@ export { InstallNodePoolComponentsRequestComponentsConfig } from './InstallNodeP
|
|
|
193
189
|
export { InstallNodePoolComponentsRequestComponents } from './InstallNodePoolComponentsRequest';
|
|
194
190
|
export { InstallNodePoolComponentsRequestRollingPolicy } from './InstallNodePoolComponentsRequest';
|
|
195
191
|
export { ListAddonsResponseBodyAddons } from './ListAddonsResponseBody';
|
|
196
|
-
export { ListAutoRepairPoliciesResponseBodyItemsRulesIncidentsConditions } from './ListAutoRepairPoliciesResponseBody';
|
|
197
|
-
export { ListAutoRepairPoliciesResponseBodyItemsRulesIncidentsEvents } from './ListAutoRepairPoliciesResponseBody';
|
|
198
192
|
export { ListAutoRepairPoliciesResponseBodyItemsRulesIncidents } from './ListAutoRepairPoliciesResponseBody';
|
|
199
193
|
export { ListAutoRepairPoliciesResponseBodyItemsRulesRepairProcedureInterventionApprovedLabel } from './ListAutoRepairPoliciesResponseBody';
|
|
200
194
|
export { ListAutoRepairPoliciesResponseBodyItemsRulesRepairProcedureInterventionInquiringLabel } from './ListAutoRepairPoliciesResponseBody';
|
|
@@ -218,8 +212,6 @@ export { ListTagResourcesResponseBodyTagResourcesTagResource } from './ListTagRe
|
|
|
218
212
|
export { ListTagResourcesResponseBodyTagResources } from './ListTagResourcesResponseBody';
|
|
219
213
|
export { ListUserKubeConfigStatesResponseBodyPage } from './ListUserKubeConfigStatesResponseBody';
|
|
220
214
|
export { ListUserKubeConfigStatesResponseBodyStates } from './ListUserKubeConfigStatesResponseBody';
|
|
221
|
-
export { ModifyAutoRepairPolicyRequestRulesIncidentsConditions } from './ModifyAutoRepairPolicyRequest';
|
|
222
|
-
export { ModifyAutoRepairPolicyRequestRulesIncidentsEvents } from './ModifyAutoRepairPolicyRequest';
|
|
223
215
|
export { ModifyAutoRepairPolicyRequestRulesIncidents } from './ModifyAutoRepairPolicyRequest';
|
|
224
216
|
export { ModifyAutoRepairPolicyRequestRulesRepairProcedureInterventionApprovedLabel } from './ModifyAutoRepairPolicyRequest';
|
|
225
217
|
export { ModifyAutoRepairPolicyRequestRulesRepairProcedureInterventionInquiringLabel } from './ModifyAutoRepairPolicyRequest';
|
|
@@ -600,6 +592,8 @@ export { UpdateControlPlaneLogResponseBody } from './UpdateControlPlaneLogRespon
|
|
|
600
592
|
export { UpdateControlPlaneLogResponse } from './UpdateControlPlaneLogResponse';
|
|
601
593
|
export { UpdateK8sClusterUserConfigExpireRequest } from './UpdateK8sClusterUserConfigExpireRequest';
|
|
602
594
|
export { UpdateK8sClusterUserConfigExpireResponse } from './UpdateK8sClusterUserConfigExpireResponse';
|
|
595
|
+
export { UpdateKMSEncryptionRequest } from './UpdateKmsencryptionRequest';
|
|
596
|
+
export { UpdateKMSEncryptionResponse } from './UpdateKmsencryptionResponse';
|
|
603
597
|
export { UpdateNodePoolComponentRequest } from './UpdateNodePoolComponentRequest';
|
|
604
598
|
export { UpdateNodePoolComponentResponseBody } from './UpdateNodePoolComponentResponseBody';
|
|
605
599
|
export { UpdateNodePoolComponentResponse } from './UpdateNodePoolComponentResponse';
|