@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.
Files changed (140) hide show
  1. package/dist/client.d.ts +44 -36
  2. package/dist/client.js +62 -36
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CopyImageRequest.d.ts +19 -0
  5. package/dist/models/CopyImageRequest.js.map +1 -1
  6. package/dist/models/CreateAutoProvisioningGroupRequest.d.ts +9 -9
  7. package/dist/models/CreateAutoProvisioningGroupRequestLaunchConfiguration.d.ts +5 -5
  8. package/dist/models/CreateAutoProvisioningGroupRequestLaunchTemplateConfig.d.ts +1 -1
  9. package/dist/models/CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchResult.d.ts +2 -2
  10. package/dist/models/CreateAutoProvisioningGroupShrinkRequest.d.ts +9 -9
  11. package/dist/models/CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration.d.ts +5 -5
  12. package/dist/models/CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig.d.ts +1 -1
  13. package/dist/models/CreateInstanceRequest.d.ts +9 -9
  14. package/dist/models/CreateInstanceRequestPrivatePoolOptions.d.ts +1 -1
  15. package/dist/models/CreateLaunchTemplateRequest.d.ts +6 -6
  16. package/dist/models/CreateLaunchTemplateRequestDataDisk.d.ts +1 -1
  17. package/dist/models/CreateLaunchTemplateVersionRequest.d.ts +8 -8
  18. package/dist/models/CreateLaunchTemplateVersionRequestDataDisk.d.ts +2 -2
  19. package/dist/models/DescribeAccountAttributesRequest.d.ts +2 -2
  20. package/dist/models/DescribeAccountAttributesResponseBodyAccountAttributeItemsAccountAttributeItem.d.ts +2 -2
  21. package/dist/models/DescribeAutoProvisioningGroupInstancesResponseBodyInstancesInstance.d.ts +1 -1
  22. package/dist/models/DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoProvisioningGroup.d.ts +2 -2
  23. package/dist/models/DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoProvisioningGroupSpotOptions.d.ts +4 -4
  24. package/dist/models/DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoProvisioningGroupTargetCapacitySpecification.d.ts +2 -2
  25. package/dist/models/DescribeAvailableResourceRequest.d.ts +6 -6
  26. package/dist/models/DescribeBandwidthLimitationRequest.d.ts +2 -2
  27. package/dist/models/DescribeDiskDefaultKmskeyIdRequest.d.ts +1 -0
  28. package/dist/models/DescribeDiskDefaultKmskeyIdRequest.js +2 -0
  29. package/dist/models/DescribeDiskDefaultKmskeyIdRequest.js.map +1 -1
  30. package/dist/models/DescribeDiskEncryptionByDefaultStatusRequest.d.ts +1 -0
  31. package/dist/models/DescribeDiskEncryptionByDefaultStatusRequest.js +2 -0
  32. package/dist/models/DescribeDiskEncryptionByDefaultStatusRequest.js.map +1 -1
  33. package/dist/models/DescribeDisksRequest.d.ts +1 -1
  34. package/dist/models/DescribeInstanceAttributeResponseBody.d.ts +1 -1
  35. package/dist/models/DescribeInstanceAttributeResponseBodyOperationLocksLockReason.d.ts +1 -1
  36. package/dist/models/DescribeInstancesRequest.d.ts +1 -1
  37. package/dist/models/DescribeInstancesResponseBodyInstancesInstance.d.ts +8 -8
  38. package/dist/models/DescribeInstancesResponseBodyInstancesInstanceOperationLocksLockReason.d.ts +1 -1
  39. package/dist/models/DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateData.d.ts +7 -7
  40. package/dist/models/DescribePriceRequest.d.ts +7 -7
  41. package/dist/models/DescribeRecommendInstanceTypeRequest.d.ts +27 -27
  42. package/dist/models/DescribeRecommendInstanceTypeResponseBody.d.ts +1 -1
  43. package/dist/models/DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceType.d.ts +7 -7
  44. package/dist/models/DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceTypeZonesZone.d.ts +2 -2
  45. package/dist/models/DescribeRegionsRequest.d.ts +2 -2
  46. package/dist/models/DescribeSnapshotLinksRequest.d.ts +17 -0
  47. package/dist/models/DescribeSnapshotLinksRequest.js.map +1 -1
  48. package/dist/models/DescribeSnapshotLinksResponseBody.d.ts +7 -0
  49. package/dist/models/DescribeSnapshotLinksResponseBody.js.map +1 -1
  50. package/dist/models/DescribeSpotAdviceResponseBody.d.ts +2 -2
  51. package/dist/models/DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZone.d.ts +1 -1
  52. package/dist/models/DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZoneAvailableSpotResourcesAvailableSpotResource.d.ts +4 -4
  53. package/dist/models/DescribeSpotPriceHistoryRequest.d.ts +7 -7
  54. package/dist/models/DescribeSpotPriceHistoryResponseBody.d.ts +4 -4
  55. package/dist/models/DescribeSpotPriceHistoryResponseBodySpotPricesSpotPriceType.d.ts +5 -5
  56. package/dist/models/DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConnection.d.ts +1 -0
  57. package/dist/models/DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConnection.js +2 -0
  58. package/dist/models/DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConnection.js.map +1 -1
  59. package/dist/models/DescribeZonesRequest.d.ts +3 -3
  60. package/dist/models/DisableDiskEncryptionByDefaultRequest.d.ts +1 -0
  61. package/dist/models/DisableDiskEncryptionByDefaultRequest.js +2 -0
  62. package/dist/models/DisableDiskEncryptionByDefaultRequest.js.map +1 -1
  63. package/dist/models/ModifyAutoProvisioningGroupRequest.d.ts +4 -4
  64. package/dist/models/ModifyAutoProvisioningGroupRequestLaunchTemplateConfig.d.ts +1 -1
  65. package/dist/models/ModifyDiskDefaultKmskeyIdRequest.d.ts +1 -0
  66. package/dist/models/ModifyDiskDefaultKmskeyIdRequest.js +2 -0
  67. package/dist/models/ModifyDiskDefaultKmskeyIdRequest.js.map +1 -1
  68. package/dist/models/ResetDiskDefaultKmskeyIdRequest.d.ts +1 -0
  69. package/dist/models/ResetDiskDefaultKmskeyIdRequest.js +2 -0
  70. package/dist/models/ResetDiskDefaultKmskeyIdRequest.js.map +1 -1
  71. package/dist/models/RunInstancesRequest.d.ts +8 -8
  72. package/dist/models/RunInstancesRequestPrivatePoolOptions.d.ts +1 -1
  73. package/dist/models/StartTerminalSessionRequest.d.ts +1 -0
  74. package/dist/models/StartTerminalSessionRequest.js +2 -0
  75. package/dist/models/StartTerminalSessionRequest.js.map +1 -1
  76. package/dist/models/StopInstanceRequest.d.ts +14 -3
  77. package/dist/models/StopInstanceRequest.js.map +1 -1
  78. package/dist/models/StopInstancesRequest.d.ts +27 -11
  79. package/dist/models/StopInstancesRequest.js.map +1 -1
  80. package/dist/models/StopInstancesResponseBodyInstanceResponsesInstanceResponse.d.ts +1 -1
  81. package/package.json +1 -1
  82. package/src/client.ts +68 -36
  83. package/src/models/CopyImageRequest.ts +19 -0
  84. package/src/models/CreateAutoProvisioningGroupRequest.ts +9 -9
  85. package/src/models/CreateAutoProvisioningGroupRequestLaunchConfiguration.ts +5 -5
  86. package/src/models/CreateAutoProvisioningGroupRequestLaunchTemplateConfig.ts +1 -1
  87. package/src/models/CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchResult.ts +2 -2
  88. package/src/models/CreateAutoProvisioningGroupShrinkRequest.ts +9 -9
  89. package/src/models/CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration.ts +5 -5
  90. package/src/models/CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig.ts +1 -1
  91. package/src/models/CreateInstanceRequest.ts +9 -9
  92. package/src/models/CreateInstanceRequestPrivatePoolOptions.ts +1 -1
  93. package/src/models/CreateLaunchTemplateRequest.ts +6 -6
  94. package/src/models/CreateLaunchTemplateRequestDataDisk.ts +1 -1
  95. package/src/models/CreateLaunchTemplateVersionRequest.ts +8 -8
  96. package/src/models/CreateLaunchTemplateVersionRequestDataDisk.ts +2 -2
  97. package/src/models/DescribeAccountAttributesRequest.ts +2 -2
  98. package/src/models/DescribeAccountAttributesResponseBodyAccountAttributeItemsAccountAttributeItem.ts +2 -2
  99. package/src/models/DescribeAutoProvisioningGroupInstancesResponseBodyInstancesInstance.ts +1 -1
  100. package/src/models/DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoProvisioningGroup.ts +2 -2
  101. package/src/models/DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoProvisioningGroupSpotOptions.ts +4 -4
  102. package/src/models/DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoProvisioningGroupTargetCapacitySpecification.ts +2 -2
  103. package/src/models/DescribeAvailableResourceRequest.ts +6 -6
  104. package/src/models/DescribeBandwidthLimitationRequest.ts +2 -2
  105. package/src/models/DescribeDiskDefaultKmskeyIdRequest.ts +3 -0
  106. package/src/models/DescribeDiskEncryptionByDefaultStatusRequest.ts +3 -0
  107. package/src/models/DescribeDisksRequest.ts +1 -1
  108. package/src/models/DescribeInstanceAttributeResponseBody.ts +1 -1
  109. package/src/models/DescribeInstanceAttributeResponseBodyOperationLocksLockReason.ts +1 -1
  110. package/src/models/DescribeInstancesRequest.ts +1 -1
  111. package/src/models/DescribeInstancesResponseBodyInstancesInstance.ts +8 -8
  112. package/src/models/DescribeInstancesResponseBodyInstancesInstanceOperationLocksLockReason.ts +1 -1
  113. package/src/models/DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateData.ts +7 -7
  114. package/src/models/DescribePriceRequest.ts +7 -7
  115. package/src/models/DescribeRecommendInstanceTypeRequest.ts +27 -27
  116. package/src/models/DescribeRecommendInstanceTypeResponseBody.ts +1 -1
  117. package/src/models/DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceType.ts +7 -7
  118. package/src/models/DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceTypeZonesZone.ts +2 -2
  119. package/src/models/DescribeRegionsRequest.ts +2 -2
  120. package/src/models/DescribeSnapshotLinksRequest.ts +17 -0
  121. package/src/models/DescribeSnapshotLinksResponseBody.ts +7 -0
  122. package/src/models/DescribeSpotAdviceResponseBody.ts +2 -2
  123. package/src/models/DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZone.ts +1 -1
  124. package/src/models/DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZoneAvailableSpotResourcesAvailableSpotResource.ts +4 -4
  125. package/src/models/DescribeSpotPriceHistoryRequest.ts +7 -7
  126. package/src/models/DescribeSpotPriceHistoryResponseBody.ts +4 -4
  127. package/src/models/DescribeSpotPriceHistoryResponseBodySpotPricesSpotPriceType.ts +5 -5
  128. package/src/models/DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConnection.ts +3 -0
  129. package/src/models/DescribeZonesRequest.ts +3 -3
  130. package/src/models/DisableDiskEncryptionByDefaultRequest.ts +3 -0
  131. package/src/models/ModifyAutoProvisioningGroupRequest.ts +4 -4
  132. package/src/models/ModifyAutoProvisioningGroupRequestLaunchTemplateConfig.ts +1 -1
  133. package/src/models/ModifyDiskDefaultKmskeyIdRequest.ts +3 -0
  134. package/src/models/ResetDiskDefaultKmskeyIdRequest.ts +3 -0
  135. package/src/models/RunInstancesRequest.ts +8 -8
  136. package/src/models/RunInstancesRequestPrivatePoolOptions.ts +1 -1
  137. package/src/models/StartTerminalSessionRequest.ts +3 -0
  138. package/src/models/StopInstanceRequest.ts +14 -3
  139. package/src/models/StopInstancesRequest.ts +27 -11
  140. package/src/models/StopInstancesResponseBodyInstanceResponsesInstanceResponse.ts +1 -1
package/src/client.ts CHANGED
@@ -2923,9 +2923,9 @@ export default class Client extends OpenApi {
2923
2923
  *
2924
2924
  * @remarks
2925
2925
  * ## [](#)Usage notes
2926
- * * Auto Provisioning is a service that allows quick deployment of an instance cluster that consists of preemptible instances and pay-as-you-go instances. Auto Provisioning supports push-button deployment of instance clusters across different billing methods, instance families, and zones. For more information, see [Use auto provisioning group-related API operations to create multiple ECS instances at the same time](https://help.aliyun.com/document_detail/200772.html).
2927
- * * Auto Provisioning uses auto provisioning groups to schedule and maintain computing resources. You can use auto provisioning groups to obtain a steady supply of computing resources. This helps reduce the impact on compute capacity when preemptible instances are reclaimed.
2928
- * * Auto Provisioning is provided free of charge. However, you are charged for instance resources that are created in auto provisioning groups. For more information, see [Overview of preemptible instances](https://help.aliyun.com/document_detail/52088.html) and [Pay-as-you-go](https://help.aliyun.com/document_detail/40653.html).
2926
+ * * Auto Provisioning is a service that allows quick deployment of an instance cluster that consists of spot instances and pay-as-you-go instances. Auto Provisioning supports push-button deployment of instance clusters across different billing methods, instance families, and zones. For more information, see [Use auto provisioning group-related API operations to create multiple ECS instances at the same time](https://help.aliyun.com/document_detail/200772.html).
2927
+ * * Auto Provisioning uses auto provisioning groups to schedule and maintain computing resources. You can use auto provisioning groups to obtain a steady supply of computing resources. This helps reduce the impact on compute capacity when spot instances are reclaimed.
2928
+ * * Auto Provisioning is provided free of charge. However, you are charged for instance resources that are created in auto provisioning groups. For more information, see [Overview of spot instances](https://help.aliyun.com/document_detail/52088.html) and [Pay-as-you-go](https://help.aliyun.com/document_detail/40653.html).
2929
2929
  * * When you specify both a launch template (`LaunchTemplateId`) and extended configurations (`LaunchConfiguration.*` parameters), LaunchTemplateId takes precedence.
2930
2930
  *
2931
2931
  * @param tmpReq - CreateAutoProvisioningGroupRequest
@@ -3103,9 +3103,9 @@ export default class Client extends OpenApi {
3103
3103
  *
3104
3104
  * @remarks
3105
3105
  * ## [](#)Usage notes
3106
- * * Auto Provisioning is a service that allows quick deployment of an instance cluster that consists of preemptible instances and pay-as-you-go instances. Auto Provisioning supports push-button deployment of instance clusters across different billing methods, instance families, and zones. For more information, see [Use auto provisioning group-related API operations to create multiple ECS instances at the same time](https://help.aliyun.com/document_detail/200772.html).
3107
- * * Auto Provisioning uses auto provisioning groups to schedule and maintain computing resources. You can use auto provisioning groups to obtain a steady supply of computing resources. This helps reduce the impact on compute capacity when preemptible instances are reclaimed.
3108
- * * Auto Provisioning is provided free of charge. However, you are charged for instance resources that are created in auto provisioning groups. For more information, see [Overview of preemptible instances](https://help.aliyun.com/document_detail/52088.html) and [Pay-as-you-go](https://help.aliyun.com/document_detail/40653.html).
3106
+ * * Auto Provisioning is a service that allows quick deployment of an instance cluster that consists of spot instances and pay-as-you-go instances. Auto Provisioning supports push-button deployment of instance clusters across different billing methods, instance families, and zones. For more information, see [Use auto provisioning group-related API operations to create multiple ECS instances at the same time](https://help.aliyun.com/document_detail/200772.html).
3107
+ * * Auto Provisioning uses auto provisioning groups to schedule and maintain computing resources. You can use auto provisioning groups to obtain a steady supply of computing resources. This helps reduce the impact on compute capacity when spot instances are reclaimed.
3108
+ * * Auto Provisioning is provided free of charge. However, you are charged for instance resources that are created in auto provisioning groups. For more information, see [Overview of spot instances](https://help.aliyun.com/document_detail/52088.html) and [Pay-as-you-go](https://help.aliyun.com/document_detail/40653.html).
3109
3109
  * * When you specify both a launch template (`LaunchTemplateId`) and extended configurations (`LaunchConfiguration.*` parameters), LaunchTemplateId takes precedence.
3110
3110
  *
3111
3111
  * @param request - CreateAutoProvisioningGroupRequest
@@ -10269,7 +10269,7 @@ export default class Client extends OpenApi {
10269
10269
  }
10270
10270
 
10271
10271
  /**
10272
- * Queries the quotas of Elastic Compute Service (ECS) resources that you can create in an Alibaba Cloud region. For a specific region, you can query the maximum numbers of security groups, elastic network interfaces (ENIs), vCPUs for pay-as-you-go instances, vCPUs for preemptible instances, and dedicated hosts that you can create and the capacity quotas for pay-as-you-go disks that you can create. You can also query information such as network types or whether an account has completed real-name verification.
10272
+ * Queries the quotas of Elastic Compute Service (ECS) resources that you can create in an Alibaba Cloud region. For a specific region, you can query the maximum numbers of security groups, elastic network interfaces (ENIs), vCPUs for pay-as-you-go instances, vCPUs for spot instances, and dedicated hosts that you can create and the capacity quotas for pay-as-you-go disks that you can create. You can also query information such as network types or whether an account has completed real-name verification.
10273
10273
  *
10274
10274
  * @remarks
10275
10275
  * After you [create](https://account.alibabacloud.com/register/intl_register.htm) an Alibaba Cloud account, you can create a specific number of ECS instances in different regions within the account. For more information, see [Limits](https://help.aliyun.com/document_detail/25412.html).
@@ -10324,7 +10324,7 @@ export default class Client extends OpenApi {
10324
10324
  }
10325
10325
 
10326
10326
  /**
10327
- * Queries the quotas of Elastic Compute Service (ECS) resources that you can create in an Alibaba Cloud region. For a specific region, you can query the maximum numbers of security groups, elastic network interfaces (ENIs), vCPUs for pay-as-you-go instances, vCPUs for preemptible instances, and dedicated hosts that you can create and the capacity quotas for pay-as-you-go disks that you can create. You can also query information such as network types or whether an account has completed real-name verification.
10327
+ * Queries the quotas of Elastic Compute Service (ECS) resources that you can create in an Alibaba Cloud region. For a specific region, you can query the maximum numbers of security groups, elastic network interfaces (ENIs), vCPUs for pay-as-you-go instances, vCPUs for spot instances, and dedicated hosts that you can create and the capacity quotas for pay-as-you-go disks that you can create. You can also query information such as network types or whether an account has completed real-name verification.
10328
10328
  *
10329
10329
  * @remarks
10330
10330
  * After you [create](https://account.alibabacloud.com/register/intl_register.htm) an Alibaba Cloud account, you can create a specific number of ECS instances in different regions within the account. For more information, see [Limits](https://help.aliyun.com/document_detail/25412.html).
@@ -11503,6 +11503,8 @@ export default class Client extends OpenApi {
11503
11503
  }
11504
11504
 
11505
11505
  /**
11506
+ * 查询集群
11507
+ *
11506
11508
  * @deprecated OpenAPI DescribeClusters is deprecated
11507
11509
  *
11508
11510
  * @param request - DescribeClustersRequest
@@ -11551,6 +11553,8 @@ export default class Client extends OpenApi {
11551
11553
  }
11552
11554
 
11553
11555
  /**
11556
+ * 查询集群
11557
+ *
11554
11558
  * @deprecated OpenAPI DescribeClusters is deprecated
11555
11559
  *
11556
11560
  * @param request - DescribeClustersRequest
@@ -12444,6 +12448,10 @@ export default class Client extends OpenApi {
12444
12448
  async describeDiskDefaultKMSKeyIdWithOptions(request: $_model.DescribeDiskDefaultKMSKeyIdRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeDiskDefaultKMSKeyIdResponse> {
12445
12449
  request.validate();
12446
12450
  let query = { };
12451
+ if (!$dara.isNull(request.ownerId)) {
12452
+ query["OwnerId"] = request.ownerId;
12453
+ }
12454
+
12447
12455
  if (!$dara.isNull(request.regionId)) {
12448
12456
  query["RegionId"] = request.regionId;
12449
12457
  }
@@ -12490,6 +12498,10 @@ export default class Client extends OpenApi {
12490
12498
  async describeDiskEncryptionByDefaultStatusWithOptions(request: $_model.DescribeDiskEncryptionByDefaultStatusRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeDiskEncryptionByDefaultStatusResponse> {
12491
12499
  request.validate();
12492
12500
  let query = { };
12501
+ if (!$dara.isNull(request.ownerId)) {
12502
+ query["OwnerId"] = request.ownerId;
12503
+ }
12504
+
12493
12505
  if (!$dara.isNull(request.regionId)) {
12494
12506
  query["RegionId"] = request.regionId;
12495
12507
  }
@@ -16459,6 +16471,8 @@ export default class Client extends OpenApi {
16459
16471
  }
16460
16472
 
16461
16473
  /**
16474
+ * 查询账号限制
16475
+ *
16462
16476
  * @deprecated OpenAPI DescribeLimitation is deprecated
16463
16477
  *
16464
16478
  * @param request - DescribeLimitationRequest
@@ -16507,6 +16521,8 @@ export default class Client extends OpenApi {
16507
16521
  }
16508
16522
 
16509
16523
  /**
16524
+ * 查询账号限制
16525
+ *
16510
16526
  * @deprecated OpenAPI DescribeLimitation is deprecated
16511
16527
  *
16512
16528
  * @param request - DescribeLimitationRequest
@@ -19813,15 +19829,15 @@ export default class Client extends OpenApi {
19813
19829
  }
19814
19830
 
19815
19831
  /**
19816
- * Queries information about preemptible instances in a region in the previous 30 days. The information includes the average release rate of preemptible instances and the percentage of the average preemptible instance price relative to the pay-as-you-go instance price.
19832
+ * Queries information about spot instances in a region in the previous 30 days. The information includes the average release rate of spot instances and the percentage of the average spot instance price relative to the pay-as-you-go instance price.
19817
19833
  *
19818
19834
  * @remarks
19819
- * This operation is applicable only to I/O optimized preemptible instances that reside in virtual private clouds (VPCs).
19835
+ * This operation is applicable only to I/O optimized spot instances that reside in virtual private clouds (VPCs).
19820
19836
  * * You can use one of the following methods to call this operation:
19821
19837
  * * Specify `Cores` and `Memory` or `MinCores` and `MinMemory` to query information about the instance types that meet the specified vCPU and memory requirements.
19822
19838
  * * Specify `InstanceTypes.N` to query information about the specified instance types.
19823
19839
  * * Specify `Cores` and `Memory` or `MinCores` and `MinMemory`, and then specify `InstanceTypeFamily` or `InstanceFamilyLevel` to query information about the instance types that meet the specified vCPU and memory requirements within the specified instance family or at a specified instance family level.
19824
- * * You can calculate the average price of preemptible instances based on the percentage of the average preemptible instance price relative to the pay-as-you-go instance price and the pay-as-you-go instance price.
19840
+ * * You can calculate the average price of spot instances based on the percentage of the average spot instance price relative to the pay-as-you-go instance price and the pay-as-you-go instance price.
19825
19841
  *
19826
19842
  * @param request - DescribeSpotAdviceRequest
19827
19843
  * @param runtime - runtime options for this request RuntimeOptions
@@ -19908,15 +19924,15 @@ export default class Client extends OpenApi {
19908
19924
  }
19909
19925
 
19910
19926
  /**
19911
- * Queries information about preemptible instances in a region in the previous 30 days. The information includes the average release rate of preemptible instances and the percentage of the average preemptible instance price relative to the pay-as-you-go instance price.
19927
+ * Queries information about spot instances in a region in the previous 30 days. The information includes the average release rate of spot instances and the percentage of the average spot instance price relative to the pay-as-you-go instance price.
19912
19928
  *
19913
19929
  * @remarks
19914
- * This operation is applicable only to I/O optimized preemptible instances that reside in virtual private clouds (VPCs).
19930
+ * This operation is applicable only to I/O optimized spot instances that reside in virtual private clouds (VPCs).
19915
19931
  * * You can use one of the following methods to call this operation:
19916
19932
  * * Specify `Cores` and `Memory` or `MinCores` and `MinMemory` to query information about the instance types that meet the specified vCPU and memory requirements.
19917
19933
  * * Specify `InstanceTypes.N` to query information about the specified instance types.
19918
19934
  * * Specify `Cores` and `Memory` or `MinCores` and `MinMemory`, and then specify `InstanceTypeFamily` or `InstanceFamilyLevel` to query information about the instance types that meet the specified vCPU and memory requirements within the specified instance family or at a specified instance family level.
19919
- * * You can calculate the average price of preemptible instances based on the percentage of the average preemptible instance price relative to the pay-as-you-go instance price and the pay-as-you-go instance price.
19935
+ * * You can calculate the average price of spot instances based on the percentage of the average spot instance price relative to the pay-as-you-go instance price and the pay-as-you-go instance price.
19920
19936
  *
19921
19937
  * @param request - DescribeSpotAdviceRequest
19922
19938
  * @returns DescribeSpotAdviceResponse
@@ -19927,10 +19943,10 @@ export default class Client extends OpenApi {
19927
19943
  }
19928
19944
 
19929
19945
  /**
19930
- * Queries the historical prices of preemptible instances within up to the previous 30 days. You can set the maximum price of a preemptible instance based on the historical prices.
19946
+ * Queries the historical prices of spot instances within up to the previous 30 days. You can set the maximum price of a spot instance based on the historical prices.
19931
19947
  *
19932
19948
  * @remarks
19933
- * This operation is applicable only to I/O optimized preemptible instances.
19949
+ * This operation is applicable only to I/O optimized spot instances.
19934
19950
  * * The data returned by the interface may be paginated. If the returned data contains the `NextOffset` parameter, you can set the `Offset` parameter in the request to the value of the `NextOffset` parameter for subsequent data query.
19935
19951
  *
19936
19952
  * @param request - DescribeSpotPriceHistoryRequest
@@ -20018,10 +20034,10 @@ export default class Client extends OpenApi {
20018
20034
  }
20019
20035
 
20020
20036
  /**
20021
- * Queries the historical prices of preemptible instances within up to the previous 30 days. You can set the maximum price of a preemptible instance based on the historical prices.
20037
+ * Queries the historical prices of spot instances within up to the previous 30 days. You can set the maximum price of a spot instance based on the historical prices.
20022
20038
  *
20023
20039
  * @remarks
20024
- * This operation is applicable only to I/O optimized preemptible instances.
20040
+ * This operation is applicable only to I/O optimized spot instances.
20025
20041
  * * The data returned by the interface may be paginated. If the returned data contains the `NextOffset` parameter, you can set the `Offset` parameter in the request to the value of the `NextOffset` parameter for subsequent data query.
20026
20042
  *
20027
20043
  * @param request - DescribeSpotPriceHistoryRequest
@@ -21667,6 +21683,10 @@ export default class Client extends OpenApi {
21667
21683
  async disableDiskEncryptionByDefaultWithOptions(request: $_model.DisableDiskEncryptionByDefaultRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DisableDiskEncryptionByDefaultResponse> {
21668
21684
  request.validate();
21669
21685
  let query = { };
21686
+ if (!$dara.isNull(request.ownerId)) {
21687
+ query["OwnerId"] = request.ownerId;
21688
+ }
21689
+
21670
21690
  if (!$dara.isNull(request.regionId)) {
21671
21691
  query["RegionId"] = request.regionId;
21672
21692
  }
@@ -24759,6 +24779,10 @@ export default class Client extends OpenApi {
24759
24779
  query["KMSKeyId"] = request.KMSKeyId;
24760
24780
  }
24761
24781
 
24782
+ if (!$dara.isNull(request.ownerId)) {
24783
+ query["OwnerId"] = request.ownerId;
24784
+ }
24785
+
24762
24786
  if (!$dara.isNull(request.regionId)) {
24763
24787
  query["RegionId"] = request.regionId;
24764
24788
  }
@@ -25963,7 +25987,7 @@ export default class Client extends OpenApi {
25963
25987
  }
25964
25988
 
25965
25989
  /**
25966
- * Changes the automatic release time of a pay-as-you-go or preemptible Elastic Compute Service (ECS) instance or cancels the automatic release of the instance.
25990
+ * Changes the automatic release time of a pay-as-you-go or spot instance or cancels the automatic release of the instance.
25967
25991
  *
25968
25992
  * @param request - ModifyInstanceAutoReleaseTimeRequest
25969
25993
  * @param runtime - runtime options for this request RuntimeOptions
@@ -26018,7 +26042,7 @@ export default class Client extends OpenApi {
26018
26042
  }
26019
26043
 
26020
26044
  /**
26021
- * Changes the automatic release time of a pay-as-you-go or preemptible Elastic Compute Service (ECS) instance or cancels the automatic release of the instance.
26045
+ * Changes the automatic release time of a pay-as-you-go or spot instance or cancels the automatic release of the instance.
26022
26046
  *
26023
26047
  * @param request - ModifyInstanceAutoReleaseTimeRequest
26024
26048
  * @returns ModifyInstanceAutoReleaseTimeResponse
@@ -26249,7 +26273,7 @@ export default class Client extends OpenApi {
26249
26273
  * * The network type of the instance must be Virtual Private Cloud (VPC).
26250
26274
  * * The instance and the destination dedicated host to which to migrate the instance must belong to the same account and reside in the same region and zone.
26251
26275
  * * A pay-as-you-go instance can be migrated to a subscription dedicated host. A subscription instance can be migrated only between subscription dedicated hosts. The expiration date of the subscription instance cannot be later than that of the destination dedicated host.
26252
- * * You can migrate only pay-as-you-go instances from a shared host to a dedicated host. You cannot migrate subscription instances or preemptible instances from a shared host to a dedicated host.
26276
+ * * You can migrate only pay-as-you-go instances from a shared host to a dedicated host. You cannot migrate subscription instances or spot instances from a shared host to a dedicated host.
26253
26277
  * * You can redeploy an instance to a specific dedicated host cluster.
26254
26278
  *
26255
26279
  * @param request - ModifyInstanceDeploymentRequest
@@ -26349,7 +26373,7 @@ export default class Client extends OpenApi {
26349
26373
  * * The network type of the instance must be Virtual Private Cloud (VPC).
26350
26374
  * * The instance and the destination dedicated host to which to migrate the instance must belong to the same account and reside in the same region and zone.
26351
26375
  * * A pay-as-you-go instance can be migrated to a subscription dedicated host. A subscription instance can be migrated only between subscription dedicated hosts. The expiration date of the subscription instance cannot be later than that of the destination dedicated host.
26352
- * * You can migrate only pay-as-you-go instances from a shared host to a dedicated host. You cannot migrate subscription instances or preemptible instances from a shared host to a dedicated host.
26376
+ * * You can migrate only pay-as-you-go instances from a shared host to a dedicated host. You cannot migrate subscription instances or spot instances from a shared host to a dedicated host.
26353
26377
  * * You can redeploy an instance to a specific dedicated host cluster.
26354
26378
  *
26355
26379
  * @param request - ModifyInstanceDeploymentRequest
@@ -31490,6 +31514,10 @@ export default class Client extends OpenApi {
31490
31514
  async resetDiskDefaultKMSKeyIdWithOptions(request: $_model.ResetDiskDefaultKMSKeyIdRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ResetDiskDefaultKMSKeyIdResponse> {
31491
31515
  request.validate();
31492
31516
  let query = { };
31517
+ if (!$dara.isNull(request.ownerId)) {
31518
+ query["OwnerId"] = request.ownerId;
31519
+ }
31520
+
31493
31521
  if (!$dara.isNull(request.regionId)) {
31494
31522
  query["RegionId"] = request.regionId;
31495
31523
  }
@@ -32458,11 +32486,11 @@ export default class Client extends OpenApi {
32458
32486
  * Amount:10, //Set the number of ECS instances that you want to create to 10.
32459
32487
  * InstanceChargeType:"PostPaid", //Set the billing method to PostPaid, which specifies the pay-as-you-go billing method.
32460
32488
  * SpotStrategy:"NoSpot" //Set this parameter to NoSpot, which is the default value and specifies that the instances are created as pay-as-you-go instances.
32461
- * **Example: Create 20 preemptible instances that use a specific bidding policy and a protection period**
32489
+ * **Example: Create 20 spot instances that use a specific bidding policy and a protection period**
32462
32490
  * Amount:20, //Set the number of ECS instances that you want to create to 20.
32463
32491
  * InstanceChargeType:"PostPaid",
32464
- * SpotStrategy:"SpotAsPriceGo", //Set the bidding policy to SpotAsPriceGo, which specifies that the instances are created as preemptible instances for which the market price at the time of purchase is automatically used as the bid price.
32465
- * SpotDuration:1 //Set the protection period of the preemptible instances to 1. Unit: hours.
32492
+ * SpotStrategy:"SpotAsPriceGo", //Set the bidding policy to SpotAsPriceGo, which specifies that the instances are created as spot instances for which the market price at the time of purchase is automatically used as the bid price.
32493
+ * SpotDuration:1 //Set the protection period of the spot instances to 1. Unit: hours.
32466
32494
  * Use a launch template created by calling the [CreateLaunchTemplate](https://help.aliyun.com/document_detail/2679729.html) operation to create ECS instances in the China (Hangzhou) region. Examples:
32467
32495
  * **Example: Create 10 ECS instances based on a launch template**
32468
32496
  * RegionId:"cn-hangzhou", //Set the region ID to cn-hangzhou, which specifies the China (Hangzhou) region.
@@ -32874,11 +32902,11 @@ export default class Client extends OpenApi {
32874
32902
  * Amount:10, //Set the number of ECS instances that you want to create to 10.
32875
32903
  * InstanceChargeType:"PostPaid", //Set the billing method to PostPaid, which specifies the pay-as-you-go billing method.
32876
32904
  * SpotStrategy:"NoSpot" //Set this parameter to NoSpot, which is the default value and specifies that the instances are created as pay-as-you-go instances.
32877
- * **Example: Create 20 preemptible instances that use a specific bidding policy and a protection period**
32905
+ * **Example: Create 20 spot instances that use a specific bidding policy and a protection period**
32878
32906
  * Amount:20, //Set the number of ECS instances that you want to create to 20.
32879
32907
  * InstanceChargeType:"PostPaid",
32880
- * SpotStrategy:"SpotAsPriceGo", //Set the bidding policy to SpotAsPriceGo, which specifies that the instances are created as preemptible instances for which the market price at the time of purchase is automatically used as the bid price.
32881
- * SpotDuration:1 //Set the protection period of the preemptible instances to 1. Unit: hours.
32908
+ * SpotStrategy:"SpotAsPriceGo", //Set the bidding policy to SpotAsPriceGo, which specifies that the instances are created as spot instances for which the market price at the time of purchase is automatically used as the bid price.
32909
+ * SpotDuration:1 //Set the protection period of the spot instances to 1. Unit: hours.
32882
32910
  * Use a launch template created by calling the [CreateLaunchTemplate](https://help.aliyun.com/document_detail/2679729.html) operation to create ECS instances in the China (Hangzhou) region. Examples:
32883
32911
  * **Example: Create 10 ECS instances based on a launch template**
32884
32912
  * RegionId:"cn-hangzhou", //Set the region ID to cn-hangzhou, which specifies the China (Hangzhou) region.
@@ -33337,6 +33365,10 @@ export default class Client extends OpenApi {
33337
33365
  query["OwnerId"] = request.ownerId;
33338
33366
  }
33339
33367
 
33368
+ if (!$dara.isNull(request.passwordName)) {
33369
+ query["PasswordName"] = request.passwordName;
33370
+ }
33371
+
33340
33372
  if (!$dara.isNull(request.portNumber)) {
33341
33373
  query["PortNumber"] = request.portNumber;
33342
33374
  }
@@ -33499,13 +33531,13 @@ export default class Client extends OpenApi {
33499
33531
  }
33500
33532
 
33501
33533
  /**
33502
- * Stops Elastic Compute Service (ECS) instances. You can specify parameters to determine whether to forcefully stop the instances, the stop mode, and the batch operation mode.
33534
+ * Stops Elastic Compute Service (ECS) instances. You can specify parameters to determine whether to forcefully stop the instances and the stop mode.
33503
33535
  *
33504
33536
  * @remarks
33505
- * This operation is an asynchronous operation. After you call this operation to stop ECS instances, the operation sets the status of the ECS instances to Stopping and begins the stop process. You can call the [DescribeInstanceStatus](https://help.aliyun.com/document_detail/2679688.html) operation to query the status of the ECS instances. When the status of the ECS instances changes to `Stopped`, the instances are stopped.
33506
- * ### [](#)Precautions
33537
+ * This operation is an asynchronous operation. After you call this operation to stop an ECS instance, the operation sets the status of the ECS instance to Stopping and begins the stop process. You can call the [DescribeInstanceStatus](https://help.aliyun.com/document_detail/2679688.html) operation to query the status of the ECS instance. When the status of the ECS instance changes to `Stopped`, the instance is stopped.
33538
+ * ### [](#)Considerations
33539
+ * * The instance is unavailable after you stop the instance. Make sure that stopping the instance does not affect your business. You can also call the [StartInstance](https://help.aliyun.com/document_detail/2679679.html) or [StartInstances](https://help.aliyun.com/document_detail/2679680.html) operation to start the instance.
33507
33540
  * * You cannot call this operation to stop ECS instances that are locked for security reasons. For more information, see [API behavior when an instance is locked for security reasons](https://help.aliyun.com/document_detail/25695.html).
33508
- * * After you enable the default economical mode for all pay-as-you-go ECS instances located in virtual private clouds (VPCs) in your account, you can set `StoppedMode` to KeepCharging for the pay-as-you-go ECS instances that you want to stop to enable standard mode. This way, the instances continue to be billed after they are stopped. The instance type resources and public IP addresses of the instances are retained.
33509
33541
  *
33510
33542
  * @param request - StopInstancesRequest
33511
33543
  * @param runtime - runtime options for this request RuntimeOptions
@@ -33572,13 +33604,13 @@ export default class Client extends OpenApi {
33572
33604
  }
33573
33605
 
33574
33606
  /**
33575
- * Stops Elastic Compute Service (ECS) instances. You can specify parameters to determine whether to forcefully stop the instances, the stop mode, and the batch operation mode.
33607
+ * Stops Elastic Compute Service (ECS) instances. You can specify parameters to determine whether to forcefully stop the instances and the stop mode.
33576
33608
  *
33577
33609
  * @remarks
33578
- * This operation is an asynchronous operation. After you call this operation to stop ECS instances, the operation sets the status of the ECS instances to Stopping and begins the stop process. You can call the [DescribeInstanceStatus](https://help.aliyun.com/document_detail/2679688.html) operation to query the status of the ECS instances. When the status of the ECS instances changes to `Stopped`, the instances are stopped.
33579
- * ### [](#)Precautions
33610
+ * This operation is an asynchronous operation. After you call this operation to stop an ECS instance, the operation sets the status of the ECS instance to Stopping and begins the stop process. You can call the [DescribeInstanceStatus](https://help.aliyun.com/document_detail/2679688.html) operation to query the status of the ECS instance. When the status of the ECS instance changes to `Stopped`, the instance is stopped.
33611
+ * ### [](#)Considerations
33612
+ * * The instance is unavailable after you stop the instance. Make sure that stopping the instance does not affect your business. You can also call the [StartInstance](https://help.aliyun.com/document_detail/2679679.html) or [StartInstances](https://help.aliyun.com/document_detail/2679680.html) operation to start the instance.
33580
33613
  * * You cannot call this operation to stop ECS instances that are locked for security reasons. For more information, see [API behavior when an instance is locked for security reasons](https://help.aliyun.com/document_detail/25695.html).
33581
- * * After you enable the default economical mode for all pay-as-you-go ECS instances located in virtual private clouds (VPCs) in your account, you can set `StoppedMode` to KeepCharging for the pay-as-you-go ECS instances that you want to stop to enable standard mode. This way, the instances continue to be billed after they are stopped. The instance type resources and public IP addresses of the instances are retained.
33582
33614
  *
33583
33615
  * @param request - StopInstancesRequest
33584
33616
  * @returns StopInstancesResponse
@@ -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: preemptible instance
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 preemptible instances in the auto provisioning group.
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 preemptible instances. Valid values:
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 preemptible instance when it is interrupted. Valid values:
208
+ * The operation to be performed on the spot instance when it is interrupted. Valid values:
209
209
  *
210
- * * stop: stops the preemptible instance.
211
- * * terminate: releases the preemptible instance.
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 preemptible 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
+ * 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 preemptible instances in the auto provisioning group. The value must be less than or equal to the `TotalTargetCapacity` value.
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 preemptible instances specified by `SpotTargetCapacity`.
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 preemptible instance. Unit: hours. Default value: 1. Valid values: Valid values:
397
+ * The protection period of the spot instance. Unit: hours. Default value: 1. Valid values: Valid values:
398
398
  *
399
- * * 1: After a preemptible 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 preemptible 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.
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 preemptible instance is billed by second. We recommend that you specify an appropriate protection period based on your business requirements.
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 preemptible instances. Valid values:
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 preemptible instances in extended configuration N.
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 preemptible instance for which you specify the maximum hourly price.
50
- * * SpotAsPriceGo: The instance is a preemptible instance for which the market price at the time of purchase is used as the bid price.
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: preemptible instance
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 preemptible instances in the auto provisioning group.
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 preemptible instances. Valid values:
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 preemptible instance when it is interrupted. Valid values:
207
+ * The operation to be performed on the spot instance when it is interrupted. Valid values:
208
208
  *
209
- * * stop: stops the preemptible instance.
210
- * * terminate: releases the preemptible instance.
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 preemptible 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`.
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 preemptible instances in the auto provisioning group. The value must be less than or equal to the `TotalTargetCapacity` value.
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 preemptible instances specified by `SpotTargetCapacity`.
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 preemptible instance. Unit: hours. Default value: 1. Valid values: Valid values:
397
+ * The protection period of the spot instance. Unit: hours. Default value: 1. Valid values: Valid values:
398
398
  *
399
- * * 1: After a preemptible 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 preemptible 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.
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 preemptible instance is billed by second. We recommend that you specify an appropriate protection period based on your business requirements.
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 preemptible instances. Valid values:
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 preemptible instances in extended configuration N.
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
- * If you specify `DedicatedHostId`, the `SpotStrategy` and `SpotPriceLimit` parameters are ignored. This is because preemptible instances cannot be created on dedicated hosts.
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 preemptible instance. Unit: hours. Default value: 1. Valid values:
439
+ * The protection period of the spot instance. Unit: hours. Default value: 1. Valid values:
440
440
  *
441
- * * 1: After a preemptible 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 preemptible 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.
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. Preemptible instances are billed by second. We recommend that you specify an appropriate protection period based on your business requirements.
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 preemptible instance. Valid values:
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 preemptible instance for which you specify the maximum hourly price.
482
- * * SpotAsPriceGo: The instance is a preemptible 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.
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