@alicloud/cs20151215 7.0.5 → 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 (77) hide show
  1. package/dist/client.d.ts +90 -0
  2. package/dist/client.js +271 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateNodePoolComponentInstancesRequest.d.ts +100 -0
  5. package/dist/models/CreateNodePoolComponentInstancesRequest.js +144 -0
  6. package/dist/models/CreateNodePoolComponentInstancesRequest.js.map +1 -0
  7. package/dist/models/CreateNodePoolComponentInstancesResponse.d.ts +19 -0
  8. package/dist/models/CreateNodePoolComponentInstancesResponse.js +69 -0
  9. package/dist/models/CreateNodePoolComponentInstancesResponse.js.map +1 -0
  10. package/dist/models/CreateNodePoolComponentInstancesResponseBody.d.ts +28 -0
  11. package/dist/models/CreateNodePoolComponentInstancesResponseBody.js +62 -0
  12. package/dist/models/CreateNodePoolComponentInstancesResponseBody.js.map +1 -0
  13. package/dist/models/DeleteNodePoolComponentInstanceRequest.d.ts +38 -0
  14. package/dist/models/DeleteNodePoolComponentInstanceRequest.js +69 -0
  15. package/dist/models/DeleteNodePoolComponentInstanceRequest.js.map +1 -0
  16. package/dist/models/DeleteNodePoolComponentInstanceResponse.d.ts +19 -0
  17. package/dist/models/DeleteNodePoolComponentInstanceResponse.js +69 -0
  18. package/dist/models/DeleteNodePoolComponentInstanceResponse.js.map +1 -0
  19. package/dist/models/DeleteNodePoolComponentInstanceResponseBody.d.ts +28 -0
  20. package/dist/models/DeleteNodePoolComponentInstanceResponseBody.js +62 -0
  21. package/dist/models/DeleteNodePoolComponentInstanceResponseBody.js.map +1 -0
  22. package/dist/models/DeleteNodePoolComponentInstanceShrinkRequest.d.ts +38 -0
  23. package/dist/models/DeleteNodePoolComponentInstanceShrinkRequest.js +66 -0
  24. package/dist/models/DeleteNodePoolComponentInstanceShrinkRequest.js.map +1 -0
  25. package/dist/models/ListNodePoolComponentInstancesRequest.d.ts +23 -0
  26. package/dist/models/ListNodePoolComponentInstancesRequest.js +60 -0
  27. package/dist/models/ListNodePoolComponentInstancesRequest.js.map +1 -0
  28. package/dist/models/ListNodePoolComponentInstancesResponse.d.ts +19 -0
  29. package/dist/models/ListNodePoolComponentInstancesResponse.js +69 -0
  30. package/dist/models/ListNodePoolComponentInstancesResponse.js.map +1 -0
  31. package/dist/models/ListNodePoolComponentInstancesResponseBody.d.ts +76 -0
  32. package/dist/models/ListNodePoolComponentInstancesResponseBody.js +117 -0
  33. package/dist/models/ListNodePoolComponentInstancesResponseBody.js.map +1 -0
  34. package/dist/models/ListNodePoolComponentsRequest.d.ts +48 -0
  35. package/dist/models/ListNodePoolComponentsRequest.js +73 -0
  36. package/dist/models/ListNodePoolComponentsRequest.js.map +1 -0
  37. package/dist/models/ListNodePoolComponentsResponse.d.ts +19 -0
  38. package/dist/models/ListNodePoolComponentsResponse.js +69 -0
  39. package/dist/models/ListNodePoolComponentsResponse.js.map +1 -0
  40. package/dist/models/ListNodePoolComponentsResponseBody.d.ts +51 -0
  41. package/dist/models/ListNodePoolComponentsResponseBody.js +88 -0
  42. package/dist/models/ListNodePoolComponentsResponseBody.js.map +1 -0
  43. package/dist/models/ListNodePoolComponentsShrinkRequest.d.ts +48 -0
  44. package/dist/models/ListNodePoolComponentsShrinkRequest.js +70 -0
  45. package/dist/models/ListNodePoolComponentsShrinkRequest.js.map +1 -0
  46. package/dist/models/UpdateNodePoolComponentInstanceRequest.d.ts +77 -0
  47. package/dist/models/UpdateNodePoolComponentInstanceRequest.js +122 -0
  48. package/dist/models/UpdateNodePoolComponentInstanceRequest.js.map +1 -0
  49. package/dist/models/UpdateNodePoolComponentInstanceResponse.d.ts +19 -0
  50. package/dist/models/UpdateNodePoolComponentInstanceResponse.js +69 -0
  51. package/dist/models/UpdateNodePoolComponentInstanceResponse.js.map +1 -0
  52. package/dist/models/UpdateNodePoolComponentInstanceResponseBody.d.ts +28 -0
  53. package/dist/models/UpdateNodePoolComponentInstanceResponseBody.js +62 -0
  54. package/dist/models/UpdateNodePoolComponentInstanceResponseBody.js.map +1 -0
  55. package/dist/models/model.d.ts +25 -0
  56. package/dist/models/model.js +63 -12
  57. package/dist/models/model.js.map +1 -1
  58. package/package.json +1 -1
  59. package/src/client.ts +305 -0
  60. package/src/models/CreateNodePoolComponentInstancesRequest.ts +170 -0
  61. package/src/models/CreateNodePoolComponentInstancesResponse.ts +40 -0
  62. package/src/models/CreateNodePoolComponentInstancesResponseBody.ts +45 -0
  63. package/src/models/DeleteNodePoolComponentInstanceRequest.ts +62 -0
  64. package/src/models/DeleteNodePoolComponentInstanceResponse.ts +40 -0
  65. package/src/models/DeleteNodePoolComponentInstanceResponseBody.ts +45 -0
  66. package/src/models/DeleteNodePoolComponentInstanceShrinkRequest.ts +59 -0
  67. package/src/models/ListNodePoolComponentInstancesRequest.ts +38 -0
  68. package/src/models/ListNodePoolComponentInstancesResponse.ts +40 -0
  69. package/src/models/ListNodePoolComponentInstancesResponseBody.ts +128 -0
  70. package/src/models/ListNodePoolComponentsRequest.ts +76 -0
  71. package/src/models/ListNodePoolComponentsResponse.ts +40 -0
  72. package/src/models/ListNodePoolComponentsResponseBody.ts +85 -0
  73. package/src/models/ListNodePoolComponentsShrinkRequest.ts +73 -0
  74. package/src/models/UpdateNodePoolComponentInstanceRequest.ts +134 -0
  75. package/src/models/UpdateNodePoolComponentInstanceResponse.ts +40 -0
  76. package/src/models/UpdateNodePoolComponentInstanceResponseBody.ts +45 -0
  77. package/src/models/model.ts +25 -0
@@ -0,0 +1,134 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class UpdateNodePoolComponentInstanceRequestConfig 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 UpdateNodePoolComponentInstanceRequestRollingPolicy extends $dara.Model {
36
+ /**
37
+ * @example
38
+ * 10
39
+ */
40
+ batchInterval?: number;
41
+ /**
42
+ * @example
43
+ * 0
44
+ */
45
+ maxFailedNodes?: number;
46
+ /**
47
+ * @example
48
+ * 1
49
+ */
50
+ maxParallelism?: number;
51
+ /**
52
+ * @example
53
+ * NotPause
54
+ */
55
+ pausePolicy?: string;
56
+ static names(): { [key: string]: string } {
57
+ return {
58
+ batchInterval: 'batch_interval',
59
+ maxFailedNodes: 'max_failed_nodes',
60
+ maxParallelism: 'max_parallelism',
61
+ pausePolicy: 'pause_policy',
62
+ };
63
+ }
64
+
65
+ static types(): { [key: string]: any } {
66
+ return {
67
+ batchInterval: 'number',
68
+ maxFailedNodes: 'number',
69
+ maxParallelism: 'number',
70
+ pausePolicy: 'string',
71
+ };
72
+ }
73
+
74
+ validate() {
75
+ super.validate();
76
+ }
77
+
78
+ constructor(map?: { [key: string]: any }) {
79
+ super(map);
80
+ }
81
+ }
82
+
83
+ export class UpdateNodePoolComponentInstanceRequest extends $dara.Model {
84
+ config?: UpdateNodePoolComponentInstanceRequestConfig;
85
+ /**
86
+ * @example
87
+ * false
88
+ */
89
+ disableRolling?: boolean;
90
+ nodeNames?: string[];
91
+ rollingPolicy?: UpdateNodePoolComponentInstanceRequestRollingPolicy;
92
+ /**
93
+ * @example
94
+ * 1.33.3-aliyun.1
95
+ */
96
+ version?: string;
97
+ static names(): { [key: string]: string } {
98
+ return {
99
+ config: 'config',
100
+ disableRolling: 'disable_rolling',
101
+ nodeNames: 'node_names',
102
+ rollingPolicy: 'rolling_policy',
103
+ version: 'version',
104
+ };
105
+ }
106
+
107
+ static types(): { [key: string]: any } {
108
+ return {
109
+ config: UpdateNodePoolComponentInstanceRequestConfig,
110
+ disableRolling: 'boolean',
111
+ nodeNames: { 'type': 'array', 'itemType': 'string' },
112
+ rollingPolicy: UpdateNodePoolComponentInstanceRequestRollingPolicy,
113
+ version: 'string',
114
+ };
115
+ }
116
+
117
+ validate() {
118
+ if(this.config && typeof (this.config as any).validate === 'function') {
119
+ (this.config as any).validate();
120
+ }
121
+ if(Array.isArray(this.nodeNames)) {
122
+ $dara.Model.validateArray(this.nodeNames);
123
+ }
124
+ if(this.rollingPolicy && typeof (this.rollingPolicy as any).validate === 'function') {
125
+ (this.rollingPolicy as any).validate();
126
+ }
127
+ super.validate();
128
+ }
129
+
130
+ constructor(map?: { [key: string]: any }) {
131
+ super(map);
132
+ }
133
+ }
134
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { UpdateNodePoolComponentInstanceResponseBody } from "./UpdateNodePoolComponentInstanceResponseBody";
4
+
5
+
6
+ export class UpdateNodePoolComponentInstanceResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: UpdateNodePoolComponentInstanceResponseBody;
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: UpdateNodePoolComponentInstanceResponseBody,
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 UpdateNodePoolComponentInstanceResponseBody 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
+
@@ -59,6 +59,9 @@ export { CreateClusterNodePoolRequestScalingGroupSpotPriceLimit } from './Create
59
59
  export { CreateClusterNodePoolRequestScalingGroupTags } from './CreateClusterNodePoolRequest';
60
60
  export { CreateClusterNodePoolRequestScalingGroup } from './CreateClusterNodePoolRequest';
61
61
  export { CreateClusterNodePoolRequestTeeConfig } from './CreateClusterNodePoolRequest';
62
+ export { CreateNodePoolComponentInstancesRequestComponentsConfig } from './CreateNodePoolComponentInstancesRequest';
63
+ export { CreateNodePoolComponentInstancesRequestComponents } from './CreateNodePoolComponentInstancesRequest';
64
+ export { CreateNodePoolComponentInstancesRequestRollingPolicy } from './CreateNodePoolComponentInstancesRequest';
62
65
  export { DeleteAlertContactResponseBodyResult } from './DeleteAlertContactResponse';
63
66
  export { DeleteAlertContactResponseBody } from './DeleteAlertContactResponse';
64
67
  export { DeleteAlertContactGroupResponseBody } from './DeleteAlertContactGroupResponse';
@@ -213,6 +216,9 @@ export { ListClusterInspectReportsResponseBodyReports } from './ListClusterInspe
213
216
  export { ListClusterKubeconfigStatesResponseBodyPage } from './ListClusterKubeconfigStatesResponseBody';
214
217
  export { ListClusterKubeconfigStatesResponseBodyStatesCloudServiceRoles } from './ListClusterKubeconfigStatesResponseBody';
215
218
  export { ListClusterKubeconfigStatesResponseBodyStates } from './ListClusterKubeconfigStatesResponseBody';
219
+ export { ListNodePoolComponentInstancesResponseBodyComponentInstancesConfig } from './ListNodePoolComponentInstancesResponseBody';
220
+ export { ListNodePoolComponentInstancesResponseBodyComponentInstances } from './ListNodePoolComponentInstancesResponseBody';
221
+ export { ListNodePoolComponentsResponseBodyComponents } from './ListNodePoolComponentsResponseBody';
216
222
  export { ListOperationPlansResponseBodyPlans } from './ListOperationPlansResponseBody';
217
223
  export { ListOperationPlansForRegionResponseBodyPlansStateReason } from './ListOperationPlansForRegionResponseBody';
218
224
  export { ListOperationPlansForRegionResponseBodyPlans } from './ListOperationPlansForRegionResponseBody';
@@ -255,6 +261,8 @@ export { ScaleOutClusterRequestWorkerDataDisks } from './ScaleOutClusterRequest'
255
261
  export { UnInstallClusterAddonsRequestAddons } from './UnInstallClusterAddonsRequest';
256
262
  export { UpdateNodePoolComponentRequestConfig } from './UpdateNodePoolComponentRequest';
257
263
  export { UpdateNodePoolComponentRequestRollingPolicy } from './UpdateNodePoolComponentRequest';
264
+ export { UpdateNodePoolComponentInstanceRequestConfig } from './UpdateNodePoolComponentInstanceRequest';
265
+ export { UpdateNodePoolComponentInstanceRequestRollingPolicy } from './UpdateNodePoolComponentInstanceRequest';
258
266
  export { UpdateUserPermissionsRequestBody } from './UpdateUserPermissionsRequest';
259
267
  export { UpgradeClusterRequestRollingPolicy } from './UpgradeClusterRequest';
260
268
  export { UpgradeClusterAddonsRequestBody } from './UpgradeClusterAddonsRequest';
@@ -317,6 +325,9 @@ export { CreateClusterNodePoolResponse } from './CreateClusterNodePoolResponse';
317
325
  export { CreateKubernetesTriggerRequest } from './CreateKubernetesTriggerRequest';
318
326
  export { CreateKubernetesTriggerResponseBody } from './CreateKubernetesTriggerResponseBody';
319
327
  export { CreateKubernetesTriggerResponse } from './CreateKubernetesTriggerResponse';
328
+ export { CreateNodePoolComponentInstancesRequest } from './CreateNodePoolComponentInstancesRequest';
329
+ export { CreateNodePoolComponentInstancesResponseBody } from './CreateNodePoolComponentInstancesResponseBody';
330
+ export { CreateNodePoolComponentInstancesResponse } from './CreateNodePoolComponentInstancesResponse';
320
331
  export { CreateTemplateRequest } from './CreateTemplateRequest';
321
332
  export { CreateTemplateResponseBody } from './CreateTemplateResponseBody';
322
333
  export { CreateTemplateResponse } from './CreateTemplateResponse';
@@ -344,6 +355,10 @@ export { DeleteClusterNodesRequest } from './DeleteClusterNodesRequest';
344
355
  export { DeleteClusterNodesResponseBody } from './DeleteClusterNodesResponseBody';
345
356
  export { DeleteClusterNodesResponse } from './DeleteClusterNodesResponse';
346
357
  export { DeleteKubernetesTriggerResponse } from './DeleteKubernetesTriggerResponse';
358
+ export { DeleteNodePoolComponentInstanceRequest } from './DeleteNodePoolComponentInstanceRequest';
359
+ export { DeleteNodePoolComponentInstanceShrinkRequest } from './DeleteNodePoolComponentInstanceShrinkRequest';
360
+ export { DeleteNodePoolComponentInstanceResponseBody } from './DeleteNodePoolComponentInstanceResponseBody';
361
+ export { DeleteNodePoolComponentInstanceResponse } from './DeleteNodePoolComponentInstanceResponse';
347
362
  export { DeletePolicyInstanceRequest } from './DeletePolicyInstanceRequest';
348
363
  export { DeletePolicyInstanceResponseBody } from './DeletePolicyInstanceResponseBody';
349
364
  export { DeletePolicyInstanceResponse } from './DeletePolicyInstanceResponse';
@@ -501,6 +516,13 @@ export { ListClusterInspectReportsResponse } from './ListClusterInspectReportsRe
501
516
  export { ListClusterKubeconfigStatesRequest } from './ListClusterKubeconfigStatesRequest';
502
517
  export { ListClusterKubeconfigStatesResponseBody } from './ListClusterKubeconfigStatesResponseBody';
503
518
  export { ListClusterKubeconfigStatesResponse } from './ListClusterKubeconfigStatesResponse';
519
+ export { ListNodePoolComponentInstancesRequest } from './ListNodePoolComponentInstancesRequest';
520
+ export { ListNodePoolComponentInstancesResponseBody } from './ListNodePoolComponentInstancesResponseBody';
521
+ export { ListNodePoolComponentInstancesResponse } from './ListNodePoolComponentInstancesResponse';
522
+ export { ListNodePoolComponentsRequest } from './ListNodePoolComponentsRequest';
523
+ export { ListNodePoolComponentsShrinkRequest } from './ListNodePoolComponentsShrinkRequest';
524
+ export { ListNodePoolComponentsResponseBody } from './ListNodePoolComponentsResponseBody';
525
+ export { ListNodePoolComponentsResponse } from './ListNodePoolComponentsResponse';
504
526
  export { ListOperationPlansRequest } from './ListOperationPlansRequest';
505
527
  export { ListOperationPlansResponseBody } from './ListOperationPlansResponseBody';
506
528
  export { ListOperationPlansResponse } from './ListOperationPlansResponse';
@@ -610,6 +632,9 @@ export { UpdateKMSEncryptionResponse } from './UpdateKmsencryptionResponse';
610
632
  export { UpdateNodePoolComponentRequest } from './UpdateNodePoolComponentRequest';
611
633
  export { UpdateNodePoolComponentResponseBody } from './UpdateNodePoolComponentResponseBody';
612
634
  export { UpdateNodePoolComponentResponse } from './UpdateNodePoolComponentResponse';
635
+ export { UpdateNodePoolComponentInstanceRequest } from './UpdateNodePoolComponentInstanceRequest';
636
+ export { UpdateNodePoolComponentInstanceResponseBody } from './UpdateNodePoolComponentInstanceResponseBody';
637
+ export { UpdateNodePoolComponentInstanceResponse } from './UpdateNodePoolComponentInstanceResponse';
613
638
  export { UpdateResourcesDeleteProtectionRequest } from './UpdateResourcesDeleteProtectionRequest';
614
639
  export { UpdateResourcesDeleteProtectionResponseBody } from './UpdateResourcesDeleteProtectionResponseBody';
615
640
  export { UpdateResourcesDeleteProtectionResponse } from './UpdateResourcesDeleteProtectionResponse';