@alicloud/appstream-center20210901 5.3.0 → 5.4.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 +30 -0
- package/dist/client.js +84 -0
- package/dist/client.js.map +1 -1
- package/dist/models/AssignWuyingServerPrivateAddressesRequest.d.ts +29 -0
- package/dist/models/AssignWuyingServerPrivateAddressesRequest.js +60 -0
- package/dist/models/AssignWuyingServerPrivateAddressesRequest.js.map +1 -0
- package/dist/models/AssignWuyingServerPrivateAddressesResponse.d.ts +19 -0
- package/dist/models/AssignWuyingServerPrivateAddressesResponse.js +69 -0
- package/dist/models/AssignWuyingServerPrivateAddressesResponse.js.map +1 -0
- package/dist/models/AssignWuyingServerPrivateAddressesResponseBody.d.ts +19 -0
- package/dist/models/AssignWuyingServerPrivateAddressesResponseBody.js +63 -0
- package/dist/models/AssignWuyingServerPrivateAddressesResponseBody.js.map +1 -0
- package/dist/models/ListWuyingServerRequest.d.ts +23 -0
- package/dist/models/ListWuyingServerRequest.js.map +1 -1
- package/dist/models/ListWuyingServerResponseBody.d.ts +101 -0
- package/dist/models/ListWuyingServerResponseBody.js +33 -1
- package/dist/models/ListWuyingServerResponseBody.js.map +1 -1
- package/dist/models/UnassignWuyingServerPrivateAddressesRequest.d.ts +29 -0
- package/dist/models/UnassignWuyingServerPrivateAddressesRequest.js +63 -0
- package/dist/models/UnassignWuyingServerPrivateAddressesRequest.js.map +1 -0
- package/dist/models/UnassignWuyingServerPrivateAddressesResponse.d.ts +19 -0
- package/dist/models/UnassignWuyingServerPrivateAddressesResponse.js +69 -0
- package/dist/models/UnassignWuyingServerPrivateAddressesResponse.js.map +1 -0
- package/dist/models/UnassignWuyingServerPrivateAddressesResponseBody.d.ts +21 -0
- package/dist/models/UnassignWuyingServerPrivateAddressesResponseBody.js +58 -0
- package/dist/models/UnassignWuyingServerPrivateAddressesResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +7 -0
- package/dist/models/model.js +26 -12
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +92 -0
- package/src/models/AssignWuyingServerPrivateAddressesRequest.ts +44 -0
- package/src/models/AssignWuyingServerPrivateAddressesResponse.ts +40 -0
- package/src/models/AssignWuyingServerPrivateAddressesResponseBody.ts +37 -0
- package/src/models/ListWuyingServerRequest.ts +23 -0
- package/src/models/ListWuyingServerResponseBody.ts +124 -0
- package/src/models/UnassignWuyingServerPrivateAddressesRequest.ts +47 -0
- package/src/models/UnassignWuyingServerPrivateAddressesResponse.ts +40 -0
- package/src/models/UnassignWuyingServerPrivateAddressesResponseBody.ts +34 -0
- package/src/models/model.ts +7 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class AssignWuyingServerPrivateAddressesRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 1
|
|
12
|
+
*/
|
|
13
|
+
secondaryPrivateIpAddressCount?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* This parameter is required.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ws-bp1234567890abcde
|
|
20
|
+
*/
|
|
21
|
+
wuyingServerId?: string;
|
|
22
|
+
static names(): { [key: string]: string } {
|
|
23
|
+
return {
|
|
24
|
+
secondaryPrivateIpAddressCount: 'SecondaryPrivateIpAddressCount',
|
|
25
|
+
wuyingServerId: 'WuyingServerId',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
secondaryPrivateIpAddressCount: 'number',
|
|
32
|
+
wuyingServerId: 'string',
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
validate() {
|
|
37
|
+
super.validate();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
constructor(map?: { [key: string]: any }) {
|
|
41
|
+
super(map);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { AssignWuyingServerPrivateAddressesResponseBody } from "./AssignWuyingServerPrivateAddressesResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class AssignWuyingServerPrivateAddressesResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: AssignWuyingServerPrivateAddressesResponseBody;
|
|
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: AssignWuyingServerPrivateAddressesResponseBody,
|
|
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,37 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class AssignWuyingServerPrivateAddressesResponseBody extends $dara.Model {
|
|
6
|
+
assignedPrivateIpAddresses?: string[];
|
|
7
|
+
/**
|
|
8
|
+
* @example
|
|
9
|
+
* 1CBAFFAB-B697-4049-A9B1-67E1FC5F****
|
|
10
|
+
*/
|
|
11
|
+
requestId?: string;
|
|
12
|
+
static names(): { [key: string]: string } {
|
|
13
|
+
return {
|
|
14
|
+
assignedPrivateIpAddresses: 'AssignedPrivateIpAddresses',
|
|
15
|
+
requestId: 'RequestId',
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
static types(): { [key: string]: any } {
|
|
20
|
+
return {
|
|
21
|
+
assignedPrivateIpAddresses: { 'type': 'array', 'itemType': 'string' },
|
|
22
|
+
requestId: 'string',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(Array.isArray(this.assignedPrivateIpAddresses)) {
|
|
28
|
+
$dara.Model.validateArray(this.assignedPrivateIpAddresses);
|
|
29
|
+
}
|
|
30
|
+
super.validate();
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
constructor(map?: { [key: string]: any }) {
|
|
34
|
+
super(map);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -3,6 +3,10 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class ListWuyingServerRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* Added
|
|
9
|
+
*/
|
|
6
10
|
addVirtualNodePoolStatusList?: string[];
|
|
7
11
|
/**
|
|
8
12
|
* @remarks
|
|
@@ -12,6 +16,10 @@ export class ListWuyingServerRequest extends $dara.Model {
|
|
|
12
16
|
* cn-hangzhou
|
|
13
17
|
*/
|
|
14
18
|
bizRegionId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* 1
|
|
22
|
+
*/
|
|
15
23
|
bizType?: number;
|
|
16
24
|
/**
|
|
17
25
|
* @remarks
|
|
@@ -53,6 +61,10 @@ export class ListWuyingServerRequest extends $dara.Model {
|
|
|
53
61
|
* 100
|
|
54
62
|
*/
|
|
55
63
|
pageSize?: number;
|
|
64
|
+
/**
|
|
65
|
+
* @example
|
|
66
|
+
* wuying_server
|
|
67
|
+
*/
|
|
56
68
|
productType?: string;
|
|
57
69
|
/**
|
|
58
70
|
* @remarks
|
|
@@ -70,11 +82,22 @@ export class ListWuyingServerRequest extends $dara.Model {
|
|
|
70
82
|
* RUNNING
|
|
71
83
|
*/
|
|
72
84
|
status?: string;
|
|
85
|
+
/**
|
|
86
|
+
* @example
|
|
87
|
+
* user1
|
|
88
|
+
*/
|
|
73
89
|
users?: string[];
|
|
90
|
+
/**
|
|
91
|
+
* @example
|
|
92
|
+
* vnp-bp1234567890abcde
|
|
93
|
+
*/
|
|
74
94
|
virtualNodePoolId?: string;
|
|
75
95
|
/**
|
|
76
96
|
* @remarks
|
|
77
97
|
* The list of workstation IDs.
|
|
98
|
+
*
|
|
99
|
+
* @example
|
|
100
|
+
* aig-bp1234567890abcde
|
|
78
101
|
*/
|
|
79
102
|
wuyingServerIdList?: string[];
|
|
80
103
|
/**
|
|
@@ -11,7 +11,15 @@ export class ListWuyingServerResponseBodyWuyingServerListDataDisk extends $dara.
|
|
|
11
11
|
* cloud_auto
|
|
12
12
|
*/
|
|
13
13
|
dataDiskCategory?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* d-bp1234567890abcde
|
|
17
|
+
*/
|
|
14
18
|
dataDiskId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* 1
|
|
22
|
+
*/
|
|
15
23
|
dataDiskNo?: string;
|
|
16
24
|
/**
|
|
17
25
|
* @remarks
|
|
@@ -98,6 +106,40 @@ export class ListWuyingServerResponseBodyWuyingServerListInstanceInfoList extend
|
|
|
98
106
|
}
|
|
99
107
|
}
|
|
100
108
|
|
|
109
|
+
export class ListWuyingServerResponseBodyWuyingServerListPrivateIpSets extends $dara.Model {
|
|
110
|
+
/**
|
|
111
|
+
* @example
|
|
112
|
+
* true
|
|
113
|
+
*/
|
|
114
|
+
primary?: boolean;
|
|
115
|
+
/**
|
|
116
|
+
* @example
|
|
117
|
+
* 10.0.0.1
|
|
118
|
+
*/
|
|
119
|
+
privateIpAddress?: string;
|
|
120
|
+
static names(): { [key: string]: string } {
|
|
121
|
+
return {
|
|
122
|
+
primary: 'Primary',
|
|
123
|
+
privateIpAddress: 'PrivateIpAddress',
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
static types(): { [key: string]: any } {
|
|
128
|
+
return {
|
|
129
|
+
primary: 'boolean',
|
|
130
|
+
privateIpAddress: 'string',
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
validate() {
|
|
135
|
+
super.validate();
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
constructor(map?: { [key: string]: any }) {
|
|
139
|
+
super(map);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
101
143
|
export class ListWuyingServerResponseBodyWuyingServerListServerInstanceTypeInfo extends $dara.Model {
|
|
102
144
|
/**
|
|
103
145
|
* @remarks
|
|
@@ -123,6 +165,10 @@ export class ListWuyingServerResponseBodyWuyingServerListServerInstanceTypeInfo
|
|
|
123
165
|
* 196,608
|
|
124
166
|
*/
|
|
125
167
|
gpuMemory?: number;
|
|
168
|
+
/**
|
|
169
|
+
* @example
|
|
170
|
+
* NVIDIA T4
|
|
171
|
+
*/
|
|
126
172
|
gpuSpec?: string;
|
|
127
173
|
/**
|
|
128
174
|
* @remarks
|
|
@@ -172,7 +218,15 @@ export class ListWuyingServerResponseBodyWuyingServerListServerInstanceTypeInfo
|
|
|
172
218
|
}
|
|
173
219
|
|
|
174
220
|
export class ListWuyingServerResponseBodyWuyingServerListSessions extends $dara.Model {
|
|
221
|
+
/**
|
|
222
|
+
* @example
|
|
223
|
+
* 2026-01-01T08:00:00Z
|
|
224
|
+
*/
|
|
175
225
|
resourceSessionStartTime?: string;
|
|
226
|
+
/**
|
|
227
|
+
* @example
|
|
228
|
+
* user1
|
|
229
|
+
*/
|
|
176
230
|
userId?: string;
|
|
177
231
|
static names(): { [key: string]: string } {
|
|
178
232
|
return {
|
|
@@ -198,8 +252,20 @@ export class ListWuyingServerResponseBodyWuyingServerListSessions extends $dara.
|
|
|
198
252
|
}
|
|
199
253
|
|
|
200
254
|
export class ListWuyingServerResponseBodyWuyingServerList extends $dara.Model {
|
|
255
|
+
/**
|
|
256
|
+
* @example
|
|
257
|
+
* Added
|
|
258
|
+
*/
|
|
201
259
|
addVirtualNodePoolStatus?: string;
|
|
260
|
+
/**
|
|
261
|
+
* @example
|
|
262
|
+
* 1234567890123456
|
|
263
|
+
*/
|
|
202
264
|
aliUid?: number;
|
|
265
|
+
/**
|
|
266
|
+
* @example
|
|
267
|
+
* 10
|
|
268
|
+
*/
|
|
203
269
|
bandwidth?: number;
|
|
204
270
|
/**
|
|
205
271
|
* @remarks
|
|
@@ -230,6 +296,11 @@ export class ListWuyingServerResponseBodyWuyingServerList extends $dara.Model {
|
|
|
230
296
|
* The data disks.
|
|
231
297
|
*/
|
|
232
298
|
dataDisk?: ListWuyingServerResponseBodyWuyingServerListDataDisk[];
|
|
299
|
+
/**
|
|
300
|
+
* @example
|
|
301
|
+
* 10
|
|
302
|
+
*/
|
|
303
|
+
eniPrivateIpAddressQuantity?: number;
|
|
233
304
|
/**
|
|
234
305
|
* @remarks
|
|
235
306
|
* The time when the subscription instance expires.
|
|
@@ -238,6 +309,10 @@ export class ListWuyingServerResponseBodyWuyingServerList extends $dara.Model {
|
|
|
238
309
|
* 2025-09-03T16:00:00.000+00:00
|
|
239
310
|
*/
|
|
240
311
|
expiredTime?: string;
|
|
312
|
+
/**
|
|
313
|
+
* @example
|
|
314
|
+
* 2.0.0
|
|
315
|
+
*/
|
|
241
316
|
fotaVersion?: string;
|
|
242
317
|
/**
|
|
243
318
|
* @remarks
|
|
@@ -250,6 +325,9 @@ export class ListWuyingServerResponseBodyWuyingServerList extends $dara.Model {
|
|
|
250
325
|
/**
|
|
251
326
|
* @remarks
|
|
252
327
|
* The image name.
|
|
328
|
+
*
|
|
329
|
+
* @example
|
|
330
|
+
* Ubuntu 22.04
|
|
253
331
|
*/
|
|
254
332
|
imageName?: string;
|
|
255
333
|
/**
|
|
@@ -257,6 +335,10 @@ export class ListWuyingServerResponseBodyWuyingServerList extends $dara.Model {
|
|
|
257
335
|
* The list of information about the workstation instance.
|
|
258
336
|
*/
|
|
259
337
|
instanceInfoList?: ListWuyingServerResponseBodyWuyingServerListInstanceInfoList[];
|
|
338
|
+
/**
|
|
339
|
+
* @example
|
|
340
|
+
* 0.5
|
|
341
|
+
*/
|
|
260
342
|
maxPrice?: number;
|
|
261
343
|
/**
|
|
262
344
|
* @remarks
|
|
@@ -299,6 +381,11 @@ export class ListWuyingServerResponseBodyWuyingServerList extends $dara.Model {
|
|
|
299
381
|
*/
|
|
300
382
|
osType?: string;
|
|
301
383
|
policyGroupIdList?: string[];
|
|
384
|
+
privateIpSets?: ListWuyingServerResponseBodyWuyingServerListPrivateIpSets[];
|
|
385
|
+
/**
|
|
386
|
+
* @example
|
|
387
|
+
* Connected
|
|
388
|
+
*/
|
|
302
389
|
resourceSessionStatus?: string;
|
|
303
390
|
securityGroupIds?: string[];
|
|
304
391
|
/**
|
|
@@ -315,6 +402,10 @@ export class ListWuyingServerResponseBodyWuyingServerList extends $dara.Model {
|
|
|
315
402
|
* RUNNING
|
|
316
403
|
*/
|
|
317
404
|
status?: string;
|
|
405
|
+
/**
|
|
406
|
+
* @example
|
|
407
|
+
* spot
|
|
408
|
+
*/
|
|
318
409
|
subPayType?: string;
|
|
319
410
|
/**
|
|
320
411
|
* @remarks
|
|
@@ -324,6 +415,10 @@ export class ListWuyingServerResponseBodyWuyingServerList extends $dara.Model {
|
|
|
324
415
|
* cloud_auto
|
|
325
416
|
*/
|
|
326
417
|
systemDiskCategory?: string;
|
|
418
|
+
/**
|
|
419
|
+
* @example
|
|
420
|
+
* d-bp1234567890abcde
|
|
421
|
+
*/
|
|
327
422
|
systemDiskId?: string;
|
|
328
423
|
/**
|
|
329
424
|
* @remarks
|
|
@@ -341,10 +436,28 @@ export class ListWuyingServerResponseBodyWuyingServerList extends $dara.Model {
|
|
|
341
436
|
* 100
|
|
342
437
|
*/
|
|
343
438
|
systemDiskSize?: number;
|
|
439
|
+
/**
|
|
440
|
+
* @example
|
|
441
|
+
* tg-bp1234567890abcde
|
|
442
|
+
*/
|
|
344
443
|
timerGroupId?: string;
|
|
345
444
|
users?: string[];
|
|
445
|
+
/**
|
|
446
|
+
* @example
|
|
447
|
+
* 10.0.0.100
|
|
448
|
+
*/
|
|
346
449
|
virtualKubeletIp?: string;
|
|
450
|
+
/**
|
|
451
|
+
* @example
|
|
452
|
+
* vnp-bp1234567890abcde
|
|
453
|
+
*/
|
|
347
454
|
virtualNodePoolId?: string;
|
|
455
|
+
vkUpgradeNeeded?: boolean;
|
|
456
|
+
/**
|
|
457
|
+
* @example
|
|
458
|
+
* 1.0.0
|
|
459
|
+
*/
|
|
460
|
+
vkVersion?: string;
|
|
348
461
|
/**
|
|
349
462
|
* @remarks
|
|
350
463
|
* The ID of the workstation.
|
|
@@ -370,6 +483,7 @@ export class ListWuyingServerResponseBodyWuyingServerList extends $dara.Model {
|
|
|
370
483
|
chargeType: 'ChargeType',
|
|
371
484
|
createTime: 'CreateTime',
|
|
372
485
|
dataDisk: 'DataDisk',
|
|
486
|
+
eniPrivateIpAddressQuantity: 'EniPrivateIpAddressQuantity',
|
|
373
487
|
expiredTime: 'ExpiredTime',
|
|
374
488
|
fotaVersion: 'FotaVersion',
|
|
375
489
|
imageId: 'ImageId',
|
|
@@ -382,6 +496,7 @@ export class ListWuyingServerResponseBodyWuyingServerList extends $dara.Model {
|
|
|
382
496
|
officeSiteType: 'OfficeSiteType',
|
|
383
497
|
osType: 'OsType',
|
|
384
498
|
policyGroupIdList: 'PolicyGroupIdList',
|
|
499
|
+
privateIpSets: 'PrivateIpSets',
|
|
385
500
|
resourceSessionStatus: 'ResourceSessionStatus',
|
|
386
501
|
securityGroupIds: 'SecurityGroupIds',
|
|
387
502
|
serverInstanceTypeInfo: 'ServerInstanceTypeInfo',
|
|
@@ -396,6 +511,8 @@ export class ListWuyingServerResponseBodyWuyingServerList extends $dara.Model {
|
|
|
396
511
|
users: 'Users',
|
|
397
512
|
virtualKubeletIp: 'VirtualKubeletIp',
|
|
398
513
|
virtualNodePoolId: 'VirtualNodePoolId',
|
|
514
|
+
vkUpgradeNeeded: 'VkUpgradeNeeded',
|
|
515
|
+
vkVersion: 'VkVersion',
|
|
399
516
|
wuyingServerId: 'WuyingServerId',
|
|
400
517
|
wuyingServerName: 'WuyingServerName',
|
|
401
518
|
};
|
|
@@ -410,6 +527,7 @@ export class ListWuyingServerResponseBodyWuyingServerList extends $dara.Model {
|
|
|
410
527
|
chargeType: 'string',
|
|
411
528
|
createTime: 'string',
|
|
412
529
|
dataDisk: { 'type': 'array', 'itemType': ListWuyingServerResponseBodyWuyingServerListDataDisk },
|
|
530
|
+
eniPrivateIpAddressQuantity: 'number',
|
|
413
531
|
expiredTime: 'string',
|
|
414
532
|
fotaVersion: 'string',
|
|
415
533
|
imageId: 'string',
|
|
@@ -422,6 +540,7 @@ export class ListWuyingServerResponseBodyWuyingServerList extends $dara.Model {
|
|
|
422
540
|
officeSiteType: 'string',
|
|
423
541
|
osType: 'string',
|
|
424
542
|
policyGroupIdList: { 'type': 'array', 'itemType': 'string' },
|
|
543
|
+
privateIpSets: { 'type': 'array', 'itemType': ListWuyingServerResponseBodyWuyingServerListPrivateIpSets },
|
|
425
544
|
resourceSessionStatus: 'string',
|
|
426
545
|
securityGroupIds: { 'type': 'array', 'itemType': 'string' },
|
|
427
546
|
serverInstanceTypeInfo: ListWuyingServerResponseBodyWuyingServerListServerInstanceTypeInfo,
|
|
@@ -436,6 +555,8 @@ export class ListWuyingServerResponseBodyWuyingServerList extends $dara.Model {
|
|
|
436
555
|
users: { 'type': 'array', 'itemType': 'string' },
|
|
437
556
|
virtualKubeletIp: 'string',
|
|
438
557
|
virtualNodePoolId: 'string',
|
|
558
|
+
vkUpgradeNeeded: 'boolean',
|
|
559
|
+
vkVersion: 'string',
|
|
439
560
|
wuyingServerId: 'string',
|
|
440
561
|
wuyingServerName: 'string',
|
|
441
562
|
};
|
|
@@ -451,6 +572,9 @@ export class ListWuyingServerResponseBodyWuyingServerList extends $dara.Model {
|
|
|
451
572
|
if(Array.isArray(this.policyGroupIdList)) {
|
|
452
573
|
$dara.Model.validateArray(this.policyGroupIdList);
|
|
453
574
|
}
|
|
575
|
+
if(Array.isArray(this.privateIpSets)) {
|
|
576
|
+
$dara.Model.validateArray(this.privateIpSets);
|
|
577
|
+
}
|
|
454
578
|
if(Array.isArray(this.securityGroupIds)) {
|
|
455
579
|
$dara.Model.validateArray(this.securityGroupIds);
|
|
456
580
|
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UnassignWuyingServerPrivateAddressesRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ["10.0.0.2","10.0.0.3"]
|
|
12
|
+
*/
|
|
13
|
+
privateIpAddresses?: string[];
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* This parameter is required.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* aig-bp1234567890abcde
|
|
20
|
+
*/
|
|
21
|
+
wuyingServerId?: string;
|
|
22
|
+
static names(): { [key: string]: string } {
|
|
23
|
+
return {
|
|
24
|
+
privateIpAddresses: 'PrivateIpAddresses',
|
|
25
|
+
wuyingServerId: 'WuyingServerId',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
privateIpAddresses: { 'type': 'array', 'itemType': 'string' },
|
|
32
|
+
wuyingServerId: 'string',
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
validate() {
|
|
37
|
+
if(Array.isArray(this.privateIpAddresses)) {
|
|
38
|
+
$dara.Model.validateArray(this.privateIpAddresses);
|
|
39
|
+
}
|
|
40
|
+
super.validate();
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
constructor(map?: { [key: string]: any }) {
|
|
44
|
+
super(map);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { UnassignWuyingServerPrivateAddressesResponseBody } from "./UnassignWuyingServerPrivateAddressesResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class UnassignWuyingServerPrivateAddressesResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: UnassignWuyingServerPrivateAddressesResponseBody;
|
|
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: UnassignWuyingServerPrivateAddressesResponseBody,
|
|
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,34 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UnassignWuyingServerPrivateAddressesResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Id of the request
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 1CBAFFAB-B697-4049-A9B1-67E1FC5F****
|
|
12
|
+
*/
|
|
13
|
+
requestId?: string;
|
|
14
|
+
static names(): { [key: string]: string } {
|
|
15
|
+
return {
|
|
16
|
+
requestId: 'RequestId',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
requestId: 'string',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
super.validate();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
constructor(map?: { [key: string]: any }) {
|
|
31
|
+
super(map);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -89,6 +89,7 @@ export { ListTagCloudResourcesResponseBodyResourceTags } from './ListTagCloudRes
|
|
|
89
89
|
export { ListTenantConfigResponseBodyTenantConfigModel } from './ListTenantConfigResponseBody';
|
|
90
90
|
export { ListWuyingServerResponseBodyWuyingServerListDataDisk } from './ListWuyingServerResponseBody';
|
|
91
91
|
export { ListWuyingServerResponseBodyWuyingServerListInstanceInfoList } from './ListWuyingServerResponseBody';
|
|
92
|
+
export { ListWuyingServerResponseBodyWuyingServerListPrivateIpSets } from './ListWuyingServerResponseBody';
|
|
92
93
|
export { ListWuyingServerResponseBodyWuyingServerListServerInstanceTypeInfo } from './ListWuyingServerResponseBody';
|
|
93
94
|
export { ListWuyingServerResponseBodyWuyingServerListSessions } from './ListWuyingServerResponseBody';
|
|
94
95
|
export { ListWuyingServerResponseBodyWuyingServerList } from './ListWuyingServerResponseBody';
|
|
@@ -127,6 +128,9 @@ export { UpdateModelProviderTemplateRequestConfig } from './UpdateModelProviderT
|
|
|
127
128
|
export { ApproveOtaTaskRequest } from './ApproveOtaTaskRequest';
|
|
128
129
|
export { ApproveOtaTaskResponseBody } from './ApproveOtaTaskResponseBody';
|
|
129
130
|
export { ApproveOtaTaskResponse } from './ApproveOtaTaskResponse';
|
|
131
|
+
export { AssignWuyingServerPrivateAddressesRequest } from './AssignWuyingServerPrivateAddressesRequest';
|
|
132
|
+
export { AssignWuyingServerPrivateAddressesResponseBody } from './AssignWuyingServerPrivateAddressesResponseBody';
|
|
133
|
+
export { AssignWuyingServerPrivateAddressesResponse } from './AssignWuyingServerPrivateAddressesResponse';
|
|
130
134
|
export { AuthorizeInstanceGroupRequest } from './AuthorizeInstanceGroupRequest';
|
|
131
135
|
export { AuthorizeInstanceGroupShrinkRequest } from './AuthorizeInstanceGroupShrinkRequest';
|
|
132
136
|
export { AuthorizeInstanceGroupResponseBody } from './AuthorizeInstanceGroupResponseBody';
|
|
@@ -335,6 +339,9 @@ export { StopWuyingServerResponse } from './StopWuyingServerResponse';
|
|
|
335
339
|
export { TagCloudResourcesRequest } from './TagCloudResourcesRequest';
|
|
336
340
|
export { TagCloudResourcesResponseBody } from './TagCloudResourcesResponseBody';
|
|
337
341
|
export { TagCloudResourcesResponse } from './TagCloudResourcesResponse';
|
|
342
|
+
export { UnassignWuyingServerPrivateAddressesRequest } from './UnassignWuyingServerPrivateAddressesRequest';
|
|
343
|
+
export { UnassignWuyingServerPrivateAddressesResponseBody } from './UnassignWuyingServerPrivateAddressesResponseBody';
|
|
344
|
+
export { UnassignWuyingServerPrivateAddressesResponse } from './UnassignWuyingServerPrivateAddressesResponse';
|
|
338
345
|
export { UnbindRequest } from './UnbindRequest';
|
|
339
346
|
export { UnbindResponseBody } from './UnbindResponseBody';
|
|
340
347
|
export { UnbindResponse } from './UnbindResponse';
|