@alicloud/ecs20140526 7.0.8 → 7.0.9
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 +44 -36
- package/dist/client.js +47 -36
- package/dist/client.js.map +1 -1
- package/dist/models/CopyImageRequest.d.ts +19 -0
- package/dist/models/CopyImageRequest.js.map +1 -1
- package/dist/models/CreateAutoProvisioningGroupRequest.d.ts +9 -9
- package/dist/models/CreateAutoProvisioningGroupRequestLaunchConfiguration.d.ts +5 -5
- package/dist/models/CreateAutoProvisioningGroupRequestLaunchTemplateConfig.d.ts +1 -1
- package/dist/models/CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchResult.d.ts +2 -2
- package/dist/models/CreateAutoProvisioningGroupShrinkRequest.d.ts +9 -9
- package/dist/models/CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration.d.ts +5 -5
- package/dist/models/CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig.d.ts +1 -1
- package/dist/models/CreateInstanceRequest.d.ts +9 -9
- package/dist/models/CreateInstanceRequestPrivatePoolOptions.d.ts +1 -1
- package/dist/models/CreateLaunchTemplateRequest.d.ts +6 -6
- package/dist/models/CreateLaunchTemplateRequestDataDisk.d.ts +1 -1
- package/dist/models/CreateLaunchTemplateVersionRequest.d.ts +8 -8
- package/dist/models/CreateLaunchTemplateVersionRequestDataDisk.d.ts +2 -2
- package/dist/models/DescribeAccountAttributesRequest.d.ts +2 -2
- package/dist/models/DescribeAccountAttributesResponseBodyAccountAttributeItemsAccountAttributeItem.d.ts +2 -2
- package/dist/models/DescribeAutoProvisioningGroupInstancesResponseBodyInstancesInstance.d.ts +1 -1
- package/dist/models/DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoProvisioningGroup.d.ts +2 -2
- package/dist/models/DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoProvisioningGroupSpotOptions.d.ts +4 -4
- package/dist/models/DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoProvisioningGroupTargetCapacitySpecification.d.ts +2 -2
- package/dist/models/DescribeAvailableResourceRequest.d.ts +6 -6
- package/dist/models/DescribeBandwidthLimitationRequest.d.ts +2 -2
- package/dist/models/DescribeDisksRequest.d.ts +1 -1
- package/dist/models/DescribeInstanceAttributeResponseBody.d.ts +1 -1
- package/dist/models/DescribeInstanceAttributeResponseBodyOperationLocksLockReason.d.ts +1 -1
- package/dist/models/DescribeInstancesRequest.d.ts +1 -1
- package/dist/models/DescribeInstancesResponseBodyInstancesInstance.d.ts +8 -8
- package/dist/models/DescribeInstancesResponseBodyInstancesInstanceOperationLocksLockReason.d.ts +1 -1
- package/dist/models/DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateData.d.ts +7 -7
- package/dist/models/DescribePriceRequest.d.ts +7 -7
- package/dist/models/DescribeRecommendInstanceTypeRequest.d.ts +27 -27
- package/dist/models/DescribeRecommendInstanceTypeResponseBody.d.ts +1 -1
- package/dist/models/DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceType.d.ts +7 -7
- package/dist/models/DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceTypeZonesZone.d.ts +2 -2
- package/dist/models/DescribeRegionsRequest.d.ts +2 -2
- package/dist/models/DescribeSnapshotLinksRequest.d.ts +17 -0
- package/dist/models/DescribeSnapshotLinksRequest.js.map +1 -1
- package/dist/models/DescribeSnapshotLinksResponseBody.d.ts +7 -0
- package/dist/models/DescribeSnapshotLinksResponseBody.js.map +1 -1
- package/dist/models/DescribeSpotAdviceResponseBody.d.ts +2 -2
- package/dist/models/DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZone.d.ts +1 -1
- package/dist/models/DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZoneAvailableSpotResourcesAvailableSpotResource.d.ts +4 -4
- package/dist/models/DescribeSpotPriceHistoryRequest.d.ts +7 -7
- package/dist/models/DescribeSpotPriceHistoryResponseBody.d.ts +4 -4
- package/dist/models/DescribeSpotPriceHistoryResponseBodySpotPricesSpotPriceType.d.ts +5 -5
- package/dist/models/DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConnection.d.ts +1 -0
- package/dist/models/DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConnection.js +2 -0
- package/dist/models/DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConnection.js.map +1 -1
- package/dist/models/DescribeZonesRequest.d.ts +3 -3
- package/dist/models/ModifyAutoProvisioningGroupRequest.d.ts +4 -4
- package/dist/models/ModifyAutoProvisioningGroupRequestLaunchTemplateConfig.d.ts +1 -1
- package/dist/models/RunInstancesRequest.d.ts +8 -8
- package/dist/models/RunInstancesRequestPrivatePoolOptions.d.ts +1 -1
- package/dist/models/StartTerminalSessionRequest.d.ts +1 -0
- package/dist/models/StartTerminalSessionRequest.js +2 -0
- package/dist/models/StartTerminalSessionRequest.js.map +1 -1
- package/dist/models/StopInstanceRequest.d.ts +14 -3
- package/dist/models/StopInstanceRequest.js.map +1 -1
- package/dist/models/StopInstancesRequest.d.ts +27 -11
- package/dist/models/StopInstancesRequest.js.map +1 -1
- package/dist/models/StopInstancesResponseBodyInstanceResponsesInstanceResponse.d.ts +1 -1
- package/package.json +1 -1
- package/src/client.ts +48 -36
- package/src/models/CopyImageRequest.ts +19 -0
- package/src/models/CreateAutoProvisioningGroupRequest.ts +9 -9
- package/src/models/CreateAutoProvisioningGroupRequestLaunchConfiguration.ts +5 -5
- package/src/models/CreateAutoProvisioningGroupRequestLaunchTemplateConfig.ts +1 -1
- package/src/models/CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchResult.ts +2 -2
- package/src/models/CreateAutoProvisioningGroupShrinkRequest.ts +9 -9
- package/src/models/CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration.ts +5 -5
- package/src/models/CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig.ts +1 -1
- package/src/models/CreateInstanceRequest.ts +9 -9
- package/src/models/CreateInstanceRequestPrivatePoolOptions.ts +1 -1
- package/src/models/CreateLaunchTemplateRequest.ts +6 -6
- package/src/models/CreateLaunchTemplateRequestDataDisk.ts +1 -1
- package/src/models/CreateLaunchTemplateVersionRequest.ts +8 -8
- package/src/models/CreateLaunchTemplateVersionRequestDataDisk.ts +2 -2
- package/src/models/DescribeAccountAttributesRequest.ts +2 -2
- package/src/models/DescribeAccountAttributesResponseBodyAccountAttributeItemsAccountAttributeItem.ts +2 -2
- package/src/models/DescribeAutoProvisioningGroupInstancesResponseBodyInstancesInstance.ts +1 -1
- package/src/models/DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoProvisioningGroup.ts +2 -2
- package/src/models/DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoProvisioningGroupSpotOptions.ts +4 -4
- package/src/models/DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoProvisioningGroupTargetCapacitySpecification.ts +2 -2
- package/src/models/DescribeAvailableResourceRequest.ts +6 -6
- package/src/models/DescribeBandwidthLimitationRequest.ts +2 -2
- package/src/models/DescribeDisksRequest.ts +1 -1
- package/src/models/DescribeInstanceAttributeResponseBody.ts +1 -1
- package/src/models/DescribeInstanceAttributeResponseBodyOperationLocksLockReason.ts +1 -1
- package/src/models/DescribeInstancesRequest.ts +1 -1
- package/src/models/DescribeInstancesResponseBodyInstancesInstance.ts +8 -8
- package/src/models/DescribeInstancesResponseBodyInstancesInstanceOperationLocksLockReason.ts +1 -1
- package/src/models/DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateData.ts +7 -7
- package/src/models/DescribePriceRequest.ts +7 -7
- package/src/models/DescribeRecommendInstanceTypeRequest.ts +27 -27
- package/src/models/DescribeRecommendInstanceTypeResponseBody.ts +1 -1
- package/src/models/DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceType.ts +7 -7
- package/src/models/DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceTypeZonesZone.ts +2 -2
- package/src/models/DescribeRegionsRequest.ts +2 -2
- package/src/models/DescribeSnapshotLinksRequest.ts +17 -0
- package/src/models/DescribeSnapshotLinksResponseBody.ts +7 -0
- package/src/models/DescribeSpotAdviceResponseBody.ts +2 -2
- package/src/models/DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZone.ts +1 -1
- package/src/models/DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZoneAvailableSpotResourcesAvailableSpotResource.ts +4 -4
- package/src/models/DescribeSpotPriceHistoryRequest.ts +7 -7
- package/src/models/DescribeSpotPriceHistoryResponseBody.ts +4 -4
- package/src/models/DescribeSpotPriceHistoryResponseBodySpotPricesSpotPriceType.ts +5 -5
- package/src/models/DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConnection.ts +3 -0
- package/src/models/DescribeZonesRequest.ts +3 -3
- package/src/models/ModifyAutoProvisioningGroupRequest.ts +4 -4
- package/src/models/ModifyAutoProvisioningGroupRequestLaunchTemplateConfig.ts +1 -1
- package/src/models/RunInstancesRequest.ts +8 -8
- package/src/models/RunInstancesRequestPrivatePoolOptions.ts +1 -1
- package/src/models/StartTerminalSessionRequest.ts +3 -0
- package/src/models/StopInstanceRequest.ts +14 -3
- package/src/models/StopInstancesRequest.ts +27 -11
- package/src/models/StopInstancesResponseBodyInstanceResponsesInstanceResponse.ts +1 -1
|
@@ -202,7 +202,7 @@ export declare class DescribeInstancesRequest extends $dara.Model {
|
|
|
202
202
|
*
|
|
203
203
|
* * financial: The instance is locked due to overdue payments.
|
|
204
204
|
* * security: The instance is locked due to security reasons.
|
|
205
|
-
* * recycling: The
|
|
205
|
+
* * recycling: The spot instance is locked and pending release.
|
|
206
206
|
* * dedicatedhostfinancial: The instance is locked due to overdue payments for the dedicated host.
|
|
207
207
|
* * refunded: The instance is locked because a refund is made for the instance.
|
|
208
208
|
*
|
|
@@ -448,12 +448,12 @@ export declare class DescribeInstancesResponseBodyInstancesInstance extends $dar
|
|
|
448
448
|
serialNumber?: string;
|
|
449
449
|
/**
|
|
450
450
|
* @remarks
|
|
451
|
-
* The protection period of the
|
|
451
|
+
* The protection period of the spot instance. Unit: hours. Valid values:
|
|
452
452
|
*
|
|
453
|
-
* * 1: After a
|
|
454
|
-
* * 0: After a
|
|
453
|
+
* * 1: After a spot instance is created, Alibaba Cloud ensures that the instance is not automatically released within 1 hour. After the 1-hour protection period ends, the system compares the bid price with the market price and checks the resource inventory to determine whether to retain or release the instance.
|
|
454
|
+
* * 0: After a spot instance is created, Alibaba Cloud does not ensure that the instance runs for 1 hour. The system compares the bid price with the market price and checks the resource inventory to determine whether to retain or release the instance.
|
|
455
455
|
*
|
|
456
|
-
* Alibaba Cloud sends an ECS system event to notify you 5 minutes before the instance is released.
|
|
456
|
+
* Alibaba Cloud sends an ECS system event to notify you 5 minutes before the instance is released. Spot instances are billed by second. We recommend that you specify a protection period based on your business requirements.
|
|
457
457
|
*
|
|
458
458
|
* > This parameter is returned when SpotStrategy is set to SpotWithPriceLimit or SpotAsPriceGo.
|
|
459
459
|
*
|
|
@@ -463,9 +463,9 @@ export declare class DescribeInstancesResponseBodyInstancesInstance extends $dar
|
|
|
463
463
|
spotDuration?: number;
|
|
464
464
|
/**
|
|
465
465
|
* @remarks
|
|
466
|
-
* The interruption mode of the
|
|
466
|
+
* The interruption mode of the spot instance when the system initiates a spot instance interruption operation. Valid values:
|
|
467
467
|
*
|
|
468
|
-
* * Terminate: releases the
|
|
468
|
+
* * Terminate: releases the spot instance.
|
|
469
469
|
* * Stop: stops the instance in economical mode.
|
|
470
470
|
*
|
|
471
471
|
* @example
|
|
@@ -485,8 +485,8 @@ export declare class DescribeInstancesResponseBodyInstancesInstance extends $dar
|
|
|
485
485
|
* The bidding policy for the pay-as-you-go instance. Valid values:
|
|
486
486
|
*
|
|
487
487
|
* * NoSpot: The instance is a regular pay-as-you-go instance.
|
|
488
|
-
* * SpotWithPriceLimit: The instance is a
|
|
489
|
-
* * SpotAsPriceGo: The instance is a
|
|
488
|
+
* * SpotWithPriceLimit: The instance is a spot instance with a user-defined maximum hourly price.
|
|
489
|
+
* * SpotAsPriceGo: The instance is a spot instance for which the market price is automatically used as the bid price. The market price can be up to the pay-as-you-go price.
|
|
490
490
|
*
|
|
491
491
|
* @example
|
|
492
492
|
* NoSpot
|
package/dist/models/DescribeInstancesResponseBodyInstancesInstanceOperationLocksLockReason.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export declare class DescribeInstancesResponseBodyInstancesInstanceOperationLock
|
|
|
14
14
|
*
|
|
15
15
|
* * financial: The instance was locked due to overdue payments.
|
|
16
16
|
* * security: The instance was locked due to security reasons.
|
|
17
|
-
* * recycling: The
|
|
17
|
+
* * recycling: The spot instance was locked and pending release.
|
|
18
18
|
* * dedicatedhostfinancial: The instance was locked due to overdue payments for the dedicated host.
|
|
19
19
|
* * refunded: The instance was locked because a refund was made for the instance.
|
|
20
20
|
*
|
|
@@ -329,12 +329,12 @@ export declare class DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVer
|
|
|
329
329
|
securityGroupIds?: DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataSecurityGroupIds;
|
|
330
330
|
/**
|
|
331
331
|
* @remarks
|
|
332
|
-
* The protection period of the
|
|
332
|
+
* The protection period of the spot instance. Unit: hours. Valid values:
|
|
333
333
|
*
|
|
334
|
-
* * 1: After a
|
|
335
|
-
* * 0: After a
|
|
334
|
+
* * 1: After a spot instance is created, Alibaba Cloud ensures that the instance is not automatically released within 1 hour. After the 1-hour protection period ends, the system compares the bid price with the market price and checks the resource inventory to determine whether to retain or release the instance.
|
|
335
|
+
* * 0: After a spot instance is created, Alibaba Cloud does not ensure that the instance runs for 1 hour. The system compares the bid price with the market price and checks the resource inventory to determine whether to retain or release the instance.
|
|
336
336
|
*
|
|
337
|
-
* Alibaba Cloud sends an ECS system event to notify you 5 minutes before the instance is released.
|
|
337
|
+
* Alibaba Cloud sends an ECS system event to notify you 5 minutes before the instance is released. Spot instances are billed by second. We recommend that you specify a protection period based on your business requirements.
|
|
338
338
|
*
|
|
339
339
|
* > This parameter is returned when SpotStrategy is set to SpotWithPriceLimit or SpotAsPriceGo.
|
|
340
340
|
*
|
|
@@ -344,7 +344,7 @@ export declare class DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVer
|
|
|
344
344
|
spotDuration?: number;
|
|
345
345
|
/**
|
|
346
346
|
* @remarks
|
|
347
|
-
* The maximum hourly price of the
|
|
347
|
+
* The maximum hourly price of the spot instance.
|
|
348
348
|
*
|
|
349
349
|
* @example
|
|
350
350
|
* 0.98
|
|
@@ -355,8 +355,8 @@ export declare class DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVer
|
|
|
355
355
|
* The bidding policy for the pay-as-you-go instance. Valid values:
|
|
356
356
|
*
|
|
357
357
|
* * NoSpot: The instance is a regular pay-as-you-go instance.
|
|
358
|
-
* * SpotWithPriceLimit: The instance is a
|
|
359
|
-
* * SpotAsPriceGo: The instance is a
|
|
358
|
+
* * SpotWithPriceLimit: The instance is a spot instance with a user-defined maximum hourly price.
|
|
359
|
+
* * 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.
|
|
360
360
|
*
|
|
361
361
|
* @example
|
|
362
362
|
* NoSpot
|
|
@@ -256,12 +256,12 @@ export declare class DescribePriceRequest extends $dara.Model {
|
|
|
256
256
|
scope?: string;
|
|
257
257
|
/**
|
|
258
258
|
* @remarks
|
|
259
|
-
* The protection period of the
|
|
259
|
+
* The protection period of the spot instance. Unit: hours. Default value: 1. Valid values:
|
|
260
260
|
*
|
|
261
|
-
* * 1: After a
|
|
262
|
-
* * 0: After a
|
|
261
|
+
* * 1: After a spot instance is created, Alibaba Cloud ensures that the instance is not automatically released within 1 hour. After the 1-hour protection period ends, the system compares the bid price with the market price and checks the resource inventory to determine whether to retain or release the instance.
|
|
262
|
+
* * 0: After a spot instance is created, Alibaba Cloud does not ensure that the instance runs for 1 hour. The system compares the bid price with the market price and checks the resource inventory to determine whether to retain or release the instance.
|
|
263
263
|
*
|
|
264
|
-
* Alibaba Cloud sends an ECS system event to notify you 5 minutes before the instance is released.
|
|
264
|
+
* Alibaba Cloud sends an ECS system event to notify you 5 minutes before the instance is released. Spot instances are billed by second. We recommend that you specify a protection period based on your business requirements.
|
|
265
265
|
*
|
|
266
266
|
* > This parameter takes effect only when SpotStrategy is set to SpotWithPriceLimit or SpotAsPriceGo.
|
|
267
267
|
*
|
|
@@ -274,8 +274,8 @@ export declare class DescribePriceRequest extends $dara.Model {
|
|
|
274
274
|
* The bidding policy for the pay-as-you-go instance. Valid values:
|
|
275
275
|
*
|
|
276
276
|
* * NoSpot: The instance is a regular pay-as-you-go instance.
|
|
277
|
-
* * SpotWithPriceLimit: The instance is created as a
|
|
278
|
-
* * SpotAsPriceGo: The instance is created as a
|
|
277
|
+
* * SpotWithPriceLimit: The instance is created as a spot instance that has a user-defined maximum hourly price.
|
|
278
|
+
* * SpotAsPriceGo: The instance is created as a spot instance whose bid price is based on the market price at the time of purchase. The market price can be up to the pay-as-you-go price.
|
|
279
279
|
*
|
|
280
280
|
* Default value: NoSpot.
|
|
281
281
|
*
|
|
@@ -297,7 +297,7 @@ export declare class DescribePriceRequest extends $dara.Model {
|
|
|
297
297
|
* @remarks
|
|
298
298
|
* The zone ID.
|
|
299
299
|
*
|
|
300
|
-
* > Prices of
|
|
300
|
+
* > Prices of spot instances vary based on zones. When you query the price of a spot instance, specify ZoneId.
|
|
301
301
|
*
|
|
302
302
|
* @example
|
|
303
303
|
* cn-hagzhou-i
|
|
@@ -2,9 +2,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The number of
|
|
5
|
+
* The number of vCPU cores of the instance type.
|
|
6
6
|
*
|
|
7
|
-
* >
|
|
7
|
+
* > If you specify both `Cores` and `Memory`, the system returns all instance types that match the values of the parameters.
|
|
8
8
|
*
|
|
9
9
|
* @example
|
|
10
10
|
* 2
|
|
@@ -12,7 +12,7 @@ export declare class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
12
12
|
cores?: number;
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
* The billing method of
|
|
15
|
+
* The billing method of ECS instances. For more information, see [Billing overview](https://help.aliyun.com/document_detail/25398.html). Valid values:
|
|
16
16
|
*
|
|
17
17
|
* * PrePaid: subscription
|
|
18
18
|
* * PostPaid: pay-as-you-go
|
|
@@ -27,9 +27,9 @@ export declare class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
27
27
|
* @remarks
|
|
28
28
|
* The level of the instance family. Valid values:
|
|
29
29
|
*
|
|
30
|
-
* * EntryLevel
|
|
31
|
-
* * EnterpriseLevel
|
|
32
|
-
* * CreditEntryLevel For more information, see [Burstable instance families](https://help.aliyun.com/document_detail/59977.html).
|
|
30
|
+
* * EntryLevel: entry level.
|
|
31
|
+
* * EnterpriseLevel: enterprise level.
|
|
32
|
+
* * CreditEntryLevel: credit-based entry level. For more information, see [Burstable instance families](https://help.aliyun.com/document_detail/59977.html).
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* EnterpriseLevel
|
|
@@ -37,9 +37,9 @@ export declare class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
37
37
|
instanceFamilyLevel?: string;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* The instance type. For more information, see [
|
|
40
|
+
* The instance type. For more information, see [Overview of instance families](https://help.aliyun.com/document_detail/25378.html) or call the [DescribeInstanceTypes](https://help.aliyun.com/document_detail/25620.html) operation to query the most recent instance type list.
|
|
41
41
|
*
|
|
42
|
-
* >
|
|
42
|
+
* > If you specify `InstanceType`, you cannot specify `Cores` or `Memory`.
|
|
43
43
|
*
|
|
44
44
|
* @example
|
|
45
45
|
* ecs.hfg6.large
|
|
@@ -47,7 +47,7 @@ export declare class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
47
47
|
instanceType?: string;
|
|
48
48
|
/**
|
|
49
49
|
* @remarks
|
|
50
|
-
*
|
|
50
|
+
* The instance families from which the alternative instance types are selected. You can specify up to 10 instance families.
|
|
51
51
|
*
|
|
52
52
|
* @example
|
|
53
53
|
* ecs.hfg6
|
|
@@ -55,10 +55,10 @@ export declare class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
55
55
|
instanceTypeFamily?: string[];
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
* Specifies whether the instance
|
|
58
|
+
* Specifies whether instances of the instance type are I/O optimized. You cannot specify IoOptimized if the instance type supports only non-I/O optimized instances. Valid values:
|
|
59
59
|
*
|
|
60
|
-
* * optimized: The
|
|
61
|
-
* * none: The
|
|
60
|
+
* * optimized: The instances are I/O optimized.
|
|
61
|
+
* * none: The instances are non-I/O optimized.
|
|
62
62
|
*
|
|
63
63
|
* Default value: optimized.
|
|
64
64
|
*
|
|
@@ -70,7 +70,7 @@ export declare class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
70
70
|
ioOptimized?: string;
|
|
71
71
|
/**
|
|
72
72
|
* @remarks
|
|
73
|
-
* The maximum hourly price for pay-as-you-go instances or
|
|
73
|
+
* The maximum hourly price for pay-as-you-go instances or spot instances.
|
|
74
74
|
*
|
|
75
75
|
* > This parameter takes effect only when `SpotStrategy` is set to `SpotWithPriceLimit`.
|
|
76
76
|
*
|
|
@@ -80,9 +80,9 @@ export declare class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
80
80
|
maxPrice?: number;
|
|
81
81
|
/**
|
|
82
82
|
* @remarks
|
|
83
|
-
* The memory size of the instance. Unit: GiB.
|
|
83
|
+
* The memory size of the instance type. Unit: GiB.
|
|
84
84
|
*
|
|
85
|
-
* >
|
|
85
|
+
* > If you specify both `Cores` and `Memory`, the system returns all instance types that match the values of the parameters.
|
|
86
86
|
*
|
|
87
87
|
* @example
|
|
88
88
|
* 8.0
|
|
@@ -90,7 +90,7 @@ export declare class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
90
90
|
memory?: number;
|
|
91
91
|
/**
|
|
92
92
|
* @remarks
|
|
93
|
-
* The network type of
|
|
93
|
+
* The network type of ECS instances. Valid values:
|
|
94
94
|
*
|
|
95
95
|
* * classic
|
|
96
96
|
* * vpc
|
|
@@ -133,7 +133,7 @@ export declare class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
133
133
|
resourceOwnerId?: number;
|
|
134
134
|
/**
|
|
135
135
|
* @remarks
|
|
136
|
-
*
|
|
136
|
+
* The scenario in which instance types are recommended. Valid values:
|
|
137
137
|
*
|
|
138
138
|
* * UPGRADE: instance type upgrade or downgrade
|
|
139
139
|
* * CREATE: instance creation
|
|
@@ -146,11 +146,11 @@ export declare class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
146
146
|
scene?: string;
|
|
147
147
|
/**
|
|
148
148
|
* @remarks
|
|
149
|
-
* The bidding policy of
|
|
149
|
+
* The bidding policy of spot instances. Valid values:
|
|
150
150
|
*
|
|
151
|
-
* * NoSpot: The
|
|
152
|
-
* * SpotWithPriceLimit: The
|
|
153
|
-
* * SpotAsPriceGo: The
|
|
151
|
+
* * NoSpot: The instances are regular pay-as-you-go instances.
|
|
152
|
+
* * SpotWithPriceLimit: The instances are created as spot instances for which you can specify the maximum hourly price.
|
|
153
|
+
* * SpotAsPriceGo: The instances are spot instances 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.
|
|
154
154
|
*
|
|
155
155
|
* > If you specify `SpotStrategy`, you must set `InstanceChargeType` to `PostPaid`.
|
|
156
156
|
*
|
|
@@ -165,8 +165,8 @@ export declare class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
165
165
|
* The category of the system disk. Valid values:
|
|
166
166
|
*
|
|
167
167
|
* * cloud_efficiency: ultra disk
|
|
168
|
-
* * cloud_ssd: SSD
|
|
169
|
-
* * cloud_essd: ESSD
|
|
168
|
+
* * cloud_ssd: standard SSD
|
|
169
|
+
* * cloud_essd: Enterprise SSD (ESSD)
|
|
170
170
|
* * cloud: basic disk
|
|
171
171
|
*
|
|
172
172
|
* For non-I/O optimized instances, the default value is cloud.
|
|
@@ -181,7 +181,7 @@ export declare class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
181
181
|
* @remarks
|
|
182
182
|
* The zone ID. You can call the [DescribeZones](https://help.aliyun.com/document_detail/25610.html) operation to query the most recent zone list.
|
|
183
183
|
*
|
|
184
|
-
* We recommend that you set
|
|
184
|
+
* We recommend that you set ZoneMatchMode to Include, which is the default value. This way, the system recommends instance types that are available in the zone specified by ZoneId based on the priority policy. The system also recommends instance types that are available in other zones within the same region.
|
|
185
185
|
*
|
|
186
186
|
* @example
|
|
187
187
|
* cn-hangzhou-f
|
|
@@ -191,10 +191,10 @@ export declare class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
191
191
|
* @remarks
|
|
192
192
|
* Specifies whether to recommend only instance types in the zone specified by ZoneId. Valid values:
|
|
193
193
|
*
|
|
194
|
-
* * Strict: recommends only instance types that are available in
|
|
195
|
-
* * Include: recommends instance types that are available in
|
|
194
|
+
* * Strict: recommends only instance types that are available in the zone specified by ZoneId.
|
|
195
|
+
* * Include: recommends instance types that are available in the zone specified by ZoneId and instance types that are available in other zones within the same region.
|
|
196
196
|
*
|
|
197
|
-
* If `ZoneId` is specified, the default value of this parameter is Strict
|
|
197
|
+
* If `ZoneId` is specified, the default value of this parameter is Strict, which indicates that only instance types in the zone specified by ZoneId are recommended.
|
|
198
198
|
*
|
|
199
199
|
* @example
|
|
200
200
|
* Strict
|
|
@@ -8,7 +8,7 @@ export declare class DescribeRecommendInstanceTypeResponseBody extends $dara.Mod
|
|
|
8
8
|
data?: DescribeRecommendInstanceTypeResponseBodyData;
|
|
9
9
|
/**
|
|
10
10
|
* @remarks
|
|
11
|
-
* The ID
|
|
11
|
+
* The request ID.
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
14
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
@@ -12,7 +12,7 @@ export declare class DescribeRecommendInstanceTypeResponseBodyDataRecommendInsta
|
|
|
12
12
|
commodityCode?: string;
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
* The billing method of the
|
|
15
|
+
* The billing method of the instances.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* PostPaid
|
|
@@ -20,12 +20,12 @@ export declare class DescribeRecommendInstanceTypeResponseBodyDataRecommendInsta
|
|
|
20
20
|
instanceChargeType?: string;
|
|
21
21
|
/**
|
|
22
22
|
* @remarks
|
|
23
|
-
* The
|
|
23
|
+
* The details of the instance type.
|
|
24
24
|
*/
|
|
25
25
|
instanceType?: DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceTypeInstanceType;
|
|
26
26
|
/**
|
|
27
27
|
* @remarks
|
|
28
|
-
* The network type of the
|
|
28
|
+
* The network type of the ECS instances.
|
|
29
29
|
*
|
|
30
30
|
* @example
|
|
31
31
|
* vpc
|
|
@@ -41,7 +41,7 @@ export declare class DescribeRecommendInstanceTypeResponseBodyDataRecommendInsta
|
|
|
41
41
|
priority?: number;
|
|
42
42
|
/**
|
|
43
43
|
* @remarks
|
|
44
|
-
* The
|
|
44
|
+
* The ID of the region in which the instance type is available.
|
|
45
45
|
*
|
|
46
46
|
* @example
|
|
47
47
|
* cn-hangzhou
|
|
@@ -49,7 +49,7 @@ export declare class DescribeRecommendInstanceTypeResponseBodyDataRecommendInsta
|
|
|
49
49
|
regionId?: string;
|
|
50
50
|
/**
|
|
51
51
|
* @remarks
|
|
52
|
-
* The
|
|
52
|
+
* The scenario in which the instance type is recommended.
|
|
53
53
|
*
|
|
54
54
|
* @example
|
|
55
55
|
* CREATE
|
|
@@ -57,7 +57,7 @@ export declare class DescribeRecommendInstanceTypeResponseBodyDataRecommendInsta
|
|
|
57
57
|
scene?: string;
|
|
58
58
|
/**
|
|
59
59
|
* @remarks
|
|
60
|
-
* The bidding policy for the
|
|
60
|
+
* The bidding policy for the spot instances.
|
|
61
61
|
*
|
|
62
62
|
* @example
|
|
63
63
|
* NoSpot
|
|
@@ -73,7 +73,7 @@ export declare class DescribeRecommendInstanceTypeResponseBodyDataRecommendInsta
|
|
|
73
73
|
zoneId?: string;
|
|
74
74
|
/**
|
|
75
75
|
* @remarks
|
|
76
|
-
* The details of the zones
|
|
76
|
+
* The details of the zones in which the instance type is available.
|
|
77
77
|
*/
|
|
78
78
|
zones?: DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceTypeZones;
|
|
79
79
|
static names(): {
|
package/dist/models/DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceTypeZonesZone.d.ts
CHANGED
|
@@ -3,12 +3,12 @@ import { DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceTypeZones
|
|
|
3
3
|
export declare class DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceTypeZonesZone extends $dara.Model {
|
|
4
4
|
/**
|
|
5
5
|
* @remarks
|
|
6
|
-
* The details of network types of instance
|
|
6
|
+
* The details of the network types of the instance type.
|
|
7
7
|
*/
|
|
8
8
|
networkTypes?: DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceTypeZonesZoneNetworkTypes;
|
|
9
9
|
/**
|
|
10
10
|
* @remarks
|
|
11
|
-
* The ID of the zone
|
|
11
|
+
* The ID of the zone in which the instance type is available.
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
14
|
* cn-hangzhou-h
|
|
@@ -25,8 +25,8 @@ export declare class DescribeRegionsRequest extends $dara.Model {
|
|
|
25
25
|
*
|
|
26
26
|
* - PrePaid: subscription. If you set this parameter to PrePaid, make sure that you have sufficient balance or credits in your account. Otherwise, the InvalidPayMethod error code is returned.
|
|
27
27
|
* - PostPaid: pay-as-you-go.
|
|
28
|
-
* SpotWithPriceLimit:
|
|
29
|
-
* - SpotAsPriceGo:
|
|
28
|
+
* SpotWithPriceLimit: spot instance for which a maximum hourly price is specified.
|
|
29
|
+
* - SpotAsPriceGo: 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.
|
|
30
30
|
*
|
|
31
31
|
* Default value: PostPaid.
|
|
32
32
|
*
|
|
@@ -16,7 +16,24 @@ export declare class DescribeSnapshotLinksRequest extends $dara.Model {
|
|
|
16
16
|
* i-bp1h6jmbefj2cyqs****
|
|
17
17
|
*/
|
|
18
18
|
instanceId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* The maximum number of entries per page. Maximum value: 100. Default value:
|
|
22
|
+
*
|
|
23
|
+
* * If you do not specify this parameter or if you set a value smaller than 10, the default value is 10.
|
|
24
|
+
* * If you set a value greater than 100, the default value is 100.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 10
|
|
28
|
+
*/
|
|
19
29
|
maxResults?: number;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The pagination token that is used in the next request to retrieve a new page of results. You must specify the token that is obtained from the previous query as the value of NextToken.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* caeba0bbb2be03f84eb48b699f0a****
|
|
36
|
+
*/
|
|
20
37
|
nextToken?: string;
|
|
21
38
|
ownerAccount?: string;
|
|
22
39
|
ownerId?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DescribeSnapshotLinksRequest.js","sourceRoot":"","sources":["../../src/models/DescribeSnapshotLinksRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"DescribeSnapshotLinksRequest.js","sourceRoot":"","sources":["../../src/models/DescribeSnapshotLinksRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;IA8E3D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,UAAU,EAAE,YAAY;YACxB,SAAS,EAAE,WAAW;YACtB,YAAY,EAAE,cAAc;YAC5B,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;YACpB,oBAAoB,EAAE,sBAAsB;YAC5C,eAAe,EAAE,iBAAiB;YAClC,eAAe,EAAE,iBAAiB;SACnC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,UAAU,EAAE,QAAQ;YACpB,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;YACnB,YAAY,EAAE,QAAQ;YACtB,OAAO,EAAE,QAAQ;YACjB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;YAClB,oBAAoB,EAAE,QAAQ;YAC9B,eAAe,EAAE,QAAQ;YACzB,eAAe,EAAE,QAAQ;SAC1B,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;AAvHD,oEAuHC"}
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
2
|
import { DescribeSnapshotLinksResponseBodySnapshotLinks } from "./DescribeSnapshotLinksResponseBodySnapshotLinks";
|
|
3
3
|
export declare class DescribeSnapshotLinksResponseBody extends $dara.Model {
|
|
4
|
+
/**
|
|
5
|
+
* @remarks
|
|
6
|
+
* A pagination token. It can be used in the next request to retrieve a new page of results.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* caeba0bbb2be03f84eb48b699f0a****
|
|
10
|
+
*/
|
|
4
11
|
nextToken?: string;
|
|
5
12
|
/**
|
|
6
13
|
* @remarks
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DescribeSnapshotLinksResponseBody.js","sourceRoot":"","sources":["../../src/models/DescribeSnapshotLinksResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,qHAAkH;AAGlH,MAAa,iCAAkC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"DescribeSnapshotLinksResponseBody.js","sourceRoot":"","sources":["../../src/models/DescribeSnapshotLinksResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,qHAAkH;AAGlH,MAAa,iCAAkC,SAAQ,KAAK,CAAC,KAAK;IA8ChE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,SAAS,EAAE,WAAW;YACtB,aAAa,EAAE,eAAe;YAC9B,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,SAAS,EAAE,QAAQ;YACnB,aAAa,EAAE,+FAA8C;YAC7D,UAAU,EAAE,QAAQ;SACrB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,aAAa,IAAI,OAAQ,IAAI,CAAC,aAAqB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACnF,IAAI,CAAC,aAAqB,CAAC,QAAQ,EAAE,CAAC;QACzC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA9ED,8EA8EC"}
|
|
@@ -3,9 +3,9 @@ import { DescribeSpotAdviceResponseBodyAvailableSpotZones } from "./DescribeSpot
|
|
|
3
3
|
export declare class DescribeSpotAdviceResponseBody extends $dara.Model {
|
|
4
4
|
/**
|
|
5
5
|
* @remarks
|
|
6
|
-
* Details about
|
|
6
|
+
* Details about spot instances in the zones of the specified region.
|
|
7
7
|
*
|
|
8
|
-
* > The return values are sorted based on the historical percentages of average
|
|
8
|
+
* > The return values are sorted based on the historical percentages of average spot instance prices relative to pay-as-you-go instance prices for instance types.
|
|
9
9
|
*/
|
|
10
10
|
availableSpotZones?: DescribeSpotAdviceResponseBodyAvailableSpotZones;
|
|
11
11
|
/**
|
|
@@ -3,7 +3,7 @@ import { DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZoneAvaila
|
|
|
3
3
|
export declare class DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZone extends $dara.Model {
|
|
4
4
|
/**
|
|
5
5
|
* @remarks
|
|
6
|
-
* Details about
|
|
6
|
+
* Details about spot instances in the previous 30 days, including the release rate of spot instances and percentages of average spot instance prices relative to pay-as-you-go instance prices.
|
|
7
7
|
*/
|
|
8
8
|
availableSpotResources?: DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZoneAvailableSpotResources;
|
|
9
9
|
/**
|
|
@@ -2,9 +2,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZoneAvailableSpotResourcesAvailableSpotResource extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The percentage of the average
|
|
5
|
+
* The percentage of the average spot instance price relative to the pay-as-you-go instance price in the previous 30 days. Unit: %. Valid values: 1 to 100.
|
|
6
6
|
*
|
|
7
|
-
* You can calculate the average
|
|
7
|
+
* You can calculate the average spot instance price based on the return value. For example, if the pay-as-you-go instance price is 1 and the return value of this parameter is 20, the average spot instance price in the previous 30 days is 0.2.
|
|
8
8
|
*
|
|
9
9
|
* @example
|
|
10
10
|
* 20
|
|
@@ -20,7 +20,7 @@ export declare class DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSp
|
|
|
20
20
|
instanceType?: string;
|
|
21
21
|
/**
|
|
22
22
|
* @remarks
|
|
23
|
-
* The release rate range of
|
|
23
|
+
* The release rate range of spot instances in the previous 30 days, which corresponds to the `InterruptionRate` value. Valid values:
|
|
24
24
|
*
|
|
25
25
|
* * 0-3%
|
|
26
26
|
* * 3-5%
|
|
@@ -33,7 +33,7 @@ export declare class DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSp
|
|
|
33
33
|
interruptRateDesc?: string;
|
|
34
34
|
/**
|
|
35
35
|
* @remarks
|
|
36
|
-
* The average release rate of
|
|
36
|
+
* The average release rate of spot instances in the previous 30 days. Unit: %.
|
|
37
37
|
*
|
|
38
38
|
* @example
|
|
39
39
|
* 0
|
|
@@ -39,7 +39,7 @@ export declare class DescribeSpotPriceHistoryRequest extends $dara.Model {
|
|
|
39
39
|
ioOptimized?: string;
|
|
40
40
|
/**
|
|
41
41
|
* @remarks
|
|
42
|
-
* The network type of the
|
|
42
|
+
* The network type of the spot instance. Valid values:
|
|
43
43
|
*
|
|
44
44
|
* * classic: classic network
|
|
45
45
|
* * vpc: Virtual Private Cloud (VPC)
|
|
@@ -75,7 +75,7 @@ export declare class DescribeSpotPriceHistoryRequest extends $dara.Model {
|
|
|
75
75
|
ownerId?: number;
|
|
76
76
|
/**
|
|
77
77
|
* @remarks
|
|
78
|
-
* The zone ID of the
|
|
78
|
+
* The zone ID of the spot instance.
|
|
79
79
|
*
|
|
80
80
|
* This parameter is required.
|
|
81
81
|
*
|
|
@@ -87,12 +87,12 @@ export declare class DescribeSpotPriceHistoryRequest extends $dara.Model {
|
|
|
87
87
|
resourceOwnerId?: number;
|
|
88
88
|
/**
|
|
89
89
|
* @remarks
|
|
90
|
-
* The protection period of the
|
|
90
|
+
* The protection period of the spot instance. Unit: hours. Default value: 1. Valid values:
|
|
91
91
|
*
|
|
92
|
-
* * 1: After a
|
|
93
|
-
* * 0: After a
|
|
92
|
+
* * 1: After a spot instance is created, Alibaba Cloud ensures that the instance is not automatically released within 1 hour. After the 1-hour protection period ends, the system compares the bid price with the market price and checks the resource inventory to determine whether to retain or release the instance.
|
|
93
|
+
* * 0: After a spot instance is created, Alibaba Cloud does not ensure that the instance runs for 1 hour. The system compares the bid price with the market price and checks the resource inventory to determine whether to retain or release the instance.
|
|
94
94
|
*
|
|
95
|
-
* Alibaba Cloud sends an ECS system event to notify you 5 minutes before the instance is released.
|
|
95
|
+
* Alibaba Cloud sends an ECS system event to notify you 5 minutes before the instance is released. Spot instances are billed by second. We recommend that you specify a protection period based on your business requirements.
|
|
96
96
|
*
|
|
97
97
|
* > This parameter takes effect only if you set SpotStrategy to SpotWithPriceLimit or SpotAsPriceGo.
|
|
98
98
|
*
|
|
@@ -112,7 +112,7 @@ export declare class DescribeSpotPriceHistoryRequest extends $dara.Model {
|
|
|
112
112
|
startTime?: string;
|
|
113
113
|
/**
|
|
114
114
|
* @remarks
|
|
115
|
-
* The spot price (market price) of the
|
|
115
|
+
* The spot price (market price) of the spot instance.
|
|
116
116
|
*
|
|
117
117
|
* @example
|
|
118
118
|
* cn-hangzhou-g
|
|
@@ -3,7 +3,7 @@ import { DescribeSpotPriceHistoryResponseBodySpotPrices } from "./DescribeSpotPr
|
|
|
3
3
|
export declare class DescribeSpotPriceHistoryResponseBody extends $dara.Model {
|
|
4
4
|
/**
|
|
5
5
|
* @remarks
|
|
6
|
-
* The instance type of the
|
|
6
|
+
* The instance type of the spot instance.
|
|
7
7
|
*
|
|
8
8
|
* @example
|
|
9
9
|
* CNY
|
|
@@ -11,7 +11,7 @@ export declare class DescribeSpotPriceHistoryResponseBody extends $dara.Model {
|
|
|
11
11
|
currency?: string;
|
|
12
12
|
/**
|
|
13
13
|
* @remarks
|
|
14
|
-
* The network type of the
|
|
14
|
+
* The network type of the spot instance.
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* 1000
|
|
@@ -19,7 +19,7 @@ export declare class DescribeSpotPriceHistoryResponseBody extends $dara.Model {
|
|
|
19
19
|
nextOffset?: number;
|
|
20
20
|
/**
|
|
21
21
|
* @remarks
|
|
22
|
-
* The instance type of the
|
|
22
|
+
* The instance type of the spot instance.
|
|
23
23
|
*
|
|
24
24
|
* @example
|
|
25
25
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
@@ -27,7 +27,7 @@ export declare class DescribeSpotPriceHistoryResponseBody extends $dara.Model {
|
|
|
27
27
|
requestId?: string;
|
|
28
28
|
/**
|
|
29
29
|
* @remarks
|
|
30
|
-
* The zone ID of the
|
|
30
|
+
* The zone ID of the spot instance.
|
|
31
31
|
*/
|
|
32
32
|
spotPrices?: DescribeSpotPriceHistoryResponseBodySpotPrices;
|
|
33
33
|
static names(): {
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class DescribeSpotPriceHistoryResponseBodySpotPricesSpotPriceType extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The instance type of the
|
|
5
|
+
* The instance type of the spot instance.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* ecs.g5.large
|
|
@@ -10,7 +10,7 @@ export declare class DescribeSpotPriceHistoryResponseBodySpotPricesSpotPriceType
|
|
|
10
10
|
instanceType?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* Details about the price history of the
|
|
13
|
+
* Details about the price history of the spot instance.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* optimized
|
|
@@ -18,7 +18,7 @@ export declare class DescribeSpotPriceHistoryResponseBodySpotPricesSpotPriceType
|
|
|
18
18
|
ioOptimized?: string;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* Queries the price history of a
|
|
21
|
+
* Queries the price history of a spot instance within the last 30 days.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* vpc
|
|
@@ -26,7 +26,7 @@ export declare class DescribeSpotPriceHistoryResponseBodySpotPricesSpotPriceType
|
|
|
26
26
|
networkType?: string;
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
|
-
* The price for a pay-as-you-go instance that has the same configuration as the specified
|
|
29
|
+
* The price for a pay-as-you-go instance that has the same configuration as the specified spot instance.
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
32
|
* 0.354
|
|
@@ -34,7 +34,7 @@ export declare class DescribeSpotPriceHistoryResponseBodySpotPricesSpotPriceType
|
|
|
34
34
|
originPrice?: number;
|
|
35
35
|
/**
|
|
36
36
|
* @remarks
|
|
37
|
-
* The price for a pay-as-you-go instance that has the same configurations as the
|
|
37
|
+
* The price for a pay-as-you-go instance that has the same configurations as the spot instance.
|
|
38
38
|
*
|
|
39
39
|
* @example
|
|
40
40
|
* 0.036
|