@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/dist/client.d.ts CHANGED
@@ -935,9 +935,9 @@ export default class Client extends OpenApi {
935
935
  *
936
936
  * @remarks
937
937
  * ## [](#)Usage notes
938
- * * 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).
939
- * * 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.
940
- * * 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).
938
+ * * 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).
939
+ * * 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.
940
+ * * 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).
941
941
  * * When you specify both a launch template (`LaunchTemplateId`) and extended configurations (`LaunchConfiguration.*` parameters), LaunchTemplateId takes precedence.
942
942
  *
943
943
  * @param tmpReq - CreateAutoProvisioningGroupRequest
@@ -950,9 +950,9 @@ export default class Client extends OpenApi {
950
950
  *
951
951
  * @remarks
952
952
  * ## [](#)Usage notes
953
- * * 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).
954
- * * 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.
955
- * * 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).
953
+ * * 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).
954
+ * * 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.
955
+ * * 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).
956
956
  * * When you specify both a launch template (`LaunchTemplateId`) and extended configurations (`LaunchConfiguration.*` parameters), LaunchTemplateId takes precedence.
957
957
  *
958
958
  * @param request - CreateAutoProvisioningGroupRequest
@@ -2687,7 +2687,7 @@ export default class Client extends OpenApi {
2687
2687
  */
2688
2688
  describeAccessPoints(request: $_model.DescribeAccessPointsRequest): Promise<$_model.DescribeAccessPointsResponse>;
2689
2689
  /**
2690
- * 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.
2690
+ * 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.
2691
2691
  *
2692
2692
  * @remarks
2693
2693
  * 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).
@@ -2699,7 +2699,7 @@ export default class Client extends OpenApi {
2699
2699
  */
2700
2700
  describeAccountAttributesWithOptions(request: $_model.DescribeAccountAttributesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeAccountAttributesResponse>;
2701
2701
  /**
2702
- * 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.
2702
+ * 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.
2703
2703
  *
2704
2704
  * @remarks
2705
2705
  * 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).
@@ -3001,6 +3001,8 @@ export default class Client extends OpenApi {
3001
3001
  */
3002
3002
  describeCloudAssistantStatus(request: $_model.DescribeCloudAssistantStatusRequest): Promise<$_model.DescribeCloudAssistantStatusResponse>;
3003
3003
  /**
3004
+ * 查询集群
3005
+ *
3004
3006
  * @deprecated OpenAPI DescribeClusters is deprecated
3005
3007
  *
3006
3008
  * @param request - DescribeClustersRequest
@@ -3009,6 +3011,8 @@ export default class Client extends OpenApi {
3009
3011
  */
3010
3012
  describeClustersWithOptions(request: $_model.DescribeClustersRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClustersResponse>;
3011
3013
  /**
3014
+ * 查询集群
3015
+ *
3012
3016
  * @deprecated OpenAPI DescribeClusters is deprecated
3013
3017
  *
3014
3018
  * @param request - DescribeClustersRequest
@@ -4172,6 +4176,8 @@ export default class Client extends OpenApi {
4172
4176
  */
4173
4177
  describeLaunchTemplates(request: $_model.DescribeLaunchTemplatesRequest): Promise<$_model.DescribeLaunchTemplatesResponse>;
4174
4178
  /**
4179
+ * 查询账号限制
4180
+ *
4175
4181
  * @deprecated OpenAPI DescribeLimitation is deprecated
4176
4182
  *
4177
4183
  * @param request - DescribeLimitationRequest
@@ -4180,6 +4186,8 @@ export default class Client extends OpenApi {
4180
4186
  */
4181
4187
  describeLimitationWithOptions(request: $_model.DescribeLimitationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeLimitationResponse>;
4182
4188
  /**
4189
+ * 查询账号限制
4190
+ *
4183
4191
  * @deprecated OpenAPI DescribeLimitation is deprecated
4184
4192
  *
4185
4193
  * @param request - DescribeLimitationRequest
@@ -4968,15 +4976,15 @@ export default class Client extends OpenApi {
4968
4976
  */
4969
4977
  describeSnapshotsUsage(request: $_model.DescribeSnapshotsUsageRequest): Promise<$_model.DescribeSnapshotsUsageResponse>;
4970
4978
  /**
4971
- * 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.
4979
+ * 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.
4972
4980
  *
4973
4981
  * @remarks
4974
- * This operation is applicable only to I/O optimized preemptible instances that reside in virtual private clouds (VPCs).
4982
+ * This operation is applicable only to I/O optimized spot instances that reside in virtual private clouds (VPCs).
4975
4983
  * * You can use one of the following methods to call this operation:
4976
4984
  * * Specify `Cores` and `Memory` or `MinCores` and `MinMemory` to query information about the instance types that meet the specified vCPU and memory requirements.
4977
4985
  * * Specify `InstanceTypes.N` to query information about the specified instance types.
4978
4986
  * * 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.
4979
- * * 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.
4987
+ * * 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.
4980
4988
  *
4981
4989
  * @param request - DescribeSpotAdviceRequest
4982
4990
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4984,25 +4992,25 @@ export default class Client extends OpenApi {
4984
4992
  */
4985
4993
  describeSpotAdviceWithOptions(request: $_model.DescribeSpotAdviceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeSpotAdviceResponse>;
4986
4994
  /**
4987
- * 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.
4995
+ * 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.
4988
4996
  *
4989
4997
  * @remarks
4990
- * This operation is applicable only to I/O optimized preemptible instances that reside in virtual private clouds (VPCs).
4998
+ * This operation is applicable only to I/O optimized spot instances that reside in virtual private clouds (VPCs).
4991
4999
  * * You can use one of the following methods to call this operation:
4992
5000
  * * Specify `Cores` and `Memory` or `MinCores` and `MinMemory` to query information about the instance types that meet the specified vCPU and memory requirements.
4993
5001
  * * Specify `InstanceTypes.N` to query information about the specified instance types.
4994
5002
  * * 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.
4995
- * * 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.
5003
+ * * 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.
4996
5004
  *
4997
5005
  * @param request - DescribeSpotAdviceRequest
4998
5006
  * @returns DescribeSpotAdviceResponse
4999
5007
  */
5000
5008
  describeSpotAdvice(request: $_model.DescribeSpotAdviceRequest): Promise<$_model.DescribeSpotAdviceResponse>;
5001
5009
  /**
5002
- * 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.
5010
+ * 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.
5003
5011
  *
5004
5012
  * @remarks
5005
- * This operation is applicable only to I/O optimized preemptible instances.
5013
+ * This operation is applicable only to I/O optimized spot instances.
5006
5014
  * * 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.
5007
5015
  *
5008
5016
  * @param request - DescribeSpotPriceHistoryRequest
@@ -5011,10 +5019,10 @@ export default class Client extends OpenApi {
5011
5019
  */
5012
5020
  describeSpotPriceHistoryWithOptions(request: $_model.DescribeSpotPriceHistoryRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeSpotPriceHistoryResponse>;
5013
5021
  /**
5014
- * 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.
5022
+ * 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.
5015
5023
  *
5016
5024
  * @remarks
5017
- * This operation is applicable only to I/O optimized preemptible instances.
5025
+ * This operation is applicable only to I/O optimized spot instances.
5018
5026
  * * 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.
5019
5027
  *
5020
5028
  * @param request - DescribeSpotPriceHistoryRequest
@@ -6827,7 +6835,7 @@ export default class Client extends OpenApi {
6827
6835
  */
6828
6836
  modifyInstanceAttribute(request: $_model.ModifyInstanceAttributeRequest): Promise<$_model.ModifyInstanceAttributeResponse>;
6829
6837
  /**
6830
- * 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.
6838
+ * Changes the automatic release time of a pay-as-you-go or spot instance or cancels the automatic release of the instance.
6831
6839
  *
6832
6840
  * @param request - ModifyInstanceAutoReleaseTimeRequest
6833
6841
  * @param runtime - runtime options for this request RuntimeOptions
@@ -6835,7 +6843,7 @@ export default class Client extends OpenApi {
6835
6843
  */
6836
6844
  modifyInstanceAutoReleaseTimeWithOptions(request: $_model.ModifyInstanceAutoReleaseTimeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyInstanceAutoReleaseTimeResponse>;
6837
6845
  /**
6838
- * 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.
6846
+ * Changes the automatic release time of a pay-as-you-go or spot instance or cancels the automatic release of the instance.
6839
6847
  *
6840
6848
  * @param request - ModifyInstanceAutoReleaseTimeRequest
6841
6849
  * @returns ModifyInstanceAutoReleaseTimeResponse
@@ -6920,7 +6928,7 @@ export default class Client extends OpenApi {
6920
6928
  * * The network type of the instance must be Virtual Private Cloud (VPC).
6921
6929
  * * 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.
6922
6930
  * * 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.
6923
- * * 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.
6931
+ * * 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.
6924
6932
  * * You can redeploy an instance to a specific dedicated host cluster.
6925
6933
  *
6926
6934
  * @param request - ModifyInstanceDeploymentRequest
@@ -6937,7 +6945,7 @@ export default class Client extends OpenApi {
6937
6945
  * * The network type of the instance must be Virtual Private Cloud (VPC).
6938
6946
  * * 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.
6939
6947
  * * 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.
6940
- * * 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.
6948
+ * * 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.
6941
6949
  * * You can redeploy an instance to a specific dedicated host cluster.
6942
6950
  *
6943
6951
  * @param request - ModifyInstanceDeploymentRequest
@@ -8818,11 +8826,11 @@ export default class Client extends OpenApi {
8818
8826
  * Amount:10, //Set the number of ECS instances that you want to create to 10.
8819
8827
  * InstanceChargeType:"PostPaid", //Set the billing method to PostPaid, which specifies the pay-as-you-go billing method.
8820
8828
  * 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.
8821
- * **Example: Create 20 preemptible instances that use a specific bidding policy and a protection period**
8829
+ * **Example: Create 20 spot instances that use a specific bidding policy and a protection period**
8822
8830
  * Amount:20, //Set the number of ECS instances that you want to create to 20.
8823
8831
  * InstanceChargeType:"PostPaid",
8824
- * 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.
8825
- * SpotDuration:1 //Set the protection period of the preemptible instances to 1. Unit: hours.
8832
+ * 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.
8833
+ * SpotDuration:1 //Set the protection period of the spot instances to 1. Unit: hours.
8826
8834
  * 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:
8827
8835
  * **Example: Create 10 ECS instances based on a launch template**
8828
8836
  * RegionId:"cn-hangzhou", //Set the region ID to cn-hangzhou, which specifies the China (Hangzhou) region.
@@ -8903,11 +8911,11 @@ export default class Client extends OpenApi {
8903
8911
  * Amount:10, //Set the number of ECS instances that you want to create to 10.
8904
8912
  * InstanceChargeType:"PostPaid", //Set the billing method to PostPaid, which specifies the pay-as-you-go billing method.
8905
8913
  * 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.
8906
- * **Example: Create 20 preemptible instances that use a specific bidding policy and a protection period**
8914
+ * **Example: Create 20 spot instances that use a specific bidding policy and a protection period**
8907
8915
  * Amount:20, //Set the number of ECS instances that you want to create to 20.
8908
8916
  * InstanceChargeType:"PostPaid",
8909
- * 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.
8910
- * SpotDuration:1 //Set the protection period of the preemptible instances to 1. Unit: hours.
8917
+ * 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.
8918
+ * SpotDuration:1 //Set the protection period of the spot instances to 1. Unit: hours.
8911
8919
  * 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:
8912
8920
  * **Example: Create 10 ECS instances based on a launch template**
8913
8921
  * RegionId:"cn-hangzhou", //Set the region ID to cn-hangzhou, which specifies the China (Hangzhou) region.
@@ -9122,13 +9130,13 @@ export default class Client extends OpenApi {
9122
9130
  */
9123
9131
  stopInstance(request: $_model.StopInstanceRequest): Promise<$_model.StopInstanceResponse>;
9124
9132
  /**
9125
- * 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.
9133
+ * Stops Elastic Compute Service (ECS) instances. You can specify parameters to determine whether to forcefully stop the instances and the stop mode.
9126
9134
  *
9127
9135
  * @remarks
9128
- * 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.
9129
- * ### [](#)Precautions
9136
+ * 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.
9137
+ * ### [](#)Considerations
9138
+ * * 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.
9130
9139
  * * 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).
9131
- * * 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.
9132
9140
  *
9133
9141
  * @param request - StopInstancesRequest
9134
9142
  * @param runtime - runtime options for this request RuntimeOptions
@@ -9136,13 +9144,13 @@ export default class Client extends OpenApi {
9136
9144
  */
9137
9145
  stopInstancesWithOptions(request: $_model.StopInstancesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.StopInstancesResponse>;
9138
9146
  /**
9139
- * 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.
9147
+ * Stops Elastic Compute Service (ECS) instances. You can specify parameters to determine whether to forcefully stop the instances and the stop mode.
9140
9148
  *
9141
9149
  * @remarks
9142
- * 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.
9143
- * ### [](#)Precautions
9150
+ * 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.
9151
+ * ### [](#)Considerations
9152
+ * * 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.
9144
9153
  * * 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).
9145
- * * 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.
9146
9154
  *
9147
9155
  * @param request - StopInstancesRequest
9148
9156
  * @returns StopInstancesResponse
package/dist/client.js CHANGED
@@ -2589,9 +2589,9 @@ class Client extends openapi_core_1.default {
2589
2589
  *
2590
2590
  * @remarks
2591
2591
  * ## [](#)Usage notes
2592
- * * 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).
2593
- * * 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.
2594
- * * 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).
2592
+ * * 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).
2593
+ * * 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.
2594
+ * * 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).
2595
2595
  * * When you specify both a launch template (`LaunchTemplateId`) and extended configurations (`LaunchConfiguration.*` parameters), LaunchTemplateId takes precedence.
2596
2596
  *
2597
2597
  * @param tmpReq - CreateAutoProvisioningGroupRequest
@@ -2732,9 +2732,9 @@ class Client extends openapi_core_1.default {
2732
2732
  *
2733
2733
  * @remarks
2734
2734
  * ## [](#)Usage notes
2735
- * * 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).
2736
- * * 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.
2737
- * * 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).
2735
+ * * 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).
2736
+ * * 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.
2737
+ * * 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).
2738
2738
  * * When you specify both a launch template (`LaunchTemplateId`) and extended configurations (`LaunchConfiguration.*` parameters), LaunchTemplateId takes precedence.
2739
2739
  *
2740
2740
  * @param request - CreateAutoProvisioningGroupRequest
@@ -8833,7 +8833,7 @@ class Client extends openapi_core_1.default {
8833
8833
  return await this.describeAccessPointsWithOptions(request, runtime);
8834
8834
  }
8835
8835
  /**
8836
- * 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.
8836
+ * 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.
8837
8837
  *
8838
8838
  * @remarks
8839
8839
  * 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).
@@ -8881,7 +8881,7 @@ class Client extends openapi_core_1.default {
8881
8881
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAccountAttributesResponse({}));
8882
8882
  }
8883
8883
  /**
8884
- * 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.
8884
+ * 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.
8885
8885
  *
8886
8886
  * @remarks
8887
8887
  * 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).
@@ -9890,6 +9890,8 @@ class Client extends openapi_core_1.default {
9890
9890
  return await this.describeCloudAssistantStatusWithOptions(request, runtime);
9891
9891
  }
9892
9892
  /**
9893
+ * 查询集群
9894
+ *
9893
9895
  * @deprecated OpenAPI DescribeClusters is deprecated
9894
9896
  *
9895
9897
  * @param request - DescribeClustersRequest
@@ -9932,6 +9934,8 @@ class Client extends openapi_core_1.default {
9932
9934
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClustersResponse({}));
9933
9935
  }
9934
9936
  /**
9937
+ * 查询集群
9938
+ *
9935
9939
  * @deprecated OpenAPI DescribeClusters is deprecated
9936
9940
  *
9937
9941
  * @param request - DescribeClustersRequest
@@ -10698,6 +10702,9 @@ class Client extends openapi_core_1.default {
10698
10702
  async describeDiskDefaultKMSKeyIdWithOptions(request, runtime) {
10699
10703
  request.validate();
10700
10704
  let query = {};
10705
+ if (!$dara.isNull(request.ownerId)) {
10706
+ query["OwnerId"] = request.ownerId;
10707
+ }
10701
10708
  if (!$dara.isNull(request.regionId)) {
10702
10709
  query["RegionId"] = request.regionId;
10703
10710
  }
@@ -10740,6 +10747,9 @@ class Client extends openapi_core_1.default {
10740
10747
  async describeDiskEncryptionByDefaultStatusWithOptions(request, runtime) {
10741
10748
  request.validate();
10742
10749
  let query = {};
10750
+ if (!$dara.isNull(request.ownerId)) {
10751
+ query["OwnerId"] = request.ownerId;
10752
+ }
10743
10753
  if (!$dara.isNull(request.regionId)) {
10744
10754
  query["RegionId"] = request.regionId;
10745
10755
  }
@@ -14101,6 +14111,8 @@ class Client extends openapi_core_1.default {
14101
14111
  return await this.describeLaunchTemplatesWithOptions(request, runtime);
14102
14112
  }
14103
14113
  /**
14114
+ * 查询账号限制
14115
+ *
14104
14116
  * @deprecated OpenAPI DescribeLimitation is deprecated
14105
14117
  *
14106
14118
  * @param request - DescribeLimitationRequest
@@ -14143,6 +14155,8 @@ class Client extends openapi_core_1.default {
14143
14155
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeLimitationResponse({}));
14144
14156
  }
14145
14157
  /**
14158
+ * 查询账号限制
14159
+ *
14146
14160
  * @deprecated OpenAPI DescribeLimitation is deprecated
14147
14161
  *
14148
14162
  * @param request - DescribeLimitationRequest
@@ -16954,15 +16968,15 @@ class Client extends openapi_core_1.default {
16954
16968
  return await this.describeSnapshotsUsageWithOptions(request, runtime);
16955
16969
  }
16956
16970
  /**
16957
- * 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.
16971
+ * 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.
16958
16972
  *
16959
16973
  * @remarks
16960
- * This operation is applicable only to I/O optimized preemptible instances that reside in virtual private clouds (VPCs).
16974
+ * This operation is applicable only to I/O optimized spot instances that reside in virtual private clouds (VPCs).
16961
16975
  * * You can use one of the following methods to call this operation:
16962
16976
  * * Specify `Cores` and `Memory` or `MinCores` and `MinMemory` to query information about the instance types that meet the specified vCPU and memory requirements.
16963
16977
  * * Specify `InstanceTypes.N` to query information about the specified instance types.
16964
16978
  * * 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.
16965
- * * 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.
16979
+ * * 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.
16966
16980
  *
16967
16981
  * @param request - DescribeSpotAdviceRequest
16968
16982
  * @param runtime - runtime options for this request RuntimeOptions
@@ -17033,15 +17047,15 @@ class Client extends openapi_core_1.default {
17033
17047
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeSpotAdviceResponse({}));
17034
17048
  }
17035
17049
  /**
17036
- * 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.
17050
+ * 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.
17037
17051
  *
17038
17052
  * @remarks
17039
- * This operation is applicable only to I/O optimized preemptible instances that reside in virtual private clouds (VPCs).
17053
+ * This operation is applicable only to I/O optimized spot instances that reside in virtual private clouds (VPCs).
17040
17054
  * * You can use one of the following methods to call this operation:
17041
17055
  * * Specify `Cores` and `Memory` or `MinCores` and `MinMemory` to query information about the instance types that meet the specified vCPU and memory requirements.
17042
17056
  * * Specify `InstanceTypes.N` to query information about the specified instance types.
17043
17057
  * * 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.
17044
- * * 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.
17058
+ * * 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.
17045
17059
  *
17046
17060
  * @param request - DescribeSpotAdviceRequest
17047
17061
  * @returns DescribeSpotAdviceResponse
@@ -17051,10 +17065,10 @@ class Client extends openapi_core_1.default {
17051
17065
  return await this.describeSpotAdviceWithOptions(request, runtime);
17052
17066
  }
17053
17067
  /**
17054
- * 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.
17068
+ * 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.
17055
17069
  *
17056
17070
  * @remarks
17057
- * This operation is applicable only to I/O optimized preemptible instances.
17071
+ * This operation is applicable only to I/O optimized spot instances.
17058
17072
  * * 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.
17059
17073
  *
17060
17074
  * @param request - DescribeSpotPriceHistoryRequest
@@ -17126,10 +17140,10 @@ class Client extends openapi_core_1.default {
17126
17140
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeSpotPriceHistoryResponse({}));
17127
17141
  }
17128
17142
  /**
17129
- * 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.
17143
+ * 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.
17130
17144
  *
17131
17145
  * @remarks
17132
- * This operation is applicable only to I/O optimized preemptible instances.
17146
+ * This operation is applicable only to I/O optimized spot instances.
17133
17147
  * * 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.
17134
17148
  *
17135
17149
  * @param request - DescribeSpotPriceHistoryRequest
@@ -18555,6 +18569,9 @@ class Client extends openapi_core_1.default {
18555
18569
  async disableDiskEncryptionByDefaultWithOptions(request, runtime) {
18556
18570
  request.validate();
18557
18571
  let query = {};
18572
+ if (!$dara.isNull(request.ownerId)) {
18573
+ query["OwnerId"] = request.ownerId;
18574
+ }
18558
18575
  if (!$dara.isNull(request.regionId)) {
18559
18576
  query["RegionId"] = request.regionId;
18560
18577
  }
@@ -21260,6 +21277,9 @@ class Client extends openapi_core_1.default {
21260
21277
  if (!$dara.isNull(request.KMSKeyId)) {
21261
21278
  query["KMSKeyId"] = request.KMSKeyId;
21262
21279
  }
21280
+ if (!$dara.isNull(request.ownerId)) {
21281
+ query["OwnerId"] = request.ownerId;
21282
+ }
21263
21283
  if (!$dara.isNull(request.regionId)) {
21264
21284
  query["RegionId"] = request.regionId;
21265
21285
  }
@@ -22298,7 +22318,7 @@ class Client extends openapi_core_1.default {
22298
22318
  return await this.modifyInstanceAttributeWithOptions(request, runtime);
22299
22319
  }
22300
22320
  /**
22301
- * 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.
22321
+ * Changes the automatic release time of a pay-as-you-go or spot instance or cancels the automatic release of the instance.
22302
22322
  *
22303
22323
  * @param request - ModifyInstanceAutoReleaseTimeRequest
22304
22324
  * @param runtime - runtime options for this request RuntimeOptions
@@ -22345,7 +22365,7 @@ class Client extends openapi_core_1.default {
22345
22365
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyInstanceAutoReleaseTimeResponse({}));
22346
22366
  }
22347
22367
  /**
22348
- * 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.
22368
+ * Changes the automatic release time of a pay-as-you-go or spot instance or cancels the automatic release of the instance.
22349
22369
  *
22350
22370
  * @param request - ModifyInstanceAutoReleaseTimeRequest
22351
22371
  * @returns ModifyInstanceAutoReleaseTimeResponse
@@ -22547,7 +22567,7 @@ class Client extends openapi_core_1.default {
22547
22567
  * * The network type of the instance must be Virtual Private Cloud (VPC).
22548
22568
  * * 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.
22549
22569
  * * 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.
22550
- * * 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.
22570
+ * * 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.
22551
22571
  * * You can redeploy an instance to a specific dedicated host cluster.
22552
22572
  *
22553
22573
  * @param request - ModifyInstanceDeploymentRequest
@@ -22630,7 +22650,7 @@ class Client extends openapi_core_1.default {
22630
22650
  * * The network type of the instance must be Virtual Private Cloud (VPC).
22631
22651
  * * 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.
22632
22652
  * * 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.
22633
- * * 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.
22653
+ * * 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.
22634
22654
  * * You can redeploy an instance to a specific dedicated host cluster.
22635
22655
  *
22636
22656
  * @param request - ModifyInstanceDeploymentRequest
@@ -27069,6 +27089,9 @@ class Client extends openapi_core_1.default {
27069
27089
  async resetDiskDefaultKMSKeyIdWithOptions(request, runtime) {
27070
27090
  request.validate();
27071
27091
  let query = {};
27092
+ if (!$dara.isNull(request.ownerId)) {
27093
+ query["OwnerId"] = request.ownerId;
27094
+ }
27072
27095
  if (!$dara.isNull(request.regionId)) {
27073
27096
  query["RegionId"] = request.regionId;
27074
27097
  }
@@ -27922,11 +27945,11 @@ class Client extends openapi_core_1.default {
27922
27945
  * Amount:10, //Set the number of ECS instances that you want to create to 10.
27923
27946
  * InstanceChargeType:"PostPaid", //Set the billing method to PostPaid, which specifies the pay-as-you-go billing method.
27924
27947
  * 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.
27925
- * **Example: Create 20 preemptible instances that use a specific bidding policy and a protection period**
27948
+ * **Example: Create 20 spot instances that use a specific bidding policy and a protection period**
27926
27949
  * Amount:20, //Set the number of ECS instances that you want to create to 20.
27927
27950
  * InstanceChargeType:"PostPaid",
27928
- * 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.
27929
- * SpotDuration:1 //Set the protection period of the preemptible instances to 1. Unit: hours.
27951
+ * 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.
27952
+ * SpotDuration:1 //Set the protection period of the spot instances to 1. Unit: hours.
27930
27953
  * 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:
27931
27954
  * **Example: Create 10 ECS instances based on a launch template**
27932
27955
  * RegionId:"cn-hangzhou", //Set the region ID to cn-hangzhou, which specifies the China (Hangzhou) region.
@@ -28259,11 +28282,11 @@ class Client extends openapi_core_1.default {
28259
28282
  * Amount:10, //Set the number of ECS instances that you want to create to 10.
28260
28283
  * InstanceChargeType:"PostPaid", //Set the billing method to PostPaid, which specifies the pay-as-you-go billing method.
28261
28284
  * 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.
28262
- * **Example: Create 20 preemptible instances that use a specific bidding policy and a protection period**
28285
+ * **Example: Create 20 spot instances that use a specific bidding policy and a protection period**
28263
28286
  * Amount:20, //Set the number of ECS instances that you want to create to 20.
28264
28287
  * InstanceChargeType:"PostPaid",
28265
- * 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.
28266
- * SpotDuration:1 //Set the protection period of the preemptible instances to 1. Unit: hours.
28288
+ * 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.
28289
+ * SpotDuration:1 //Set the protection period of the spot instances to 1. Unit: hours.
28267
28290
  * 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:
28268
28291
  * **Example: Create 10 ECS instances based on a launch template**
28269
28292
  * RegionId:"cn-hangzhou", //Set the region ID to cn-hangzhou, which specifies the China (Hangzhou) region.
@@ -28664,6 +28687,9 @@ class Client extends openapi_core_1.default {
28664
28687
  if (!$dara.isNull(request.ownerId)) {
28665
28688
  query["OwnerId"] = request.ownerId;
28666
28689
  }
28690
+ if (!$dara.isNull(request.passwordName)) {
28691
+ query["PasswordName"] = request.passwordName;
28692
+ }
28667
28693
  if (!$dara.isNull(request.portNumber)) {
28668
28694
  query["PortNumber"] = request.portNumber;
28669
28695
  }
@@ -28805,13 +28831,13 @@ class Client extends openapi_core_1.default {
28805
28831
  return await this.stopInstanceWithOptions(request, runtime);
28806
28832
  }
28807
28833
  /**
28808
- * 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.
28834
+ * Stops Elastic Compute Service (ECS) instances. You can specify parameters to determine whether to forcefully stop the instances and the stop mode.
28809
28835
  *
28810
28836
  * @remarks
28811
- * 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.
28812
- * ### [](#)Precautions
28837
+ * 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.
28838
+ * ### [](#)Considerations
28839
+ * * 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.
28813
28840
  * * 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).
28814
- * * 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.
28815
28841
  *
28816
28842
  * @param request - StopInstancesRequest
28817
28843
  * @param runtime - runtime options for this request RuntimeOptions
@@ -28867,13 +28893,13 @@ class Client extends openapi_core_1.default {
28867
28893
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.StopInstancesResponse({}));
28868
28894
  }
28869
28895
  /**
28870
- * 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.
28896
+ * Stops Elastic Compute Service (ECS) instances. You can specify parameters to determine whether to forcefully stop the instances and the stop mode.
28871
28897
  *
28872
28898
  * @remarks
28873
- * 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.
28874
- * ### [](#)Precautions
28899
+ * 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.
28900
+ * ### [](#)Considerations
28901
+ * * 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.
28875
28902
  * * 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).
28876
- * * 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.
28877
28903
  *
28878
28904
  * @param request - StopInstancesRequest
28879
28905
  * @returns StopInstancesResponse