@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
|
@@ -1740,6 +1740,11 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1740
1740
|
* true
|
|
1741
1741
|
*/
|
|
1742
1742
|
sshFlags?: boolean;
|
|
1743
|
+
/**
|
|
1744
|
+
* @example
|
|
1745
|
+
* Extended
|
|
1746
|
+
*/
|
|
1747
|
+
supportPolicy?: string;
|
|
1743
1748
|
/**
|
|
1744
1749
|
* @remarks
|
|
1745
1750
|
* The node tags. Tag definition rules:
|
|
@@ -2089,6 +2094,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
2089
2094
|
snatEntry: 'snat_entry',
|
|
2090
2095
|
socEnabled: 'soc_enabled',
|
|
2091
2096
|
sshFlags: 'ssh_flags',
|
|
2097
|
+
supportPolicy: 'support_policy',
|
|
2092
2098
|
tags: 'tags',
|
|
2093
2099
|
taints: 'taints',
|
|
2094
2100
|
timeoutMins: 'timeout_mins',
|
|
@@ -2198,6 +2204,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
2198
2204
|
snatEntry: 'boolean',
|
|
2199
2205
|
socEnabled: 'boolean',
|
|
2200
2206
|
sshFlags: 'boolean',
|
|
2207
|
+
supportPolicy: 'string',
|
|
2201
2208
|
tags: { 'type': 'array', 'itemType': Tag },
|
|
2202
2209
|
taints: { 'type': 'array', 'itemType': Taint },
|
|
2203
2210
|
timeoutMins: 'number',
|
|
@@ -7,7 +7,9 @@ export class DeleteClusterNodepoolRequest extends $dara.Model {
|
|
|
7
7
|
* @remarks
|
|
8
8
|
* Specifies whether to force delete the node pool. Valid values:
|
|
9
9
|
* - true: Force deletes the node pool. If the node pool contains existing nodes, the nodes are forcibly deleted.
|
|
10
|
-
* - false: Does not force delete the node pool. If the node pool contains existing nodes, the
|
|
10
|
+
* - false: Does not force delete the node pool. If the node pool contains existing nodes, the node pool cannot be deleted and an error is returned.
|
|
11
|
+
*
|
|
12
|
+
* Deleting a node pool does not automatically release subscription nodes. Automatic release subscription nodes, [change the billing method of the nodes from subscription to pay-as-you-go](https://www.alibabacloud.com/help/en/ecs/change-the-billing-method-of-an-instance-from-subscription-to-pay-as-you-go-1) and then log on to the ECS console automatic release the nodes.
|
|
11
13
|
*
|
|
12
14
|
* @example
|
|
13
15
|
* false
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeAutoRepairPolicyResponseBodyRulesIncidents extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The name
|
|
8
|
+
* The fault name.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* Node.FaultNeedReboot.HOST
|
|
@@ -13,7 +13,7 @@ export class DescribeAutoRepairPolicyResponseBodyRulesIncidents extends $dara.Mo
|
|
|
13
13
|
name?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The type
|
|
16
|
+
* The fault type.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* system
|
|
@@ -45,7 +45,7 @@ export class DescribeAutoRepairPolicyResponseBodyRulesIncidents extends $dara.Mo
|
|
|
45
45
|
export class DescribeAutoRepairPolicyResponseBodyRulesRepairProcedureInterventionApprovedLabel extends $dara.Model {
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The
|
|
48
|
+
* The key of the label.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* k8s.aliyun.com/incident
|
|
@@ -125,12 +125,12 @@ export class DescribeAutoRepairPolicyResponseBodyRulesRepairProcedureInterventio
|
|
|
125
125
|
export class DescribeAutoRepairPolicyResponseBodyRulesRepairProcedureIntervention 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 label to a node, you authorize ACK to perform the 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 label in time, ACK will not perform the operations in this phase and subsequent phases, and the node may remain in a damaged state.
|
|
129
129
|
*/
|
|
130
130
|
approvedLabel?: DescribeAutoRepairPolicyResponseBodyRulesRepairProcedureInterventionApprovedLabel;
|
|
131
131
|
/**
|
|
132
132
|
* @remarks
|
|
133
|
-
*
|
|
133
|
+
* Specifies whether manual approval is enabled.
|
|
134
134
|
*
|
|
135
135
|
* @example
|
|
136
136
|
* true
|
|
@@ -138,7 +138,7 @@ export class DescribeAutoRepairPolicyResponseBodyRulesRepairProcedureInterventio
|
|
|
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 label to your node and waits for your authorization to perform the operations in this phase.
|
|
142
142
|
*/
|
|
143
143
|
inquiringLabel?: DescribeAutoRepairPolicyResponseBodyRulesRepairProcedureInterventionInquiringLabel;
|
|
144
144
|
/**
|
|
@@ -190,7 +190,7 @@ export class DescribeAutoRepairPolicyResponseBodyRulesRepairProcedure extends $d
|
|
|
190
190
|
config?: { [key: string]: any };
|
|
191
191
|
/**
|
|
192
192
|
* @remarks
|
|
193
|
-
* The
|
|
193
|
+
* The manual intervention procedure.
|
|
194
194
|
*/
|
|
195
195
|
intervention?: DescribeAutoRepairPolicyResponseBodyRulesRepairProcedureIntervention;
|
|
196
196
|
/**
|
|
@@ -235,7 +235,7 @@ export class DescribeAutoRepairPolicyResponseBodyRulesRepairProcedure extends $d
|
|
|
235
235
|
export class DescribeAutoRepairPolicyResponseBodyRules extends $dara.Model {
|
|
236
236
|
/**
|
|
237
237
|
* @remarks
|
|
238
|
-
* The list of identified
|
|
238
|
+
* The list of identified faults.
|
|
239
239
|
*/
|
|
240
240
|
incidents?: DescribeAutoRepairPolicyResponseBodyRulesIncidents[];
|
|
241
241
|
/**
|
|
@@ -275,7 +275,7 @@ export class DescribeAutoRepairPolicyResponseBodyRules extends $dara.Model {
|
|
|
275
275
|
export class DescribeAutoRepairPolicyResponseBody extends $dara.Model {
|
|
276
276
|
/**
|
|
277
277
|
* @remarks
|
|
278
|
-
* The self-healing rule
|
|
278
|
+
* The ID of the self-healing rule.
|
|
279
279
|
*
|
|
280
280
|
* @example
|
|
281
281
|
* r-xxx
|
|
@@ -296,7 +296,7 @@ export class DescribeAutoRepairPolicyResponseBody 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 DescribeAutoRepairPolicyResponseBody 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
|
|
@@ -315,6 +315,16 @@ export class DescribeAutoRepairPolicyResponseBody extends $dara.Model {
|
|
|
315
315
|
* The list of self-healing sub-rules.
|
|
316
316
|
*/
|
|
317
317
|
rules?: DescribeAutoRepairPolicyResponseBodyRules[];
|
|
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 DescribeAutoRepairPolicyResponseBody 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 DescribeAutoRepairPolicyResponseBody extends $dara.Model {
|
|
|
334
345
|
resourceSubType: 'string',
|
|
335
346
|
resourceType: 'string',
|
|
336
347
|
rules: { 'type': 'array', 'itemType': DescribeAutoRepairPolicyResponseBodyRules },
|
|
348
|
+
type: 'string',
|
|
337
349
|
};
|
|
338
350
|
}
|
|
339
351
|
|
|
@@ -926,6 +926,11 @@ export class DescribeClusterDetailResponseBody extends $dara.Model {
|
|
|
926
926
|
* @deprecated
|
|
927
927
|
*/
|
|
928
928
|
subnetCidr?: string;
|
|
929
|
+
/**
|
|
930
|
+
* @example
|
|
931
|
+
* Extended
|
|
932
|
+
*/
|
|
933
|
+
supportPolicy?: string;
|
|
929
934
|
/**
|
|
930
935
|
* @remarks
|
|
931
936
|
* The cluster resource tags.
|
|
@@ -1026,6 +1031,7 @@ export class DescribeClusterDetailResponseBody extends $dara.Model {
|
|
|
1026
1031
|
size: 'size',
|
|
1027
1032
|
state: 'state',
|
|
1028
1033
|
subnetCidr: 'subnet_cidr',
|
|
1034
|
+
supportPolicy: 'support_policy',
|
|
1029
1035
|
tags: 'tags',
|
|
1030
1036
|
timezone: 'timezone',
|
|
1031
1037
|
updated: 'updated',
|
|
@@ -1075,6 +1081,7 @@ export class DescribeClusterDetailResponseBody extends $dara.Model {
|
|
|
1075
1081
|
size: 'number',
|
|
1076
1082
|
state: 'string',
|
|
1077
1083
|
subnetCidr: 'string',
|
|
1084
|
+
supportPolicy: 'string',
|
|
1078
1085
|
tags: { 'type': 'array', 'itemType': Tag },
|
|
1079
1086
|
timezone: 'string',
|
|
1080
1087
|
updated: 'string',
|