@alicloud/cs20151215 7.0.4 → 7.1.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.
Files changed (126) hide show
  1. package/dist/client.d.ts +120 -42
  2. package/dist/client.js +332 -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/CreateNodePoolComponentInstancesRequest.d.ts +100 -0
  11. package/dist/models/CreateNodePoolComponentInstancesRequest.js +144 -0
  12. package/dist/models/CreateNodePoolComponentInstancesRequest.js.map +1 -0
  13. package/dist/models/CreateNodePoolComponentInstancesResponse.d.ts +19 -0
  14. package/dist/models/CreateNodePoolComponentInstancesResponse.js +69 -0
  15. package/dist/models/CreateNodePoolComponentInstancesResponse.js.map +1 -0
  16. package/dist/models/CreateNodePoolComponentInstancesResponseBody.d.ts +28 -0
  17. package/dist/models/CreateNodePoolComponentInstancesResponseBody.js +62 -0
  18. package/dist/models/CreateNodePoolComponentInstancesResponseBody.js.map +1 -0
  19. package/dist/models/DeleteNodePoolComponentInstanceRequest.d.ts +38 -0
  20. package/dist/models/DeleteNodePoolComponentInstanceRequest.js +69 -0
  21. package/dist/models/DeleteNodePoolComponentInstanceRequest.js.map +1 -0
  22. package/dist/models/DeleteNodePoolComponentInstanceResponse.d.ts +19 -0
  23. package/dist/models/DeleteNodePoolComponentInstanceResponse.js +69 -0
  24. package/dist/models/DeleteNodePoolComponentInstanceResponse.js.map +1 -0
  25. package/dist/models/DeleteNodePoolComponentInstanceResponseBody.d.ts +28 -0
  26. package/dist/models/DeleteNodePoolComponentInstanceResponseBody.js +62 -0
  27. package/dist/models/DeleteNodePoolComponentInstanceResponseBody.js.map +1 -0
  28. package/dist/models/DeleteNodePoolComponentInstanceShrinkRequest.d.ts +38 -0
  29. package/dist/models/DeleteNodePoolComponentInstanceShrinkRequest.js +66 -0
  30. package/dist/models/DeleteNodePoolComponentInstanceShrinkRequest.js.map +1 -0
  31. package/dist/models/DescribeAddonRequest.d.ts +7 -18
  32. package/dist/models/DescribeAddonRequest.js.map +1 -1
  33. package/dist/models/DescribeAddonResponseBody.d.ts +12 -12
  34. package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +159 -228
  35. package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +2 -0
  36. package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
  37. package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +121 -240
  38. package/dist/models/DescribeClusterNodePoolsResponseBody.js +2 -0
  39. package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
  40. package/dist/models/InstallNodePoolComponentsRequest.d.ts +12 -4
  41. package/dist/models/InstallNodePoolComponentsRequest.js +2 -0
  42. package/dist/models/InstallNodePoolComponentsRequest.js.map +1 -1
  43. package/dist/models/ListNodePoolComponentInstancesRequest.d.ts +23 -0
  44. package/dist/models/ListNodePoolComponentInstancesRequest.js +60 -0
  45. package/dist/models/ListNodePoolComponentInstancesRequest.js.map +1 -0
  46. package/dist/models/ListNodePoolComponentInstancesResponse.d.ts +19 -0
  47. package/dist/models/ListNodePoolComponentInstancesResponse.js +69 -0
  48. package/dist/models/ListNodePoolComponentInstancesResponse.js.map +1 -0
  49. package/dist/models/ListNodePoolComponentInstancesResponseBody.d.ts +76 -0
  50. package/dist/models/ListNodePoolComponentInstancesResponseBody.js +117 -0
  51. package/dist/models/ListNodePoolComponentInstancesResponseBody.js.map +1 -0
  52. package/dist/models/ListNodePoolComponentsRequest.d.ts +48 -0
  53. package/dist/models/ListNodePoolComponentsRequest.js +73 -0
  54. package/dist/models/ListNodePoolComponentsRequest.js.map +1 -0
  55. package/dist/models/ListNodePoolComponentsResponse.d.ts +19 -0
  56. package/dist/models/ListNodePoolComponentsResponse.js +69 -0
  57. package/dist/models/ListNodePoolComponentsResponse.js.map +1 -0
  58. package/dist/models/ListNodePoolComponentsResponseBody.d.ts +51 -0
  59. package/dist/models/ListNodePoolComponentsResponseBody.js +88 -0
  60. package/dist/models/ListNodePoolComponentsResponseBody.js.map +1 -0
  61. package/dist/models/ListNodePoolComponentsShrinkRequest.d.ts +48 -0
  62. package/dist/models/ListNodePoolComponentsShrinkRequest.js +70 -0
  63. package/dist/models/ListNodePoolComponentsShrinkRequest.js.map +1 -0
  64. package/dist/models/MaintenanceWindow.d.ts +1 -1
  65. package/dist/models/ModifyClusterNodePoolRequest.d.ts +99 -257
  66. package/dist/models/ModifyClusterNodePoolRequest.js +2 -0
  67. package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
  68. package/dist/models/ModifyNodePoolNodeConfigRequest.d.ts +9 -1
  69. package/dist/models/ModifyNodePoolNodeConfigRequest.js +2 -0
  70. package/dist/models/ModifyNodePoolNodeConfigRequest.js.map +1 -1
  71. package/dist/models/Nodepool.d.ts +70 -195
  72. package/dist/models/Nodepool.js.map +1 -1
  73. package/dist/models/Runtime.d.ts +2 -2
  74. package/dist/models/UpdateNodePoolComponentInstanceRequest.d.ts +77 -0
  75. package/dist/models/UpdateNodePoolComponentInstanceRequest.js +122 -0
  76. package/dist/models/UpdateNodePoolComponentInstanceRequest.js.map +1 -0
  77. package/dist/models/UpdateNodePoolComponentInstanceResponse.d.ts +19 -0
  78. package/dist/models/UpdateNodePoolComponentInstanceResponse.js +69 -0
  79. package/dist/models/UpdateNodePoolComponentInstanceResponse.js.map +1 -0
  80. package/dist/models/UpdateNodePoolComponentInstanceResponseBody.d.ts +28 -0
  81. package/dist/models/UpdateNodePoolComponentInstanceResponseBody.js +62 -0
  82. package/dist/models/UpdateNodePoolComponentInstanceResponseBody.js.map +1 -0
  83. package/dist/models/UpdateNodePoolComponentRequest.d.ts +12 -4
  84. package/dist/models/UpdateNodePoolComponentRequest.js +2 -0
  85. package/dist/models/UpdateNodePoolComponentRequest.js.map +1 -1
  86. package/dist/models/UpgradeClusterNodepoolRequest.d.ts +23 -11
  87. package/dist/models/UpgradeClusterNodepoolRequest.js +2 -0
  88. package/dist/models/UpgradeClusterNodepoolRequest.js.map +1 -1
  89. package/dist/models/model.d.ts +25 -0
  90. package/dist/models/model.js +63 -12
  91. package/dist/models/model.js.map +1 -1
  92. package/package.json +1 -1
  93. package/src/client.ts +366 -71
  94. package/src/models/CreateClusterNodePoolRequest.ts +126 -367
  95. package/src/models/CreateClusterRequest.ts +119 -621
  96. package/src/models/CreateClusterResponseBody.ts +3 -3
  97. package/src/models/CreateNodePoolComponentInstancesRequest.ts +170 -0
  98. package/src/models/CreateNodePoolComponentInstancesResponse.ts +40 -0
  99. package/src/models/CreateNodePoolComponentInstancesResponseBody.ts +45 -0
  100. package/src/models/DeleteNodePoolComponentInstanceRequest.ts +62 -0
  101. package/src/models/DeleteNodePoolComponentInstanceResponse.ts +40 -0
  102. package/src/models/DeleteNodePoolComponentInstanceResponseBody.ts +45 -0
  103. package/src/models/DeleteNodePoolComponentInstanceShrinkRequest.ts +59 -0
  104. package/src/models/DescribeAddonRequest.ts +7 -18
  105. package/src/models/DescribeAddonResponseBody.ts +12 -12
  106. package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +161 -228
  107. package/src/models/DescribeClusterNodePoolsResponseBody.ts +123 -240
  108. package/src/models/InstallNodePoolComponentsRequest.ts +14 -4
  109. package/src/models/ListNodePoolComponentInstancesRequest.ts +38 -0
  110. package/src/models/ListNodePoolComponentInstancesResponse.ts +40 -0
  111. package/src/models/ListNodePoolComponentInstancesResponseBody.ts +128 -0
  112. package/src/models/ListNodePoolComponentsRequest.ts +76 -0
  113. package/src/models/ListNodePoolComponentsResponse.ts +40 -0
  114. package/src/models/ListNodePoolComponentsResponseBody.ts +85 -0
  115. package/src/models/ListNodePoolComponentsShrinkRequest.ts +73 -0
  116. package/src/models/MaintenanceWindow.ts +1 -1
  117. package/src/models/ModifyClusterNodePoolRequest.ts +101 -257
  118. package/src/models/ModifyNodePoolNodeConfigRequest.ts +11 -1
  119. package/src/models/Nodepool.ts +70 -195
  120. package/src/models/Runtime.ts +2 -2
  121. package/src/models/UpdateNodePoolComponentInstanceRequest.ts +134 -0
  122. package/src/models/UpdateNodePoolComponentInstanceResponse.ts +40 -0
  123. package/src/models/UpdateNodePoolComponentInstanceResponseBody.ts +45 -0
  124. package/src/models/UpdateNodePoolComponentRequest.ts +14 -4
  125. package/src/models/UpgradeClusterNodepoolRequest.ts +25 -11
  126. package/src/models/model.ts +25 -0
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreateClusterResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * 集群ID。
8
+ * The cluster ID.
9
9
  *
10
10
  * @example
11
11
  * cb95aa626a47740afbf6aa099b650****
@@ -13,7 +13,7 @@ export class CreateClusterResponseBody extends $dara.Model {
13
13
  clusterId?: string;
14
14
  /**
15
15
  * @remarks
16
- * 请求ID。
16
+ * The request ID.
17
17
  *
18
18
  * @example
19
19
  * 687C5BAA-D103-4993-884B-C35E4314****
@@ -21,7 +21,7 @@ export class CreateClusterResponseBody extends $dara.Model {
21
21
  requestId?: string;
22
22
  /**
23
23
  * @remarks
24
- * 任务ID。
24
+ * The task ID.
25
25
  *
26
26
  * @example
27
27
  * T-5a54309c80282e39ea****
@@ -0,0 +1,170 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateNodePoolComponentInstancesRequestComponentsConfig extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * {"cpuManagerPolicy":"static"}
9
+ */
10
+ customConfig?: { [key: string]: any };
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ customConfig: 'custom_config',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ customConfig: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
20
+ };
21
+ }
22
+
23
+ validate() {
24
+ if(this.customConfig) {
25
+ $dara.Model.validateMap(this.customConfig);
26
+ }
27
+ super.validate();
28
+ }
29
+
30
+ constructor(map?: { [key: string]: any }) {
31
+ super(map);
32
+ }
33
+ }
34
+
35
+ export class CreateNodePoolComponentInstancesRequestComponents extends $dara.Model {
36
+ config?: CreateNodePoolComponentInstancesRequestComponentsConfig;
37
+ /**
38
+ * @remarks
39
+ * This parameter is required.
40
+ *
41
+ * @example
42
+ * kubelet
43
+ */
44
+ name?: string;
45
+ /**
46
+ * @remarks
47
+ * This parameter is required.
48
+ *
49
+ * @example
50
+ * 1.33.3-aliyun.1
51
+ */
52
+ version?: string;
53
+ static names(): { [key: string]: string } {
54
+ return {
55
+ config: 'config',
56
+ name: 'name',
57
+ version: 'version',
58
+ };
59
+ }
60
+
61
+ static types(): { [key: string]: any } {
62
+ return {
63
+ config: CreateNodePoolComponentInstancesRequestComponentsConfig,
64
+ name: 'string',
65
+ version: 'string',
66
+ };
67
+ }
68
+
69
+ validate() {
70
+ if(this.config && typeof (this.config as any).validate === 'function') {
71
+ (this.config as any).validate();
72
+ }
73
+ super.validate();
74
+ }
75
+
76
+ constructor(map?: { [key: string]: any }) {
77
+ super(map);
78
+ }
79
+ }
80
+
81
+ export class CreateNodePoolComponentInstancesRequestRollingPolicy extends $dara.Model {
82
+ /**
83
+ * @example
84
+ * 10
85
+ */
86
+ batchInterval?: number;
87
+ /**
88
+ * @example
89
+ * 0
90
+ */
91
+ maxFailedNodes?: number;
92
+ /**
93
+ * @example
94
+ * 1
95
+ */
96
+ maxParallelism?: number;
97
+ /**
98
+ * @example
99
+ * NotPause
100
+ */
101
+ pausePolicy?: string;
102
+ static names(): { [key: string]: string } {
103
+ return {
104
+ batchInterval: 'batch_interval',
105
+ maxFailedNodes: 'max_failed_nodes',
106
+ maxParallelism: 'max_parallelism',
107
+ pausePolicy: 'pause_policy',
108
+ };
109
+ }
110
+
111
+ static types(): { [key: string]: any } {
112
+ return {
113
+ batchInterval: 'number',
114
+ maxFailedNodes: 'number',
115
+ maxParallelism: 'number',
116
+ pausePolicy: 'string',
117
+ };
118
+ }
119
+
120
+ validate() {
121
+ super.validate();
122
+ }
123
+
124
+ constructor(map?: { [key: string]: any }) {
125
+ super(map);
126
+ }
127
+ }
128
+
129
+ export class CreateNodePoolComponentInstancesRequest extends $dara.Model {
130
+ /**
131
+ * @remarks
132
+ * This parameter is required.
133
+ */
134
+ components?: CreateNodePoolComponentInstancesRequestComponents[];
135
+ nodeNames?: string[];
136
+ rollingPolicy?: CreateNodePoolComponentInstancesRequestRollingPolicy;
137
+ static names(): { [key: string]: string } {
138
+ return {
139
+ components: 'components',
140
+ nodeNames: 'node_names',
141
+ rollingPolicy: 'rolling_policy',
142
+ };
143
+ }
144
+
145
+ static types(): { [key: string]: any } {
146
+ return {
147
+ components: { 'type': 'array', 'itemType': CreateNodePoolComponentInstancesRequestComponents },
148
+ nodeNames: { 'type': 'array', 'itemType': 'string' },
149
+ rollingPolicy: CreateNodePoolComponentInstancesRequestRollingPolicy,
150
+ };
151
+ }
152
+
153
+ validate() {
154
+ if(Array.isArray(this.components)) {
155
+ $dara.Model.validateArray(this.components);
156
+ }
157
+ if(Array.isArray(this.nodeNames)) {
158
+ $dara.Model.validateArray(this.nodeNames);
159
+ }
160
+ if(this.rollingPolicy && typeof (this.rollingPolicy as any).validate === 'function') {
161
+ (this.rollingPolicy as any).validate();
162
+ }
163
+ super.validate();
164
+ }
165
+
166
+ constructor(map?: { [key: string]: any }) {
167
+ super(map);
168
+ }
169
+ }
170
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { CreateNodePoolComponentInstancesResponseBody } from "./CreateNodePoolComponentInstancesResponseBody";
4
+
5
+
6
+ export class CreateNodePoolComponentInstancesResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: CreateNodePoolComponentInstancesResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: CreateNodePoolComponentInstancesResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,45 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateNodePoolComponentInstancesResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * c2230fxxxxx
9
+ */
10
+ clusterId?: string;
11
+ /**
12
+ * @example
13
+ * xxxx
14
+ */
15
+ requestId?: string;
16
+ /**
17
+ * @example
18
+ * T-xxxx
19
+ */
20
+ taskId?: string;
21
+ static names(): { [key: string]: string } {
22
+ return {
23
+ clusterId: 'cluster_id',
24
+ requestId: 'request_id',
25
+ taskId: 'task_id',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ clusterId: 'string',
32
+ requestId: 'string',
33
+ taskId: 'string',
34
+ };
35
+ }
36
+
37
+ validate() {
38
+ super.validate();
39
+ }
40
+
41
+ constructor(map?: { [key: string]: any }) {
42
+ super(map);
43
+ }
44
+ }
45
+
@@ -0,0 +1,62 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DeleteNodePoolComponentInstanceRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 10
9
+ */
10
+ batchInterval?: number;
11
+ /**
12
+ * @example
13
+ * 0
14
+ */
15
+ maxFailedNodes?: number;
16
+ /**
17
+ * @example
18
+ * 1
19
+ */
20
+ maxParallelism?: number;
21
+ /**
22
+ * @example
23
+ * ["cn-hangzhou.10.91.xx.xx"]
24
+ */
25
+ nodeNames?: string[];
26
+ /**
27
+ * @example
28
+ * NotPause
29
+ */
30
+ pausePolicy?: string;
31
+ static names(): { [key: string]: string } {
32
+ return {
33
+ batchInterval: 'batch_interval',
34
+ maxFailedNodes: 'max_failed_nodes',
35
+ maxParallelism: 'max_parallelism',
36
+ nodeNames: 'node_names',
37
+ pausePolicy: 'pause_policy',
38
+ };
39
+ }
40
+
41
+ static types(): { [key: string]: any } {
42
+ return {
43
+ batchInterval: 'number',
44
+ maxFailedNodes: 'number',
45
+ maxParallelism: 'number',
46
+ nodeNames: { 'type': 'array', 'itemType': 'string' },
47
+ pausePolicy: 'string',
48
+ };
49
+ }
50
+
51
+ validate() {
52
+ if(Array.isArray(this.nodeNames)) {
53
+ $dara.Model.validateArray(this.nodeNames);
54
+ }
55
+ super.validate();
56
+ }
57
+
58
+ constructor(map?: { [key: string]: any }) {
59
+ super(map);
60
+ }
61
+ }
62
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DeleteNodePoolComponentInstanceResponseBody } from "./DeleteNodePoolComponentInstanceResponseBody";
4
+
5
+
6
+ export class DeleteNodePoolComponentInstanceResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DeleteNodePoolComponentInstanceResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: DeleteNodePoolComponentInstanceResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,45 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DeleteNodePoolComponentInstanceResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * c846d7d529e34413c9ab1****
9
+ */
10
+ clusterId?: string;
11
+ /**
12
+ * @example
13
+ * EB022AB1-4CF7-5BB6-B44A-38****
14
+ */
15
+ requestId?: string;
16
+ /**
17
+ * @example
18
+ * T-696de321273bb00****
19
+ */
20
+ taskId?: string;
21
+ static names(): { [key: string]: string } {
22
+ return {
23
+ clusterId: 'cluster_id',
24
+ requestId: 'request_id',
25
+ taskId: 'task_id',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ clusterId: 'string',
32
+ requestId: 'string',
33
+ taskId: 'string',
34
+ };
35
+ }
36
+
37
+ validate() {
38
+ super.validate();
39
+ }
40
+
41
+ constructor(map?: { [key: string]: any }) {
42
+ super(map);
43
+ }
44
+ }
45
+
@@ -0,0 +1,59 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DeleteNodePoolComponentInstanceShrinkRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 10
9
+ */
10
+ batchInterval?: number;
11
+ /**
12
+ * @example
13
+ * 0
14
+ */
15
+ maxFailedNodes?: number;
16
+ /**
17
+ * @example
18
+ * 1
19
+ */
20
+ maxParallelism?: number;
21
+ /**
22
+ * @example
23
+ * ["cn-hangzhou.10.91.xx.xx"]
24
+ */
25
+ nodeNamesShrink?: string;
26
+ /**
27
+ * @example
28
+ * NotPause
29
+ */
30
+ pausePolicy?: string;
31
+ static names(): { [key: string]: string } {
32
+ return {
33
+ batchInterval: 'batch_interval',
34
+ maxFailedNodes: 'max_failed_nodes',
35
+ maxParallelism: 'max_parallelism',
36
+ nodeNamesShrink: 'node_names',
37
+ pausePolicy: 'pause_policy',
38
+ };
39
+ }
40
+
41
+ static types(): { [key: string]: any } {
42
+ return {
43
+ batchInterval: 'number',
44
+ maxFailedNodes: 'number',
45
+ maxParallelism: 'number',
46
+ nodeNamesShrink: 'string',
47
+ pausePolicy: 'string',
48
+ };
49
+ }
50
+
51
+ validate() {
52
+ super.validate();
53
+ }
54
+
55
+ constructor(map?: { [key: string]: any }) {
56
+ super(map);
57
+ }
58
+ }
59
+
@@ -5,8 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeAddonRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * Cluster ID.
9
- * When a cluster ID is specified, the list of available components for the cluster is queried, and other parameters are ignored.
8
+ * The cluster ID. If you specify a cluster ID, the system queries the list of components available for the cluster, and other parameters are ignored.
10
9
  *
11
10
  * @example
12
11
  * c02b3e03be10643e8a644a843ffcb****
@@ -14,9 +13,7 @@ export class DescribeAddonRequest extends $dara.Model {
14
13
  clusterId?: string;
15
14
  /**
16
15
  * @remarks
17
- * Cluster specification.
18
- * If cluster_id is specified, this parameter is ignored.
19
- * The five parameters region_id, cluster_type, profile, cluster_spec, and cluster_version must be specified together.
16
+ * The cluster specifications. If cluster_id is specified, this parameter is ignored. The region_id, cluster_type, profile, cluster_spec, and cluster_version parameters must be specified together.
20
17
  *
21
18
  * @example
22
19
  * ack.pro.small
@@ -24,9 +21,7 @@ export class DescribeAddonRequest extends $dara.Model {
24
21
  clusterSpec?: string;
25
22
  /**
26
23
  * @remarks
27
- * Cluster type.
28
- * If cluster_id is specified, this parameter is ignored.
29
- * The five parameters region_id, cluster_type, profile, cluster_spec, and cluster_version must be specified together.
24
+ * The cluster type. If cluster_id is specified, this parameter is ignored. The region_id, cluster_type, profile, cluster_spec, and cluster_version parameters must be specified together.
30
25
  *
31
26
  * @example
32
27
  * ManagedKubernetes
@@ -34,9 +29,7 @@ export class DescribeAddonRequest extends $dara.Model {
34
29
  clusterType?: string;
35
30
  /**
36
31
  * @remarks
37
- * Cluster version.
38
- * If cluster_id is specified, this parameter is ignored.
39
- * The five parameters region_id, cluster_type, profile, cluster_spec, and cluster_version must be specified together.
32
+ * The cluster version. If cluster_id is specified, this parameter is ignored. The region_id, cluster_type, profile, cluster_spec, and cluster_version parameters must be specified together.
40
33
  *
41
34
  * @example
42
35
  * 1.26.3-aliyun.1
@@ -44,9 +37,7 @@ export class DescribeAddonRequest extends $dara.Model {
44
37
  clusterVersion?: string;
45
38
  /**
46
39
  * @remarks
47
- * Cluster subtype.
48
- * If cluster_id is specified, this parameter is ignored.
49
- * The five parameters region_id, cluster_type, profile, cluster_spec, and cluster_version must be specified together.
40
+ * The cluster subtype. If cluster_id is specified, this parameter is ignored. The region_id, cluster_type, profile, cluster_spec, and cluster_version parameters must be specified together.
50
41
  *
51
42
  * @example
52
43
  * Default
@@ -54,9 +45,7 @@ export class DescribeAddonRequest extends $dara.Model {
54
45
  profile?: string;
55
46
  /**
56
47
  * @remarks
57
- * Region.
58
- * If cluster_id is specified, this parameter is ignored.
59
- * The five parameters region_id, cluster_type, profile, cluster_spec, and cluster_version must be specified together.
48
+ * The region ID. If cluster_id is specified, this parameter is ignored. The region_id, cluster_type, profile, cluster_spec, and cluster_version parameters must be specified together.
60
49
  *
61
50
  * @example
62
51
  * cn-hangzhou
@@ -64,7 +53,7 @@ export class DescribeAddonRequest extends $dara.Model {
64
53
  regionId?: string;
65
54
  /**
66
55
  * @remarks
67
- * Component version. If not specified, the latest available version of the component is queried.
56
+ * The component version. If this parameter is not specified, the latest available version of the component is queried.
68
57
  *
69
58
  * @example
70
59
  * v1.9.3.10-7dfca203-aliyun
@@ -13,11 +13,11 @@ export class DescribeAddonResponseBodyNewerVersions extends $dara.Model {
13
13
  minimumClusterVersion?: string;
14
14
  /**
15
15
  * @remarks
16
- * Whether the component can be upgraded to this version.
16
+ * Indicates whether the component can be upgraded to this version.
17
17
  *
18
- * - true: Upgrade is supported.
18
+ * - true: The upgrade is supported.
19
19
  *
20
- * - false: Upgrade is not supported.
20
+ * - false: The upgrade is not supported.
21
21
  *
22
22
  * @example
23
23
  * true
@@ -59,12 +59,12 @@ export class DescribeAddonResponseBodyNewerVersions extends $dara.Model {
59
59
  export class DescribeAddonResponseBody extends $dara.Model {
60
60
  /**
61
61
  * @remarks
62
- * CPU architectures supported by the component.
62
+ * The CPU architectures supported by the component.
63
63
  */
64
64
  architecture?: string[];
65
65
  /**
66
66
  * @remarks
67
- * Component category.
67
+ * The component category.
68
68
  *
69
69
  * @example
70
70
  * network
@@ -72,7 +72,7 @@ export class DescribeAddonResponseBody extends $dara.Model {
72
72
  category?: string;
73
73
  /**
74
74
  * @remarks
75
- * Custom parameter schema of the component.
75
+ * The schema of custom parameters for the component.
76
76
  *
77
77
  * @example
78
78
  * {}
@@ -80,7 +80,7 @@ export class DescribeAddonResponseBody extends $dara.Model {
80
80
  configSchema?: string;
81
81
  /**
82
82
  * @remarks
83
- * Whether it is installed by default.
83
+ * Indicates whether the component is installed by default.
84
84
  *
85
85
  * @example
86
86
  * true
@@ -88,7 +88,7 @@ export class DescribeAddonResponseBody extends $dara.Model {
88
88
  installByDefault?: boolean;
89
89
  /**
90
90
  * @remarks
91
- * Whether it is a managed component.
91
+ * Indicates whether the component is managed.
92
92
  *
93
93
  * @example
94
94
  * false
@@ -96,7 +96,7 @@ export class DescribeAddonResponseBody extends $dara.Model {
96
96
  managed?: boolean;
97
97
  /**
98
98
  * @remarks
99
- * Component name.
99
+ * The name of the component.
100
100
  *
101
101
  * @example
102
102
  * coredns
@@ -104,17 +104,17 @@ export class DescribeAddonResponseBody extends $dara.Model {
104
104
  name?: string;
105
105
  /**
106
106
  * @remarks
107
- * Information about the latest component versions.
107
+ * The information about newer versions of the component.
108
108
  */
109
109
  newerVersions?: DescribeAddonResponseBodyNewerVersions[];
110
110
  /**
111
111
  * @remarks
112
- * Operations supported by the component.
112
+ * The operations supported by the component.
113
113
  */
114
114
  supportedActions?: string[];
115
115
  /**
116
116
  * @remarks
117
- * Component version.
117
+ * The component version.
118
118
  *
119
119
  * @example
120
120
  * v1.9.3.6-32932850-aliyun