@alicloud/cs20151215 7.1.2 → 7.2.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.
- package/dist/client.d.ts +18 -0
- package/dist/client.js +59 -0
- package/dist/client.js.map +1 -1
- package/dist/models/ListNodePoolComponentInstanceNodesRequest.d.ts +38 -0
- package/dist/models/ListNodePoolComponentInstanceNodesRequest.js +69 -0
- package/dist/models/ListNodePoolComponentInstanceNodesRequest.js.map +1 -0
- package/dist/models/ListNodePoolComponentInstanceNodesResponse.d.ts +19 -0
- package/dist/models/ListNodePoolComponentInstanceNodesResponse.js +69 -0
- package/dist/models/ListNodePoolComponentInstanceNodesResponse.js.map +1 -0
- package/dist/models/ListNodePoolComponentInstanceNodesResponseBody.d.ts +95 -0
- package/dist/models/ListNodePoolComponentInstanceNodesResponseBody.js +143 -0
- package/dist/models/ListNodePoolComponentInstanceNodesResponseBody.js.map +1 -0
- package/dist/models/ListNodePoolComponentInstanceNodesShrinkRequest.d.ts +38 -0
- package/dist/models/ListNodePoolComponentInstanceNodesShrinkRequest.js +66 -0
- package/dist/models/ListNodePoolComponentInstanceNodesShrinkRequest.js.map +1 -0
- package/dist/models/model.d.ts +7 -0
- package/dist/models/model.js +24 -10
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +67 -0
- package/src/models/ListNodePoolComponentInstanceNodesRequest.ts +62 -0
- package/src/models/ListNodePoolComponentInstanceNodesResponse.ts +40 -0
- package/src/models/ListNodePoolComponentInstanceNodesResponseBody.ts +164 -0
- package/src/models/ListNodePoolComponentInstanceNodesShrinkRequest.ts +59 -0
- package/src/models/model.ts +7 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class ListNodePoolComponentInstanceNodesRequest extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @example
|
|
5
|
+
* 1
|
|
6
|
+
*/
|
|
7
|
+
configRevision?: string;
|
|
8
|
+
/**
|
|
9
|
+
* @example
|
|
10
|
+
* 20
|
|
11
|
+
*/
|
|
12
|
+
maxResults?: number;
|
|
13
|
+
/**
|
|
14
|
+
* @example
|
|
15
|
+
* 5c0a1c0f91c14c6****
|
|
16
|
+
*/
|
|
17
|
+
nextToken?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @example
|
|
20
|
+
* ["cn-hangzhou.10.91.xx.xx"]
|
|
21
|
+
*/
|
|
22
|
+
nodeNames?: string[];
|
|
23
|
+
/**
|
|
24
|
+
* @example
|
|
25
|
+
* 1.28.9-aliyun.1
|
|
26
|
+
*/
|
|
27
|
+
version?: 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.ListNodePoolComponentInstanceNodesRequest = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class ListNodePoolComponentInstanceNodesRequest extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
configRevision: 'config_revision',
|
|
43
|
+
maxResults: 'max_results',
|
|
44
|
+
nextToken: 'next_token',
|
|
45
|
+
nodeNames: 'node_names',
|
|
46
|
+
version: 'version',
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
static types() {
|
|
50
|
+
return {
|
|
51
|
+
configRevision: 'string',
|
|
52
|
+
maxResults: 'number',
|
|
53
|
+
nextToken: 'string',
|
|
54
|
+
nodeNames: { 'type': 'array', 'itemType': 'string' },
|
|
55
|
+
version: '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.ListNodePoolComponentInstanceNodesRequest = ListNodePoolComponentInstanceNodesRequest;
|
|
69
|
+
//# sourceMappingURL=ListNodePoolComponentInstanceNodesRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListNodePoolComponentInstanceNodesRequest.js","sourceRoot":"","sources":["../../src/models/ListNodePoolComponentInstanceNodesRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,yCAA0C,SAAQ,KAAK,CAAC,KAAK;IA0BxE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,iBAAiB;YACjC,UAAU,EAAE,aAAa;YACzB,SAAS,EAAE,YAAY;YACvB,SAAS,EAAE,YAAY;YACvB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,QAAQ;YACxB,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;YACnB,SAAS,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YACpD,OAAO,EAAE,QAAQ;SAClB,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,8FAwDC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
import { ListNodePoolComponentInstanceNodesResponseBody } from "./ListNodePoolComponentInstanceNodesResponseBody";
|
|
3
|
+
export declare class ListNodePoolComponentInstanceNodesResponse extends $dara.Model {
|
|
4
|
+
headers?: {
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
};
|
|
7
|
+
statusCode?: number;
|
|
8
|
+
body?: ListNodePoolComponentInstanceNodesResponseBody;
|
|
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.ListNodePoolComponentInstanceNodesResponse = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
const ListNodePoolComponentInstanceNodesResponseBody_1 = require("./ListNodePoolComponentInstanceNodesResponseBody");
|
|
40
|
+
class ListNodePoolComponentInstanceNodesResponse 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: ListNodePoolComponentInstanceNodesResponseBody_1.ListNodePoolComponentInstanceNodesResponseBody,
|
|
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.ListNodePoolComponentInstanceNodesResponse = ListNodePoolComponentInstanceNodesResponse;
|
|
69
|
+
//# sourceMappingURL=ListNodePoolComponentInstanceNodesResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListNodePoolComponentInstanceNodesResponse.js","sourceRoot":"","sources":["../../src/models/ListNodePoolComponentInstanceNodesResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,qHAAkH;AAGlH,MAAa,0CAA2C,SAAQ,KAAK,CAAC,KAAK;IAIzE,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,+FAA8C;SACrD,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,gGAiCC"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class ListNodePoolComponentInstanceNodesResponseBodyNodeListComponentConfig extends $dara.Model {
|
|
3
|
+
customConfig?: {
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
};
|
|
6
|
+
static names(): {
|
|
7
|
+
[key: string]: string;
|
|
8
|
+
};
|
|
9
|
+
static types(): {
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
};
|
|
12
|
+
validate(): void;
|
|
13
|
+
constructor(map?: {
|
|
14
|
+
[key: string]: any;
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
export declare class ListNodePoolComponentInstanceNodesResponseBodyNodeListComponent extends $dara.Model {
|
|
18
|
+
config?: ListNodePoolComponentInstanceNodesResponseBodyNodeListComponentConfig;
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* 1
|
|
22
|
+
*/
|
|
23
|
+
configRevision?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @example
|
|
26
|
+
* kubelet
|
|
27
|
+
*/
|
|
28
|
+
name?: string;
|
|
29
|
+
/**
|
|
30
|
+
* @example
|
|
31
|
+
* 1.28.9-aliyun.1
|
|
32
|
+
*/
|
|
33
|
+
version?: string;
|
|
34
|
+
static names(): {
|
|
35
|
+
[key: string]: string;
|
|
36
|
+
};
|
|
37
|
+
static types(): {
|
|
38
|
+
[key: string]: any;
|
|
39
|
+
};
|
|
40
|
+
validate(): void;
|
|
41
|
+
constructor(map?: {
|
|
42
|
+
[key: string]: any;
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
export declare class ListNodePoolComponentInstanceNodesResponseBodyNodeList extends $dara.Model {
|
|
46
|
+
component?: ListNodePoolComponentInstanceNodesResponseBodyNodeListComponent;
|
|
47
|
+
/**
|
|
48
|
+
* @example
|
|
49
|
+
* i-bp1xxxxx
|
|
50
|
+
*/
|
|
51
|
+
instanceId?: string;
|
|
52
|
+
/**
|
|
53
|
+
* @example
|
|
54
|
+
* cn-hangzhou.10.91.xx.xx
|
|
55
|
+
*/
|
|
56
|
+
nodeName?: string;
|
|
57
|
+
static names(): {
|
|
58
|
+
[key: string]: string;
|
|
59
|
+
};
|
|
60
|
+
static types(): {
|
|
61
|
+
[key: string]: any;
|
|
62
|
+
};
|
|
63
|
+
validate(): void;
|
|
64
|
+
constructor(map?: {
|
|
65
|
+
[key: string]: any;
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
export declare class ListNodePoolComponentInstanceNodesResponseBody extends $dara.Model {
|
|
69
|
+
/**
|
|
70
|
+
* @example
|
|
71
|
+
* 20
|
|
72
|
+
*/
|
|
73
|
+
maxResults?: number;
|
|
74
|
+
/**
|
|
75
|
+
* @example
|
|
76
|
+
* 5c0a1c0f91c14c6****
|
|
77
|
+
*/
|
|
78
|
+
nextToken?: string;
|
|
79
|
+
nodeList?: ListNodePoolComponentInstanceNodesResponseBodyNodeList[];
|
|
80
|
+
/**
|
|
81
|
+
* @example
|
|
82
|
+
* 50
|
|
83
|
+
*/
|
|
84
|
+
totalCount?: number;
|
|
85
|
+
static names(): {
|
|
86
|
+
[key: string]: string;
|
|
87
|
+
};
|
|
88
|
+
static types(): {
|
|
89
|
+
[key: string]: any;
|
|
90
|
+
};
|
|
91
|
+
validate(): void;
|
|
92
|
+
constructor(map?: {
|
|
93
|
+
[key: string]: any;
|
|
94
|
+
});
|
|
95
|
+
}
|
|
@@ -0,0 +1,143 @@
|
|
|
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.ListNodePoolComponentInstanceNodesResponseBody = exports.ListNodePoolComponentInstanceNodesResponseBodyNodeList = exports.ListNodePoolComponentInstanceNodesResponseBodyNodeListComponent = exports.ListNodePoolComponentInstanceNodesResponseBodyNodeListComponentConfig = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class ListNodePoolComponentInstanceNodesResponseBodyNodeListComponentConfig 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.ListNodePoolComponentInstanceNodesResponseBodyNodeListComponentConfig = ListNodePoolComponentInstanceNodesResponseBodyNodeListComponentConfig;
|
|
61
|
+
class ListNodePoolComponentInstanceNodesResponseBodyNodeListComponent extends $dara.Model {
|
|
62
|
+
static names() {
|
|
63
|
+
return {
|
|
64
|
+
config: 'config',
|
|
65
|
+
configRevision: 'config_revision',
|
|
66
|
+
name: 'name',
|
|
67
|
+
version: 'version',
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
static types() {
|
|
71
|
+
return {
|
|
72
|
+
config: ListNodePoolComponentInstanceNodesResponseBodyNodeListComponentConfig,
|
|
73
|
+
configRevision: 'string',
|
|
74
|
+
name: 'string',
|
|
75
|
+
version: 'string',
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
validate() {
|
|
79
|
+
if (this.config && typeof this.config.validate === 'function') {
|
|
80
|
+
this.config.validate();
|
|
81
|
+
}
|
|
82
|
+
super.validate();
|
|
83
|
+
}
|
|
84
|
+
constructor(map) {
|
|
85
|
+
super(map);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
exports.ListNodePoolComponentInstanceNodesResponseBodyNodeListComponent = ListNodePoolComponentInstanceNodesResponseBodyNodeListComponent;
|
|
89
|
+
class ListNodePoolComponentInstanceNodesResponseBodyNodeList extends $dara.Model {
|
|
90
|
+
static names() {
|
|
91
|
+
return {
|
|
92
|
+
component: 'component',
|
|
93
|
+
instanceId: 'instance_id',
|
|
94
|
+
nodeName: 'node_name',
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
static types() {
|
|
98
|
+
return {
|
|
99
|
+
component: ListNodePoolComponentInstanceNodesResponseBodyNodeListComponent,
|
|
100
|
+
instanceId: 'string',
|
|
101
|
+
nodeName: 'string',
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
validate() {
|
|
105
|
+
if (this.component && typeof this.component.validate === 'function') {
|
|
106
|
+
this.component.validate();
|
|
107
|
+
}
|
|
108
|
+
super.validate();
|
|
109
|
+
}
|
|
110
|
+
constructor(map) {
|
|
111
|
+
super(map);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
exports.ListNodePoolComponentInstanceNodesResponseBodyNodeList = ListNodePoolComponentInstanceNodesResponseBodyNodeList;
|
|
115
|
+
class ListNodePoolComponentInstanceNodesResponseBody extends $dara.Model {
|
|
116
|
+
static names() {
|
|
117
|
+
return {
|
|
118
|
+
maxResults: 'max_results',
|
|
119
|
+
nextToken: 'next_token',
|
|
120
|
+
nodeList: 'node_list',
|
|
121
|
+
totalCount: 'total_count',
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
static types() {
|
|
125
|
+
return {
|
|
126
|
+
maxResults: 'number',
|
|
127
|
+
nextToken: 'string',
|
|
128
|
+
nodeList: { 'type': 'array', 'itemType': ListNodePoolComponentInstanceNodesResponseBodyNodeList },
|
|
129
|
+
totalCount: 'number',
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
validate() {
|
|
133
|
+
if (Array.isArray(this.nodeList)) {
|
|
134
|
+
$dara.Model.validateArray(this.nodeList);
|
|
135
|
+
}
|
|
136
|
+
super.validate();
|
|
137
|
+
}
|
|
138
|
+
constructor(map) {
|
|
139
|
+
super(map);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
exports.ListNodePoolComponentInstanceNodesResponseBody = ListNodePoolComponentInstanceNodesResponseBody;
|
|
143
|
+
//# sourceMappingURL=ListNodePoolComponentInstanceNodesResponseBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListNodePoolComponentInstanceNodesResponseBody.js","sourceRoot":"","sources":["../../src/models/ListNodePoolComponentInstanceNodesResponseBody.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class ListNodePoolComponentInstanceNodesShrinkRequest extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @example
|
|
5
|
+
* 1
|
|
6
|
+
*/
|
|
7
|
+
configRevision?: string;
|
|
8
|
+
/**
|
|
9
|
+
* @example
|
|
10
|
+
* 20
|
|
11
|
+
*/
|
|
12
|
+
maxResults?: number;
|
|
13
|
+
/**
|
|
14
|
+
* @example
|
|
15
|
+
* 5c0a1c0f91c14c6****
|
|
16
|
+
*/
|
|
17
|
+
nextToken?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @example
|
|
20
|
+
* ["cn-hangzhou.10.91.xx.xx"]
|
|
21
|
+
*/
|
|
22
|
+
nodeNamesShrink?: string;
|
|
23
|
+
/**
|
|
24
|
+
* @example
|
|
25
|
+
* 1.28.9-aliyun.1
|
|
26
|
+
*/
|
|
27
|
+
version?: 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,66 @@
|
|
|
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.ListNodePoolComponentInstanceNodesShrinkRequest = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class ListNodePoolComponentInstanceNodesShrinkRequest extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
configRevision: 'config_revision',
|
|
43
|
+
maxResults: 'max_results',
|
|
44
|
+
nextToken: 'next_token',
|
|
45
|
+
nodeNamesShrink: 'node_names',
|
|
46
|
+
version: 'version',
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
static types() {
|
|
50
|
+
return {
|
|
51
|
+
configRevision: 'string',
|
|
52
|
+
maxResults: 'number',
|
|
53
|
+
nextToken: 'string',
|
|
54
|
+
nodeNamesShrink: 'string',
|
|
55
|
+
version: 'string',
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
validate() {
|
|
59
|
+
super.validate();
|
|
60
|
+
}
|
|
61
|
+
constructor(map) {
|
|
62
|
+
super(map);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
exports.ListNodePoolComponentInstanceNodesShrinkRequest = ListNodePoolComponentInstanceNodesShrinkRequest;
|
|
66
|
+
//# sourceMappingURL=ListNodePoolComponentInstanceNodesShrinkRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListNodePoolComponentInstanceNodesShrinkRequest.js","sourceRoot":"","sources":["../../src/models/ListNodePoolComponentInstanceNodesShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+CAAgD,SAAQ,KAAK,CAAC,KAAK;IA0B9E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,iBAAiB;YACjC,UAAU,EAAE,aAAa;YACzB,SAAS,EAAE,YAAY;YACvB,eAAe,EAAE,YAAY;YAC7B,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,QAAQ;YACxB,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;YACnB,eAAe,EAAE,QAAQ;YACzB,OAAO,EAAE,QAAQ;SAClB,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;AArDD,0GAqDC"}
|
package/dist/models/model.d.ts
CHANGED
|
@@ -222,6 +222,9 @@ export { ListClusterInspectReportsResponseBodyReports } from './ListClusterInspe
|
|
|
222
222
|
export { ListClusterKubeconfigStatesResponseBodyPage } from './ListClusterKubeconfigStatesResponseBody';
|
|
223
223
|
export { ListClusterKubeconfigStatesResponseBodyStatesCloudServiceRoles } from './ListClusterKubeconfigStatesResponseBody';
|
|
224
224
|
export { ListClusterKubeconfigStatesResponseBodyStates } from './ListClusterKubeconfigStatesResponseBody';
|
|
225
|
+
export { ListNodePoolComponentInstanceNodesResponseBodyNodeListComponentConfig } from './ListNodePoolComponentInstanceNodesResponseBody';
|
|
226
|
+
export { ListNodePoolComponentInstanceNodesResponseBodyNodeListComponent } from './ListNodePoolComponentInstanceNodesResponseBody';
|
|
227
|
+
export { ListNodePoolComponentInstanceNodesResponseBodyNodeList } from './ListNodePoolComponentInstanceNodesResponseBody';
|
|
225
228
|
export { ListNodePoolComponentInstancesResponseBodyComponentInstancesConfigEnvs } from './ListNodePoolComponentInstancesResponseBody';
|
|
226
229
|
export { ListNodePoolComponentInstancesResponseBodyComponentInstancesConfig } from './ListNodePoolComponentInstancesResponseBody';
|
|
227
230
|
export { ListNodePoolComponentInstancesResponseBodyComponentInstances } from './ListNodePoolComponentInstancesResponseBody';
|
|
@@ -525,6 +528,10 @@ export { ListClusterInspectReportsResponse } from './ListClusterInspectReportsRe
|
|
|
525
528
|
export { ListClusterKubeconfigStatesRequest } from './ListClusterKubeconfigStatesRequest';
|
|
526
529
|
export { ListClusterKubeconfigStatesResponseBody } from './ListClusterKubeconfigStatesResponseBody';
|
|
527
530
|
export { ListClusterKubeconfigStatesResponse } from './ListClusterKubeconfigStatesResponse';
|
|
531
|
+
export { ListNodePoolComponentInstanceNodesRequest } from './ListNodePoolComponentInstanceNodesRequest';
|
|
532
|
+
export { ListNodePoolComponentInstanceNodesShrinkRequest } from './ListNodePoolComponentInstanceNodesShrinkRequest';
|
|
533
|
+
export { ListNodePoolComponentInstanceNodesResponseBody } from './ListNodePoolComponentInstanceNodesResponseBody';
|
|
534
|
+
export { ListNodePoolComponentInstanceNodesResponse } from './ListNodePoolComponentInstanceNodesResponse';
|
|
528
535
|
export { ListNodePoolComponentInstancesRequest } from './ListNodePoolComponentInstancesRequest';
|
|
529
536
|
export { ListNodePoolComponentInstancesResponseBody } from './ListNodePoolComponentInstancesResponseBody';
|
|
530
537
|
export { ListNodePoolComponentInstancesResponse } from './ListNodePoolComponentInstancesResponse';
|