@alicloud/cs20151215 6.6.5 → 6.7.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 (38) hide show
  1. package/dist/client.d.ts +26 -8
  2. package/dist/client.js +53 -8
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateClusterNodePoolRequest.d.ts +396 -287
  5. package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
  6. package/dist/models/CreateClusterNodePoolResponseBody.d.ts +1 -1
  7. package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +241 -244
  8. package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
  9. package/dist/models/DescribeClusterNodePoolsRequest.d.ts +1 -1
  10. package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +254 -254
  11. package/dist/models/ModifyClusterNodePoolRequest.d.ts +225 -218
  12. package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
  13. package/dist/models/Nodepool.d.ts +183 -183
  14. package/dist/models/RunNodeOperationRequest.d.ts +22 -0
  15. package/dist/models/RunNodeOperationRequest.js +63 -0
  16. package/dist/models/RunNodeOperationRequest.js.map +1 -0
  17. package/dist/models/RunNodeOperationResponse.d.ts +19 -0
  18. package/dist/models/RunNodeOperationResponse.js +69 -0
  19. package/dist/models/RunNodeOperationResponse.js.map +1 -0
  20. package/dist/models/RunNodeOperationResponseBody.d.ts +28 -0
  21. package/dist/models/RunNodeOperationResponseBody.js +62 -0
  22. package/dist/models/RunNodeOperationResponseBody.js.map +1 -0
  23. package/dist/models/model.d.ts +3 -0
  24. package/dist/models/model.js +8 -2
  25. package/dist/models/model.js.map +1 -1
  26. package/package.json +1 -1
  27. package/src/client.ts +57 -8
  28. package/src/models/CreateClusterNodePoolRequest.ts +397 -288
  29. package/src/models/CreateClusterNodePoolResponseBody.ts +1 -1
  30. package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +241 -244
  31. package/src/models/DescribeClusterNodePoolsRequest.ts +1 -1
  32. package/src/models/DescribeClusterNodePoolsResponseBody.ts +254 -254
  33. package/src/models/ModifyClusterNodePoolRequest.ts +225 -218
  34. package/src/models/Nodepool.ts +183 -183
  35. package/src/models/RunNodeOperationRequest.ts +40 -0
  36. package/src/models/RunNodeOperationResponse.ts +40 -0
  37. package/src/models/RunNodeOperationResponseBody.ts +45 -0
  38. package/src/models/model.ts +3 -0
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class RunNodeOperationRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * restart.kubelet
12
+ */
13
+ operationAction?: string;
14
+ operationArgs?: string[];
15
+ static names(): { [key: string]: string } {
16
+ return {
17
+ operationAction: 'operationAction',
18
+ operationArgs: 'operationArgs',
19
+ };
20
+ }
21
+
22
+ static types(): { [key: string]: any } {
23
+ return {
24
+ operationAction: 'string',
25
+ operationArgs: { 'type': 'array', 'itemType': 'string' },
26
+ };
27
+ }
28
+
29
+ validate() {
30
+ if(Array.isArray(this.operationArgs)) {
31
+ $dara.Model.validateArray(this.operationArgs);
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { RunNodeOperationResponseBody } from "./RunNodeOperationResponseBody";
4
+
5
+
6
+ export class RunNodeOperationResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: RunNodeOperationResponseBody;
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: RunNodeOperationResponseBody,
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 RunNodeOperationResponseBody 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: 'clusterId',
24
+ requestId: 'requestId',
25
+ taskId: 'taskId',
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
+
@@ -554,6 +554,9 @@ export { RunClusterCheckResponse } from './RunClusterCheckResponse';
554
554
  export { RunClusterInspectRequest } from './RunClusterInspectRequest';
555
555
  export { RunClusterInspectResponseBody } from './RunClusterInspectResponseBody';
556
556
  export { RunClusterInspectResponse } from './RunClusterInspectResponse';
557
+ export { RunNodeOperationRequest } from './RunNodeOperationRequest';
558
+ export { RunNodeOperationResponseBody } from './RunNodeOperationResponseBody';
559
+ export { RunNodeOperationResponse } from './RunNodeOperationResponse';
557
560
  export { ScaleClusterNodePoolRequest } from './ScaleClusterNodePoolRequest';
558
561
  export { ScaleClusterNodePoolResponseBody } from './ScaleClusterNodePoolResponseBody';
559
562
  export { ScaleClusterNodePoolResponse } from './ScaleClusterNodePoolResponse';