@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
@@ -146,7 +146,7 @@ export class RunInstancesRequest extends $dara.Model {
146
146
  dataDisk?: RunInstancesRequestDataDisk[];
147
147
  /**
148
148
  * @remarks
149
- * 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.
149
+ * 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.
150
150
  *
151
151
  * You can call the [DescribeDedicatedHosts](https://help.aliyun.com/document_detail/134242.html) operation to query the list of dedicated host IDs.
152
152
  *
@@ -659,12 +659,12 @@ export class RunInstancesRequest extends $dara.Model {
659
659
  securityGroupIds?: string[];
660
660
  /**
661
661
  * @remarks
662
- * The protection period of the preemptible instance. Unit: hours. Default value: 1. Valid values:
662
+ * The protection period of the spot instance. Unit: hours. Default value: 1. Valid values:
663
663
  *
664
- * * 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.
665
- * * 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.
664
+ * * 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.
665
+ * * 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.
666
666
  *
667
- * 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.
667
+ * 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.
668
668
  *
669
669
  * @example
670
670
  * 1
@@ -672,7 +672,7 @@ export class RunInstancesRequest extends $dara.Model {
672
672
  spotDuration?: number;
673
673
  /**
674
674
  * @remarks
675
- * The interruption mode of the preemptible instance. Valid values:
675
+ * The interruption mode of the spot instance. Valid values:
676
676
  *
677
677
  * * Terminate: The instance is released.
678
678
  *
@@ -699,8 +699,8 @@ export class RunInstancesRequest extends $dara.Model {
699
699
  * 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:
700
700
  *
701
701
  * * NoSpot: The instance is created as a pay-as-you-go instance.
702
- * * SpotWithPriceLimit: The instance is created as a preemptible instance with a user-defined maximum hourly price.
703
- * * 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.
702
+ * * SpotWithPriceLimit: The instance is created as a spot instance with a user-defined maximum hourly price.
703
+ * * 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.
704
704
  *
705
705
  * Default value: NoSpot.
706
706
  *
@@ -23,7 +23,7 @@ export class RunInstancesRequestPrivatePoolOptions extends $dara.Model {
23
23
  *
24
24
  * In the following scenarios, the PrivatePoolOptions.MatchCriteria parameter can be set only to `None` or left empty:
25
25
  *
26
- * * A preemptible instance is created.
26
+ * * A spot instance is created.
27
27
  * * The instance is created in the classic network.
28
28
  * * The instance is created on a dedicated host.
29
29
  *
@@ -27,6 +27,7 @@ export class StartTerminalSessionRequest extends $dara.Model {
27
27
  instanceId?: string[];
28
28
  ownerAccount?: string;
29
29
  ownerId?: number;
30
+ passwordName?: string;
30
31
  /**
31
32
  * @remarks
32
33
  * 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.
@@ -74,6 +75,7 @@ export class StartTerminalSessionRequest extends $dara.Model {
74
75
  instanceId: 'InstanceId',
75
76
  ownerAccount: 'OwnerAccount',
76
77
  ownerId: 'OwnerId',
78
+ passwordName: 'PasswordName',
77
79
  portNumber: 'PortNumber',
78
80
  regionId: 'RegionId',
79
81
  resourceOwnerAccount: 'ResourceOwnerAccount',
@@ -90,6 +92,7 @@ export class StartTerminalSessionRequest extends $dara.Model {
90
92
  instanceId: { 'type': 'array', 'itemType': 'string' },
91
93
  ownerAccount: 'string',
92
94
  ownerId: 'number',
95
+ passwordName: 'string',
93
96
  portNumber: 'number',
94
97
  regionId: 'string',
95
98
  resourceOwnerAccount: 'string',
@@ -63,10 +63,21 @@ export class StopInstanceRequest extends $dara.Model {
63
63
  * @remarks
64
64
  * The stop mode of the pay-as-you-go instance. Valid values:
65
65
  *
66
- * * 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).
67
- * * KeepCharging: standard mode. You continue to be charged for instances that are stopped in standard mode.
66
+ * * 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).
68
67
  *
69
- * 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`.
68
+ * **
69
+ *
70
+ * **Note**
71
+ *
72
+ * * 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.
73
+ *
74
+ * * 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.
75
+ *
76
+ * * 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.
77
+ *
78
+ * * KeepCharging: standard mode. After the instance is stopped in standard mode, you continue to be charged for the instance.
79
+ *
80
+ * 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`.
70
81
  *
71
82
  * @example
72
83
  * KeepCharging
@@ -5,10 +5,10 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class StopInstancesRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The batch operation mode. Valid values:
8
+ * Specifies the batch operation mode. Valid values:
9
9
  *
10
- * * 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.
11
- * * SuccessFirst: In this mode, each instance is separately stopped. The response contains the operation results for each instance.
10
+ * * 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.
11
+ * * 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.
12
12
  *
13
13
  * Default value: AllTogether.
14
14
  *
@@ -18,9 +18,9 @@ export class StopInstancesRequest extends $dara.Model {
18
18
  batchOptimization?: string;
19
19
  /**
20
20
  * @remarks
21
- * Specifies whether to perform only a dry run, without performing the actual request. Valid values:
21
+ * Specifies whether to send a precheck request. Valid values:
22
22
  *
23
- * * 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.
23
+ * * 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.
24
24
  *
25
25
  * > If you set `BatchOptimization` to `SuccessFirst` and `DryRun` to true, only `DRYRUN.SUCCESS` is returned, regardless of whether the request passes the dry run.
26
26
  *
@@ -36,8 +36,13 @@ export class StopInstancesRequest extends $dara.Model {
36
36
  * @remarks
37
37
  * Specifies whether to forcefully stop instances. Valid values:
38
38
  *
39
- * * true. This operation is equivalent to the typical power-off operation. Cache data that is not written to storage devices on instances is lost.
40
- * * false.
39
+ * * true: forcefully stops the ECS instance.
40
+ *
41
+ * **
42
+ *
43
+ * **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.
44
+ *
45
+ * * false: normally stops the ECS instance.
41
46
  *
42
47
  * Default value: false.
43
48
  *
@@ -71,12 +76,23 @@ export class StopInstancesRequest extends $dara.Model {
71
76
  resourceOwnerId?: number;
72
77
  /**
73
78
  * @remarks
74
- * The stop mode of the pay-as-you-go instance. Valid values:
79
+ * The stop mode. Valid values:
80
+ *
81
+ * * 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).
82
+ *
83
+ * **
84
+ *
85
+ * **Note**
86
+ *
87
+ * * 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.
88
+ *
89
+ * * 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.
90
+ *
91
+ * * 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.
75
92
  *
76
- * * 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).
77
- * * KeepCharging: standard mode. After the instance is stopped in standard mode, you continue to be charged for it.
93
+ * * 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.
78
94
  *
79
- * 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`.
95
+ * 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`.
80
96
  *
81
97
  * @example
82
98
  * KeepCharging
@@ -29,7 +29,7 @@ export class StopInstancesResponseBodyInstanceResponsesInstanceResponse extends
29
29
  instanceId?: string;
30
30
  /**
31
31
  * @remarks
32
- * 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.
32
+ * 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.
33
33
  *
34
34
  * @example
35
35
  * success