@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
|
@@ -4,6 +4,13 @@ import { CopyImageRequestTag } from "./CopyImageRequestTag";
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
export class CopyImageRequest extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* The client token that you want to use to ensure the idempotence of the request. You can use the client to generate the value, but you ensure sure that the value is unique among different requests. **The token can contain only ASCII characters and cannot exceed 64 characters in length.** For more information, see [How to ensure idempotence](https://help.aliyun.com/document_detail/25693.html).
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* 123e4567-e89b-12d3-a456-426655440000
|
|
13
|
+
*/
|
|
7
14
|
clientToken?: string;
|
|
8
15
|
/**
|
|
9
16
|
* @remarks
|
|
@@ -29,6 +36,18 @@ export class CopyImageRequest extends $dara.Model {
|
|
|
29
36
|
* cn-shanghai
|
|
30
37
|
*/
|
|
31
38
|
destinationRegionId?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @remarks
|
|
41
|
+
* Specifies whether to perform only a dry run, without performing the actual request. Specifies whether to check the image used by the instance supports hot migration. Valid values:
|
|
42
|
+
*
|
|
43
|
+
* * true: performs only a dry run. The system checks the request for potential issues, including invalid AccessKey pairs, unauthorized RAM users, and missing parameter values. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
|
|
44
|
+
* * 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.
|
|
45
|
+
*
|
|
46
|
+
* Default value: false.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* false
|
|
50
|
+
*/
|
|
32
51
|
dryRun?: boolean;
|
|
33
52
|
/**
|
|
34
53
|
* @remarks
|
|
@@ -51,7 +51,7 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
51
51
|
* The type of supplemental instances. When the sum of the `PayAsYouGoTargetCapacity` and `SpotTargetCapacity` values is smaller than the `TotalTargetCapacity` value, the auto provisioning group creates instances of the specified type to meet the total target capacity. Valid values:
|
|
52
52
|
*
|
|
53
53
|
* * PayAsYouGo: pay-as-you-go
|
|
54
|
-
* * Spot:
|
|
54
|
+
* * Spot: spot instance
|
|
55
55
|
*
|
|
56
56
|
* Default value: Spot.
|
|
57
57
|
*
|
|
@@ -113,7 +113,7 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
113
113
|
launchTemplateVersion?: string;
|
|
114
114
|
/**
|
|
115
115
|
* @remarks
|
|
116
|
-
* The maximum price of
|
|
116
|
+
* The maximum price of spot instances in the auto provisioning group.
|
|
117
117
|
*
|
|
118
118
|
* > When both `MaxSpotPrice` and `LaunchTemplateConfig.N.MaxPrice` are specified, the smaller one of the two parameter values is used.
|
|
119
119
|
*
|
|
@@ -191,7 +191,7 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
191
191
|
resourcePoolOptions?: CreateAutoProvisioningGroupRequestResourcePoolOptions;
|
|
192
192
|
/**
|
|
193
193
|
* @remarks
|
|
194
|
-
* The policy for creating
|
|
194
|
+
* The policy for creating spot instances. Valid values:
|
|
195
195
|
*
|
|
196
196
|
* * lowest-price: cost optimization policy. The auto provisioning group selects the lowest-priced instance type to create instances.
|
|
197
197
|
* * diversified: balanced distribution policy. The auto provisioning group creates instances in zones that are specified in extended configurations and then evenly distributes the instances across the zones.
|
|
@@ -205,10 +205,10 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
205
205
|
spotAllocationStrategy?: string;
|
|
206
206
|
/**
|
|
207
207
|
* @remarks
|
|
208
|
-
* The operation to be performed on the
|
|
208
|
+
* The operation to be performed on the spot instance when it is interrupted. Valid values:
|
|
209
209
|
*
|
|
210
|
-
* * stop: stops the
|
|
211
|
-
* * terminate: releases the
|
|
210
|
+
* * stop: stops the spot instance.
|
|
211
|
+
* * terminate: releases the spot instance.
|
|
212
212
|
*
|
|
213
213
|
* Default value: terminate.
|
|
214
214
|
*
|
|
@@ -218,7 +218,7 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
218
218
|
spotInstanceInterruptionBehavior?: string;
|
|
219
219
|
/**
|
|
220
220
|
* @remarks
|
|
221
|
-
* The number of
|
|
221
|
+
* The number of spot instances of the lowest-priced instance type to be created by the auto provisioning group. This parameter takes effect when `SpotAllocationStrategy` is set to `lowest-price`.
|
|
222
222
|
*
|
|
223
223
|
* The value must be smaller than the N value specified in `LaunchTemplateConfig.N`.
|
|
224
224
|
*
|
|
@@ -228,7 +228,7 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
228
228
|
spotInstancePoolsToUseCount?: number;
|
|
229
229
|
/**
|
|
230
230
|
* @remarks
|
|
231
|
-
* The target capacity of
|
|
231
|
+
* The target capacity of spot instances in the auto provisioning group. The value must be less than or equal to the `TotalTargetCapacity` value.
|
|
232
232
|
*
|
|
233
233
|
* @example
|
|
234
234
|
* 20
|
|
@@ -274,7 +274,7 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
274
274
|
* @remarks
|
|
275
275
|
* The total target capacity of the auto provisioning group. The value must be a positive integer.
|
|
276
276
|
*
|
|
277
|
-
* The total target capacity of the auto provisioning group must be greater than or equal to the sum of the target capacity of pay-as-you-go instances specified by `PayAsYouGoTargetCapacity` and the target capacity of
|
|
277
|
+
* The total target capacity of the auto provisioning group must be greater than or equal to the sum of the target capacity of pay-as-you-go instances specified by `PayAsYouGoTargetCapacity` and the target capacity of spot instances specified by `SpotTargetCapacity`.
|
|
278
278
|
*
|
|
279
279
|
* This parameter is required.
|
|
280
280
|
*
|
|
@@ -394,12 +394,12 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
394
394
|
periodUnit?: string;
|
|
395
395
|
/**
|
|
396
396
|
* @remarks
|
|
397
|
-
* The protection period of the
|
|
397
|
+
* The protection period of the spot instance. Unit: hours. Default value: 1. Valid values: Valid values:
|
|
398
398
|
*
|
|
399
|
-
* * 1: After a
|
|
400
|
-
* * 0: After a
|
|
399
|
+
* * 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.
|
|
400
|
+
* * 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.
|
|
401
401
|
*
|
|
402
|
-
* Alibaba Cloud sends an ECS system event to notify you 5 minutes before the instance is released. The
|
|
402
|
+
* Alibaba Cloud sends an ECS system event to notify you 5 minutes before the instance is released. The spot instance is billed by second. We recommend that you specify an appropriate protection period based on your business requirements.
|
|
403
403
|
*
|
|
404
404
|
* When you specify this parameter, take note of the following items:
|
|
405
405
|
*
|
|
@@ -411,7 +411,7 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
411
411
|
spotDuration?: number;
|
|
412
412
|
/**
|
|
413
413
|
* @remarks
|
|
414
|
-
* The interruption event of the
|
|
414
|
+
* The interruption event of the spot instances. Valid values:
|
|
415
415
|
*
|
|
416
416
|
* * Terminate: The instance is released.
|
|
417
417
|
* * Stop: The instance is stopped in economical mode.
|
|
@@ -64,7 +64,7 @@ export class CreateAutoProvisioningGroupRequestLaunchTemplateConfig extends $dar
|
|
|
64
64
|
instanceType?: string;
|
|
65
65
|
/**
|
|
66
66
|
* @remarks
|
|
67
|
-
* The maximum price of
|
|
67
|
+
* The maximum price of spot instances in extended configuration N.
|
|
68
68
|
*
|
|
69
69
|
* > If you specify one or more `LaunchTemplateConfig.N.*` parameters, you must also specify `LaunchTemplateConfig.N.MaxPrice`.
|
|
70
70
|
*
|
|
@@ -46,8 +46,8 @@ export class CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchResult ex
|
|
|
46
46
|
* The bidding policy for the pay-as-you-go instance. Valid values:
|
|
47
47
|
*
|
|
48
48
|
* * NoSpot: The instance is a regular pay-as-you-go instance.
|
|
49
|
-
* * SpotWithPriceLimit: The instance is a
|
|
50
|
-
* * SpotAsPriceGo: The instance is a
|
|
49
|
+
* * SpotWithPriceLimit: The instance is a spot instance for which you specify the maximum hourly price.
|
|
50
|
+
* * SpotAsPriceGo: The instance is a spot instance for which the market price at the time of purchase is used as the bid price.
|
|
51
51
|
*
|
|
52
52
|
* @example
|
|
53
53
|
* NoSpot
|
|
@@ -50,7 +50,7 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
|
|
|
50
50
|
* The type of supplemental instances. When the sum of the `PayAsYouGoTargetCapacity` and `SpotTargetCapacity` values is smaller than the `TotalTargetCapacity` value, the auto provisioning group creates instances of the specified type to meet the total target capacity. Valid values:
|
|
51
51
|
*
|
|
52
52
|
* * PayAsYouGo: pay-as-you-go
|
|
53
|
-
* * Spot:
|
|
53
|
+
* * Spot: spot instance
|
|
54
54
|
*
|
|
55
55
|
* Default value: Spot.
|
|
56
56
|
*
|
|
@@ -112,7 +112,7 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
|
|
|
112
112
|
launchTemplateVersion?: string;
|
|
113
113
|
/**
|
|
114
114
|
* @remarks
|
|
115
|
-
* The maximum price of
|
|
115
|
+
* The maximum price of spot instances in the auto provisioning group.
|
|
116
116
|
*
|
|
117
117
|
* > When both `MaxSpotPrice` and `LaunchTemplateConfig.N.MaxPrice` are specified, the smaller one of the two parameter values is used.
|
|
118
118
|
*
|
|
@@ -190,7 +190,7 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
|
|
|
190
190
|
resourcePoolOptionsShrink?: string;
|
|
191
191
|
/**
|
|
192
192
|
* @remarks
|
|
193
|
-
* The policy for creating
|
|
193
|
+
* The policy for creating spot instances. Valid values:
|
|
194
194
|
*
|
|
195
195
|
* * lowest-price: cost optimization policy. The auto provisioning group selects the lowest-priced instance type to create instances.
|
|
196
196
|
* * diversified: balanced distribution policy. The auto provisioning group creates instances in zones that are specified in extended configurations and then evenly distributes the instances across the zones.
|
|
@@ -204,10 +204,10 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
|
|
|
204
204
|
spotAllocationStrategy?: string;
|
|
205
205
|
/**
|
|
206
206
|
* @remarks
|
|
207
|
-
* The operation to be performed on the
|
|
207
|
+
* The operation to be performed on the spot instance when it is interrupted. Valid values:
|
|
208
208
|
*
|
|
209
|
-
* * stop: stops the
|
|
210
|
-
* * terminate: releases the
|
|
209
|
+
* * stop: stops the spot instance.
|
|
210
|
+
* * terminate: releases the spot instance.
|
|
211
211
|
*
|
|
212
212
|
* Default value: terminate.
|
|
213
213
|
*
|
|
@@ -217,7 +217,7 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
|
|
|
217
217
|
spotInstanceInterruptionBehavior?: string;
|
|
218
218
|
/**
|
|
219
219
|
* @remarks
|
|
220
|
-
* The number of
|
|
220
|
+
* The number of spot instances of the lowest-priced instance type to be created by the auto provisioning group. This parameter takes effect when `SpotAllocationStrategy` is set to `lowest-price`.
|
|
221
221
|
*
|
|
222
222
|
* The value must be smaller than the N value specified in `LaunchTemplateConfig.N`.
|
|
223
223
|
*
|
|
@@ -227,7 +227,7 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
|
|
|
227
227
|
spotInstancePoolsToUseCount?: number;
|
|
228
228
|
/**
|
|
229
229
|
* @remarks
|
|
230
|
-
* The target capacity of
|
|
230
|
+
* The target capacity of spot instances in the auto provisioning group. The value must be less than or equal to the `TotalTargetCapacity` value.
|
|
231
231
|
*
|
|
232
232
|
* @example
|
|
233
233
|
* 20
|
|
@@ -273,7 +273,7 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
|
|
|
273
273
|
* @remarks
|
|
274
274
|
* The total target capacity of the auto provisioning group. The value must be a positive integer.
|
|
275
275
|
*
|
|
276
|
-
* The total target capacity of the auto provisioning group must be greater than or equal to the sum of the target capacity of pay-as-you-go instances specified by `PayAsYouGoTargetCapacity` and the target capacity of
|
|
276
|
+
* The total target capacity of the auto provisioning group must be greater than or equal to the sum of the target capacity of pay-as-you-go instances specified by `PayAsYouGoTargetCapacity` and the target capacity of spot instances specified by `SpotTargetCapacity`.
|
|
277
277
|
*
|
|
278
278
|
* This parameter is required.
|
|
279
279
|
*
|
|
@@ -394,12 +394,12 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
394
394
|
periodUnit?: string;
|
|
395
395
|
/**
|
|
396
396
|
* @remarks
|
|
397
|
-
* The protection period of the
|
|
397
|
+
* The protection period of the spot instance. Unit: hours. Default value: 1. Valid values: Valid values:
|
|
398
398
|
*
|
|
399
|
-
* * 1: After a
|
|
400
|
-
* * 0: After a
|
|
399
|
+
* * 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.
|
|
400
|
+
* * 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.
|
|
401
401
|
*
|
|
402
|
-
* Alibaba Cloud sends an ECS system event to notify you 5 minutes before the instance is released. The
|
|
402
|
+
* Alibaba Cloud sends an ECS system event to notify you 5 minutes before the instance is released. The spot instance is billed by second. We recommend that you specify an appropriate protection period based on your business requirements.
|
|
403
403
|
*
|
|
404
404
|
* When you specify this parameter, take note of the following items:
|
|
405
405
|
*
|
|
@@ -411,7 +411,7 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
411
411
|
spotDuration?: number;
|
|
412
412
|
/**
|
|
413
413
|
* @remarks
|
|
414
|
-
* The interruption event of the
|
|
414
|
+
* The interruption event of the spot instances. Valid values:
|
|
415
415
|
*
|
|
416
416
|
* * Terminate: The instance is released.
|
|
417
417
|
* * Stop: The instance is stopped in economical mode.
|
|
@@ -64,7 +64,7 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig extend
|
|
|
64
64
|
instanceType?: string;
|
|
65
65
|
/**
|
|
66
66
|
* @remarks
|
|
67
|
-
* The maximum price of
|
|
67
|
+
* The maximum price of spot instances in extended configuration N.
|
|
68
68
|
*
|
|
69
69
|
* > If you specify one or more `LaunchTemplateConfig.N.*` parameters, you must also specify `LaunchTemplateConfig.N.MaxPrice`.
|
|
70
70
|
*
|
|
@@ -89,9 +89,9 @@ export class CreateInstanceRequest extends $dara.Model {
|
|
|
89
89
|
* @remarks
|
|
90
90
|
* The ID of the dedicated host on which to create the instance.
|
|
91
91
|
*
|
|
92
|
-
* You can call the [DescribeDedicatedHosts](https://help.aliyun.com/document_detail/134242.html) operation to query the list of dedicated host IDs
|
|
92
|
+
* You can call the [DescribeDedicatedHosts](https://help.aliyun.com/document_detail/134242.html) operation to query the list of dedicated host IDs.
|
|
93
93
|
*
|
|
94
|
-
*
|
|
94
|
+
* > Spot instances (spot instances) cannot be created on dedicated hosts. If you specify DedicatedHostId, SpotStrategy and SpotPriceLimit are automatically ignored.
|
|
95
95
|
*
|
|
96
96
|
* @example
|
|
97
97
|
* dh-bp67acfmxazb4p****
|
|
@@ -436,12 +436,12 @@ export class CreateInstanceRequest extends $dara.Model {
|
|
|
436
436
|
securityGroupId?: string;
|
|
437
437
|
/**
|
|
438
438
|
* @remarks
|
|
439
|
-
* The protection period of the
|
|
439
|
+
* The protection period of the spot instance. Unit: hours. Default value: 1. Valid values:
|
|
440
440
|
*
|
|
441
|
-
* * 1: After a
|
|
442
|
-
* * 0: After a
|
|
441
|
+
* * 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.
|
|
442
|
+
* * 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.
|
|
443
443
|
*
|
|
444
|
-
* Alibaba Cloud sends an ECS system event to notify you 5 minutes before the instance is released.
|
|
444
|
+
* 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 an appropriate protection period based on your business requirements.
|
|
445
445
|
*
|
|
446
446
|
* > This parameter takes effect only if the SpotStrategy parameter is set to SpotWithPriceLimit or SpotAsPriceGo.
|
|
447
447
|
*
|
|
@@ -451,7 +451,7 @@ export class CreateInstanceRequest extends $dara.Model {
|
|
|
451
451
|
spotDuration?: number;
|
|
452
452
|
/**
|
|
453
453
|
* @remarks
|
|
454
|
-
* The interruption mode of the
|
|
454
|
+
* The interruption mode of the spot instance. Valid values:
|
|
455
455
|
*
|
|
456
456
|
* * Terminate: The instance is released.
|
|
457
457
|
*
|
|
@@ -478,8 +478,8 @@ export class CreateInstanceRequest extends $dara.Model {
|
|
|
478
478
|
* The bidding policy for the pay-as-you-go instance. This parameter is valid only if you set `InstanceChargeType` to `PostPaid`. Valid values:
|
|
479
479
|
*
|
|
480
480
|
* * NoSpot (default): The instance is created as a regular pay-as-you-go instance.
|
|
481
|
-
* * SpotWithPriceLimit: The instance is a
|
|
482
|
-
* * SpotAsPriceGo: The instance is a
|
|
481
|
+
* * SpotWithPriceLimit: The instance is a spot instance for which you specify the maximum hourly price.
|
|
482
|
+
* * 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.
|
|
483
483
|
*
|
|
484
484
|
* @example
|
|
485
485
|
* NoSpot
|
|
@@ -23,7 +23,7 @@ export class CreateInstanceRequestPrivatePoolOptions extends $dara.Model {
|
|
|
23
23
|
*
|
|
24
24
|
* In the following scenarios, the PrivatePoolOptions.MatchCriteria parameter can be set only to `None` or left empty:
|
|
25
25
|
*
|
|
26
|
-
* * Create a
|
|
26
|
+
* * Create a spot instance.
|
|
27
27
|
* * Create an instance in the classic network.
|
|
28
28
|
* * Create an instance on a dedicated host.
|
|
29
29
|
*
|
|
@@ -394,12 +394,12 @@ export class CreateLaunchTemplateRequest extends $dara.Model {
|
|
|
394
394
|
securityGroupIds?: string[];
|
|
395
395
|
/**
|
|
396
396
|
* @remarks
|
|
397
|
-
* The protection period of the
|
|
397
|
+
* The protection period of the spot instance. Unit: hours. Default value: 1. Valid values:
|
|
398
398
|
*
|
|
399
|
-
* * 1: After a
|
|
400
|
-
* * 0: After a
|
|
399
|
+
* * 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.
|
|
400
|
+
* * 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.
|
|
401
401
|
*
|
|
402
|
-
* Alibaba Cloud sends an ECS system event to notify you 5 minutes before the instance is released.
|
|
402
|
+
* 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.
|
|
403
403
|
*
|
|
404
404
|
* > This parameter takes effect only if SpotStrategy is set to SpotWithPriceLimit or SpotAsPriceGo.
|
|
405
405
|
*
|
|
@@ -420,8 +420,8 @@ export class CreateLaunchTemplateRequest extends $dara.Model {
|
|
|
420
420
|
* The bidding policy for the pay-as-you-go instance. This parameter is valid only when the `InstanceChargeType` parameter is set to `PostPaid`. Valid values:
|
|
421
421
|
*
|
|
422
422
|
* * NoSpot: The instance is a regular pay-as-you-go instance.
|
|
423
|
-
* * SpotWithPriceLimit: The instance is created as a
|
|
424
|
-
* * SpotAsPriceGo: The instance is created as a
|
|
423
|
+
* * SpotWithPriceLimit: The instance is created as a spot instance with a user-defined maximum hourly price.
|
|
424
|
+
* * SpotAsPriceGo: The instance is created as a spot instance for which the market price at the time of purchase is automatically used as the bidding price.
|
|
425
425
|
*
|
|
426
426
|
* @example
|
|
427
427
|
* NoSpot
|
|
@@ -75,7 +75,7 @@ export class CreateLaunchTemplateRequestDataDisk extends $dara.Model {
|
|
|
75
75
|
device?: string;
|
|
76
76
|
/**
|
|
77
77
|
* @remarks
|
|
78
|
-
* The name of data disk N. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with `http://` or `https://`. can contain letters, digits, colons (:), underscores (_), and hyphens (-).
|
|
78
|
+
* The name of data disk N. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with `http://` or `https://`. The name can contain letters, digits, colons (:), underscores (_), and hyphens (-).
|
|
79
79
|
*
|
|
80
80
|
* @example
|
|
81
81
|
* testDataDiskName
|
|
@@ -58,7 +58,7 @@ export class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
58
58
|
creditSpecification?: string;
|
|
59
59
|
/**
|
|
60
60
|
* @remarks
|
|
61
|
-
* The data disks.
|
|
61
|
+
* The information about the data disks.
|
|
62
62
|
*/
|
|
63
63
|
dataDisk?: CreateLaunchTemplateVersionRequestDataDisk[];
|
|
64
64
|
/**
|
|
@@ -397,12 +397,12 @@ export class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
397
397
|
securityGroupIds?: string[];
|
|
398
398
|
/**
|
|
399
399
|
* @remarks
|
|
400
|
-
* The protection period of the
|
|
400
|
+
* The protection period of the spot instance. Unit: hours. Default value: 1. Valid values:
|
|
401
401
|
*
|
|
402
|
-
* * 1: After a
|
|
403
|
-
* * 0: After a
|
|
402
|
+
* * 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.
|
|
403
|
+
* * 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.
|
|
404
404
|
*
|
|
405
|
-
* Alibaba Cloud sends an ECS system event to notify you 5 minutes before the instance is released.
|
|
405
|
+
* 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.
|
|
406
406
|
*
|
|
407
407
|
* > This parameter takes effect only if SpotStrategy is set to SpotWithPriceLimit or SpotAsPriceGo.
|
|
408
408
|
*
|
|
@@ -412,7 +412,7 @@ export class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
412
412
|
spotDuration?: number;
|
|
413
413
|
/**
|
|
414
414
|
* @remarks
|
|
415
|
-
* The maximum hourly price of the
|
|
415
|
+
* The maximum hourly price of the spot instance. A maximum of three decimal places are allowed.
|
|
416
416
|
*
|
|
417
417
|
* @example
|
|
418
418
|
* 0.97
|
|
@@ -423,8 +423,8 @@ export class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
423
423
|
* The preemption policy for the pay-as-you-go instance. This parameter is valid only when the `InstanceChargeType` parameter is set to `PostPaid`. Default value: NoSpot. Valid values:
|
|
424
424
|
*
|
|
425
425
|
* * NoSpot: The instance is created as a pay-as-you-go instance.
|
|
426
|
-
* * SpotWithPriceLimit: The instances of the compute node are
|
|
427
|
-
* * SpotAsPriceGo: The instance is created as a
|
|
426
|
+
* * SpotWithPriceLimit: The instances of the compute node are spot instances. These types of instances have a specified maximum hourly price.
|
|
427
|
+
* * SpotAsPriceGo: The instance is created as a spot instance for which the market price at the time of purchase is automatically used as the bid price.
|
|
428
428
|
*
|
|
429
429
|
* @example
|
|
430
430
|
* NoSpot
|
|
@@ -29,7 +29,7 @@ export class CreateLaunchTemplateVersionRequestDataDisk extends $dara.Model {
|
|
|
29
29
|
* * cloud: basic disk
|
|
30
30
|
* * cloud_efficiency: utra disk
|
|
31
31
|
* * cloud_ssd: standard SSD
|
|
32
|
-
* * cloud_auto:
|
|
32
|
+
* * cloud_auto: ESSD AutoPL disk
|
|
33
33
|
* * cloud_essd: ESSD
|
|
34
34
|
* * cloud_essd_entry: ESSD Entry disk
|
|
35
35
|
*
|
|
@@ -75,7 +75,7 @@ export class CreateLaunchTemplateVersionRequestDataDisk extends $dara.Model {
|
|
|
75
75
|
device?: string;
|
|
76
76
|
/**
|
|
77
77
|
* @remarks
|
|
78
|
-
* The name of data disk N. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with `http://` or `https://`. can contain letters, digits, colons (:), underscores (_), and hyphens (-).
|
|
78
|
+
* The name of data disk N. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with `http://` or `https://`. The name can contain letters, digits, colons (:), underscores (_), and hyphens (-).
|
|
79
79
|
*
|
|
80
80
|
* @example
|
|
81
81
|
* testDataDiskName
|
|
@@ -15,11 +15,11 @@ export class DescribeAccountAttributesRequest extends $dara.Model {
|
|
|
15
15
|
*
|
|
16
16
|
* * max-postpaid-instance-vcpu-count: the maximum number of vCPUs for pay-as-you-go instances.
|
|
17
17
|
*
|
|
18
|
-
* * max-spot-instance-vcpu-count: the maximum number of vCPUs for
|
|
18
|
+
* * max-spot-instance-vcpu-count: the maximum number of vCPUs for spot instances.
|
|
19
19
|
*
|
|
20
20
|
* * used-postpaid-instance-vcpu-count: the number of vCPUs that have been allocated to pay-as-you-go instances.
|
|
21
21
|
*
|
|
22
|
-
* * used-spot-instance-vcpu-count: the number of vCPUs that have been allocated to
|
|
22
|
+
* * used-spot-instance-vcpu-count: the number of vCPUs that have been allocated to spot instances.
|
|
23
23
|
*
|
|
24
24
|
* * max-postpaid-yundisk-capacity: the maximum capacity of pay-as-you-go data disks. (The value is deprecated.)
|
|
25
25
|
*
|
package/src/models/DescribeAccountAttributesResponseBodyAccountAttributeItemsAccountAttributeItem.ts
CHANGED
|
@@ -12,9 +12,9 @@ export class DescribeAccountAttributesResponseBodyAccountAttributeItemsAccountAt
|
|
|
12
12
|
* * max-security-groups: the maximum number of security groups.
|
|
13
13
|
* * max-elastic-network-interfaces: the maximum number of ENIs.
|
|
14
14
|
* * max-postpaid-instance-vcpu-count: the maximum number of vCPUs for pay-as-you-go instances.
|
|
15
|
-
* * max-spot-instance-vcpu-count: the maximum number of vCPUs for
|
|
15
|
+
* * max-spot-instance-vcpu-count: the maximum number of vCPUs for spot instances.
|
|
16
16
|
* * used-postpaid-instance-vcpu-count: the number of vCPUs that were allocated to pay-as-you-go instances.
|
|
17
|
-
* * used-spot-instance-vcpu-count: the number of vCPUs that were allocated to
|
|
17
|
+
* * used-spot-instance-vcpu-count: the number of vCPUs that were allocated to spot instances.
|
|
18
18
|
* * max-postpaid-yundisk-capacity: the maximum capacity of pay-as-you-go data disks. (The value is deprecated.)
|
|
19
19
|
* * used-postpaid-yundisk-capacity: the capacity of pay-as-you-go data disks that were created. (The value is deprecated.)
|
|
20
20
|
* * max-dedicated-hosts: the maximum number of dedicated hosts.
|
|
@@ -45,7 +45,7 @@ export class DescribeAutoProvisioningGroupInstancesResponseBodyInstancesInstance
|
|
|
45
45
|
ioOptimized?: boolean;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* Indicates whether the instance is a
|
|
48
|
+
* Indicates whether the instance is a spot instance.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* true
|
|
@@ -77,7 +77,7 @@ export class DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAut
|
|
|
77
77
|
launchTemplateVersion?: string;
|
|
78
78
|
/**
|
|
79
79
|
* @remarks
|
|
80
|
-
* The maximum price of
|
|
80
|
+
* The maximum price of spot instances in the auto provisioning group.
|
|
81
81
|
*
|
|
82
82
|
* > When both the MaxSpotPrice and LaunchTemplateConfig.N.MaxPrice parameters are specified, the smaller one of the two parameter values is used.
|
|
83
83
|
*
|
|
@@ -110,7 +110,7 @@ export class DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAut
|
|
|
110
110
|
resourceGroupId?: string;
|
|
111
111
|
/**
|
|
112
112
|
* @remarks
|
|
113
|
-
* The policy related to
|
|
113
|
+
* The policy related to spot instances.
|
|
114
114
|
*/
|
|
115
115
|
spotOptions?: DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoProvisioningGroupSpotOptions;
|
|
116
116
|
/**
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoProvisioningGroupSpotOptions extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The policy for creating
|
|
8
|
+
* The policy for creating spot instances. Valid values:
|
|
9
9
|
*
|
|
10
10
|
* * lowest-price: cost optimization policy. This policy indicates that the lowest-priced instance type is used to create instances.
|
|
11
11
|
* * diversified: balanced distribution policy. This policy indicates that instances are created evenly across multiple zones specified in the extended configuration.
|
|
@@ -16,10 +16,10 @@ export class DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAut
|
|
|
16
16
|
allocationStrategy?: string;
|
|
17
17
|
/**
|
|
18
18
|
* @remarks
|
|
19
|
-
* The action to be performed after the excess
|
|
19
|
+
* The action to be performed after the excess spot instances are stopped. Valid values:
|
|
20
20
|
*
|
|
21
|
-
* * stop: retains the excess
|
|
22
|
-
* * terminate: releases the excess
|
|
21
|
+
* * stop: retains the excess spot instances in the stopped state.
|
|
22
|
+
* * terminate: releases the excess spot instances.
|
|
23
23
|
*
|
|
24
24
|
* @example
|
|
25
25
|
* stop
|
|
@@ -8,7 +8,7 @@ export class DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAut
|
|
|
8
8
|
* The type of supplemental instances. When the sum of the `PayAsYouGoTargetCapacity` and `SpotTargetCapacity` values is less than the `TotalTargetCapacity` value, the auto provisioning group creates instances of the specified billing method to meet the target capacity. Valid values:
|
|
9
9
|
*
|
|
10
10
|
* * PayAsYouGo: pay-as-you-go instances.
|
|
11
|
-
* * Spot:
|
|
11
|
+
* * Spot: spot instances.
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
14
|
* Spot
|
|
@@ -24,7 +24,7 @@ export class DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAut
|
|
|
24
24
|
payAsYouGoTargetCapacity?: number;
|
|
25
25
|
/**
|
|
26
26
|
* @remarks
|
|
27
|
-
* The target capacity of
|
|
27
|
+
* The target capacity of spot instances that the auto provisioning group provisions.
|
|
28
28
|
*
|
|
29
29
|
* @example
|
|
30
30
|
* 20
|
|
@@ -153,12 +153,12 @@ export class DescribeAvailableResourceRequest extends $dara.Model {
|
|
|
153
153
|
scope?: string;
|
|
154
154
|
/**
|
|
155
155
|
* @remarks
|
|
156
|
-
* The protection period of the
|
|
156
|
+
* The protection period of the spot instance. Unit: hours. Default value: 1. Valid values:
|
|
157
157
|
*
|
|
158
|
-
* * 1: After a
|
|
159
|
-
* * 0: After a
|
|
158
|
+
* * 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.
|
|
159
|
+
* * 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.
|
|
160
160
|
*
|
|
161
|
-
* Alibaba Cloud sends an ECS system event to notify you 5 minutes before the instance is released.
|
|
161
|
+
* 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.
|
|
162
162
|
*
|
|
163
163
|
* > This parameter takes effect only if SpotStrategy is set to SpotWithPriceLimit or SpotAsPriceGo.
|
|
164
164
|
*
|
|
@@ -171,8 +171,8 @@ export class DescribeAvailableResourceRequest extends $dara.Model {
|
|
|
171
171
|
* The bidding policy for pay-as-you-go instances. Valid values:
|
|
172
172
|
*
|
|
173
173
|
* * NoSpot: The instance is a pay-as-you-go instance.
|
|
174
|
-
* * SpotWithPriceLimit: The instance is a
|
|
175
|
-
* * SpotAsPriceGo: The instance is a
|
|
174
|
+
* * SpotWithPriceLimit: The instance is a spot instance with a user-defined maximum hourly price.
|
|
175
|
+
* * 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.
|
|
176
176
|
*
|
|
177
177
|
* Default value: NoSpot.
|
|
178
178
|
*
|
|
@@ -69,8 +69,8 @@ export class DescribeBandwidthLimitationRequest extends $dara.Model {
|
|
|
69
69
|
* The bidding policy for the pay-as-you-go instance. Valid values:
|
|
70
70
|
*
|
|
71
71
|
* * NoSpot: The instance is a pay-as-you-go instance.
|
|
72
|
-
* * SpotWithPriceLimit: The instance is a
|
|
73
|
-
* * SpotAsPriceGo: The instance is a
|
|
72
|
+
* * SpotWithPriceLimit: The instance is a spot instance for which you can specify the maximum hourly price.
|
|
73
|
+
* * 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.
|
|
74
74
|
*
|
|
75
75
|
* Default value: NoSpot.
|
|
76
76
|
*
|
|
@@ -217,7 +217,7 @@ export class DescribeDisksRequest extends $dara.Model {
|
|
|
217
217
|
*
|
|
218
218
|
* * financial: The disk is locked due to overdue payments.
|
|
219
219
|
* * security: The disk is locked due to security reasons.
|
|
220
|
-
* * recycling: The
|
|
220
|
+
* * recycling: The spot instance is locked and pending release.
|
|
221
221
|
* * dedicatedhostfinancial: The instance is locked due to overdue payments for the dedicated host.
|
|
222
222
|
*
|
|
223
223
|
* @example
|
|
@@ -210,7 +210,7 @@ export class DescribeInstanceAttributeResponseBody extends $dara.Model {
|
|
|
210
210
|
*
|
|
211
211
|
* * financial: The dedicated host was locked due to overdue payments.
|
|
212
212
|
* * security: The instance was locked due to security reasons.
|
|
213
|
-
* * recycling: The
|
|
213
|
+
* * recycling: The spot instance was locked and pending release.
|
|
214
214
|
* * dedicatedhostfinancial: The instance was locked due to overdue payments for the dedicated host.
|
|
215
215
|
* * refunded: The instance was locked because a refund was made for the instance.
|
|
216
216
|
*/
|
|
@@ -9,7 +9,7 @@ export class DescribeInstanceAttributeResponseBodyOperationLocksLockReason exten
|
|
|
9
9
|
*
|
|
10
10
|
* * financial: The instance was locked due to overdue payments.
|
|
11
11
|
* * security: The instance was locked due to security reasons.
|
|
12
|
-
* * recycling: The
|
|
12
|
+
* * recycling: The spot instance was locked and pending release.
|
|
13
13
|
* * dedicatedhostfinancial: The instance was locked due to overdue payments for the dedicated host.
|
|
14
14
|
* * refunded: The instance was locked because a refund is made for the instance.
|
|
15
15
|
*
|
|
@@ -205,7 +205,7 @@ export class DescribeInstancesRequest extends $dara.Model {
|
|
|
205
205
|
*
|
|
206
206
|
* * financial: The instance is locked due to overdue payments.
|
|
207
207
|
* * security: The instance is locked due to security reasons.
|
|
208
|
-
* * recycling: The
|
|
208
|
+
* * recycling: The spot instance is locked and pending release.
|
|
209
209
|
* * dedicatedhostfinancial: The instance is locked due to overdue payments for the dedicated host.
|
|
210
210
|
* * refunded: The instance is locked because a refund is made for the instance.
|
|
211
211
|
*
|