@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
@@ -3,7 +3,7 @@ import { DescribeSpotPriceHistoryResponseBodySpotPrices } from "./DescribeSpotPr
3
3
  export declare class DescribeSpotPriceHistoryResponseBody extends $dara.Model {
4
4
  /**
5
5
  * @remarks
6
- * The instance type of the preemptible instance.
6
+ * The instance type of the spot instance.
7
7
  *
8
8
  * @example
9
9
  * CNY
@@ -11,7 +11,7 @@ export declare class DescribeSpotPriceHistoryResponseBody extends $dara.Model {
11
11
  currency?: string;
12
12
  /**
13
13
  * @remarks
14
- * The network type of the preemptible instance.
14
+ * The network type of the spot instance.
15
15
  *
16
16
  * @example
17
17
  * 1000
@@ -19,7 +19,7 @@ export declare class DescribeSpotPriceHistoryResponseBody extends $dara.Model {
19
19
  nextOffset?: number;
20
20
  /**
21
21
  * @remarks
22
- * The instance type of the preemptible instance.
22
+ * The instance type of the spot instance.
23
23
  *
24
24
  * @example
25
25
  * 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
@@ -27,7 +27,7 @@ export declare class DescribeSpotPriceHistoryResponseBody extends $dara.Model {
27
27
  requestId?: string;
28
28
  /**
29
29
  * @remarks
30
- * The zone ID of the preemptible instance.
30
+ * The zone ID of the spot instance.
31
31
  */
32
32
  spotPrices?: DescribeSpotPriceHistoryResponseBodySpotPrices;
33
33
  static names(): {
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class DescribeSpotPriceHistoryResponseBodySpotPricesSpotPriceType extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The instance type of the preemptible instance.
5
+ * The instance type of the spot instance.
6
6
  *
7
7
  * @example
8
8
  * ecs.g5.large
@@ -10,7 +10,7 @@ export declare class DescribeSpotPriceHistoryResponseBodySpotPricesSpotPriceType
10
10
  instanceType?: string;
11
11
  /**
12
12
  * @remarks
13
- * Details about the price history of the preemptible instance.
13
+ * Details about the price history of the spot instance.
14
14
  *
15
15
  * @example
16
16
  * optimized
@@ -18,7 +18,7 @@ export declare class DescribeSpotPriceHistoryResponseBodySpotPricesSpotPriceType
18
18
  ioOptimized?: string;
19
19
  /**
20
20
  * @remarks
21
- * Queries the price history of a preemptible instance within the last 30 days.
21
+ * Queries the price history of a spot instance within the last 30 days.
22
22
  *
23
23
  * @example
24
24
  * vpc
@@ -26,7 +26,7 @@ export declare class DescribeSpotPriceHistoryResponseBodySpotPricesSpotPriceType
26
26
  networkType?: string;
27
27
  /**
28
28
  * @remarks
29
- * The price for a pay-as-you-go instance that has the same configuration as the specified preemptible instance.
29
+ * The price for a pay-as-you-go instance that has the same configuration as the specified spot instance.
30
30
  *
31
31
  * @example
32
32
  * 0.354
@@ -34,7 +34,7 @@ export declare class DescribeSpotPriceHistoryResponseBodySpotPricesSpotPriceType
34
34
  originPrice?: number;
35
35
  /**
36
36
  * @remarks
37
- * The price for a pay-as-you-go instance that has the same configurations as the preemptible instance.
37
+ * The price for a pay-as-you-go instance that has the same configurations as the spot instance.
38
38
  *
39
39
  * @example
40
40
  * 0.036
@@ -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
  *
@@ -1,5 +1,6 @@
1
1
  import * as $dara from '@darabonba/typescript';
2
2
  export declare class DisableDiskEncryptionByDefaultRequest extends $dara.Model {
3
+ ownerId?: number;
3
4
  /**
4
5
  * @remarks
5
6
  * The ID of the region for which you want to disable Account-level EBS Default Encryption. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/2679950.html) operation to query the most recent region list.
@@ -39,12 +39,14 @@ const $dara = __importStar(require("@darabonba/typescript"));
39
39
  class DisableDiskEncryptionByDefaultRequest extends $dara.Model {
40
40
  static names() {
41
41
  return {
42
+ ownerId: 'OwnerId',
42
43
  regionId: 'RegionId',
43
44
  resourceOwnerId: 'ResourceOwnerId',
44
45
  };
45
46
  }
46
47
  static types() {
47
48
  return {
49
+ ownerId: 'number',
48
50
  regionId: 'string',
49
51
  resourceOwnerId: 'number',
50
52
  };
@@ -1 +1 @@
1
- {"version":3,"file":"DisableDiskEncryptionByDefaultRequest.js","sourceRoot":"","sources":["../../src/models/DisableDiskEncryptionByDefaultRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,qCAAsC,SAAQ,KAAK,CAAC,KAAK;IAYpE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,UAAU;YACpB,eAAe,EAAE,iBAAiB;SACnC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,QAAQ;YAClB,eAAe,EAAE,QAAQ;SAC1B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,sFAiCC"}
1
+ {"version":3,"file":"DisableDiskEncryptionByDefaultRequest.js","sourceRoot":"","sources":["../../src/models/DisableDiskEncryptionByDefaultRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,qCAAsC,SAAQ,KAAK,CAAC,KAAK;IAapE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,eAAe,EAAE,iBAAiB;SACnC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,QAAQ;YAClB,eAAe,EAAE,QAAQ;SAC1B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApCD,sFAoCC"}
@@ -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
@@ -10,6 +10,7 @@ export declare class ModifyDiskDefaultKMSKeyIdRequest extends $dara.Model {
10
10
  * 0e478b7a-4262-4802-b8cb-00d3fb40****
11
11
  */
12
12
  KMSKeyId?: string;
13
+ ownerId?: number;
13
14
  /**
14
15
  * @remarks
15
16
  * The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/2679950.html) operation to query the most recent region list.
@@ -40,6 +40,7 @@ class ModifyDiskDefaultKMSKeyIdRequest extends $dara.Model {
40
40
  static names() {
41
41
  return {
42
42
  KMSKeyId: 'KMSKeyId',
43
+ ownerId: 'OwnerId',
43
44
  regionId: 'RegionId',
44
45
  resourceOwnerId: 'ResourceOwnerId',
45
46
  };
@@ -47,6 +48,7 @@ class ModifyDiskDefaultKMSKeyIdRequest extends $dara.Model {
47
48
  static types() {
48
49
  return {
49
50
  KMSKeyId: 'string',
51
+ ownerId: 'number',
50
52
  regionId: 'string',
51
53
  resourceOwnerId: 'number',
52
54
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ModifyDiskDefaultKmskeyIdRequest.js","sourceRoot":"","sources":["../../src/models/ModifyDiskDefaultKmskeyIdRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IAsB/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;YACpB,eAAe,EAAE,iBAAiB;SACnC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;YAClB,eAAe,EAAE,QAAQ;SAC1B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA7CD,4EA6CC"}
1
+ {"version":3,"file":"ModifyDiskDefaultKmskeyIdRequest.js","sourceRoot":"","sources":["../../src/models/ModifyDiskDefaultKmskeyIdRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IAuB/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,UAAU;YACpB,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,eAAe,EAAE,iBAAiB;SACnC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,QAAQ;YAClB,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,QAAQ;YAClB,eAAe,EAAE,QAAQ;SAC1B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAhDD,4EAgDC"}
@@ -1,5 +1,6 @@
1
1
  import * as $dara from '@darabonba/typescript';
2
2
  export declare class ResetDiskDefaultKMSKeyIdRequest extends $dara.Model {
3
+ ownerId?: number;
3
4
  /**
4
5
  * @remarks
5
6
  * The ID of the region for which you want to disable Account-level EBS Default Encryption. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/2679950.html) operation to query the most recent region list.
@@ -39,12 +39,14 @@ const $dara = __importStar(require("@darabonba/typescript"));
39
39
  class ResetDiskDefaultKMSKeyIdRequest extends $dara.Model {
40
40
  static names() {
41
41
  return {
42
+ ownerId: 'OwnerId',
42
43
  regionId: 'RegionId',
43
44
  resourceOwnerId: 'ResourceOwnerId',
44
45
  };
45
46
  }
46
47
  static types() {
47
48
  return {
49
+ ownerId: 'number',
48
50
  regionId: 'string',
49
51
  resourceOwnerId: 'number',
50
52
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ResetDiskDefaultKmskeyIdRequest.js","sourceRoot":"","sources":["../../src/models/ResetDiskDefaultKmskeyIdRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAY9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,UAAU;YACpB,eAAe,EAAE,iBAAiB;SACnC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,QAAQ;YAClB,eAAe,EAAE,QAAQ;SAC1B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,0EAiCC"}
1
+ {"version":3,"file":"ResetDiskDefaultKmskeyIdRequest.js","sourceRoot":"","sources":["../../src/models/ResetDiskDefaultKmskeyIdRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAa9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,eAAe,EAAE,iBAAiB;SACnC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,QAAQ;YAClB,eAAe,EAAE,QAAQ;SAC1B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApCD,0EAoCC"}
@@ -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,EAAE,SAAS;YAClB,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,E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,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,EAAE,YAAY;YACxB,YAAY,EAAE,cAAc;YAC5B,OAAO,EAAE,SAAS;YAClB,oBAAoB,EAAE,sBAAsB;YAC5C,eAAe,EAAE,iBAAiB;YAClC,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,SAAS;YACtB,MAAM,EAAE,SAAS;YACjB,SAAS,EAAE,SAAS;YACpB,SAAS,EAAE,SAAS;YACpB,UAAU,EAAE,Q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AG,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,QAAQ;YACtB,OAAO,EAAE,QAAQ;YACjB,QAAQ,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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E,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.10",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {