@alicloud/ecs20140526 7.7.6 → 7.8.1
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 +47 -2
- package/dist/client.js +227 -2
- package/dist/client.js.map +1 -1
- package/dist/models/CreateVscRequest.d.ts +86 -0
- package/dist/models/CreateVscRequest.js +106 -0
- package/dist/models/CreateVscRequest.js.map +1 -0
- package/dist/models/CreateVscResponse.d.ts +19 -0
- package/dist/models/CreateVscResponse.js +69 -0
- package/dist/models/CreateVscResponse.js.map +1 -0
- package/dist/models/CreateVscResponseBody.d.ts +23 -0
- package/dist/models/CreateVscResponseBody.js +60 -0
- package/dist/models/CreateVscResponseBody.js.map +1 -0
- package/dist/models/DeleteVscRequest.d.ts +43 -0
- package/dist/models/DeleteVscRequest.js +72 -0
- package/dist/models/DeleteVscRequest.js.map +1 -0
- package/dist/models/DeleteVscResponse.d.ts +19 -0
- package/dist/models/DeleteVscResponse.js +69 -0
- package/dist/models/DeleteVscResponse.js.map +1 -0
- package/dist/models/DeleteVscResponseBody.d.ts +21 -0
- package/dist/models/DeleteVscResponseBody.js +58 -0
- package/dist/models/DeleteVscResponseBody.js.map +1 -0
- package/dist/models/DescribeInstanceModificationPriceRequest.d.ts +43 -12
- package/dist/models/DescribeInstanceModificationPriceRequest.js +18 -0
- package/dist/models/DescribeInstanceModificationPriceRequest.js.map +1 -1
- package/dist/models/DescribeInstanceModificationPriceResponseBody.d.ts +46 -0
- package/dist/models/DescribeInstanceModificationPriceResponseBody.js +53 -1
- package/dist/models/DescribeInstanceModificationPriceResponseBody.js.map +1 -1
- package/dist/models/DescribeVscsRequest.d.ts +74 -0
- package/dist/models/DescribeVscsRequest.js +107 -0
- package/dist/models/DescribeVscsRequest.js.map +1 -0
- package/dist/models/DescribeVscsResponse.d.ts +19 -0
- package/dist/models/DescribeVscsResponse.js +69 -0
- package/dist/models/DescribeVscsResponse.js.map +1 -0
- package/dist/models/DescribeVscsResponseBody.d.ts +104 -0
- package/dist/models/DescribeVscsResponseBody.js +122 -0
- package/dist/models/DescribeVscsResponseBody.js.map +1 -0
- package/dist/models/ModifyInstanceAttributeRequest.d.ts +5 -0
- package/dist/models/ModifyInstanceAttributeRequest.js +2 -0
- package/dist/models/ModifyInstanceAttributeRequest.js.map +1 -1
- package/dist/models/RunInstancesRequest.d.ts +5 -0
- package/dist/models/RunInstancesRequest.js +2 -0
- package/dist/models/RunInstancesRequest.js.map +1 -1
- package/dist/models/model.d.ts +15 -0
- package/dist/models/model.js +75 -44
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +272 -2
- package/src/models/CreateVscRequest.ts +138 -0
- package/src/models/CreateVscResponse.ts +40 -0
- package/src/models/CreateVscResponseBody.ts +38 -0
- package/src/models/DeleteVscRequest.ts +70 -0
- package/src/models/DeleteVscResponse.ts +40 -0
- package/src/models/DeleteVscResponseBody.ts +34 -0
- package/src/models/DescribeInstanceModificationPriceRequest.ts +61 -12
- package/src/models/DescribeInstanceModificationPriceResponseBody.ts +80 -0
- package/src/models/DescribeVscsRequest.ts +127 -0
- package/src/models/DescribeVscsResponse.ts +40 -0
- package/src/models/DescribeVscsResponseBody.ts +163 -0
- package/src/models/ModifyInstanceAttributeRequest.ts +7 -0
- package/src/models/RunInstancesRequest.ts +7 -0
- package/src/models/model.ts +15 -0
|
@@ -3,30 +3,30 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeInstanceModificationPriceRequestSystemDisk extends $dara.Model {
|
|
6
|
+
category?: string;
|
|
6
7
|
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* The category of the system disk. You must specify this parameter only when you upgrade a non-I/O optimized instance of a retired instance type to an I/O optimized instance of an available instance type. For more information about instance types, see [Instance families](https://help.aliyun.com/document_detail/25378.html) and [Retired instance types](https://help.aliyun.com/document_detail/55263.html).
|
|
9
|
-
*
|
|
10
|
-
* Valid values:
|
|
11
|
-
*
|
|
12
|
-
* * cloud_efficiency: ultra disk
|
|
13
|
-
* * cloud_ssd: standard SSD
|
|
14
|
-
*
|
|
15
|
-
* This parameter is empty by default.
|
|
16
|
-
*
|
|
17
8
|
* @example
|
|
18
|
-
*
|
|
9
|
+
* PL0
|
|
19
10
|
*/
|
|
20
|
-
|
|
11
|
+
performanceLevel?: string;
|
|
12
|
+
/**
|
|
13
|
+
* @example
|
|
14
|
+
* 40
|
|
15
|
+
*/
|
|
16
|
+
size?: number;
|
|
21
17
|
static names(): { [key: string]: string } {
|
|
22
18
|
return {
|
|
23
19
|
category: 'Category',
|
|
20
|
+
performanceLevel: 'PerformanceLevel',
|
|
21
|
+
size: 'Size',
|
|
24
22
|
};
|
|
25
23
|
}
|
|
26
24
|
|
|
27
25
|
static types(): { [key: string]: any } {
|
|
28
26
|
return {
|
|
29
27
|
category: 'string',
|
|
28
|
+
performanceLevel: 'string',
|
|
29
|
+
size: 'number',
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
32
|
|
|
@@ -57,6 +57,11 @@ export class DescribeInstanceModificationPriceRequestDataDisk extends $dara.Mode
|
|
|
57
57
|
* cloud_essd
|
|
58
58
|
*/
|
|
59
59
|
category?: string;
|
|
60
|
+
/**
|
|
61
|
+
* @example
|
|
62
|
+
* d-bf4rupt9****
|
|
63
|
+
*/
|
|
64
|
+
diskId?: string;
|
|
60
65
|
/**
|
|
61
66
|
* @remarks
|
|
62
67
|
* The performance level of data disk N that is an enhanced SSD (ESSD). The value of N must be the same as that in `DataDisk.N.Category` when DataDisk.N.Category is set to cloud_essd. Valid values:
|
|
@@ -100,6 +105,7 @@ export class DescribeInstanceModificationPriceRequestDataDisk extends $dara.Mode
|
|
|
100
105
|
static names(): { [key: string]: string } {
|
|
101
106
|
return {
|
|
102
107
|
category: 'Category',
|
|
108
|
+
diskId: 'DiskId',
|
|
103
109
|
performanceLevel: 'PerformanceLevel',
|
|
104
110
|
size: 'Size',
|
|
105
111
|
};
|
|
@@ -108,6 +114,7 @@ export class DescribeInstanceModificationPriceRequestDataDisk extends $dara.Mode
|
|
|
108
114
|
static types(): { [key: string]: any } {
|
|
109
115
|
return {
|
|
110
116
|
category: 'string',
|
|
117
|
+
diskId: 'string',
|
|
111
118
|
performanceLevel: 'string',
|
|
112
119
|
size: 'number',
|
|
113
120
|
};
|
|
@@ -129,6 +136,21 @@ export class DescribeInstanceModificationPriceRequest extends $dara.Model {
|
|
|
129
136
|
* The information about data disks.
|
|
130
137
|
*/
|
|
131
138
|
dataDisk?: DescribeInstanceModificationPriceRequestDataDisk[];
|
|
139
|
+
/**
|
|
140
|
+
* @example
|
|
141
|
+
* 2025-12-06T22Z
|
|
142
|
+
*/
|
|
143
|
+
endTime?: string;
|
|
144
|
+
/**
|
|
145
|
+
* @example
|
|
146
|
+
* BGP
|
|
147
|
+
*/
|
|
148
|
+
ISP?: string;
|
|
149
|
+
/**
|
|
150
|
+
* @example
|
|
151
|
+
* aliyun_2_1903_x64_20G_alibase_20200324.vhd
|
|
152
|
+
*/
|
|
153
|
+
imageId?: string;
|
|
132
154
|
/**
|
|
133
155
|
* @remarks
|
|
134
156
|
* The ID of the instance for which you want to query pricing information for a configuration upgrade.
|
|
@@ -149,6 +171,16 @@ export class DescribeInstanceModificationPriceRequest extends $dara.Model {
|
|
|
149
171
|
* ecs.g6e.large
|
|
150
172
|
*/
|
|
151
173
|
instanceType?: string;
|
|
174
|
+
/**
|
|
175
|
+
* @example
|
|
176
|
+
* PayByTraffic
|
|
177
|
+
*/
|
|
178
|
+
internetChargeType?: string;
|
|
179
|
+
/**
|
|
180
|
+
* @example
|
|
181
|
+
* 10
|
|
182
|
+
*/
|
|
183
|
+
internetMaxBandwidthOut?: number;
|
|
152
184
|
ownerAccount?: string;
|
|
153
185
|
ownerId?: number;
|
|
154
186
|
/**
|
|
@@ -163,17 +195,28 @@ export class DescribeInstanceModificationPriceRequest extends $dara.Model {
|
|
|
163
195
|
regionId?: string;
|
|
164
196
|
resourceOwnerAccount?: string;
|
|
165
197
|
resourceOwnerId?: number;
|
|
198
|
+
/**
|
|
199
|
+
* @example
|
|
200
|
+
* 2025-12-05T22:40Z
|
|
201
|
+
*/
|
|
202
|
+
startTime?: string;
|
|
166
203
|
static names(): { [key: string]: string } {
|
|
167
204
|
return {
|
|
168
205
|
systemDisk: 'SystemDisk',
|
|
169
206
|
dataDisk: 'DataDisk',
|
|
207
|
+
endTime: 'EndTime',
|
|
208
|
+
ISP: 'ISP',
|
|
209
|
+
imageId: 'ImageId',
|
|
170
210
|
instanceId: 'InstanceId',
|
|
171
211
|
instanceType: 'InstanceType',
|
|
212
|
+
internetChargeType: 'InternetChargeType',
|
|
213
|
+
internetMaxBandwidthOut: 'InternetMaxBandwidthOut',
|
|
172
214
|
ownerAccount: 'OwnerAccount',
|
|
173
215
|
ownerId: 'OwnerId',
|
|
174
216
|
regionId: 'RegionId',
|
|
175
217
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
176
218
|
resourceOwnerId: 'ResourceOwnerId',
|
|
219
|
+
startTime: 'StartTime',
|
|
177
220
|
};
|
|
178
221
|
}
|
|
179
222
|
|
|
@@ -181,13 +224,19 @@ export class DescribeInstanceModificationPriceRequest extends $dara.Model {
|
|
|
181
224
|
return {
|
|
182
225
|
systemDisk: DescribeInstanceModificationPriceRequestSystemDisk,
|
|
183
226
|
dataDisk: { 'type': 'array', 'itemType': DescribeInstanceModificationPriceRequestDataDisk },
|
|
227
|
+
endTime: 'string',
|
|
228
|
+
ISP: 'string',
|
|
229
|
+
imageId: 'string',
|
|
184
230
|
instanceId: 'string',
|
|
185
231
|
instanceType: 'string',
|
|
232
|
+
internetChargeType: 'string',
|
|
233
|
+
internetMaxBandwidthOut: 'number',
|
|
186
234
|
ownerAccount: 'string',
|
|
187
235
|
ownerId: 'number',
|
|
188
236
|
regionId: 'string',
|
|
189
237
|
resourceOwnerAccount: 'string',
|
|
190
238
|
resourceOwnerId: 'number',
|
|
239
|
+
startTime: 'string',
|
|
191
240
|
};
|
|
192
241
|
}
|
|
193
242
|
|
|
@@ -187,6 +187,80 @@ export class DescribeInstanceModificationPriceResponseBodyPriceInfoPrice extends
|
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
+
export class DescribeInstanceModificationPriceResponseBodyPriceInfoRelatedPriceMarketplaceImagePrice extends $dara.Model {
|
|
191
|
+
/**
|
|
192
|
+
* @example
|
|
193
|
+
* CNY
|
|
194
|
+
*/
|
|
195
|
+
currency?: string;
|
|
196
|
+
/**
|
|
197
|
+
* @example
|
|
198
|
+
* 0
|
|
199
|
+
*/
|
|
200
|
+
discountPrice?: number;
|
|
201
|
+
/**
|
|
202
|
+
* @example
|
|
203
|
+
* 100
|
|
204
|
+
*/
|
|
205
|
+
originalPrice?: number;
|
|
206
|
+
/**
|
|
207
|
+
* @example
|
|
208
|
+
* 100
|
|
209
|
+
*/
|
|
210
|
+
tradePrice?: number;
|
|
211
|
+
static names(): { [key: string]: string } {
|
|
212
|
+
return {
|
|
213
|
+
currency: 'Currency',
|
|
214
|
+
discountPrice: 'DiscountPrice',
|
|
215
|
+
originalPrice: 'OriginalPrice',
|
|
216
|
+
tradePrice: 'TradePrice',
|
|
217
|
+
};
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
static types(): { [key: string]: any } {
|
|
221
|
+
return {
|
|
222
|
+
currency: 'string',
|
|
223
|
+
discountPrice: 'number',
|
|
224
|
+
originalPrice: 'number',
|
|
225
|
+
tradePrice: 'number',
|
|
226
|
+
};
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
validate() {
|
|
230
|
+
super.validate();
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
constructor(map?: { [key: string]: any }) {
|
|
234
|
+
super(map);
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
export class DescribeInstanceModificationPriceResponseBodyPriceInfoRelatedPrice extends $dara.Model {
|
|
239
|
+
marketplaceImagePrice?: DescribeInstanceModificationPriceResponseBodyPriceInfoRelatedPriceMarketplaceImagePrice;
|
|
240
|
+
static names(): { [key: string]: string } {
|
|
241
|
+
return {
|
|
242
|
+
marketplaceImagePrice: 'MarketplaceImagePrice',
|
|
243
|
+
};
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
static types(): { [key: string]: any } {
|
|
247
|
+
return {
|
|
248
|
+
marketplaceImagePrice: DescribeInstanceModificationPriceResponseBodyPriceInfoRelatedPriceMarketplaceImagePrice,
|
|
249
|
+
};
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
validate() {
|
|
253
|
+
if(this.marketplaceImagePrice && typeof (this.marketplaceImagePrice as any).validate === 'function') {
|
|
254
|
+
(this.marketplaceImagePrice as any).validate();
|
|
255
|
+
}
|
|
256
|
+
super.validate();
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
constructor(map?: { [key: string]: any }) {
|
|
260
|
+
super(map);
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
|
|
190
264
|
export class DescribeInstanceModificationPriceResponseBodyPriceInfoRulesRule extends $dara.Model {
|
|
191
265
|
description?: string;
|
|
192
266
|
ruleId?: number;
|
|
@@ -245,10 +319,12 @@ export class DescribeInstanceModificationPriceResponseBodyPriceInfo extends $dar
|
|
|
245
319
|
* The price.
|
|
246
320
|
*/
|
|
247
321
|
price?: DescribeInstanceModificationPriceResponseBodyPriceInfoPrice;
|
|
322
|
+
relatedPrice?: DescribeInstanceModificationPriceResponseBodyPriceInfoRelatedPrice;
|
|
248
323
|
rules?: DescribeInstanceModificationPriceResponseBodyPriceInfoRules;
|
|
249
324
|
static names(): { [key: string]: string } {
|
|
250
325
|
return {
|
|
251
326
|
price: 'Price',
|
|
327
|
+
relatedPrice: 'RelatedPrice',
|
|
252
328
|
rules: 'Rules',
|
|
253
329
|
};
|
|
254
330
|
}
|
|
@@ -256,6 +332,7 @@ export class DescribeInstanceModificationPriceResponseBodyPriceInfo extends $dar
|
|
|
256
332
|
static types(): { [key: string]: any } {
|
|
257
333
|
return {
|
|
258
334
|
price: DescribeInstanceModificationPriceResponseBodyPriceInfoPrice,
|
|
335
|
+
relatedPrice: DescribeInstanceModificationPriceResponseBodyPriceInfoRelatedPrice,
|
|
259
336
|
rules: DescribeInstanceModificationPriceResponseBodyPriceInfoRules,
|
|
260
337
|
};
|
|
261
338
|
}
|
|
@@ -264,6 +341,9 @@ export class DescribeInstanceModificationPriceResponseBodyPriceInfo extends $dar
|
|
|
264
341
|
if(this.price && typeof (this.price as any).validate === 'function') {
|
|
265
342
|
(this.price as any).validate();
|
|
266
343
|
}
|
|
344
|
+
if(this.relatedPrice && typeof (this.relatedPrice as any).validate === 'function') {
|
|
345
|
+
(this.relatedPrice as any).validate();
|
|
346
|
+
}
|
|
267
347
|
if(this.rules && typeof (this.rules as any).validate === 'function') {
|
|
268
348
|
(this.rules as any).validate();
|
|
269
349
|
}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeVscsRequestTag extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* Environment
|
|
9
|
+
*/
|
|
10
|
+
key?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* TestValue
|
|
14
|
+
*/
|
|
15
|
+
value?: string;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
key: 'Key',
|
|
19
|
+
value: 'Value',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
key: 'string',
|
|
26
|
+
value: 'string',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
validate() {
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export class DescribeVscsRequest extends $dara.Model {
|
|
40
|
+
/**
|
|
41
|
+
* @example
|
|
42
|
+
* i-bp67acfmxazb4ph****
|
|
43
|
+
*/
|
|
44
|
+
instanceId?: string;
|
|
45
|
+
/**
|
|
46
|
+
* @example
|
|
47
|
+
* 10
|
|
48
|
+
*/
|
|
49
|
+
maxResults?: number;
|
|
50
|
+
/**
|
|
51
|
+
* @example
|
|
52
|
+
* AAAAAdDWBF2
|
|
53
|
+
*/
|
|
54
|
+
nextToken?: string;
|
|
55
|
+
ownerAccount?: string;
|
|
56
|
+
ownerId?: number;
|
|
57
|
+
/**
|
|
58
|
+
* @remarks
|
|
59
|
+
* This parameter is required.
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
* cn-hangzhou
|
|
63
|
+
*/
|
|
64
|
+
regionId?: string;
|
|
65
|
+
/**
|
|
66
|
+
* @example
|
|
67
|
+
* rg-bp67acfmxazb4p****
|
|
68
|
+
*/
|
|
69
|
+
resourceGroupId?: string;
|
|
70
|
+
resourceOwnerAccount?: string;
|
|
71
|
+
resourceOwnerId?: number;
|
|
72
|
+
/**
|
|
73
|
+
* @example
|
|
74
|
+
* Successful
|
|
75
|
+
*/
|
|
76
|
+
status?: string;
|
|
77
|
+
tag?: DescribeVscsRequestTag[];
|
|
78
|
+
vscIds?: string[];
|
|
79
|
+
static names(): { [key: string]: string } {
|
|
80
|
+
return {
|
|
81
|
+
instanceId: 'InstanceId',
|
|
82
|
+
maxResults: 'MaxResults',
|
|
83
|
+
nextToken: 'NextToken',
|
|
84
|
+
ownerAccount: 'OwnerAccount',
|
|
85
|
+
ownerId: 'OwnerId',
|
|
86
|
+
regionId: 'RegionId',
|
|
87
|
+
resourceGroupId: 'ResourceGroupId',
|
|
88
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
89
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
90
|
+
status: 'Status',
|
|
91
|
+
tag: 'Tag',
|
|
92
|
+
vscIds: 'VscIds',
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
static types(): { [key: string]: any } {
|
|
97
|
+
return {
|
|
98
|
+
instanceId: 'string',
|
|
99
|
+
maxResults: 'number',
|
|
100
|
+
nextToken: 'string',
|
|
101
|
+
ownerAccount: 'string',
|
|
102
|
+
ownerId: 'number',
|
|
103
|
+
regionId: 'string',
|
|
104
|
+
resourceGroupId: 'string',
|
|
105
|
+
resourceOwnerAccount: 'string',
|
|
106
|
+
resourceOwnerId: 'number',
|
|
107
|
+
status: 'string',
|
|
108
|
+
tag: { 'type': 'array', 'itemType': DescribeVscsRequestTag },
|
|
109
|
+
vscIds: { 'type': 'array', 'itemType': 'string' },
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
validate() {
|
|
114
|
+
if(Array.isArray(this.tag)) {
|
|
115
|
+
$dara.Model.validateArray(this.tag);
|
|
116
|
+
}
|
|
117
|
+
if(Array.isArray(this.vscIds)) {
|
|
118
|
+
$dara.Model.validateArray(this.vscIds);
|
|
119
|
+
}
|
|
120
|
+
super.validate();
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
constructor(map?: { [key: string]: any }) {
|
|
124
|
+
super(map);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeVscsResponseBody } from "./DescribeVscsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeVscsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeVscsResponseBody;
|
|
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: DescribeVscsResponseBody,
|
|
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,163 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeVscsResponseBodyVscsTags extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* name
|
|
9
|
+
*/
|
|
10
|
+
tagKey?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 15
|
|
14
|
+
*/
|
|
15
|
+
tagValue?: string;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
tagKey: 'TagKey',
|
|
19
|
+
tagValue: 'TagValue',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
tagKey: 'string',
|
|
26
|
+
tagValue: 'string',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
validate() {
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export class DescribeVscsResponseBodyVscs extends $dara.Model {
|
|
40
|
+
/**
|
|
41
|
+
* @example
|
|
42
|
+
* ali***-post-cn-j4g45iqze00f
|
|
43
|
+
*/
|
|
44
|
+
description?: string;
|
|
45
|
+
/**
|
|
46
|
+
* @example
|
|
47
|
+
* i-uf69***21l8zuoizdq
|
|
48
|
+
*/
|
|
49
|
+
instanceId?: string;
|
|
50
|
+
/**
|
|
51
|
+
* @example
|
|
52
|
+
* rg-aek2zex4ehdyjvq
|
|
53
|
+
*/
|
|
54
|
+
resourceGroupId?: string;
|
|
55
|
+
/**
|
|
56
|
+
* @example
|
|
57
|
+
* In_use
|
|
58
|
+
*/
|
|
59
|
+
status?: string;
|
|
60
|
+
tags?: DescribeVscsResponseBodyVscsTags[];
|
|
61
|
+
/**
|
|
62
|
+
* @remarks
|
|
63
|
+
* VSC ID。
|
|
64
|
+
*
|
|
65
|
+
* @example
|
|
66
|
+
* vsc-hp34ue**g0wmycb27bwal
|
|
67
|
+
*/
|
|
68
|
+
vscId?: string;
|
|
69
|
+
/**
|
|
70
|
+
* @example
|
|
71
|
+
* test-vsc
|
|
72
|
+
*/
|
|
73
|
+
vscName?: string;
|
|
74
|
+
/**
|
|
75
|
+
* @example
|
|
76
|
+
* Primary
|
|
77
|
+
*/
|
|
78
|
+
vscType?: string;
|
|
79
|
+
static names(): { [key: string]: string } {
|
|
80
|
+
return {
|
|
81
|
+
description: 'Description',
|
|
82
|
+
instanceId: 'InstanceId',
|
|
83
|
+
resourceGroupId: 'ResourceGroupId',
|
|
84
|
+
status: 'Status',
|
|
85
|
+
tags: 'Tags',
|
|
86
|
+
vscId: 'VscId',
|
|
87
|
+
vscName: 'VscName',
|
|
88
|
+
vscType: 'VscType',
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
static types(): { [key: string]: any } {
|
|
93
|
+
return {
|
|
94
|
+
description: 'string',
|
|
95
|
+
instanceId: 'string',
|
|
96
|
+
resourceGroupId: 'string',
|
|
97
|
+
status: 'string',
|
|
98
|
+
tags: { 'type': 'array', 'itemType': DescribeVscsResponseBodyVscsTags },
|
|
99
|
+
vscId: 'string',
|
|
100
|
+
vscName: 'string',
|
|
101
|
+
vscType: 'string',
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
validate() {
|
|
106
|
+
if(Array.isArray(this.tags)) {
|
|
107
|
+
$dara.Model.validateArray(this.tags);
|
|
108
|
+
}
|
|
109
|
+
super.validate();
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
constructor(map?: { [key: string]: any }) {
|
|
113
|
+
super(map);
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
export class DescribeVscsResponseBody extends $dara.Model {
|
|
118
|
+
/**
|
|
119
|
+
* @example
|
|
120
|
+
* AAAAAdDWBF2
|
|
121
|
+
*/
|
|
122
|
+
nextToken?: string;
|
|
123
|
+
/**
|
|
124
|
+
* @remarks
|
|
125
|
+
* Id of the request
|
|
126
|
+
*
|
|
127
|
+
* @example
|
|
128
|
+
* 473469C7-AA6F-**-B3DB-A3DC0DE3C83E
|
|
129
|
+
*/
|
|
130
|
+
requestId?: string;
|
|
131
|
+
/**
|
|
132
|
+
* @remarks
|
|
133
|
+
* VSC
|
|
134
|
+
*/
|
|
135
|
+
vscs?: DescribeVscsResponseBodyVscs[];
|
|
136
|
+
static names(): { [key: string]: string } {
|
|
137
|
+
return {
|
|
138
|
+
nextToken: 'NextToken',
|
|
139
|
+
requestId: 'RequestId',
|
|
140
|
+
vscs: 'Vscs',
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
static types(): { [key: string]: any } {
|
|
145
|
+
return {
|
|
146
|
+
nextToken: 'string',
|
|
147
|
+
requestId: 'string',
|
|
148
|
+
vscs: { 'type': 'array', 'itemType': DescribeVscsResponseBodyVscs },
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
validate() {
|
|
153
|
+
if(Array.isArray(this.vscs)) {
|
|
154
|
+
$dara.Model.validateArray(this.vscs);
|
|
155
|
+
}
|
|
156
|
+
super.validate();
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
constructor(map?: { [key: string]: any }) {
|
|
160
|
+
super(map);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
@@ -41,11 +41,17 @@ export class ModifyInstanceAttributeRequestCpuOptions extends $dara.Model {
|
|
|
41
41
|
* DiscreteCoreToHTMapping
|
|
42
42
|
*/
|
|
43
43
|
topologyType?: string;
|
|
44
|
+
/**
|
|
45
|
+
* @example
|
|
46
|
+
* enabled
|
|
47
|
+
*/
|
|
48
|
+
nestedVirtualization?: string;
|
|
44
49
|
static names(): { [key: string]: string } {
|
|
45
50
|
return {
|
|
46
51
|
core: 'Core',
|
|
47
52
|
threadsPerCore: 'ThreadsPerCore',
|
|
48
53
|
topologyType: 'TopologyType',
|
|
54
|
+
nestedVirtualization: 'NestedVirtualization',
|
|
49
55
|
};
|
|
50
56
|
}
|
|
51
57
|
|
|
@@ -54,6 +60,7 @@ export class ModifyInstanceAttributeRequestCpuOptions extends $dara.Model {
|
|
|
54
60
|
core: 'number',
|
|
55
61
|
threadsPerCore: 'number',
|
|
56
62
|
topologyType: 'string',
|
|
63
|
+
nestedVirtualization: 'string',
|
|
57
64
|
};
|
|
58
65
|
}
|
|
59
66
|
|
|
@@ -45,12 +45,18 @@ export class RunInstancesRequestCpuOptions extends $dara.Model {
|
|
|
45
45
|
* DiscreteCoreToHTMapping
|
|
46
46
|
*/
|
|
47
47
|
topologyType?: string;
|
|
48
|
+
/**
|
|
49
|
+
* @example
|
|
50
|
+
* enabled
|
|
51
|
+
*/
|
|
52
|
+
nestedVirtualization?: string;
|
|
48
53
|
static names(): { [key: string]: string } {
|
|
49
54
|
return {
|
|
50
55
|
core: 'Core',
|
|
51
56
|
numa: 'Numa',
|
|
52
57
|
threadsPerCore: 'ThreadsPerCore',
|
|
53
58
|
topologyType: 'TopologyType',
|
|
59
|
+
nestedVirtualization: 'NestedVirtualization',
|
|
54
60
|
};
|
|
55
61
|
}
|
|
56
62
|
|
|
@@ -60,6 +66,7 @@ export class RunInstancesRequestCpuOptions extends $dara.Model {
|
|
|
60
66
|
numa: 'string',
|
|
61
67
|
threadsPerCore: 'number',
|
|
62
68
|
topologyType: 'string',
|
|
69
|
+
nestedVirtualization: 'string',
|
|
63
70
|
};
|
|
64
71
|
}
|
|
65
72
|
|