@alicloud/cs20151215 7.0.4 → 7.0.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 (54) hide show
  1. package/dist/client.d.ts +30 -42
  2. package/dist/client.js +61 -71
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateClusterNodePoolRequest.d.ts +123 -366
  5. package/dist/models/CreateClusterNodePoolRequest.js +2 -0
  6. package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
  7. package/dist/models/CreateClusterRequest.d.ts +119 -621
  8. package/dist/models/CreateClusterRequest.js.map +1 -1
  9. package/dist/models/CreateClusterResponseBody.d.ts +3 -3
  10. package/dist/models/DescribeAddonRequest.d.ts +7 -18
  11. package/dist/models/DescribeAddonRequest.js.map +1 -1
  12. package/dist/models/DescribeAddonResponseBody.d.ts +12 -12
  13. package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +159 -228
  14. package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +2 -0
  15. package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
  16. package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +121 -240
  17. package/dist/models/DescribeClusterNodePoolsResponseBody.js +2 -0
  18. package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
  19. package/dist/models/InstallNodePoolComponentsRequest.d.ts +12 -4
  20. package/dist/models/InstallNodePoolComponentsRequest.js +2 -0
  21. package/dist/models/InstallNodePoolComponentsRequest.js.map +1 -1
  22. package/dist/models/MaintenanceWindow.d.ts +1 -1
  23. package/dist/models/ModifyClusterNodePoolRequest.d.ts +99 -257
  24. package/dist/models/ModifyClusterNodePoolRequest.js +2 -0
  25. package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
  26. package/dist/models/ModifyNodePoolNodeConfigRequest.d.ts +9 -1
  27. package/dist/models/ModifyNodePoolNodeConfigRequest.js +2 -0
  28. package/dist/models/ModifyNodePoolNodeConfigRequest.js.map +1 -1
  29. package/dist/models/Nodepool.d.ts +70 -195
  30. package/dist/models/Nodepool.js.map +1 -1
  31. package/dist/models/Runtime.d.ts +2 -2
  32. package/dist/models/UpdateNodePoolComponentRequest.d.ts +12 -4
  33. package/dist/models/UpdateNodePoolComponentRequest.js +2 -0
  34. package/dist/models/UpdateNodePoolComponentRequest.js.map +1 -1
  35. package/dist/models/UpgradeClusterNodepoolRequest.d.ts +23 -11
  36. package/dist/models/UpgradeClusterNodepoolRequest.js +2 -0
  37. package/dist/models/UpgradeClusterNodepoolRequest.js.map +1 -1
  38. package/package.json +1 -1
  39. package/src/client.ts +61 -71
  40. package/src/models/CreateClusterNodePoolRequest.ts +126 -367
  41. package/src/models/CreateClusterRequest.ts +119 -621
  42. package/src/models/CreateClusterResponseBody.ts +3 -3
  43. package/src/models/DescribeAddonRequest.ts +7 -18
  44. package/src/models/DescribeAddonResponseBody.ts +12 -12
  45. package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +161 -228
  46. package/src/models/DescribeClusterNodePoolsResponseBody.ts +123 -240
  47. package/src/models/InstallNodePoolComponentsRequest.ts +14 -4
  48. package/src/models/MaintenanceWindow.ts +1 -1
  49. package/src/models/ModifyClusterNodePoolRequest.ts +101 -257
  50. package/src/models/ModifyNodePoolNodeConfigRequest.ts +11 -1
  51. package/src/models/Nodepool.ts +70 -195
  52. package/src/models/Runtime.ts +2 -2
  53. package/src/models/UpdateNodePoolComponentRequest.ts +14 -4
  54. package/src/models/UpgradeClusterNodepoolRequest.ts +25 -11
@@ -90,7 +90,7 @@ export class InstallNodePoolComponentsRequestComponents extends $dara.Model {
90
90
  export class InstallNodePoolComponentsRequestRollingPolicy extends $dara.Model {
91
91
  /**
92
92
  * @remarks
93
- * The interval between batches during the upgrade. Unit: seconds.
93
+ * The upgrade interval between batches. Unit: seconds.
94
94
  *
95
95
  * @example
96
96
  * 0
@@ -98,7 +98,15 @@ export class InstallNodePoolComponentsRequestRollingPolicy extends $dara.Model {
98
98
  batchInterval?: number;
99
99
  /**
100
100
  * @remarks
101
- * The maximum number of nodes that can be processed in parallel per batch. Default value: 1.
101
+ * The maximum number of nodes that are allowed to fail during the rolling process. Default value: 0, which indicates that the task fails if any node fails. If the value is greater than 0, the task fails and stops when the cumulative number of failed nodes exceeds this value.
102
+ *
103
+ * @example
104
+ * 0
105
+ */
106
+ maxFailedNodes?: number;
107
+ /**
108
+ * @remarks
109
+ * The maximum number of parallel operations per batch. Default value: 1.
102
110
  *
103
111
  * @example
104
112
  * 1
@@ -115,6 +123,7 @@ export class InstallNodePoolComponentsRequestRollingPolicy extends $dara.Model {
115
123
  static names(): { [key: string]: string } {
116
124
  return {
117
125
  batchInterval: 'batchInterval',
126
+ maxFailedNodes: 'maxFailedNodes',
118
127
  maxParallelism: 'maxParallelism',
119
128
  pausePolicy: 'pausePolicy',
120
129
  };
@@ -123,6 +132,7 @@ export class InstallNodePoolComponentsRequestRollingPolicy extends $dara.Model {
123
132
  static types(): { [key: string]: any } {
124
133
  return {
125
134
  batchInterval: 'number',
135
+ maxFailedNodes: 'number',
126
136
  maxParallelism: 'number',
127
137
  pausePolicy: 'string',
128
138
  };
@@ -145,12 +155,12 @@ export class InstallNodePoolComponentsRequest extends $dara.Model {
145
155
  components?: InstallNodePoolComponentsRequestComponents[];
146
156
  /**
147
157
  * @remarks
148
- * The list of node names for the rolling update. By default, all nodes are included.
158
+ * The list of node names for the rolling operation. Default value: all nodes.
149
159
  */
150
160
  nodeNames?: string[];
151
161
  /**
152
162
  * @remarks
153
- * The rolling update configuration.
163
+ * The rolling policy configuration.
154
164
  */
155
165
  rollingPolicy?: InstallNodePoolComponentsRequestRollingPolicy;
156
166
  static names(): { [key: string]: string } {
@@ -35,7 +35,7 @@ export class MaintenanceWindow extends $dara.Model {
35
35
  * The start time of the cluster maintenance window. The value follows a standard time format in Golang. Example: 15:04:05Z.
36
36
  *
37
37
  * @example
38
- * 2020-10-15T12:31:00.000+08:00
38
+ * 03:00:00Z
39
39
  */
40
40
  maintenanceTime?: string;
41
41
  /**