@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.
Files changed (73) hide show
  1. package/dist/client.d.ts +34 -34
  2. package/dist/client.js +43 -34
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateClusterNodePoolRequest.d.ts +200 -161
  5. package/dist/models/CreateClusterNodePoolRequest.js +2 -0
  6. package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
  7. package/dist/models/CreateClusterRequest.d.ts +5 -0
  8. package/dist/models/CreateClusterRequest.js +2 -0
  9. package/dist/models/CreateClusterRequest.js.map +1 -1
  10. package/dist/models/DeleteClusterNodepoolRequest.d.ts +3 -1
  11. package/dist/models/DeleteClusterNodepoolRequest.js.map +1 -1
  12. package/dist/models/DescribeAutoRepairPolicyResponseBody.d.ts +21 -11
  13. package/dist/models/DescribeAutoRepairPolicyResponseBody.js +2 -0
  14. package/dist/models/DescribeAutoRepairPolicyResponseBody.js.map +1 -1
  15. package/dist/models/DescribeClusterDetailResponseBody.d.ts +5 -0
  16. package/dist/models/DescribeClusterDetailResponseBody.js +2 -0
  17. package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
  18. package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +172 -176
  19. package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
  20. package/dist/models/DescribeClusterUserKubeconfigRequest.d.ts +4 -4
  21. package/dist/models/DescribeClusterUserKubeconfigResponseBody.d.ts +1 -1
  22. package/dist/models/DescribeClustersForRegionResponseBody.d.ts +5 -0
  23. package/dist/models/DescribeClustersForRegionResponseBody.js +2 -0
  24. package/dist/models/DescribeClustersForRegionResponseBody.js.map +1 -1
  25. package/dist/models/DescribeKubernetesVersionMetadataRequest.d.ts +5 -0
  26. package/dist/models/DescribeKubernetesVersionMetadataRequest.js +2 -0
  27. package/dist/models/DescribeKubernetesVersionMetadataRequest.js.map +1 -1
  28. package/dist/models/DescribeKubernetesVersionMetadataResponse.d.ts +60 -50
  29. package/dist/models/DescribeKubernetesVersionMetadataResponse.js +20 -16
  30. package/dist/models/DescribeKubernetesVersionMetadataResponse.js.map +1 -1
  31. package/dist/models/DescribePolicyGovernanceInClusterResponseBody.d.ts +18 -18
  32. package/dist/models/ListAutoRepairPoliciesResponseBody.d.ts +19 -9
  33. package/dist/models/ListAutoRepairPoliciesResponseBody.js +2 -0
  34. package/dist/models/ListAutoRepairPoliciesResponseBody.js.map +1 -1
  35. package/dist/models/ListNodePoolComponentInstanceNodesRequest.d.ts +1 -1
  36. package/dist/models/ListNodePoolComponentInstanceNodesResponseBody.d.ts +2 -2
  37. package/dist/models/ListNodePoolComponentInstanceNodesShrinkRequest.d.ts +1 -1
  38. package/dist/models/ModifyClusterNodePoolRequest.d.ts +210 -235
  39. package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
  40. package/dist/models/ModifyClusterRequest.d.ts +5 -0
  41. package/dist/models/ModifyClusterRequest.js +2 -0
  42. package/dist/models/ModifyClusterRequest.js.map +1 -1
  43. package/dist/models/Nodepool.d.ts +152 -202
  44. package/dist/models/Nodepool.js.map +1 -1
  45. package/dist/models/RemoveNodePoolNodesRequest.d.ts +6 -5
  46. package/dist/models/RemoveNodePoolNodesRequest.js.map +1 -1
  47. package/dist/models/RemoveNodePoolNodesResponseBody.d.ts +2 -2
  48. package/dist/models/RemoveNodePoolNodesShrinkRequest.d.ts +6 -5
  49. package/dist/models/RemoveNodePoolNodesShrinkRequest.js.map +1 -1
  50. package/package.json +1 -1
  51. package/src/client.ts +46 -34
  52. package/src/models/CreateClusterNodePoolRequest.ts +202 -161
  53. package/src/models/CreateClusterRequest.ts +7 -0
  54. package/src/models/DeleteClusterNodepoolRequest.ts +3 -1
  55. package/src/models/DescribeAutoRepairPolicyResponseBody.ts +23 -11
  56. package/src/models/DescribeClusterDetailResponseBody.ts +7 -0
  57. package/src/models/DescribeClusterNodePoolsResponseBody.ts +172 -176
  58. package/src/models/DescribeClusterUserKubeconfigRequest.ts +4 -4
  59. package/src/models/DescribeClusterUserKubeconfigResponseBody.ts +1 -1
  60. package/src/models/DescribeClustersForRegionResponseBody.ts +7 -0
  61. package/src/models/DescribeKubernetesVersionMetadataRequest.ts +7 -0
  62. package/src/models/DescribeKubernetesVersionMetadataResponse.ts +80 -66
  63. package/src/models/DescribePolicyGovernanceInClusterResponseBody.ts +18 -18
  64. package/src/models/ListAutoRepairPoliciesResponseBody.ts +21 -9
  65. package/src/models/ListNodePoolComponentInstanceNodesRequest.ts +1 -1
  66. package/src/models/ListNodePoolComponentInstanceNodesResponseBody.ts +2 -2
  67. package/src/models/ListNodePoolComponentInstanceNodesShrinkRequest.ts +1 -1
  68. package/src/models/ModifyClusterNodePoolRequest.ts +210 -235
  69. package/src/models/ModifyClusterRequest.ts +7 -0
  70. package/src/models/Nodepool.ts +152 -202
  71. package/src/models/RemoveNodePoolNodesRequest.ts +6 -5
  72. package/src/models/RemoveNodePoolNodesResponseBody.ts +2 -2
  73. 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 deletion is blocked and an error is returned.
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 of the incident.
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 of the incident.
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 `key` of the label.
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. Adding the following labels to the node indicates that you authorize ACK to execute the operations in this stage. After completing the operations in this stage, ACK automatically removes the authorization inquiry and confirmation labels for this stage. If you do not add the following labels promptly, ACK will not execute the actions in this stage and subsequent stages, and the node may remain in a damaged state.
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
- * Indicates whether manual approval is enabled.
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 stage is reached, ACK adds the following labels to your node and waits for your authorization to execute the actions in this stage.
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 configuration of the manual intervention procedure.
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 incidents.
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 ID.
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 of the resource bound to the self-healing rule.
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 of resource bound to the self-healing rule.
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',