@alicloud/ecs20140526 7.0.8 → 7.0.10
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 +62 -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/DescribeDiskDefaultKmskeyIdRequest.d.ts +1 -0
- package/dist/models/DescribeDiskDefaultKmskeyIdRequest.js +2 -0
- package/dist/models/DescribeDiskDefaultKmskeyIdRequest.js.map +1 -1
- package/dist/models/DescribeDiskEncryptionByDefaultStatusRequest.d.ts +1 -0
- package/dist/models/DescribeDiskEncryptionByDefaultStatusRequest.js +2 -0
- package/dist/models/DescribeDiskEncryptionByDefaultStatusRequest.js.map +1 -1
- 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/DisableDiskEncryptionByDefaultRequest.d.ts +1 -0
- package/dist/models/DisableDiskEncryptionByDefaultRequest.js +2 -0
- package/dist/models/DisableDiskEncryptionByDefaultRequest.js.map +1 -1
- package/dist/models/ModifyAutoProvisioningGroupRequest.d.ts +4 -4
- package/dist/models/ModifyAutoProvisioningGroupRequestLaunchTemplateConfig.d.ts +1 -1
- package/dist/models/ModifyDiskDefaultKmskeyIdRequest.d.ts +1 -0
- package/dist/models/ModifyDiskDefaultKmskeyIdRequest.js +2 -0
- package/dist/models/ModifyDiskDefaultKmskeyIdRequest.js.map +1 -1
- package/dist/models/ResetDiskDefaultKmskeyIdRequest.d.ts +1 -0
- package/dist/models/ResetDiskDefaultKmskeyIdRequest.js +2 -0
- package/dist/models/ResetDiskDefaultKmskeyIdRequest.js.map +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 +68 -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/DescribeDiskDefaultKmskeyIdRequest.ts +3 -0
- package/src/models/DescribeDiskEncryptionByDefaultStatusRequest.ts +3 -0
- 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/DisableDiskEncryptionByDefaultRequest.ts +3 -0
- package/src/models/ModifyAutoProvisioningGroupRequest.ts +4 -4
- package/src/models/ModifyAutoProvisioningGroupRequestLaunchTemplateConfig.ts +1 -1
- package/src/models/ModifyDiskDefaultKmskeyIdRequest.ts +3 -0
- package/src/models/ResetDiskDefaultKmskeyIdRequest.ts +3 -0
- 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
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
2
|
import { CopyImageRequestTag } from "./CopyImageRequestTag";
|
|
3
3
|
export declare class CopyImageRequest extends $dara.Model {
|
|
4
|
+
/**
|
|
5
|
+
* @remarks
|
|
6
|
+
* 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).
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* 123e4567-e89b-12d3-a456-426655440000
|
|
10
|
+
*/
|
|
4
11
|
clientToken?: string;
|
|
5
12
|
/**
|
|
6
13
|
* @remarks
|
|
@@ -26,6 +33,18 @@ export declare class CopyImageRequest extends $dara.Model {
|
|
|
26
33
|
* cn-shanghai
|
|
27
34
|
*/
|
|
28
35
|
destinationRegionId?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @remarks
|
|
38
|
+
* 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:
|
|
39
|
+
*
|
|
40
|
+
* * 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.
|
|
41
|
+
* * 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.
|
|
42
|
+
*
|
|
43
|
+
* Default value: false.
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* false
|
|
47
|
+
*/
|
|
29
48
|
dryRun?: boolean;
|
|
30
49
|
/**
|
|
31
50
|
* @remarks
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CopyImageRequest.js","sourceRoot":"","sources":["../../src/models/CopyImageRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,+DAA4D;AAG5D,MAAa,gBAAiB,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"CopyImageRequest.js","sourceRoot":"","sources":["../../src/models/CopyImageRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,+DAA4D;AAG5D,MAAa,gBAAiB,SAAQ,KAAK,CAAC,KAAK;IAkH/C,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,sBAAsB,EAAE,wBAAwB;YAChD,oBAAoB,EAAE,sBAAsB;YAC5C,mBAAmB,EAAE,qBAAqB;YAC1C,MAAM,EAAE,QAAQ;YAChB,gBAAgB,EAAE,kBAAkB;YACpC,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,YAAY,EAAE,cAAc;YAC5B,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,eAAe,EAAE,iBAAiB;YAClC,oBAAoB,EAAE,sBAAsB;YAC5C,eAAe,EAAE,iBAAiB;YAClC,GAAG,EAAE,KAAK;SACX,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,sBAAsB,EAAE,QAAQ;YAChC,oBAAoB,EAAE,QAAQ;YAC9B,mBAAmB,EAAE,QAAQ;YAC7B,MAAM,EAAE,SAAS;YACjB,gBAAgB,EAAE,QAAQ;YAC1B,SAAS,EAAE,SAAS;YACpB,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,QAAQ;YAClB,YAAY,EAAE,QAAQ;YACtB,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,QAAQ;YAClB,eAAe,EAAE,QAAQ;YACzB,oBAAoB,EAAE,QAAQ;YAC9B,eAAe,EAAE,QAAQ;YACzB,GAAG,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,yCAAmB,EAAE;SAC1D,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;YAC3B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACtC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtKD,4CAsKC"}
|
|
@@ -48,7 +48,7 @@ export declare class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
48
48
|
* 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:
|
|
49
49
|
*
|
|
50
50
|
* * PayAsYouGo: pay-as-you-go
|
|
51
|
-
* * Spot:
|
|
51
|
+
* * Spot: spot instance
|
|
52
52
|
*
|
|
53
53
|
* Default value: Spot.
|
|
54
54
|
*
|
|
@@ -110,7 +110,7 @@ export declare class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
110
110
|
launchTemplateVersion?: string;
|
|
111
111
|
/**
|
|
112
112
|
* @remarks
|
|
113
|
-
* The maximum price of
|
|
113
|
+
* The maximum price of spot instances in the auto provisioning group.
|
|
114
114
|
*
|
|
115
115
|
* > When both `MaxSpotPrice` and `LaunchTemplateConfig.N.MaxPrice` are specified, the smaller one of the two parameter values is used.
|
|
116
116
|
*
|
|
@@ -188,7 +188,7 @@ export declare class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
188
188
|
resourcePoolOptions?: CreateAutoProvisioningGroupRequestResourcePoolOptions;
|
|
189
189
|
/**
|
|
190
190
|
* @remarks
|
|
191
|
-
* The policy for creating
|
|
191
|
+
* The policy for creating spot instances. Valid values:
|
|
192
192
|
*
|
|
193
193
|
* * lowest-price: cost optimization policy. The auto provisioning group selects the lowest-priced instance type to create instances.
|
|
194
194
|
* * 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.
|
|
@@ -202,10 +202,10 @@ export declare class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
202
202
|
spotAllocationStrategy?: string;
|
|
203
203
|
/**
|
|
204
204
|
* @remarks
|
|
205
|
-
* The operation to be performed on the
|
|
205
|
+
* The operation to be performed on the spot instance when it is interrupted. Valid values:
|
|
206
206
|
*
|
|
207
|
-
* * stop: stops the
|
|
208
|
-
* * terminate: releases the
|
|
207
|
+
* * stop: stops the spot instance.
|
|
208
|
+
* * terminate: releases the spot instance.
|
|
209
209
|
*
|
|
210
210
|
* Default value: terminate.
|
|
211
211
|
*
|
|
@@ -215,7 +215,7 @@ export declare class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
215
215
|
spotInstanceInterruptionBehavior?: string;
|
|
216
216
|
/**
|
|
217
217
|
* @remarks
|
|
218
|
-
* The number of
|
|
218
|
+
* 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`.
|
|
219
219
|
*
|
|
220
220
|
* The value must be smaller than the N value specified in `LaunchTemplateConfig.N`.
|
|
221
221
|
*
|
|
@@ -225,7 +225,7 @@ export declare class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
225
225
|
spotInstancePoolsToUseCount?: number;
|
|
226
226
|
/**
|
|
227
227
|
* @remarks
|
|
228
|
-
* The target capacity of
|
|
228
|
+
* The target capacity of spot instances in the auto provisioning group. The value must be less than or equal to the `TotalTargetCapacity` value.
|
|
229
229
|
*
|
|
230
230
|
* @example
|
|
231
231
|
* 20
|
|
@@ -271,7 +271,7 @@ export declare class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
271
271
|
* @remarks
|
|
272
272
|
* The total target capacity of the auto provisioning group. The value must be a positive integer.
|
|
273
273
|
*
|
|
274
|
-
* 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
|
|
274
|
+
* 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`.
|
|
275
275
|
*
|
|
276
276
|
* This parameter is required.
|
|
277
277
|
*
|
|
@@ -391,12 +391,12 @@ export declare class CreateAutoProvisioningGroupRequestLaunchConfiguration exten
|
|
|
391
391
|
periodUnit?: string;
|
|
392
392
|
/**
|
|
393
393
|
* @remarks
|
|
394
|
-
* The protection period of the
|
|
394
|
+
* The protection period of the spot instance. Unit: hours. Default value: 1. Valid values: Valid values:
|
|
395
395
|
*
|
|
396
|
-
* * 1: After a
|
|
397
|
-
* * 0: After a
|
|
396
|
+
* * 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.
|
|
397
|
+
* * 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.
|
|
398
398
|
*
|
|
399
|
-
* Alibaba Cloud sends an ECS system event to notify you 5 minutes before the instance is released. The
|
|
399
|
+
* 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.
|
|
400
400
|
*
|
|
401
401
|
* When you specify this parameter, take note of the following items:
|
|
402
402
|
*
|
|
@@ -408,7 +408,7 @@ export declare class CreateAutoProvisioningGroupRequestLaunchConfiguration exten
|
|
|
408
408
|
spotDuration?: number;
|
|
409
409
|
/**
|
|
410
410
|
* @remarks
|
|
411
|
-
* The interruption event of the
|
|
411
|
+
* The interruption event of the spot instances. Valid values:
|
|
412
412
|
*
|
|
413
413
|
* * Terminate: The instance is released.
|
|
414
414
|
* * Stop: The instance is stopped in economical mode.
|
|
@@ -61,7 +61,7 @@ export declare class CreateAutoProvisioningGroupRequestLaunchTemplateConfig exte
|
|
|
61
61
|
instanceType?: string;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* The maximum price of
|
|
64
|
+
* The maximum price of spot instances in extended configuration N.
|
|
65
65
|
*
|
|
66
66
|
* > If you specify one or more `LaunchTemplateConfig.N.*` parameters, you must also specify `LaunchTemplateConfig.N.MaxPrice`.
|
|
67
67
|
*
|
|
@@ -43,8 +43,8 @@ export declare class CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchR
|
|
|
43
43
|
* The bidding policy for the pay-as-you-go instance. Valid values:
|
|
44
44
|
*
|
|
45
45
|
* * NoSpot: The instance is a regular pay-as-you-go instance.
|
|
46
|
-
* * SpotWithPriceLimit: The instance is a
|
|
47
|
-
* * SpotAsPriceGo: The instance is a
|
|
46
|
+
* * SpotWithPriceLimit: The instance is a spot instance for which you specify the maximum hourly price.
|
|
47
|
+
* * SpotAsPriceGo: The instance is a spot instance for which the market price at the time of purchase is used as the bid price.
|
|
48
48
|
*
|
|
49
49
|
* @example
|
|
50
50
|
* NoSpot
|
|
@@ -47,7 +47,7 @@ export declare class CreateAutoProvisioningGroupShrinkRequest extends $dara.Mode
|
|
|
47
47
|
* 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:
|
|
48
48
|
*
|
|
49
49
|
* * PayAsYouGo: pay-as-you-go
|
|
50
|
-
* * Spot:
|
|
50
|
+
* * Spot: spot instance
|
|
51
51
|
*
|
|
52
52
|
* Default value: Spot.
|
|
53
53
|
*
|
|
@@ -109,7 +109,7 @@ export declare class CreateAutoProvisioningGroupShrinkRequest extends $dara.Mode
|
|
|
109
109
|
launchTemplateVersion?: string;
|
|
110
110
|
/**
|
|
111
111
|
* @remarks
|
|
112
|
-
* The maximum price of
|
|
112
|
+
* The maximum price of spot instances in the auto provisioning group.
|
|
113
113
|
*
|
|
114
114
|
* > When both `MaxSpotPrice` and `LaunchTemplateConfig.N.MaxPrice` are specified, the smaller one of the two parameter values is used.
|
|
115
115
|
*
|
|
@@ -187,7 +187,7 @@ export declare class CreateAutoProvisioningGroupShrinkRequest extends $dara.Mode
|
|
|
187
187
|
resourcePoolOptionsShrink?: string;
|
|
188
188
|
/**
|
|
189
189
|
* @remarks
|
|
190
|
-
* The policy for creating
|
|
190
|
+
* The policy for creating spot instances. Valid values:
|
|
191
191
|
*
|
|
192
192
|
* * lowest-price: cost optimization policy. The auto provisioning group selects the lowest-priced instance type to create instances.
|
|
193
193
|
* * 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.
|
|
@@ -201,10 +201,10 @@ export declare class CreateAutoProvisioningGroupShrinkRequest extends $dara.Mode
|
|
|
201
201
|
spotAllocationStrategy?: string;
|
|
202
202
|
/**
|
|
203
203
|
* @remarks
|
|
204
|
-
* The operation to be performed on the
|
|
204
|
+
* The operation to be performed on the spot instance when it is interrupted. Valid values:
|
|
205
205
|
*
|
|
206
|
-
* * stop: stops the
|
|
207
|
-
* * terminate: releases the
|
|
206
|
+
* * stop: stops the spot instance.
|
|
207
|
+
* * terminate: releases the spot instance.
|
|
208
208
|
*
|
|
209
209
|
* Default value: terminate.
|
|
210
210
|
*
|
|
@@ -214,7 +214,7 @@ export declare class CreateAutoProvisioningGroupShrinkRequest extends $dara.Mode
|
|
|
214
214
|
spotInstanceInterruptionBehavior?: string;
|
|
215
215
|
/**
|
|
216
216
|
* @remarks
|
|
217
|
-
* The number of
|
|
217
|
+
* 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`.
|
|
218
218
|
*
|
|
219
219
|
* The value must be smaller than the N value specified in `LaunchTemplateConfig.N`.
|
|
220
220
|
*
|
|
@@ -224,7 +224,7 @@ export declare class CreateAutoProvisioningGroupShrinkRequest extends $dara.Mode
|
|
|
224
224
|
spotInstancePoolsToUseCount?: number;
|
|
225
225
|
/**
|
|
226
226
|
* @remarks
|
|
227
|
-
* The target capacity of
|
|
227
|
+
* The target capacity of spot instances in the auto provisioning group. The value must be less than or equal to the `TotalTargetCapacity` value.
|
|
228
228
|
*
|
|
229
229
|
* @example
|
|
230
230
|
* 20
|
|
@@ -270,7 +270,7 @@ export declare class CreateAutoProvisioningGroupShrinkRequest extends $dara.Mode
|
|
|
270
270
|
* @remarks
|
|
271
271
|
* The total target capacity of the auto provisioning group. The value must be a positive integer.
|
|
272
272
|
*
|
|
273
|
-
* 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
|
|
273
|
+
* 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`.
|
|
274
274
|
*
|
|
275
275
|
* This parameter is required.
|
|
276
276
|
*
|
|
@@ -391,12 +391,12 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
391
391
|
periodUnit?: string;
|
|
392
392
|
/**
|
|
393
393
|
* @remarks
|
|
394
|
-
* The protection period of the
|
|
394
|
+
* The protection period of the spot instance. Unit: hours. Default value: 1. Valid values: Valid values:
|
|
395
395
|
*
|
|
396
|
-
* * 1: After a
|
|
397
|
-
* * 0: After a
|
|
396
|
+
* * 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.
|
|
397
|
+
* * 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.
|
|
398
398
|
*
|
|
399
|
-
* Alibaba Cloud sends an ECS system event to notify you 5 minutes before the instance is released. The
|
|
399
|
+
* 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.
|
|
400
400
|
*
|
|
401
401
|
* When you specify this parameter, take note of the following items:
|
|
402
402
|
*
|
|
@@ -408,7 +408,7 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration
|
|
|
408
408
|
spotDuration?: number;
|
|
409
409
|
/**
|
|
410
410
|
* @remarks
|
|
411
|
-
* The interruption event of the
|
|
411
|
+
* The interruption event of the spot instances. Valid values:
|
|
412
412
|
*
|
|
413
413
|
* * Terminate: The instance is released.
|
|
414
414
|
* * Stop: The instance is stopped in economical mode.
|
|
@@ -61,7 +61,7 @@ export declare class CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfi
|
|
|
61
61
|
instanceType?: string;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* The maximum price of
|
|
64
|
+
* The maximum price of spot instances in extended configuration N.
|
|
65
65
|
*
|
|
66
66
|
* > If you specify one or more `LaunchTemplateConfig.N.*` parameters, you must also specify `LaunchTemplateConfig.N.MaxPrice`.
|
|
67
67
|
*
|
|
@@ -86,9 +86,9 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
86
86
|
* @remarks
|
|
87
87
|
* The ID of the dedicated host on which to create the instance.
|
|
88
88
|
*
|
|
89
|
-
* You can call the [DescribeDedicatedHosts](https://help.aliyun.com/document_detail/134242.html) operation to query the list of dedicated host IDs
|
|
89
|
+
* You can call the [DescribeDedicatedHosts](https://help.aliyun.com/document_detail/134242.html) operation to query the list of dedicated host IDs.
|
|
90
90
|
*
|
|
91
|
-
*
|
|
91
|
+
* > Spot instances (spot instances) cannot be created on dedicated hosts. If you specify DedicatedHostId, SpotStrategy and SpotPriceLimit are automatically ignored.
|
|
92
92
|
*
|
|
93
93
|
* @example
|
|
94
94
|
* dh-bp67acfmxazb4p****
|
|
@@ -433,12 +433,12 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
433
433
|
securityGroupId?: string;
|
|
434
434
|
/**
|
|
435
435
|
* @remarks
|
|
436
|
-
* The protection period of the
|
|
436
|
+
* The protection period of the spot instance. Unit: hours. Default value: 1. Valid values:
|
|
437
437
|
*
|
|
438
|
-
* * 1: After a
|
|
439
|
-
* * 0: After a
|
|
438
|
+
* * 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.
|
|
439
|
+
* * 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.
|
|
440
440
|
*
|
|
441
|
-
* Alibaba Cloud sends an ECS system event to notify you 5 minutes before the instance is released.
|
|
441
|
+
* 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.
|
|
442
442
|
*
|
|
443
443
|
* > This parameter takes effect only if the SpotStrategy parameter is set to SpotWithPriceLimit or SpotAsPriceGo.
|
|
444
444
|
*
|
|
@@ -448,7 +448,7 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
448
448
|
spotDuration?: number;
|
|
449
449
|
/**
|
|
450
450
|
* @remarks
|
|
451
|
-
* The interruption mode of the
|
|
451
|
+
* The interruption mode of the spot instance. Valid values:
|
|
452
452
|
*
|
|
453
453
|
* * Terminate: The instance is released.
|
|
454
454
|
*
|
|
@@ -475,8 +475,8 @@ export declare class CreateInstanceRequest extends $dara.Model {
|
|
|
475
475
|
* The bidding policy for the pay-as-you-go instance. This parameter is valid only if you set `InstanceChargeType` to `PostPaid`. Valid values:
|
|
476
476
|
*
|
|
477
477
|
* * NoSpot (default): The instance is created as a regular pay-as-you-go instance.
|
|
478
|
-
* * SpotWithPriceLimit: The instance is a
|
|
479
|
-
* * SpotAsPriceGo: The instance is a
|
|
478
|
+
* * SpotWithPriceLimit: The instance is a spot instance for which you specify the maximum hourly price.
|
|
479
|
+
* * 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.
|
|
480
480
|
*
|
|
481
481
|
* @example
|
|
482
482
|
* NoSpot
|
|
@@ -20,7 +20,7 @@ export declare class CreateInstanceRequestPrivatePoolOptions extends $dara.Model
|
|
|
20
20
|
*
|
|
21
21
|
* In the following scenarios, the PrivatePoolOptions.MatchCriteria parameter can be set only to `None` or left empty:
|
|
22
22
|
*
|
|
23
|
-
* * Create a
|
|
23
|
+
* * Create a spot instance.
|
|
24
24
|
* * Create an instance in the classic network.
|
|
25
25
|
* * Create an instance on a dedicated host.
|
|
26
26
|
*
|
|
@@ -391,12 +391,12 @@ export declare class CreateLaunchTemplateRequest extends $dara.Model {
|
|
|
391
391
|
securityGroupIds?: string[];
|
|
392
392
|
/**
|
|
393
393
|
* @remarks
|
|
394
|
-
* The protection period of the
|
|
394
|
+
* The protection period of the spot instance. Unit: hours. Default value: 1. Valid values:
|
|
395
395
|
*
|
|
396
|
-
* * 1: After a
|
|
397
|
-
* * 0: After a
|
|
396
|
+
* * 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.
|
|
397
|
+
* * 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.
|
|
398
398
|
*
|
|
399
|
-
* Alibaba Cloud sends an ECS system event to notify you 5 minutes before the instance is released.
|
|
399
|
+
* 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.
|
|
400
400
|
*
|
|
401
401
|
* > This parameter takes effect only if SpotStrategy is set to SpotWithPriceLimit or SpotAsPriceGo.
|
|
402
402
|
*
|
|
@@ -417,8 +417,8 @@ export declare class CreateLaunchTemplateRequest extends $dara.Model {
|
|
|
417
417
|
* 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:
|
|
418
418
|
*
|
|
419
419
|
* * NoSpot: The instance is a regular pay-as-you-go instance.
|
|
420
|
-
* * SpotWithPriceLimit: The instance is created as a
|
|
421
|
-
* * SpotAsPriceGo: The instance is created as a
|
|
420
|
+
* * SpotWithPriceLimit: The instance is created as a spot instance with a user-defined maximum hourly price.
|
|
421
|
+
* * 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.
|
|
422
422
|
*
|
|
423
423
|
* @example
|
|
424
424
|
* NoSpot
|
|
@@ -72,7 +72,7 @@ export declare class CreateLaunchTemplateRequestDataDisk extends $dara.Model {
|
|
|
72
72
|
device?: string;
|
|
73
73
|
/**
|
|
74
74
|
* @remarks
|
|
75
|
-
* 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 (-).
|
|
75
|
+
* 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 (-).
|
|
76
76
|
*
|
|
77
77
|
* @example
|
|
78
78
|
* testDataDiskName
|
|
@@ -55,7 +55,7 @@ export declare class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
55
55
|
creditSpecification?: string;
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
* The data disks.
|
|
58
|
+
* The information about the data disks.
|
|
59
59
|
*/
|
|
60
60
|
dataDisk?: CreateLaunchTemplateVersionRequestDataDisk[];
|
|
61
61
|
/**
|
|
@@ -394,12 +394,12 @@ export declare class CreateLaunchTemplateVersionRequest 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
|
*
|
|
@@ -409,7 +409,7 @@ export declare class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
409
409
|
spotDuration?: number;
|
|
410
410
|
/**
|
|
411
411
|
* @remarks
|
|
412
|
-
* The maximum hourly price of the
|
|
412
|
+
* The maximum hourly price of the spot instance. A maximum of three decimal places are allowed.
|
|
413
413
|
*
|
|
414
414
|
* @example
|
|
415
415
|
* 0.97
|
|
@@ -420,8 +420,8 @@ export declare class CreateLaunchTemplateVersionRequest extends $dara.Model {
|
|
|
420
420
|
* 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:
|
|
421
421
|
*
|
|
422
422
|
* * NoSpot: The instance is created as a pay-as-you-go instance.
|
|
423
|
-
* * SpotWithPriceLimit: The instances of the compute node are
|
|
424
|
-
* * SpotAsPriceGo: The instance is created as a
|
|
423
|
+
* * SpotWithPriceLimit: The instances of the compute node are spot instances. These types of instances have a specified 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 bid price.
|
|
425
425
|
*
|
|
426
426
|
* @example
|
|
427
427
|
* NoSpot
|
|
@@ -26,7 +26,7 @@ export declare class CreateLaunchTemplateVersionRequestDataDisk extends $dara.Mo
|
|
|
26
26
|
* * cloud: basic disk
|
|
27
27
|
* * cloud_efficiency: utra disk
|
|
28
28
|
* * cloud_ssd: standard SSD
|
|
29
|
-
* * cloud_auto:
|
|
29
|
+
* * cloud_auto: ESSD AutoPL disk
|
|
30
30
|
* * cloud_essd: ESSD
|
|
31
31
|
* * cloud_essd_entry: ESSD Entry disk
|
|
32
32
|
*
|
|
@@ -72,7 +72,7 @@ export declare class CreateLaunchTemplateVersionRequestDataDisk extends $dara.Mo
|
|
|
72
72
|
device?: string;
|
|
73
73
|
/**
|
|
74
74
|
* @remarks
|
|
75
|
-
* 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 (-).
|
|
75
|
+
* 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 (-).
|
|
76
76
|
*
|
|
77
77
|
* @example
|
|
78
78
|
* testDataDiskName
|
|
@@ -12,11 +12,11 @@ export declare class DescribeAccountAttributesRequest extends $dara.Model {
|
|
|
12
12
|
*
|
|
13
13
|
* * max-postpaid-instance-vcpu-count: the maximum number of vCPUs for pay-as-you-go instances.
|
|
14
14
|
*
|
|
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
|
*
|
|
17
17
|
* * used-postpaid-instance-vcpu-count: the number of vCPUs that have been allocated to pay-as-you-go instances.
|
|
18
18
|
*
|
|
19
|
-
* * used-spot-instance-vcpu-count: the number of vCPUs that have been allocated to
|
|
19
|
+
* * used-spot-instance-vcpu-count: the number of vCPUs that have been allocated to spot instances.
|
|
20
20
|
*
|
|
21
21
|
* * max-postpaid-yundisk-capacity: the maximum capacity of pay-as-you-go data disks. (The value is deprecated.)
|
|
22
22
|
*
|
|
@@ -9,9 +9,9 @@ export declare class DescribeAccountAttributesResponseBodyAccountAttributeItemsA
|
|
|
9
9
|
* * max-security-groups: the maximum number of security groups.
|
|
10
10
|
* * max-elastic-network-interfaces: the maximum number of ENIs.
|
|
11
11
|
* * max-postpaid-instance-vcpu-count: the maximum number of vCPUs for pay-as-you-go instances.
|
|
12
|
-
* * max-spot-instance-vcpu-count: the maximum number of vCPUs for
|
|
12
|
+
* * max-spot-instance-vcpu-count: the maximum number of vCPUs for spot instances.
|
|
13
13
|
* * used-postpaid-instance-vcpu-count: the number of vCPUs that were allocated to pay-as-you-go instances.
|
|
14
|
-
* * used-spot-instance-vcpu-count: the number of vCPUs that were allocated to
|
|
14
|
+
* * used-spot-instance-vcpu-count: the number of vCPUs that were allocated to spot instances.
|
|
15
15
|
* * max-postpaid-yundisk-capacity: the maximum capacity of pay-as-you-go data disks. (The value is deprecated.)
|
|
16
16
|
* * used-postpaid-yundisk-capacity: the capacity of pay-as-you-go data disks that were created. (The value is deprecated.)
|
|
17
17
|
* * max-dedicated-hosts: the maximum number of dedicated hosts.
|
package/dist/models/DescribeAutoProvisioningGroupInstancesResponseBodyInstancesInstance.d.ts
CHANGED
|
@@ -42,7 +42,7 @@ export declare class DescribeAutoProvisioningGroupInstancesResponseBodyInstances
|
|
|
42
42
|
ioOptimized?: boolean;
|
|
43
43
|
/**
|
|
44
44
|
* @remarks
|
|
45
|
-
* Indicates whether the instance is a
|
|
45
|
+
* Indicates whether the instance is a spot instance.
|
|
46
46
|
*
|
|
47
47
|
* @example
|
|
48
48
|
* true
|
|
@@ -74,7 +74,7 @@ export declare class DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningG
|
|
|
74
74
|
launchTemplateVersion?: string;
|
|
75
75
|
/**
|
|
76
76
|
* @remarks
|
|
77
|
-
* The maximum price of
|
|
77
|
+
* The maximum price of spot instances in the auto provisioning group.
|
|
78
78
|
*
|
|
79
79
|
* > When both the MaxSpotPrice and LaunchTemplateConfig.N.MaxPrice parameters are specified, the smaller one of the two parameter values is used.
|
|
80
80
|
*
|
|
@@ -107,7 +107,7 @@ export declare class DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningG
|
|
|
107
107
|
resourceGroupId?: string;
|
|
108
108
|
/**
|
|
109
109
|
* @remarks
|
|
110
|
-
* The policy related to
|
|
110
|
+
* The policy related to spot instances.
|
|
111
111
|
*/
|
|
112
112
|
spotOptions?: DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoProvisioningGroupSpotOptions;
|
|
113
113
|
/**
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoProvisioningGroupSpotOptions extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The policy for creating
|
|
5
|
+
* The policy for creating spot instances. Valid values:
|
|
6
6
|
*
|
|
7
7
|
* * lowest-price: cost optimization policy. This policy indicates that the lowest-priced instance type is used to create instances.
|
|
8
8
|
* * diversified: balanced distribution policy. This policy indicates that instances are created evenly across multiple zones specified in the extended configuration.
|
|
@@ -13,10 +13,10 @@ export declare class DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningG
|
|
|
13
13
|
allocationStrategy?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The action to be performed after the excess
|
|
16
|
+
* The action to be performed after the excess spot instances are stopped. Valid values:
|
|
17
17
|
*
|
|
18
|
-
* * stop: retains the excess
|
|
19
|
-
* * terminate: releases the excess
|
|
18
|
+
* * stop: retains the excess spot instances in the stopped state.
|
|
19
|
+
* * terminate: releases the excess spot instances.
|
|
20
20
|
*
|
|
21
21
|
* @example
|
|
22
22
|
* stop
|
|
@@ -5,7 +5,7 @@ export declare class DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningG
|
|
|
5
5
|
* 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:
|
|
6
6
|
*
|
|
7
7
|
* * PayAsYouGo: pay-as-you-go instances.
|
|
8
|
-
* * Spot:
|
|
8
|
+
* * Spot: spot instances.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* Spot
|
|
@@ -21,7 +21,7 @@ export declare class DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningG
|
|
|
21
21
|
payAsYouGoTargetCapacity?: number;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The target capacity of
|
|
24
|
+
* The target capacity of spot instances that the auto provisioning group provisions.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* 20
|
|
@@ -150,12 +150,12 @@ export declare class DescribeAvailableResourceRequest extends $dara.Model {
|
|
|
150
150
|
scope?: string;
|
|
151
151
|
/**
|
|
152
152
|
* @remarks
|
|
153
|
-
* The protection period of the
|
|
153
|
+
* The protection period of the spot instance. Unit: hours. Default value: 1. Valid values:
|
|
154
154
|
*
|
|
155
|
-
* * 1: After a
|
|
156
|
-
* * 0: After a
|
|
155
|
+
* * 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.
|
|
156
|
+
* * 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.
|
|
157
157
|
*
|
|
158
|
-
* Alibaba Cloud sends an ECS system event to notify you 5 minutes before the instance is released.
|
|
158
|
+
* 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.
|
|
159
159
|
*
|
|
160
160
|
* > This parameter takes effect only if SpotStrategy is set to SpotWithPriceLimit or SpotAsPriceGo.
|
|
161
161
|
*
|
|
@@ -168,8 +168,8 @@ export declare class DescribeAvailableResourceRequest extends $dara.Model {
|
|
|
168
168
|
* The bidding policy for pay-as-you-go instances. Valid values:
|
|
169
169
|
*
|
|
170
170
|
* * NoSpot: The instance is a pay-as-you-go instance.
|
|
171
|
-
* * SpotWithPriceLimit: The instance is a
|
|
172
|
-
* * SpotAsPriceGo: The instance is a
|
|
171
|
+
* * SpotWithPriceLimit: The instance is a spot instance with a user-defined maximum hourly price.
|
|
172
|
+
* * 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.
|
|
173
173
|
*
|
|
174
174
|
* Default value: NoSpot.
|
|
175
175
|
*
|
|
@@ -66,8 +66,8 @@ export declare class DescribeBandwidthLimitationRequest extends $dara.Model {
|
|
|
66
66
|
* The bidding policy for the pay-as-you-go instance. Valid values:
|
|
67
67
|
*
|
|
68
68
|
* * NoSpot: The instance is a pay-as-you-go instance.
|
|
69
|
-
* * SpotWithPriceLimit: The instance is a
|
|
70
|
-
* * SpotAsPriceGo: The instance is a
|
|
69
|
+
* * SpotWithPriceLimit: The instance is a spot instance for which you can specify the maximum hourly price.
|
|
70
|
+
* * 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.
|
|
71
71
|
*
|
|
72
72
|
* Default value: NoSpot.
|
|
73
73
|
*
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
2
|
export declare class DescribeDiskDefaultKMSKeyIdRequest extends $dara.Model {
|
|
3
|
+
ownerId?: number;
|
|
3
4
|
/**
|
|
4
5
|
* @remarks
|
|
5
6
|
* The ID of the region. You can call the DescribeRegions operation to query the most recent region list.
|
|
@@ -39,12 +39,14 @@ const $dara = __importStar(require("@darabonba/typescript"));
|
|
|
39
39
|
class DescribeDiskDefaultKMSKeyIdRequest extends $dara.Model {
|
|
40
40
|
static names() {
|
|
41
41
|
return {
|
|
42
|
+
ownerId: 'OwnerId',
|
|
42
43
|
regionId: 'RegionId',
|
|
43
44
|
resourceOwnerId: 'ResourceOwnerId',
|
|
44
45
|
};
|
|
45
46
|
}
|
|
46
47
|
static types() {
|
|
47
48
|
return {
|
|
49
|
+
ownerId: 'number',
|
|
48
50
|
regionId: 'string',
|
|
49
51
|
resourceOwnerId: 'number',
|
|
50
52
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DescribeDiskDefaultKmskeyIdRequest.js","sourceRoot":"","sources":["../../src/models/DescribeDiskDefaultKmskeyIdRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,kCAAmC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"DescribeDiskDefaultKmskeyIdRequest.js","sourceRoot":"","sources":["../../src/models/DescribeDiskDefaultKmskeyIdRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,kCAAmC,SAAQ,KAAK,CAAC,KAAK;IAajE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,eAAe,EAAE,iBAAiB;SACnC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,QAAQ;YAClB,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;AApCD,gFAoCC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
2
|
export declare class DescribeDiskEncryptionByDefaultStatusRequest extends $dara.Model {
|
|
3
|
+
ownerId?: number;
|
|
3
4
|
/**
|
|
4
5
|
* @remarks
|
|
5
6
|
* The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/2679950.html) operation to query the most recent region list.
|