@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,100 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class CreateNodePoolComponentInstancesRequestComponentsConfig extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * {"cpuManagerPolicy":"static"}
6
+ */
7
+ customConfig?: {
8
+ [key: string]: any;
9
+ };
10
+ static names(): {
11
+ [key: string]: string;
12
+ };
13
+ static types(): {
14
+ [key: string]: any;
15
+ };
16
+ validate(): void;
17
+ constructor(map?: {
18
+ [key: string]: any;
19
+ });
20
+ }
21
+ export declare class CreateNodePoolComponentInstancesRequestComponents extends $dara.Model {
22
+ config?: CreateNodePoolComponentInstancesRequestComponentsConfig;
23
+ /**
24
+ * @remarks
25
+ * This parameter is required.
26
+ *
27
+ * @example
28
+ * kubelet
29
+ */
30
+ name?: string;
31
+ /**
32
+ * @remarks
33
+ * This parameter is required.
34
+ *
35
+ * @example
36
+ * 1.33.3-aliyun.1
37
+ */
38
+ version?: string;
39
+ static names(): {
40
+ [key: string]: string;
41
+ };
42
+ static types(): {
43
+ [key: string]: any;
44
+ };
45
+ validate(): void;
46
+ constructor(map?: {
47
+ [key: string]: any;
48
+ });
49
+ }
50
+ export declare class CreateNodePoolComponentInstancesRequestRollingPolicy extends $dara.Model {
51
+ /**
52
+ * @example
53
+ * 10
54
+ */
55
+ batchInterval?: number;
56
+ /**
57
+ * @example
58
+ * 0
59
+ */
60
+ maxFailedNodes?: number;
61
+ /**
62
+ * @example
63
+ * 1
64
+ */
65
+ maxParallelism?: number;
66
+ /**
67
+ * @example
68
+ * NotPause
69
+ */
70
+ pausePolicy?: string;
71
+ static names(): {
72
+ [key: string]: string;
73
+ };
74
+ static types(): {
75
+ [key: string]: any;
76
+ };
77
+ validate(): void;
78
+ constructor(map?: {
79
+ [key: string]: any;
80
+ });
81
+ }
82
+ export declare class CreateNodePoolComponentInstancesRequest extends $dara.Model {
83
+ /**
84
+ * @remarks
85
+ * This parameter is required.
86
+ */
87
+ components?: CreateNodePoolComponentInstancesRequestComponents[];
88
+ nodeNames?: string[];
89
+ rollingPolicy?: CreateNodePoolComponentInstancesRequestRollingPolicy;
90
+ static names(): {
91
+ [key: string]: string;
92
+ };
93
+ static types(): {
94
+ [key: string]: any;
95
+ };
96
+ validate(): void;
97
+ constructor(map?: {
98
+ [key: string]: any;
99
+ });
100
+ }
@@ -0,0 +1,144 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.CreateNodePoolComponentInstancesRequest = exports.CreateNodePoolComponentInstancesRequestRollingPolicy = exports.CreateNodePoolComponentInstancesRequestComponents = exports.CreateNodePoolComponentInstancesRequestComponentsConfig = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class CreateNodePoolComponentInstancesRequestComponentsConfig extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ customConfig: 'custom_config',
43
+ };
44
+ }
45
+ static types() {
46
+ return {
47
+ customConfig: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
48
+ };
49
+ }
50
+ validate() {
51
+ if (this.customConfig) {
52
+ $dara.Model.validateMap(this.customConfig);
53
+ }
54
+ super.validate();
55
+ }
56
+ constructor(map) {
57
+ super(map);
58
+ }
59
+ }
60
+ exports.CreateNodePoolComponentInstancesRequestComponentsConfig = CreateNodePoolComponentInstancesRequestComponentsConfig;
61
+ class CreateNodePoolComponentInstancesRequestComponents extends $dara.Model {
62
+ static names() {
63
+ return {
64
+ config: 'config',
65
+ name: 'name',
66
+ version: 'version',
67
+ };
68
+ }
69
+ static types() {
70
+ return {
71
+ config: CreateNodePoolComponentInstancesRequestComponentsConfig,
72
+ name: 'string',
73
+ version: 'string',
74
+ };
75
+ }
76
+ validate() {
77
+ if (this.config && typeof this.config.validate === 'function') {
78
+ this.config.validate();
79
+ }
80
+ super.validate();
81
+ }
82
+ constructor(map) {
83
+ super(map);
84
+ }
85
+ }
86
+ exports.CreateNodePoolComponentInstancesRequestComponents = CreateNodePoolComponentInstancesRequestComponents;
87
+ class CreateNodePoolComponentInstancesRequestRollingPolicy extends $dara.Model {
88
+ static names() {
89
+ return {
90
+ batchInterval: 'batch_interval',
91
+ maxFailedNodes: 'max_failed_nodes',
92
+ maxParallelism: 'max_parallelism',
93
+ pausePolicy: 'pause_policy',
94
+ };
95
+ }
96
+ static types() {
97
+ return {
98
+ batchInterval: 'number',
99
+ maxFailedNodes: 'number',
100
+ maxParallelism: 'number',
101
+ pausePolicy: 'string',
102
+ };
103
+ }
104
+ validate() {
105
+ super.validate();
106
+ }
107
+ constructor(map) {
108
+ super(map);
109
+ }
110
+ }
111
+ exports.CreateNodePoolComponentInstancesRequestRollingPolicy = CreateNodePoolComponentInstancesRequestRollingPolicy;
112
+ class CreateNodePoolComponentInstancesRequest extends $dara.Model {
113
+ static names() {
114
+ return {
115
+ components: 'components',
116
+ nodeNames: 'node_names',
117
+ rollingPolicy: 'rolling_policy',
118
+ };
119
+ }
120
+ static types() {
121
+ return {
122
+ components: { 'type': 'array', 'itemType': CreateNodePoolComponentInstancesRequestComponents },
123
+ nodeNames: { 'type': 'array', 'itemType': 'string' },
124
+ rollingPolicy: CreateNodePoolComponentInstancesRequestRollingPolicy,
125
+ };
126
+ }
127
+ validate() {
128
+ if (Array.isArray(this.components)) {
129
+ $dara.Model.validateArray(this.components);
130
+ }
131
+ if (Array.isArray(this.nodeNames)) {
132
+ $dara.Model.validateArray(this.nodeNames);
133
+ }
134
+ if (this.rollingPolicy && typeof this.rollingPolicy.validate === 'function') {
135
+ this.rollingPolicy.validate();
136
+ }
137
+ super.validate();
138
+ }
139
+ constructor(map) {
140
+ super(map);
141
+ }
142
+ }
143
+ exports.CreateNodePoolComponentInstancesRequest = CreateNodePoolComponentInstancesRequest;
144
+ //# sourceMappingURL=CreateNodePoolComponentInstancesRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateNodePoolComponentInstancesRequest.js","sourceRoot":"","sources":["../../src/models/CreateNodePoolComponentInstancesRequest.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { CreateNodePoolComponentInstancesResponseBody } from "./CreateNodePoolComponentInstancesResponseBody";
3
+ export declare class CreateNodePoolComponentInstancesResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: CreateNodePoolComponentInstancesResponseBody;
9
+ static names(): {
10
+ [key: string]: string;
11
+ };
12
+ static types(): {
13
+ [key: string]: any;
14
+ };
15
+ validate(): void;
16
+ constructor(map?: {
17
+ [key: string]: any;
18
+ });
19
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.CreateNodePoolComponentInstancesResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const CreateNodePoolComponentInstancesResponseBody_1 = require("./CreateNodePoolComponentInstancesResponseBody");
40
+ class CreateNodePoolComponentInstancesResponse extends $dara.Model {
41
+ static names() {
42
+ return {
43
+ headers: 'headers',
44
+ statusCode: 'statusCode',
45
+ body: 'body',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
51
+ statusCode: 'number',
52
+ body: CreateNodePoolComponentInstancesResponseBody_1.CreateNodePoolComponentInstancesResponseBody,
53
+ };
54
+ }
55
+ validate() {
56
+ if (this.headers) {
57
+ $dara.Model.validateMap(this.headers);
58
+ }
59
+ if (this.body && typeof this.body.validate === 'function') {
60
+ this.body.validate();
61
+ }
62
+ super.validate();
63
+ }
64
+ constructor(map) {
65
+ super(map);
66
+ }
67
+ }
68
+ exports.CreateNodePoolComponentInstancesResponse = CreateNodePoolComponentInstancesResponse;
69
+ //# sourceMappingURL=CreateNodePoolComponentInstancesResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateNodePoolComponentInstancesResponse.js","sourceRoot":"","sources":["../../src/models/CreateNodePoolComponentInstancesResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,iHAA8G;AAG9G,MAAa,wCAAyC,SAAQ,KAAK,CAAC,KAAK;IAIvE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,2FAA4C;SACnD,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,4FAiCC"}
@@ -0,0 +1,28 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class CreateNodePoolComponentInstancesResponseBody extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * c2230fxxxxx
6
+ */
7
+ clusterId?: string;
8
+ /**
9
+ * @example
10
+ * xxxx
11
+ */
12
+ requestId?: string;
13
+ /**
14
+ * @example
15
+ * T-xxxx
16
+ */
17
+ taskId?: string;
18
+ static names(): {
19
+ [key: string]: string;
20
+ };
21
+ static types(): {
22
+ [key: string]: any;
23
+ };
24
+ validate(): void;
25
+ constructor(map?: {
26
+ [key: string]: any;
27
+ });
28
+ }
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.CreateNodePoolComponentInstancesResponseBody = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class CreateNodePoolComponentInstancesResponseBody extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ clusterId: 'cluster_id',
43
+ requestId: 'request_id',
44
+ taskId: 'task_id',
45
+ };
46
+ }
47
+ static types() {
48
+ return {
49
+ clusterId: 'string',
50
+ requestId: 'string',
51
+ taskId: 'string',
52
+ };
53
+ }
54
+ validate() {
55
+ super.validate();
56
+ }
57
+ constructor(map) {
58
+ super(map);
59
+ }
60
+ }
61
+ exports.CreateNodePoolComponentInstancesResponseBody = CreateNodePoolComponentInstancesResponseBody;
62
+ //# sourceMappingURL=CreateNodePoolComponentInstancesResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateNodePoolComponentInstancesResponseBody.js","sourceRoot":"","sources":["../../src/models/CreateNodePoolComponentInstancesResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4CAA6C,SAAQ,KAAK,CAAC,KAAK;IAgB3E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,YAAY;YACvB,SAAS,EAAE,YAAY;YACvB,MAAM,EAAE,SAAS;SAClB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,SAAS,EAAE,QAAQ;YACnB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAvCD,oGAuCC"}
@@ -0,0 +1,38 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DeleteNodePoolComponentInstanceRequest extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * 10
6
+ */
7
+ batchInterval?: number;
8
+ /**
9
+ * @example
10
+ * 0
11
+ */
12
+ maxFailedNodes?: number;
13
+ /**
14
+ * @example
15
+ * 1
16
+ */
17
+ maxParallelism?: number;
18
+ /**
19
+ * @example
20
+ * ["cn-hangzhou.10.91.xx.xx"]
21
+ */
22
+ nodeNames?: string[];
23
+ /**
24
+ * @example
25
+ * NotPause
26
+ */
27
+ pausePolicy?: string;
28
+ static names(): {
29
+ [key: string]: string;
30
+ };
31
+ static types(): {
32
+ [key: string]: any;
33
+ };
34
+ validate(): void;
35
+ constructor(map?: {
36
+ [key: string]: any;
37
+ });
38
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DeleteNodePoolComponentInstanceRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DeleteNodePoolComponentInstanceRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ batchInterval: 'batch_interval',
43
+ maxFailedNodes: 'max_failed_nodes',
44
+ maxParallelism: 'max_parallelism',
45
+ nodeNames: 'node_names',
46
+ pausePolicy: 'pause_policy',
47
+ };
48
+ }
49
+ static types() {
50
+ return {
51
+ batchInterval: 'number',
52
+ maxFailedNodes: 'number',
53
+ maxParallelism: 'number',
54
+ nodeNames: { 'type': 'array', 'itemType': 'string' },
55
+ pausePolicy: 'string',
56
+ };
57
+ }
58
+ validate() {
59
+ if (Array.isArray(this.nodeNames)) {
60
+ $dara.Model.validateArray(this.nodeNames);
61
+ }
62
+ super.validate();
63
+ }
64
+ constructor(map) {
65
+ super(map);
66
+ }
67
+ }
68
+ exports.DeleteNodePoolComponentInstanceRequest = DeleteNodePoolComponentInstanceRequest;
69
+ //# sourceMappingURL=DeleteNodePoolComponentInstanceRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteNodePoolComponentInstanceRequest.js","sourceRoot":"","sources":["../../src/models/DeleteNodePoolComponentInstanceRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,sCAAuC,SAAQ,KAAK,CAAC,KAAK;IA0BrE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,gBAAgB;YAC/B,cAAc,EAAE,kBAAkB;YAClC,cAAc,EAAE,iBAAiB;YACjC,SAAS,EAAE,YAAY;YACvB,WAAW,EAAE,cAAc;SAC5B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,QAAQ;YACvB,cAAc,EAAE,QAAQ;YACxB,cAAc,EAAE,QAAQ;YACxB,SAAS,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YACpD,WAAW,EAAE,QAAQ;SACtB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC;YACjC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC5C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAxDD,wFAwDC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { DeleteNodePoolComponentInstanceResponseBody } from "./DeleteNodePoolComponentInstanceResponseBody";
3
+ export declare class DeleteNodePoolComponentInstanceResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: DeleteNodePoolComponentInstanceResponseBody;
9
+ static names(): {
10
+ [key: string]: string;
11
+ };
12
+ static types(): {
13
+ [key: string]: any;
14
+ };
15
+ validate(): void;
16
+ constructor(map?: {
17
+ [key: string]: any;
18
+ });
19
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DeleteNodePoolComponentInstanceResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const DeleteNodePoolComponentInstanceResponseBody_1 = require("./DeleteNodePoolComponentInstanceResponseBody");
40
+ class DeleteNodePoolComponentInstanceResponse extends $dara.Model {
41
+ static names() {
42
+ return {
43
+ headers: 'headers',
44
+ statusCode: 'statusCode',
45
+ body: 'body',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
51
+ statusCode: 'number',
52
+ body: DeleteNodePoolComponentInstanceResponseBody_1.DeleteNodePoolComponentInstanceResponseBody,
53
+ };
54
+ }
55
+ validate() {
56
+ if (this.headers) {
57
+ $dara.Model.validateMap(this.headers);
58
+ }
59
+ if (this.body && typeof this.body.validate === 'function') {
60
+ this.body.validate();
61
+ }
62
+ super.validate();
63
+ }
64
+ constructor(map) {
65
+ super(map);
66
+ }
67
+ }
68
+ exports.DeleteNodePoolComponentInstanceResponse = DeleteNodePoolComponentInstanceResponse;
69
+ //# sourceMappingURL=DeleteNodePoolComponentInstanceResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteNodePoolComponentInstanceResponse.js","sourceRoot":"","sources":["../../src/models/DeleteNodePoolComponentInstanceResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,+GAA4G;AAG5G,MAAa,uCAAwC,SAAQ,KAAK,CAAC,KAAK;IAItE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,yFAA2C;SAClD,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,0FAiCC"}
@@ -0,0 +1,28 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DeleteNodePoolComponentInstanceResponseBody extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * c846d7d529e34413c9ab1****
6
+ */
7
+ clusterId?: string;
8
+ /**
9
+ * @example
10
+ * EB022AB1-4CF7-5BB6-B44A-38****
11
+ */
12
+ requestId?: string;
13
+ /**
14
+ * @example
15
+ * T-696de321273bb00****
16
+ */
17
+ taskId?: string;
18
+ static names(): {
19
+ [key: string]: string;
20
+ };
21
+ static types(): {
22
+ [key: string]: any;
23
+ };
24
+ validate(): void;
25
+ constructor(map?: {
26
+ [key: string]: any;
27
+ });
28
+ }