@alicloud/ecs20140526 7.0.8 → 7.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/dist/client.d.ts +44 -36
  2. package/dist/client.js +47 -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/DescribeDisksRequest.d.ts +1 -1
  28. package/dist/models/DescribeInstanceAttributeResponseBody.d.ts +1 -1
  29. package/dist/models/DescribeInstanceAttributeResponseBodyOperationLocksLockReason.d.ts +1 -1
  30. package/dist/models/DescribeInstancesRequest.d.ts +1 -1
  31. package/dist/models/DescribeInstancesResponseBodyInstancesInstance.d.ts +8 -8
  32. package/dist/models/DescribeInstancesResponseBodyInstancesInstanceOperationLocksLockReason.d.ts +1 -1
  33. package/dist/models/DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateData.d.ts +7 -7
  34. package/dist/models/DescribePriceRequest.d.ts +7 -7
  35. package/dist/models/DescribeRecommendInstanceTypeRequest.d.ts +27 -27
  36. package/dist/models/DescribeRecommendInstanceTypeResponseBody.d.ts +1 -1
  37. package/dist/models/DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceType.d.ts +7 -7
  38. package/dist/models/DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceTypeZonesZone.d.ts +2 -2
  39. package/dist/models/DescribeRegionsRequest.d.ts +2 -2
  40. package/dist/models/DescribeSnapshotLinksRequest.d.ts +17 -0
  41. package/dist/models/DescribeSnapshotLinksRequest.js.map +1 -1
  42. package/dist/models/DescribeSnapshotLinksResponseBody.d.ts +7 -0
  43. package/dist/models/DescribeSnapshotLinksResponseBody.js.map +1 -1
  44. package/dist/models/DescribeSpotAdviceResponseBody.d.ts +2 -2
  45. package/dist/models/DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZone.d.ts +1 -1
  46. package/dist/models/DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZoneAvailableSpotResourcesAvailableSpotResource.d.ts +4 -4
  47. package/dist/models/DescribeSpotPriceHistoryRequest.d.ts +7 -7
  48. package/dist/models/DescribeSpotPriceHistoryResponseBody.d.ts +4 -4
  49. package/dist/models/DescribeSpotPriceHistoryResponseBodySpotPricesSpotPriceType.d.ts +5 -5
  50. package/dist/models/DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConnection.d.ts +1 -0
  51. package/dist/models/DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConnection.js +2 -0
  52. package/dist/models/DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConnection.js.map +1 -1
  53. package/dist/models/DescribeZonesRequest.d.ts +3 -3
  54. package/dist/models/ModifyAutoProvisioningGroupRequest.d.ts +4 -4
  55. package/dist/models/ModifyAutoProvisioningGroupRequestLaunchTemplateConfig.d.ts +1 -1
  56. package/dist/models/RunInstancesRequest.d.ts +8 -8
  57. package/dist/models/RunInstancesRequestPrivatePoolOptions.d.ts +1 -1
  58. package/dist/models/StartTerminalSessionRequest.d.ts +1 -0
  59. package/dist/models/StartTerminalSessionRequest.js +2 -0
  60. package/dist/models/StartTerminalSessionRequest.js.map +1 -1
  61. package/dist/models/StopInstanceRequest.d.ts +14 -3
  62. package/dist/models/StopInstanceRequest.js.map +1 -1
  63. package/dist/models/StopInstancesRequest.d.ts +27 -11
  64. package/dist/models/StopInstancesRequest.js.map +1 -1
  65. package/dist/models/StopInstancesResponseBodyInstanceResponsesInstanceResponse.d.ts +1 -1
  66. package/package.json +1 -1
  67. package/src/client.ts +48 -36
  68. package/src/models/CopyImageRequest.ts +19 -0
  69. package/src/models/CreateAutoProvisioningGroupRequest.ts +9 -9
  70. package/src/models/CreateAutoProvisioningGroupRequestLaunchConfiguration.ts +5 -5
  71. package/src/models/CreateAutoProvisioningGroupRequestLaunchTemplateConfig.ts +1 -1
  72. package/src/models/CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchResult.ts +2 -2
  73. package/src/models/CreateAutoProvisioningGroupShrinkRequest.ts +9 -9
  74. package/src/models/CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration.ts +5 -5
  75. package/src/models/CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig.ts +1 -1
  76. package/src/models/CreateInstanceRequest.ts +9 -9
  77. package/src/models/CreateInstanceRequestPrivatePoolOptions.ts +1 -1
  78. package/src/models/CreateLaunchTemplateRequest.ts +6 -6
  79. package/src/models/CreateLaunchTemplateRequestDataDisk.ts +1 -1
  80. package/src/models/CreateLaunchTemplateVersionRequest.ts +8 -8
  81. package/src/models/CreateLaunchTemplateVersionRequestDataDisk.ts +2 -2
  82. package/src/models/DescribeAccountAttributesRequest.ts +2 -2
  83. package/src/models/DescribeAccountAttributesResponseBodyAccountAttributeItemsAccountAttributeItem.ts +2 -2
  84. package/src/models/DescribeAutoProvisioningGroupInstancesResponseBodyInstancesInstance.ts +1 -1
  85. package/src/models/DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoProvisioningGroup.ts +2 -2
  86. package/src/models/DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoProvisioningGroupSpotOptions.ts +4 -4
  87. package/src/models/DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoProvisioningGroupTargetCapacitySpecification.ts +2 -2
  88. package/src/models/DescribeAvailableResourceRequest.ts +6 -6
  89. package/src/models/DescribeBandwidthLimitationRequest.ts +2 -2
  90. package/src/models/DescribeDisksRequest.ts +1 -1
  91. package/src/models/DescribeInstanceAttributeResponseBody.ts +1 -1
  92. package/src/models/DescribeInstanceAttributeResponseBodyOperationLocksLockReason.ts +1 -1
  93. package/src/models/DescribeInstancesRequest.ts +1 -1
  94. package/src/models/DescribeInstancesResponseBodyInstancesInstance.ts +8 -8
  95. package/src/models/DescribeInstancesResponseBodyInstancesInstanceOperationLocksLockReason.ts +1 -1
  96. package/src/models/DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateData.ts +7 -7
  97. package/src/models/DescribePriceRequest.ts +7 -7
  98. package/src/models/DescribeRecommendInstanceTypeRequest.ts +27 -27
  99. package/src/models/DescribeRecommendInstanceTypeResponseBody.ts +1 -1
  100. package/src/models/DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceType.ts +7 -7
  101. package/src/models/DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceTypeZonesZone.ts +2 -2
  102. package/src/models/DescribeRegionsRequest.ts +2 -2
  103. package/src/models/DescribeSnapshotLinksRequest.ts +17 -0
  104. package/src/models/DescribeSnapshotLinksResponseBody.ts +7 -0
  105. package/src/models/DescribeSpotAdviceResponseBody.ts +2 -2
  106. package/src/models/DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZone.ts +1 -1
  107. package/src/models/DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZoneAvailableSpotResourcesAvailableSpotResource.ts +4 -4
  108. package/src/models/DescribeSpotPriceHistoryRequest.ts +7 -7
  109. package/src/models/DescribeSpotPriceHistoryResponseBody.ts +4 -4
  110. package/src/models/DescribeSpotPriceHistoryResponseBodySpotPricesSpotPriceType.ts +5 -5
  111. package/src/models/DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConnection.ts +3 -0
  112. package/src/models/DescribeZonesRequest.ts +3 -3
  113. package/src/models/ModifyAutoProvisioningGroupRequest.ts +4 -4
  114. package/src/models/ModifyAutoProvisioningGroupRequestLaunchTemplateConfig.ts +1 -1
  115. package/src/models/RunInstancesRequest.ts +8 -8
  116. package/src/models/RunInstancesRequestPrivatePoolOptions.ts +1 -1
  117. package/src/models/StartTerminalSessionRequest.ts +3 -0
  118. package/src/models/StopInstanceRequest.ts +14 -3
  119. package/src/models/StopInstancesRequest.ts +27 -11
  120. package/src/models/StopInstancesResponseBodyInstanceResponsesInstanceResponse.ts +1 -1
@@ -25,6 +25,7 @@ export declare class DescribeTerminalSessionsResponseBodySessionsSessionConnecti
25
25
  * 2024-01-19T09:16:46Z
26
26
  */
27
27
  endTime?: string;
28
+ failedDetail?: string;
28
29
  /**
29
30
  * @remarks
30
31
  * The instance ID.
@@ -41,6 +41,7 @@ class DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConnection e
41
41
  return {
42
42
  closedReason: 'ClosedReason',
43
43
  endTime: 'EndTime',
44
+ failedDetail: 'FailedDetail',
44
45
  instanceId: 'InstanceId',
45
46
  startTime: 'StartTime',
46
47
  status: 'Status',
@@ -50,6 +51,7 @@ class DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConnection e
50
51
  return {
51
52
  closedReason: 'string',
52
53
  endTime: 'string',
54
+ failedDetail: 'string',
53
55
  instanceId: 'string',
54
56
  startTime: 'string',
55
57
  status: 'string',
@@ -1 +1 @@
1
- {"version":3,"file":"DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConnection.js","sourceRoot":"","sources":["../../src/models/DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConnection.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wEAAyE,SAAQ,KAAK,CAAC,KAAK;IAyDvG,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,cAAc;YAC5B,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,SAAS,EAAE,WAAW;YACtB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,QAAQ;YACtB,OAAO,EAAE,QAAQ;YACjB,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;YACnB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApFD,4JAoFC"}
1
+ {"version":3,"file":"DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConnection.js","sourceRoot":"","sources":["../../src/models/DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConnection.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wEAAyE,SAAQ,KAAK,CAAC,KAAK;IA0DvG,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,cAAc;YAC5B,OAAO,EAAE,SAAS;YAClB,YAAY,EAAE,cAAc;YAC5B,UAAU,EAAE,YAAY;YACxB,SAAS,EAAE,WAAW;YACtB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,QAAQ;YACtB,OAAO,EAAE,QAAQ;YACjB,YAAY,EAAE,QAAQ;YACtB,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;YACnB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAvFD,4JAuFC"}
@@ -47,11 +47,11 @@ export declare class DescribeZonesRequest extends $dara.Model {
47
47
  resourceOwnerId?: number;
48
48
  /**
49
49
  * @remarks
50
- * The bidding policy for the pay-as-you-go instance. You can specify this parameter when you set `InstanceChargeType` to PostPaid. For more information, see [Preemptible instances](https://help.aliyun.com/document_detail/52088.html). Valid values:
50
+ * The bidding policy for the pay-as-you-go instance. You can specify this parameter when you set `InstanceChargeType` to PostPaid. For more information, see [Spot instances](https://help.aliyun.com/document_detail/52088.html). Valid values:
51
51
  *
52
52
  * * NoSpot: The instances are regular pay-as-you-go instances.
53
- * * SpotWithPriceLimit: The instance is a preemptible instance that has a user-defined maximum hourly price.
54
- * * SpotAsPriceGo: The instance is a preemptible instance for which the market price is automatically used as the bid price. The market price can be up to the pay-as-you-go price.
53
+ * * SpotWithPriceLimit: The instance is a spot instance that has a user-defined maximum hourly price.
54
+ * * SpotAsPriceGo: The instance is a spot instance for which the market price is automatically used as the bid price. The market price can be up to the pay-as-you-go price.
55
55
  *
56
56
  * Default value: NoSpot.
57
57
  *
@@ -22,7 +22,7 @@ export declare class ModifyAutoProvisioningGroupRequest extends $dara.Model {
22
22
  * 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 target capacity. Valid values:
23
23
  *
24
24
  * * PayAsYouGo: pay-as-you-go instances
25
- * * Spot: preemptible instances
25
+ * * Spot: spot instances
26
26
  *
27
27
  * @example
28
28
  * Spot
@@ -46,7 +46,7 @@ export declare class ModifyAutoProvisioningGroupRequest extends $dara.Model {
46
46
  launchTemplateConfig?: ModifyAutoProvisioningGroupRequestLaunchTemplateConfig[];
47
47
  /**
48
48
  * @remarks
49
- * The maximum price of preemptible instances in the auto-provisioning group.
49
+ * The maximum price of spot instances in the auto-provisioning group.
50
50
  *
51
51
  * > When both the MaxSpotPrice and LaunchTemplateConfig.N.MaxPrice parameters are specified, the smaller one of the two parameter values is used. The LaunchTemplateConfig.N.MaxPrice parameter is specified when the auto-provisioning group is created, and cannot be modified.
52
52
  *
@@ -78,7 +78,7 @@ export declare class ModifyAutoProvisioningGroupRequest extends $dara.Model {
78
78
  resourceOwnerId?: number;
79
79
  /**
80
80
  * @remarks
81
- * The target capacity of preemptible instances in the auto-provisioning group. Valid values: Set this parameter to a value smaller than the TotalTargetCapacity value.
81
+ * The target capacity of spot instances in the auto-provisioning group. Valid values: Set this parameter to a value smaller than the TotalTargetCapacity value.
82
82
  *
83
83
  * @example
84
84
  * 30
@@ -99,7 +99,7 @@ export declare class ModifyAutoProvisioningGroupRequest extends $dara.Model {
99
99
  * @remarks
100
100
  * The total target capacity of the auto-provisioning group. The value must be a positive integer.
101
101
  *
102
- * 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 the PayAsYouGoTargetCapacity parameter as well as the target capacity of preemptible instances specified by the SpotTargetCapacity parameter.
102
+ * 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 the PayAsYouGoTargetCapacity parameter as well as the target capacity of spot instances specified by the SpotTargetCapacity parameter.
103
103
  *
104
104
  * @example
105
105
  * 70
@@ -10,7 +10,7 @@ export declare class ModifyAutoProvisioningGroupRequestLaunchTemplateConfig exte
10
10
  instanceType?: string;
11
11
  /**
12
12
  * @remarks
13
- * The maximum price of preemptible instances in extended configuration N.
13
+ * The maximum price of spot instances in extended configuration N.
14
14
  *
15
15
  * @example
16
16
  * 3
@@ -143,7 +143,7 @@ export declare class RunInstancesRequest extends $dara.Model {
143
143
  dataDisk?: RunInstancesRequestDataDisk[];
144
144
  /**
145
145
  * @remarks
146
- * The ID of the dedicated host on which to create the instance. Preemptible instances cannot be created on dedicated hosts. If you specify `DedicatedHostId`, `SpotStrategy` and `SpotPriceLimit` are ignored.
146
+ * The ID of the dedicated host on which to create the instance. Spot instances cannot be created on dedicated hosts. If you specify `DedicatedHostId`, `SpotStrategy` and `SpotPriceLimit` are ignored.
147
147
  *
148
148
  * You can call the [DescribeDedicatedHosts](https://help.aliyun.com/document_detail/134242.html) operation to query the list of dedicated host IDs.
149
149
  *
@@ -656,12 +656,12 @@ export declare class RunInstancesRequest extends $dara.Model {
656
656
  securityGroupIds?: string[];
657
657
  /**
658
658
  * @remarks
659
- * The protection period of the preemptible instance. Unit: hours. Default value: 1. Valid values:
659
+ * The protection period of the spot instance. Unit: hours. Default value: 1. Valid values:
660
660
  *
661
- * * 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.
662
- * * 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.
661
+ * * 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.
662
+ * * 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.
663
663
  *
664
- * 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.
664
+ * 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.
665
665
  *
666
666
  * @example
667
667
  * 1
@@ -669,7 +669,7 @@ export declare class RunInstancesRequest extends $dara.Model {
669
669
  spotDuration?: number;
670
670
  /**
671
671
  * @remarks
672
- * The interruption mode of the preemptible instance. Valid values:
672
+ * The interruption mode of the spot instance. Valid values:
673
673
  *
674
674
  * * Terminate: The instance is released.
675
675
  *
@@ -696,8 +696,8 @@ export declare class RunInstancesRequest extends $dara.Model {
696
696
  * The bidding policy for the pay-as-you-go instance. This parameter is valid only when the `InstanceChargeType` parameter is set to `PostPaid`. Valid values:
697
697
  *
698
698
  * * NoSpot: The instance is created as a pay-as-you-go instance.
699
- * * SpotWithPriceLimit: The instance is created as a preemptible instance with a user-defined maximum hourly price.
700
- * * SpotAsPriceGo: The instance is created as a preemptible instance for which the market price at the time of purchase is automatically used as the bid price.
699
+ * * SpotWithPriceLimit: The instance is created as a spot instance with a user-defined maximum hourly price.
700
+ * * SpotAsPriceGo: The instance is created as a spot instance for which the market price at the time of purchase is automatically used as the bid price.
701
701
  *
702
702
  * Default value: NoSpot.
703
703
  *
@@ -20,7 +20,7 @@ export declare class RunInstancesRequestPrivatePoolOptions extends $dara.Model {
20
20
  *
21
21
  * In the following scenarios, the PrivatePoolOptions.MatchCriteria parameter can be set only to `None` or left empty:
22
22
  *
23
- * * A preemptible instance is created.
23
+ * * A spot instance is created.
24
24
  * * The instance is created in the classic network.
25
25
  * * The instance is created on a dedicated host.
26
26
  *
@@ -24,6 +24,7 @@ export declare class StartTerminalSessionRequest extends $dara.Model {
24
24
  instanceId?: string[];
25
25
  ownerAccount?: string;
26
26
  ownerId?: number;
27
+ passwordName?: string;
27
28
  /**
28
29
  * @remarks
29
30
  * The port number of the ECS instance. The port is used to forward data. After this parameter is configured, Cloud Assistant Agent forwards data to the specified port. For example, you can set this parameter to 22 for data forwarding over SSH.
@@ -44,6 +44,7 @@ class StartTerminalSessionRequest extends $dara.Model {
44
44
  instanceId: 'InstanceId',
45
45
  ownerAccount: 'OwnerAccount',
46
46
  ownerId: 'OwnerId',
47
+ passwordName: 'PasswordName',
47
48
  portNumber: 'PortNumber',
48
49
  regionId: 'RegionId',
49
50
  resourceOwnerAccount: 'ResourceOwnerAccount',
@@ -59,6 +60,7 @@ class StartTerminalSessionRequest extends $dara.Model {
59
60
  instanceId: { 'type': 'array', 'itemType': 'string' },
60
61
  ownerAccount: 'string',
61
62
  ownerId: 'number',
63
+ passwordName: 'string',
62
64
  portNumber: 'number',
63
65
  regionId: 'string',
64
66
  resourceOwnerAccount: 'string',
@@ -1 +1 @@
1
- {"version":3,"file":"StartTerminalSessionRequest.js","sourceRoot":"","sources":["../../src/models/StartTerminalSessionRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;IAiE1D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,cAAc,EAAE,gBAAgB;YAChC,UAAU,EAAE,YAAY;YACxB,YAAY,EAAE,cAAc;YAC5B,OAAO,EAA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5B,OAAO,EAAE,SAAS;YAClB,YAAY,EAAE,cAAc;YAC5B,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,oBAAoB,EAAE,sBAAsB;YAC5C,eAAe,EAAE,iBAAiB;YAClC,YAAY,EAAE,cAAc;YAC5B,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,cAAc,EAAE,QAAQ;YACxB,UAAU,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YACrD,YAAY,EAAE,QAAQ;YACtB,OAAO,EAAE,QAAQ;YACjB,YAAY,EAAE,QAAQ;YACtB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,oBAAoB,EAAE,QAAQ;YAC9B,eAAe,EAAE,QAAQ;YACzB,YAAY,EAAE,QAAQ;YACtB,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;YAClC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAC7C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA9GD,kEA8GC"}
@@ -60,10 +60,21 @@ export declare class StopInstanceRequest extends $dara.Model {
60
60
  * @remarks
61
61
  * The stop mode of the pay-as-you-go instance. Valid values:
62
62
  *
63
- * * StopCharging: economical mode. For information about how `StopCharging` takes effect, see the "Conditions for enabling economical mode" section in [Economical mode](https://help.aliyun.com/document_detail/63353.html).
64
- * * KeepCharging: standard mode. You continue to be charged for instances that are stopped in standard mode.
63
+ * * StopCharging: economical mode. After the economical mode is enabled, billing for the following resources of the instance stops: computing resources (vCPUs, memory, and GPUs), image licenses, and public bandwidth of the static public IP address (if any) that uses the pay-by-bandwidth metering method. Billing for the following resources of the instance continues: system disk, data disks, and public bandwidth of the elastic IP address (EIP) (if any) that uses the pay-by-bandwidth metering method. For more information, see [Economical mode](https://help.aliyun.com/document_detail/63353.html).
65
64
  *
66
- * Default value: If the conditions for enabling the economical mode are met and you have enabled this mode in the ECS console, the default value is [StopCharging](~~63353#default~~). For more information, see the "Enable economical mode" section in `Economical mode`. Otherwise, the default value is `KeepCharging`.
65
+ * **
66
+ *
67
+ * **Note**
68
+ *
69
+ * * If the instance does not support the **economical** mode, the system stops the instance and does not report errors during the operation call. The economical mode cannot be enabled for instances of the classic network type, instances that use local disks, and instances that use persistent memory.
70
+ *
71
+ * * The instance may fail to restart due to the reclaimed computing resources or insufficient resources. Try again later or change the instance type of the instance.
72
+ *
73
+ * * If an EIP is associated with the instance before the instance is stopped, the EIP remains unchanged after the instance is restarted. If a static public IP address is associated with the instance before the instance is stopped, the static public IP address may change, but the private IP address does not change.
74
+ *
75
+ * * KeepCharging: standard mode. After the instance is stopped in standard mode, you continue to be charged for the instance.
76
+ *
77
+ * Default value: If the conditions for [enabling the economical mode for an instance in a VPC](~~63353#default~~) are met and you have enabled this mode in the ECS console, the default value is `StopCharging`. Otherwise, the default value is `KeepCharging`.
67
78
  *
68
79
  * @example
69
80
  * KeepCharging
@@ -1 +1 @@
1
- {"version":3,"file":"StopInstanceRequest.js","sourceRoot":"","sources":["../../src/models/StopInstanceRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mBAAoB,SAAQ,KAAK,CAAC,KAAK;IAsElD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,WAAW;YACtB,SAAS,EAAE,WAAW;YACtB,UAAU,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,EAAE,SAAS;YACpB,SAAS,EAAE,SAAS;YACpB,UAAU,EAAE,QAAQ;YACpB,YAAY,EAAE,QAAQ;YACtB,OAAO,EAAE,QAAQ;YACjB,oBAAoB,EAAE,QAAQ;YAC9B,eAAe,EAAE,QAAQ;YACzB,WAAW,EAAE,QAAQ;SACtB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtHD,kDAsHC"}
@@ -2,10 +2,10 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class StopInstancesRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The batch operation mode. Valid values:
5
+ * Specifies the batch operation mode. Valid values:
6
6
  *
7
- * * AllTogether: In this mode, if all instances are stopped, a success message is returned. If an instance fails the verification, all instances fail to stop and an error message is returned.
8
- * * SuccessFirst: In this mode, each instance is separately stopped. The response contains the operation results for each instance.
7
+ * * AllTogether: The batch operation is successful only after all operations are successful. If any operation fails, the batch operation is considered failed, and all operations that have been performed are undone to restore the instances to the status before the batch operation.
8
+ * * SuccessFirst: allows each operation in a batch to be independently executed. If an operation fails, other operations can continue and confirm success. In this mode, successful operations are committed and failed operations are marked as failed, but the execution results of other operations are not affected.
9
9
  *
10
10
  * Default value: AllTogether.
11
11
  *
@@ -15,9 +15,9 @@ export declare class StopInstancesRequest extends $dara.Model {
15
15
  batchOptimization?: string;
16
16
  /**
17
17
  * @remarks
18
- * Specifies whether to perform only a dry run, without performing the actual request. Valid values:
18
+ * Specifies whether to send a precheck request. Valid values:
19
19
  *
20
- * * true: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and instance status. If the request fails the dry run, an error message is returned. If the request passes the dry run, `DRYRUN.SUCCESS` is returned.
20
+ * * true: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and instance status. If the check fails, the corresponding error message is returned. If the request passes the dry run, `DRYRUN.SUCCESS` is returned.
21
21
  *
22
22
  * > If you set `BatchOptimization` to `SuccessFirst` and `DryRun` to true, only `DRYRUN.SUCCESS` is returned, regardless of whether the request passes the dry run.
23
23
  *
@@ -33,8 +33,13 @@ export declare class StopInstancesRequest extends $dara.Model {
33
33
  * @remarks
34
34
  * Specifies whether to forcefully stop instances. Valid values:
35
35
  *
36
- * * true. This operation is equivalent to the typical power-off operation. Cache data that is not written to storage devices on instances is lost.
37
- * * false.
36
+ * * true: forcefully stops the ECS instance.
37
+ *
38
+ * **
39
+ *
40
+ * **Alert** Force Stop: forcefully stops the instance. A force stop is equivalent to a physical shutdown and may cause data loss if instance data has not been written to disks.
41
+ *
42
+ * * false: normally stops the ECS instance.
38
43
  *
39
44
  * Default value: false.
40
45
  *
@@ -68,12 +73,23 @@ export declare class StopInstancesRequest extends $dara.Model {
68
73
  resourceOwnerId?: number;
69
74
  /**
70
75
  * @remarks
71
- * The stop mode of the pay-as-you-go instance. Valid values:
76
+ * The stop mode. Valid values:
77
+ *
78
+ * * StopCharging: economical mode. After the economical mode is enabled, billing for the following resources of the instance stops: computing resources (vCPUs and memory), image licenses, and public bandwidth of the static public IP address (if any) that uses the pay-by-bandwidth metering method. Billing for the following resources of the instance continues: system disk, data disks, and public bandwidth of the elastic IP address (EIP) (if any) that uses the pay-by-bandwidth metering method. For more information, see [Economical mode](https://help.aliyun.com/document_detail/63353.html).
79
+ *
80
+ * **
81
+ *
82
+ * **Note**
83
+ *
84
+ * * If the instance does not support the **economical** mode, the system stops the instance and does not report errors during the operation call. The economical mode cannot be enabled for instances of the classic network type, instances that use local disks, and instances that use persistent memory.
85
+ *
86
+ * * The instance may fail to restart due to the reclaimed computing resources or insufficient resources. Try again later or change the instance type of the instance.
87
+ *
88
+ * * If an EIP is associated with the instance before the instance is stopped, the EIP remains unchanged after the instance is restarted. If a static public IP address is associated with the instance, the static public IP address may change, but the private IP address does not change.
72
89
  *
73
- * * StopCharging: economical mode. For information about how `StopCharging` takes effect, see the "Prerequisites" section in [Economical mode](https://help.aliyun.com/document_detail/63353.html).
74
- * * KeepCharging: standard mode. After the instance is stopped in standard mode, you continue to be charged for it.
90
+ * * KeepCharging: standard mode. After the instance is stopped in standard mode, you continue to be charged for the instance. After the instance is stopped in standard mode, you continue to be charged for the instance.
75
91
  *
76
- * Default value: If the prerequisites required for enabling economical mode are met and you have enabled the mode in the ECS console, the default value is [StopCharging](~~63353#default~~). For more information, see the "Enable economical mode" section in `Economical mode`. Otherwise, the default value is `KeepCharging`.
92
+ * Default value: If the conditions for [enabling the economical mode for an instance in a VPC](~~63353#default~~) are met and you have enabled this mode in the ECS console, the default value is `StopCharging`. Otherwise, the default value is `KeepCharging`.
77
93
  *
78
94
  * @example
79
95
  * KeepCharging
@@ -1 +1 @@
1
- {"version":3,"file":"StopInstancesRequest.js","sourceRoot":"","sources":["../../src/models/StopInstancesRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oBAAqB,SAAQ,KAAK,CAAC,KAAK;IAgFnD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,iBAAiB,EAAE,mBAAmB;YACtC,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,WAAW;YACtB,UAAU,EAAE,YAAY;YACxB,YAAY,EAAE,cAAc;YAC5B,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,oBAAoB,EAAE,sBAAsB;YAC5C,eAAe,EAAE,iBAAiB;YAClC,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,iBAAiB,EAAE,QAAQ;YAC3B,MAAM,EAAE,SAAS;YACjB,SAAS,EAAE,SAAS;YACpB,UAAU,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YACrD,YAAY,EAAE,Q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,EAAE,QAAQ;YAClB,oBAAoB,EAAE,QAAQ;YAC9B,eAAe,EAAE,QAAQ;YACzB,WAAW,EAAE,QAAQ;SACtB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;YAClC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAC7C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAxID,oDAwIC"}
@@ -26,7 +26,7 @@ export declare class StopInstancesResponseBodyInstanceResponsesInstanceResponse
26
26
  instanceId?: string;
27
27
  /**
28
28
  * @remarks
29
- * The error message returned for the instance. A return value of success indicates that the operation was successful. For more information, see the "Error codes" section of this topic.
29
+ * The error message returned for the instance. The return value `success` indicates that the operation is successful. For more information, see the "Error codes" section of this topic.
30
30
  *
31
31
  * @example
32
32
  * success
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/ecs20140526",
3
- "version": "7.0.8",
3
+ "version": "7.0.9",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
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
@@ -16459,6 +16463,8 @@ export default class Client extends OpenApi {
16459
16463
  }
16460
16464
 
16461
16465
  /**
16466
+ * 查询账号限制
16467
+ *
16462
16468
  * @deprecated OpenAPI DescribeLimitation is deprecated
16463
16469
  *
16464
16470
  * @param request - DescribeLimitationRequest
@@ -16507,6 +16513,8 @@ export default class Client extends OpenApi {
16507
16513
  }
16508
16514
 
16509
16515
  /**
16516
+ * 查询账号限制
16517
+ *
16510
16518
  * @deprecated OpenAPI DescribeLimitation is deprecated
16511
16519
  *
16512
16520
  * @param request - DescribeLimitationRequest
@@ -19813,15 +19821,15 @@ export default class Client extends OpenApi {
19813
19821
  }
19814
19822
 
19815
19823
  /**
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.
19824
+ * 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
19825
  *
19818
19826
  * @remarks
19819
- * This operation is applicable only to I/O optimized preemptible instances that reside in virtual private clouds (VPCs).
19827
+ * This operation is applicable only to I/O optimized spot instances that reside in virtual private clouds (VPCs).
19820
19828
  * * You can use one of the following methods to call this operation:
19821
19829
  * * Specify `Cores` and `Memory` or `MinCores` and `MinMemory` to query information about the instance types that meet the specified vCPU and memory requirements.
19822
19830
  * * Specify `InstanceTypes.N` to query information about the specified instance types.
19823
19831
  * * 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.
19832
+ * * 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
19833
  *
19826
19834
  * @param request - DescribeSpotAdviceRequest
19827
19835
  * @param runtime - runtime options for this request RuntimeOptions
@@ -19908,15 +19916,15 @@ export default class Client extends OpenApi {
19908
19916
  }
19909
19917
 
19910
19918
  /**
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.
19919
+ * 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
19920
  *
19913
19921
  * @remarks
19914
- * This operation is applicable only to I/O optimized preemptible instances that reside in virtual private clouds (VPCs).
19922
+ * This operation is applicable only to I/O optimized spot instances that reside in virtual private clouds (VPCs).
19915
19923
  * * You can use one of the following methods to call this operation:
19916
19924
  * * Specify `Cores` and `Memory` or `MinCores` and `MinMemory` to query information about the instance types that meet the specified vCPU and memory requirements.
19917
19925
  * * Specify `InstanceTypes.N` to query information about the specified instance types.
19918
19926
  * * 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.
19927
+ * * 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
19928
  *
19921
19929
  * @param request - DescribeSpotAdviceRequest
19922
19930
  * @returns DescribeSpotAdviceResponse
@@ -19927,10 +19935,10 @@ export default class Client extends OpenApi {
19927
19935
  }
19928
19936
 
19929
19937
  /**
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.
19938
+ * 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
19939
  *
19932
19940
  * @remarks
19933
- * This operation is applicable only to I/O optimized preemptible instances.
19941
+ * This operation is applicable only to I/O optimized spot instances.
19934
19942
  * * 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
19943
  *
19936
19944
  * @param request - DescribeSpotPriceHistoryRequest
@@ -20018,10 +20026,10 @@ export default class Client extends OpenApi {
20018
20026
  }
20019
20027
 
20020
20028
  /**
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.
20029
+ * 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
20030
  *
20023
20031
  * @remarks
20024
- * This operation is applicable only to I/O optimized preemptible instances.
20032
+ * This operation is applicable only to I/O optimized spot instances.
20025
20033
  * * 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
20034
  *
20027
20035
  * @param request - DescribeSpotPriceHistoryRequest
@@ -25963,7 +25971,7 @@ export default class Client extends OpenApi {
25963
25971
  }
25964
25972
 
25965
25973
  /**
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.
25974
+ * Changes the automatic release time of a pay-as-you-go or spot instance or cancels the automatic release of the instance.
25967
25975
  *
25968
25976
  * @param request - ModifyInstanceAutoReleaseTimeRequest
25969
25977
  * @param runtime - runtime options for this request RuntimeOptions
@@ -26018,7 +26026,7 @@ export default class Client extends OpenApi {
26018
26026
  }
26019
26027
 
26020
26028
  /**
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.
26029
+ * Changes the automatic release time of a pay-as-you-go or spot instance or cancels the automatic release of the instance.
26022
26030
  *
26023
26031
  * @param request - ModifyInstanceAutoReleaseTimeRequest
26024
26032
  * @returns ModifyInstanceAutoReleaseTimeResponse
@@ -26249,7 +26257,7 @@ export default class Client extends OpenApi {
26249
26257
  * * The network type of the instance must be Virtual Private Cloud (VPC).
26250
26258
  * * 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
26259
  * * 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.
26260
+ * * 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
26261
  * * You can redeploy an instance to a specific dedicated host cluster.
26254
26262
  *
26255
26263
  * @param request - ModifyInstanceDeploymentRequest
@@ -26349,7 +26357,7 @@ export default class Client extends OpenApi {
26349
26357
  * * The network type of the instance must be Virtual Private Cloud (VPC).
26350
26358
  * * 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
26359
  * * 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.
26360
+ * * 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
26361
  * * You can redeploy an instance to a specific dedicated host cluster.
26354
26362
  *
26355
26363
  * @param request - ModifyInstanceDeploymentRequest
@@ -32458,11 +32466,11 @@ export default class Client extends OpenApi {
32458
32466
  * Amount:10, //Set the number of ECS instances that you want to create to 10.
32459
32467
  * InstanceChargeType:"PostPaid", //Set the billing method to PostPaid, which specifies the pay-as-you-go billing method.
32460
32468
  * 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**
32469
+ * **Example: Create 20 spot instances that use a specific bidding policy and a protection period**
32462
32470
  * Amount:20, //Set the number of ECS instances that you want to create to 20.
32463
32471
  * 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.
32472
+ * 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.
32473
+ * SpotDuration:1 //Set the protection period of the spot instances to 1. Unit: hours.
32466
32474
  * 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
32475
  * **Example: Create 10 ECS instances based on a launch template**
32468
32476
  * RegionId:"cn-hangzhou", //Set the region ID to cn-hangzhou, which specifies the China (Hangzhou) region.
@@ -32874,11 +32882,11 @@ export default class Client extends OpenApi {
32874
32882
  * Amount:10, //Set the number of ECS instances that you want to create to 10.
32875
32883
  * InstanceChargeType:"PostPaid", //Set the billing method to PostPaid, which specifies the pay-as-you-go billing method.
32876
32884
  * 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**
32885
+ * **Example: Create 20 spot instances that use a specific bidding policy and a protection period**
32878
32886
  * Amount:20, //Set the number of ECS instances that you want to create to 20.
32879
32887
  * 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.
32888
+ * 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.
32889
+ * SpotDuration:1 //Set the protection period of the spot instances to 1. Unit: hours.
32882
32890
  * 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
32891
  * **Example: Create 10 ECS instances based on a launch template**
32884
32892
  * RegionId:"cn-hangzhou", //Set the region ID to cn-hangzhou, which specifies the China (Hangzhou) region.
@@ -33337,6 +33345,10 @@ export default class Client extends OpenApi {
33337
33345
  query["OwnerId"] = request.ownerId;
33338
33346
  }
33339
33347
 
33348
+ if (!$dara.isNull(request.passwordName)) {
33349
+ query["PasswordName"] = request.passwordName;
33350
+ }
33351
+
33340
33352
  if (!$dara.isNull(request.portNumber)) {
33341
33353
  query["PortNumber"] = request.portNumber;
33342
33354
  }
@@ -33499,13 +33511,13 @@ export default class Client extends OpenApi {
33499
33511
  }
33500
33512
 
33501
33513
  /**
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.
33514
+ * Stops Elastic Compute Service (ECS) instances. You can specify parameters to determine whether to forcefully stop the instances and the stop mode.
33503
33515
  *
33504
33516
  * @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
33517
+ * 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.
33518
+ * ### [](#)Considerations
33519
+ * * 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
33520
  * * 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
33521
  *
33510
33522
  * @param request - StopInstancesRequest
33511
33523
  * @param runtime - runtime options for this request RuntimeOptions
@@ -33572,13 +33584,13 @@ export default class Client extends OpenApi {
33572
33584
  }
33573
33585
 
33574
33586
  /**
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.
33587
+ * Stops Elastic Compute Service (ECS) instances. You can specify parameters to determine whether to forcefully stop the instances and the stop mode.
33576
33588
  *
33577
33589
  * @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
33590
+ * 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.
33591
+ * ### [](#)Considerations
33592
+ * * 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
33593
  * * 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
33594
  *
33583
33595
  * @param request - StopInstancesRequest
33584
33596
  * @returns StopInstancesResponse