@alicloud/ecs20140526 7.2.2 → 7.2.3
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 +6 -6
- package/dist/client.js +6 -6
- package/dist/models/CreateElasticityAssuranceRequest.d.ts +10 -10
- package/dist/models/CreateImagePipelineRequest.d.ts +20 -0
- package/dist/models/CreateImagePipelineRequest.js +37 -1
- package/dist/models/CreateImagePipelineRequest.js.map +1 -1
- package/dist/models/DescribeDiagnosticMetricsRequest.d.ts +0 -4
- package/dist/models/DescribeDiagnosticMetricsRequest.js.map +1 -1
- package/dist/models/DescribeDisksRequest.d.ts +3 -5
- package/dist/models/DescribeDisksRequest.js.map +1 -1
- package/dist/models/DescribeDisksResponseBody.d.ts +1 -1
- package/dist/models/DescribeImagePipelinesResponseBody.d.ts +33 -0
- package/dist/models/DescribeImagePipelinesResponseBody.js +59 -1
- package/dist/models/DescribeImagePipelinesResponseBody.js.map +1 -1
- package/dist/models/DescribeInvocationResultsResponseBody.d.ts +25 -0
- package/dist/models/DescribeInvocationResultsResponseBody.js.map +1 -1
- package/dist/models/DescribeInvocationsResponseBody.d.ts +25 -0
- package/dist/models/DescribeInvocationsResponseBody.js.map +1 -1
- package/dist/models/DescribePortRangeListsRequest.d.ts +2 -2
- package/dist/models/DescribeRecommendInstanceTypeRequest.d.ts +10 -10
- package/dist/models/DescribeSnapshotLinksResponseBody.d.ts +3 -1
- package/dist/models/DescribeSnapshotLinksResponseBody.js.map +1 -1
- package/dist/models/DescribeSnapshotsResponseBody.d.ts +3 -1
- package/dist/models/DescribeSnapshotsResponseBody.js.map +1 -1
- package/dist/models/ModifyDedicatedHostsChargeTypeRequest.d.ts +3 -3
- package/dist/models/ModifyDedicatedHostsChargeTypeResponseBody.d.ts +1 -1
- package/dist/models/ModifyInstanceNetworkOptionsRequest.d.ts +9 -7
- package/dist/models/ModifyInstanceNetworkOptionsRequest.js.map +1 -1
- package/dist/models/ModifyInstanceNetworkOptionsResponseBody.d.ts +3 -3
- package/dist/models/ModifySnapshotCategoryRequest.d.ts +5 -3
- package/dist/models/ModifySnapshotCategoryRequest.js.map +1 -1
- package/dist/models/model.d.ts +3 -0
- package/dist/models/model.js +57 -51
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +6 -6
- package/src/models/CreateElasticityAssuranceRequest.ts +10 -10
- package/src/models/CreateImagePipelineRequest.ts +47 -0
- package/src/models/DescribeDiagnosticMetricsRequest.ts +0 -4
- package/src/models/DescribeDisksRequest.ts +3 -5
- package/src/models/DescribeDisksResponseBody.ts +1 -1
- package/src/models/DescribeImagePipelinesResponseBody.ts +73 -0
- package/src/models/DescribeInvocationResultsResponseBody.ts +25 -0
- package/src/models/DescribeInvocationsResponseBody.ts +25 -0
- package/src/models/DescribePortRangeListsRequest.ts +2 -2
- package/src/models/DescribeRecommendInstanceTypeRequest.ts +10 -10
- package/src/models/DescribeSnapshotLinksResponseBody.ts +3 -1
- package/src/models/DescribeSnapshotsResponseBody.ts +3 -1
- package/src/models/ModifyDedicatedHostsChargeTypeRequest.ts +3 -3
- package/src/models/ModifyDedicatedHostsChargeTypeResponseBody.ts +1 -1
- package/src/models/ModifyInstanceNetworkOptionsRequest.ts +9 -7
- package/src/models/ModifyInstanceNetworkOptionsResponseBody.ts +3 -3
- package/src/models/ModifySnapshotCategoryRequest.ts +5 -3
- package/src/models/model.ts +3 -0
|
@@ -947,7 +947,7 @@ export class DescribeDisksResponseBody extends $dara.Model {
|
|
|
947
947
|
* @remarks
|
|
948
948
|
* The total number of entries returned.
|
|
949
949
|
*
|
|
950
|
-
* >
|
|
950
|
+
* > When using the `MaxResults` and `NextToken` parameters for a paginated query, the returned `TotalCount` parameter value is invalid.
|
|
951
951
|
*
|
|
952
952
|
* @example
|
|
953
953
|
* 15
|
|
@@ -343,6 +343,7 @@ export class DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImpo
|
|
|
343
343
|
}
|
|
344
344
|
|
|
345
345
|
export class DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsFeatures extends $dara.Model {
|
|
346
|
+
imdsSupport?: string;
|
|
346
347
|
/**
|
|
347
348
|
* @remarks
|
|
348
349
|
* Indicates whether the image supports the NVMe protocol. Valid values:
|
|
@@ -356,12 +357,14 @@ export class DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImpo
|
|
|
356
357
|
nvmeSupport?: string;
|
|
357
358
|
static names(): { [key: string]: string } {
|
|
358
359
|
return {
|
|
360
|
+
imdsSupport: 'ImdsSupport',
|
|
359
361
|
nvmeSupport: 'NvmeSupport',
|
|
360
362
|
};
|
|
361
363
|
}
|
|
362
364
|
|
|
363
365
|
static types(): { [key: string]: any } {
|
|
364
366
|
return {
|
|
367
|
+
imdsSupport: 'string',
|
|
365
368
|
nvmeSupport: 'string',
|
|
366
369
|
};
|
|
367
370
|
}
|
|
@@ -375,6 +378,58 @@ export class DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImpo
|
|
|
375
378
|
}
|
|
376
379
|
}
|
|
377
380
|
|
|
381
|
+
export class DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsImportImageTagsImportImageTag extends $dara.Model {
|
|
382
|
+
key?: string;
|
|
383
|
+
value?: string;
|
|
384
|
+
static names(): { [key: string]: string } {
|
|
385
|
+
return {
|
|
386
|
+
key: 'Key',
|
|
387
|
+
value: 'Value',
|
|
388
|
+
};
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
static types(): { [key: string]: any } {
|
|
392
|
+
return {
|
|
393
|
+
key: 'string',
|
|
394
|
+
value: 'string',
|
|
395
|
+
};
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
validate() {
|
|
399
|
+
super.validate();
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
constructor(map?: { [key: string]: any }) {
|
|
403
|
+
super(map);
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
export class DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsImportImageTags extends $dara.Model {
|
|
408
|
+
importImageTag?: DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsImportImageTagsImportImageTag[];
|
|
409
|
+
static names(): { [key: string]: string } {
|
|
410
|
+
return {
|
|
411
|
+
importImageTag: 'ImportImageTag',
|
|
412
|
+
};
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
static types(): { [key: string]: any } {
|
|
416
|
+
return {
|
|
417
|
+
importImageTag: { 'type': 'array', 'itemType': DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsImportImageTagsImportImageTag },
|
|
418
|
+
};
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
validate() {
|
|
422
|
+
if(Array.isArray(this.importImageTag)) {
|
|
423
|
+
$dara.Model.validateArray(this.importImageTag);
|
|
424
|
+
}
|
|
425
|
+
super.validate();
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
constructor(map?: { [key: string]: any }) {
|
|
429
|
+
super(map);
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
|
|
378
433
|
export class DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptions extends $dara.Model {
|
|
379
434
|
/**
|
|
380
435
|
* @remarks
|
|
@@ -398,6 +453,7 @@ export class DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImpo
|
|
|
398
453
|
* BIOS
|
|
399
454
|
*/
|
|
400
455
|
bootMode?: string;
|
|
456
|
+
description?: string;
|
|
401
457
|
/**
|
|
402
458
|
* @remarks
|
|
403
459
|
* The information of disks from which the custom images are created.
|
|
@@ -411,6 +467,8 @@ export class DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImpo
|
|
|
411
467
|
* The feature attributes of the image.
|
|
412
468
|
*/
|
|
413
469
|
features?: DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsFeatures;
|
|
470
|
+
imageName?: string;
|
|
471
|
+
importImageTags?: DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsImportImageTags;
|
|
414
472
|
/**
|
|
415
473
|
* @remarks
|
|
416
474
|
* The type of the license to use to activate the operating system after the image is imported. Valid values:
|
|
@@ -478,16 +536,23 @@ export class DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImpo
|
|
|
478
536
|
* false
|
|
479
537
|
*/
|
|
480
538
|
retainImportedImage?: boolean;
|
|
539
|
+
retentionStrategy?: string;
|
|
540
|
+
roleName?: string;
|
|
481
541
|
static names(): { [key: string]: string } {
|
|
482
542
|
return {
|
|
483
543
|
architecture: 'Architecture',
|
|
484
544
|
bootMode: 'BootMode',
|
|
545
|
+
description: 'Description',
|
|
485
546
|
diskDeviceMappings: 'DiskDeviceMappings',
|
|
486
547
|
features: 'Features',
|
|
548
|
+
imageName: 'ImageName',
|
|
549
|
+
importImageTags: 'ImportImageTags',
|
|
487
550
|
licenseType: 'LicenseType',
|
|
488
551
|
OSType: 'OSType',
|
|
489
552
|
platform: 'Platform',
|
|
490
553
|
retainImportedImage: 'RetainImportedImage',
|
|
554
|
+
retentionStrategy: 'RetentionStrategy',
|
|
555
|
+
roleName: 'RoleName',
|
|
491
556
|
};
|
|
492
557
|
}
|
|
493
558
|
|
|
@@ -495,12 +560,17 @@ export class DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImpo
|
|
|
495
560
|
return {
|
|
496
561
|
architecture: 'string',
|
|
497
562
|
bootMode: 'string',
|
|
563
|
+
description: 'string',
|
|
498
564
|
diskDeviceMappings: DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsDiskDeviceMappings,
|
|
499
565
|
features: DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsFeatures,
|
|
566
|
+
imageName: 'string',
|
|
567
|
+
importImageTags: DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsImportImageTags,
|
|
500
568
|
licenseType: 'string',
|
|
501
569
|
OSType: 'string',
|
|
502
570
|
platform: 'string',
|
|
503
571
|
retainImportedImage: 'boolean',
|
|
572
|
+
retentionStrategy: 'string',
|
|
573
|
+
roleName: 'string',
|
|
504
574
|
};
|
|
505
575
|
}
|
|
506
576
|
|
|
@@ -511,6 +581,9 @@ export class DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImpo
|
|
|
511
581
|
if(this.features && typeof (this.features as any).validate === 'function') {
|
|
512
582
|
(this.features as any).validate();
|
|
513
583
|
}
|
|
584
|
+
if(this.importImageTags && typeof (this.importImageTags as any).validate === 'function') {
|
|
585
|
+
(this.importImageTags as any).validate();
|
|
586
|
+
}
|
|
514
587
|
super.validate();
|
|
515
588
|
}
|
|
516
589
|
|
|
@@ -271,8 +271,33 @@ export class DescribeInvocationResultsResponseBodyInvocationInvocationResultsInv
|
|
|
271
271
|
* python3 -u {{ACS::ScriptFileName|Ext(".py")}}
|
|
272
272
|
*/
|
|
273
273
|
launcher?: string;
|
|
274
|
+
/**
|
|
275
|
+
* @remarks
|
|
276
|
+
* Command to execute the Output OSS delivery configuration.
|
|
277
|
+
*
|
|
278
|
+
* @example
|
|
279
|
+
* oss://testBucket/testPrefix
|
|
280
|
+
*/
|
|
274
281
|
ossOutputDelivery?: string;
|
|
282
|
+
/**
|
|
283
|
+
* @remarks
|
|
284
|
+
* The output delivery status of the command execution. Valid values:
|
|
285
|
+
*
|
|
286
|
+
* * InProgress: The delivery is in progress.
|
|
287
|
+
* * Finished: The delivery is complete.
|
|
288
|
+
* * Failed: The delivery failed.
|
|
289
|
+
*
|
|
290
|
+
* @example
|
|
291
|
+
* Finished
|
|
292
|
+
*/
|
|
275
293
|
ossOutputStatus?: string;
|
|
294
|
+
/**
|
|
295
|
+
* @remarks
|
|
296
|
+
* The command execution Output delivers the object URI to OSS. This field is an empty string when the delivery fails or is in progress.
|
|
297
|
+
*
|
|
298
|
+
* @example
|
|
299
|
+
* oss://testBucket/testPrefix/output.txt
|
|
300
|
+
*/
|
|
276
301
|
ossOutputUri?: string;
|
|
277
302
|
/**
|
|
278
303
|
* @remarks
|
|
@@ -151,7 +151,25 @@ export class DescribeInvocationsResponseBodyInvocationsInvocationInvokeInstances
|
|
|
151
151
|
* Success
|
|
152
152
|
*/
|
|
153
153
|
invocationStatus?: string;
|
|
154
|
+
/**
|
|
155
|
+
* @remarks
|
|
156
|
+
* The output delivery status of the command execution. Valid values:
|
|
157
|
+
*
|
|
158
|
+
* * InProgress: The delivery is in progress.
|
|
159
|
+
* * Finished: The delivery is complete.
|
|
160
|
+
* * Failed: The delivery failed.
|
|
161
|
+
*
|
|
162
|
+
* @example
|
|
163
|
+
* Finished
|
|
164
|
+
*/
|
|
154
165
|
ossOutputStatus?: string;
|
|
166
|
+
/**
|
|
167
|
+
* @remarks
|
|
168
|
+
* The command execution Output delivers the object URI to OSS. This field is an empty string when the delivery fails or is in progress.
|
|
169
|
+
*
|
|
170
|
+
* @example
|
|
171
|
+
* oss://testBucket/testPrefix/output.txt
|
|
172
|
+
*/
|
|
155
173
|
ossOutputUri?: string;
|
|
156
174
|
/**
|
|
157
175
|
* @remarks
|
|
@@ -494,6 +512,13 @@ export class DescribeInvocationsResponseBodyInvocationsInvocation extends $dara.
|
|
|
494
512
|
* python3 -u {{ACS::ScriptFileName|Ext(".py")}}
|
|
495
513
|
*/
|
|
496
514
|
launcher?: string;
|
|
515
|
+
/**
|
|
516
|
+
* @remarks
|
|
517
|
+
* Command to execute the Output OSS delivery configuration.
|
|
518
|
+
*
|
|
519
|
+
* @example
|
|
520
|
+
* oss://testBucket/testPrefix
|
|
521
|
+
*/
|
|
497
522
|
ossOutputDelivery?: string;
|
|
498
523
|
/**
|
|
499
524
|
* @remarks
|
|
@@ -47,9 +47,9 @@ export class DescribePortRangeListsRequestTag extends $dara.Model {
|
|
|
47
47
|
export class DescribePortRangeListsRequest extends $dara.Model {
|
|
48
48
|
/**
|
|
49
49
|
* @remarks
|
|
50
|
-
* The number of entries per page.
|
|
50
|
+
* The maximum number of entries per page.
|
|
51
51
|
*
|
|
52
|
-
* *
|
|
52
|
+
* * Maximum value: 100
|
|
53
53
|
* * Default value: 10.
|
|
54
54
|
*
|
|
55
55
|
* @example
|
|
@@ -15,12 +15,12 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
15
15
|
cores?: number;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The billing method of ECS
|
|
18
|
+
* The billing method of the ECS instance. For more information, see [Billing overview](https://help.aliyun.com/document_detail/25398.html). Valid values:
|
|
19
19
|
*
|
|
20
|
-
* * PrePaid: subscription
|
|
20
|
+
* * PrePaid: subscription.
|
|
21
21
|
* * PostPaid: pay-as-you-go
|
|
22
22
|
*
|
|
23
|
-
* Default value: PostPaid
|
|
23
|
+
* Default value: PostPaid
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
26
26
|
* PostPaid
|
|
@@ -110,11 +110,11 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
110
110
|
ownerId?: number;
|
|
111
111
|
/**
|
|
112
112
|
* @remarks
|
|
113
|
-
* The policy
|
|
113
|
+
* The policy for recommending instance types. Valid values:
|
|
114
114
|
*
|
|
115
115
|
* * InventoryFirst: recommends instance types in descending order of resource availability.
|
|
116
116
|
* * PriceFirst: recommends the most cost-effective instance types. Recommended instance types appear based on the hourly prices of vCPUs in ascending order.
|
|
117
|
-
* * NewProductFirst: recommends the latest instance types.
|
|
117
|
+
* * NewProductFirst: recommends the latest instance types first.
|
|
118
118
|
*
|
|
119
119
|
* Default value: InventoryFirst.
|
|
120
120
|
*
|
|
@@ -136,7 +136,7 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
136
136
|
resourceOwnerId?: number;
|
|
137
137
|
/**
|
|
138
138
|
* @remarks
|
|
139
|
-
*
|
|
139
|
+
* Specifies the scenarios in which instance types are recommended. Valid values:
|
|
140
140
|
*
|
|
141
141
|
* * UPGRADE: instance type upgrade or downgrade
|
|
142
142
|
* * CREATE: instance creation
|
|
@@ -149,11 +149,11 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
149
149
|
scene?: string;
|
|
150
150
|
/**
|
|
151
151
|
* @remarks
|
|
152
|
-
* The bidding policy of spot
|
|
152
|
+
* The bidding policy of the spot instance. Valid values:
|
|
153
153
|
*
|
|
154
|
-
* * NoSpot: The
|
|
155
|
-
* * SpotWithPriceLimit: The
|
|
156
|
-
* * SpotAsPriceGo: The
|
|
154
|
+
* * NoSpot: The instance is created as a pay-as-you-go instance.
|
|
155
|
+
* * SpotWithPriceLimit: The instance is a spot instance that has a user-defined maximum hourly price.
|
|
156
|
+
* * SpotAsPriceGo: The instance is a spot instance for which the market price at the time of purchase is automatically used as the bid price. The market price can be up to the pay-as-you-go price.
|
|
157
157
|
*
|
|
158
158
|
* > If you specify `SpotStrategy`, you must set `InstanceChargeType` to `PostPaid`.
|
|
159
159
|
*
|
|
@@ -220,7 +220,9 @@ export class DescribeSnapshotLinksResponseBody extends $dara.Model {
|
|
|
220
220
|
snapshotLinks?: DescribeSnapshotLinksResponseBodySnapshotLinks;
|
|
221
221
|
/**
|
|
222
222
|
* @remarks
|
|
223
|
-
* The total number of
|
|
223
|
+
* The total number of snapshot chains.
|
|
224
|
+
*
|
|
225
|
+
* > When using the `MaxResults` and `NextToken` parameters for a paginated query, the returned `TotalCount` parameter value is invalid.
|
|
224
226
|
*
|
|
225
227
|
* @example
|
|
226
228
|
* 9
|
|
@@ -481,7 +481,9 @@ export class DescribeSnapshotsResponseBody extends $dara.Model {
|
|
|
481
481
|
snapshots?: DescribeSnapshotsResponseBodySnapshots;
|
|
482
482
|
/**
|
|
483
483
|
* @remarks
|
|
484
|
-
* The total number of snapshots
|
|
484
|
+
* The total number of snapshots.
|
|
485
|
+
*
|
|
486
|
+
* > When using the `MaxResults` and `NextToken` parameters for a paginated query, the returned `TotalCount` parameter value is invalid.
|
|
485
487
|
*
|
|
486
488
|
* @example
|
|
487
489
|
* 1
|
|
@@ -12,7 +12,7 @@ export class ModifyDedicatedHostsChargeTypeRequest extends $dara.Model {
|
|
|
12
12
|
*
|
|
13
13
|
* Default value: true.
|
|
14
14
|
*
|
|
15
|
-
* >
|
|
15
|
+
* > If you do not have sufficient balance in your account, you can set `AutoPay` to `false` to generate an unpaid order. Then, you can pay for the order.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* false
|
|
@@ -61,9 +61,9 @@ export class ModifyDedicatedHostsChargeTypeRequest extends $dara.Model {
|
|
|
61
61
|
detailFee?: boolean;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* Specifies whether to perform only a dry run
|
|
64
|
+
* Specifies whether to perform only a dry run. Valid values:
|
|
65
65
|
*
|
|
66
|
-
* * true: performs only a dry run. The system checks the request for potential issues, including invalid AccessKey pairs, unauthorized Resource Access Management (RAM) users, and missing parameter values.
|
|
66
|
+
* * true: performs only a dry run. The system checks the request for potential issues, including invalid AccessKey pairs, unauthorized Resource Access Management (RAM) users, and missing parameter values. Otherwise, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
|
|
67
67
|
* * false: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
|
|
68
68
|
*
|
|
69
69
|
* Default value: false.
|
|
@@ -90,7 +90,7 @@ export class ModifyDedicatedHostsChargeTypeResponseBody extends $dara.Model {
|
|
|
90
90
|
feeOfInstances?: ModifyDedicatedHostsChargeTypeResponseBodyFeeOfInstances;
|
|
91
91
|
/**
|
|
92
92
|
* @remarks
|
|
93
|
-
* The order
|
|
93
|
+
* The ID of the order. This is returned only when the payment method is changed to subscription.
|
|
94
94
|
*
|
|
95
95
|
* @example
|
|
96
96
|
* 20413515388****
|
|
@@ -5,15 +5,17 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifyInstanceNetworkOptionsRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The bandwidth weight.
|
|
8
|
+
* The bandwidth weight.
|
|
9
|
+
*
|
|
10
|
+
* The supported values vary with instance types. You can query the bandwidth weights supported by the current instance type by using the [DescribeInstanceTypes](https://help.aliyun.com/document_detail/2679699.html).
|
|
9
11
|
*
|
|
10
12
|
* Valid values:
|
|
11
13
|
*
|
|
12
|
-
* * Vpc-L1.
|
|
13
|
-
* * Vpc-L2.
|
|
14
|
-
* * Ebs-L1.
|
|
15
|
-
* * Ebs-L2.
|
|
16
|
-
* * Default.
|
|
14
|
+
* * Vpc-L1: Vpc-L1.
|
|
15
|
+
* * Vpc-L2: Vpc-L2.
|
|
16
|
+
* * Ebs-L1: Ebs-L1.
|
|
17
|
+
* * Ebs-L2: Ebs-L2.
|
|
18
|
+
* * Default: the Default.
|
|
17
19
|
*
|
|
18
20
|
* @example
|
|
19
21
|
* Vpc-L1
|
|
@@ -21,7 +23,7 @@ export class ModifyInstanceNetworkOptionsRequest extends $dara.Model {
|
|
|
21
23
|
bandwidthWeighting?: string;
|
|
22
24
|
/**
|
|
23
25
|
* @remarks
|
|
24
|
-
* The ID of the instance
|
|
26
|
+
* The ID of the instance whose network bandwidth weight is to be modified.
|
|
25
27
|
*
|
|
26
28
|
* @example
|
|
27
29
|
* i-bp67acfmxazb4p****
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifyInstanceNetworkOptionsResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* The request ID.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
@@ -13,9 +13,9 @@ export class ModifyInstanceNetworkOptionsResponseBody extends $dara.Model {
|
|
|
13
13
|
requestId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The ID of the
|
|
16
|
+
* The ID of the task for which the bandwidth weight is modified.
|
|
17
17
|
*
|
|
18
|
-
* You can
|
|
18
|
+
* You can use the [DescribeTasks](https://help.aliyun.com/document_detail/25622.html) interface to modify the bandwidth weight result.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* t-bp198jigq7l0h5ac****
|
|
@@ -19,11 +19,13 @@ export class ModifySnapshotCategoryRequest extends $dara.Model {
|
|
|
19
19
|
resourceOwnerId?: number;
|
|
20
20
|
/**
|
|
21
21
|
* @remarks
|
|
22
|
-
* The retention period of the snapshot. Unit: days. The retention period started at the point in time when the snapshot was created.
|
|
22
|
+
* The retention period of the snapshot. Unit: days. The retention period started at the point in time when the snapshot was created. You can archive only standard snapshots that have been retained for at least 14 days.
|
|
23
23
|
*
|
|
24
|
-
*
|
|
24
|
+
* After the snapshot is archived, the minimum retention period (also called minimum archive period) is 60 days. When you calculate the retention period of archived snapshots, you must deduct the retention period of standard snapshots. If you delete the snapshot within 60 days after the snapshot is archived, you are charged archive tier storage fees for the snapshot for 60 days. For more information about the billing of snapshots, see [Snapshots](https://help.aliyun.com/document_detail/56159.html).
|
|
25
25
|
*
|
|
26
|
-
*
|
|
26
|
+
* Value range [74,65536]
|
|
27
|
+
*
|
|
28
|
+
* > If you do not specify this parameter, the snapshot is permanently retained.
|
|
27
29
|
*
|
|
28
30
|
* @example
|
|
29
31
|
* 60
|
package/src/models/model.ts
CHANGED
|
@@ -72,6 +72,7 @@ export { CreateImagePipelineRequestImageOptionsImageTags } from './CreateImagePi
|
|
|
72
72
|
export { CreateImagePipelineRequestImageOptions } from './CreateImagePipelineRequest';
|
|
73
73
|
export { CreateImagePipelineRequestImportImageOptionsDiskDeviceMappings } from './CreateImagePipelineRequest';
|
|
74
74
|
export { CreateImagePipelineRequestImportImageOptionsFeatures } from './CreateImagePipelineRequest';
|
|
75
|
+
export { CreateImagePipelineRequestImportImageOptionsImportImageTags } from './CreateImagePipelineRequest';
|
|
75
76
|
export { CreateImagePipelineRequestImportImageOptions } from './CreateImagePipelineRequest';
|
|
76
77
|
export { CreateImagePipelineRequestTag } from './CreateImagePipelineRequest';
|
|
77
78
|
export { CreateInstanceRequestHibernationOptions } from './CreateInstanceRequest';
|
|
@@ -353,6 +354,8 @@ export { DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImageOpt
|
|
|
353
354
|
export { DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsDiskDeviceMappingsDiskDeviceMapping } from './DescribeImagePipelinesResponseBody';
|
|
354
355
|
export { DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsDiskDeviceMappings } from './DescribeImagePipelinesResponseBody';
|
|
355
356
|
export { DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsFeatures } from './DescribeImagePipelinesResponseBody';
|
|
357
|
+
export { DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsImportImageTagsImportImageTag } from './DescribeImagePipelinesResponseBody';
|
|
358
|
+
export { DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsImportImageTags } from './DescribeImagePipelinesResponseBody';
|
|
356
359
|
export { DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptions } from './DescribeImagePipelinesResponseBody';
|
|
357
360
|
export { DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetTagsTag } from './DescribeImagePipelinesResponseBody';
|
|
358
361
|
export { DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetTags } from './DescribeImagePipelinesResponseBody';
|