Skip to content

Commit a267cad

Browse files
committed
Generated java-async 2014-05-26 for Ecs.
1 parent 3eef0c8 commit a267cad

38 files changed

+317
-220
lines changed

ecs-20140526/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-06-12 Version: 8.0.9
2+
- Generated java-async 2014-05-26 for Ecs.
3+
14
2025-05-29 Version: 8.0.8
25
- Generated java-async 2014-05-26 for Ecs.
36

ecs-20140526/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.aliyun</groupId>
55
<artifactId>alibabacloud-ecs20140526</artifactId>
6-
<version>8.0.8</version>
6+
<version>8.0.9</version>
77
<packaging>jar</packaging>
88
<name>alibabacloud-ecs20140526</name>
99
<description>Alibaba Cloud Ecs (20140526) Async SDK for Java

ecs-20140526/src/main/java/com/aliyun/sdk/service/ecs20140526/AsyncClient.java

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -503,9 +503,9 @@ static AsyncClient create() {
503503
* <b>description</b> :
504504
* <h2><a href="#"></a>Usage notes</h2>
505505
* <ul>
506-
* <li>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 <a href="https://help.aliyun.com/document_detail/200772.html">Use auto provisioning group-related API operations to create multiple ECS instances at the same time</a>.</li>
507-
* <li>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.</li>
508-
* <li>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 <a href="https://help.aliyun.com/document_detail/52088.html">Overview of preemptible instances</a> and <a href="https://help.aliyun.com/document_detail/40653.html">Pay-as-you-go</a>.</li>
506+
* <li>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 <a href="https://help.aliyun.com/document_detail/200772.html">Use auto provisioning group-related API operations to create multiple ECS instances at the same time</a>.</li>
507+
* <li>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.</li>
508+
* <li>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 <a href="https://help.aliyun.com/document_detail/52088.html">Overview of spot instances</a> and <a href="https://help.aliyun.com/document_detail/40653.html">Pay-as-you-go</a>.</li>
509509
* <li>When you specify both a launch template (<code>LaunchTemplateId</code>) and extended configurations (<code>LaunchConfiguration.*</code> parameters), LaunchTemplateId takes precedence.</li>
510510
* </ul>
511511
*
@@ -2468,15 +2468,15 @@ static AsyncClient create() {
24682468

24692469
/**
24702470
* <b>description</b> :
2471-
* <p> This operation is applicable only to I/O optimized preemptible instances that reside in virtual private clouds (VPCs).</p>
2471+
* <p> This operation is applicable only to I/O optimized spot instances that reside in virtual private clouds (VPCs).</p>
24722472
* <ul>
24732473
* <li>You can use one of the following methods to call this operation:<ul>
24742474
* <li>Specify <code>Cores</code> and <code>Memory</code> or <code>MinCores</code> and <code>MinMemory</code> to query information about the instance types that meet the specified vCPU and memory requirements.</li>
24752475
* <li>Specify <code>InstanceTypes.N</code> to query information about the specified instance types.</li>
24762476
* <li>Specify <code>Cores</code> and <code>Memory</code> or <code>MinCores</code> and <code>MinMemory</code>, and then specify <code>InstanceTypeFamily</code> or <code>InstanceFamilyLevel</code> 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.</li>
24772477
* </ul>
24782478
* </li>
2479-
* <li>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.</li>
2479+
* <li>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.</li>
24802480
* </ul>
24812481
*
24822482
* @param request the request parameters of DescribeSpotAdvice DescribeSpotAdviceRequest
@@ -2486,7 +2486,7 @@ static AsyncClient create() {
24862486

24872487
/**
24882488
* <b>description</b> :
2489-
* <p> This operation is applicable only to I/O optimized preemptible instances.</p>
2489+
* <p> This operation is applicable only to I/O optimized spot instances.</p>
24902490
* <ul>
24912491
* <li>The data returned by the interface may be paginated. If the returned data contains the <code>NextOffset</code> parameter, you can set the <code>Offset</code> parameter in the request to the value of the <code>NextOffset</code> parameter for subsequent data query.</li>
24922492
* </ul>
@@ -3453,7 +3453,7 @@ static AsyncClient create() {
34533453
* <li>The network type of the instance must be Virtual Private Cloud (VPC).</li>
34543454
* <li>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.</li>
34553455
* <li>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.</li>
3456-
* <li>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.</li>
3456+
* <li>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.</li>
34573457
* <li>You can redeploy an instance to a specific dedicated host cluster.</li>
34583458
* </ul>
34593459
*
@@ -4497,11 +4497,11 @@ static AsyncClient create() {
44974497
* Amount:10, //Set the number of ECS instances that you want to create to 10.
44984498
* InstanceChargeType:&quot;PostPaid&quot;, //Set the billing method to PostPaid, which specifies the pay-as-you-go billing method.
44994499
* SpotStrategy:&quot;NoSpot&quot; //Set this parameter to NoSpot, which is the default value and specifies that the instances are created as pay-as-you-go instances.
4500-
* <strong>Example: Create 20 preemptible instances that use a specific bidding policy and a protection period</strong>
4500+
* <strong>Example: Create 20 spot instances that use a specific bidding policy and a protection period</strong>
45014501
* Amount:20, //Set the number of ECS instances that you want to create to 20.
45024502
* InstanceChargeType:&quot;PostPaid&quot;,
4503-
* SpotStrategy:&quot;SpotAsPriceGo&quot;, //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.
4504-
* SpotDuration:1 //Set the protection period of the preemptible instances to 1. Unit: hours.
4503+
* SpotStrategy:&quot;SpotAsPriceGo&quot;, //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.
4504+
* SpotDuration:1 //Set the protection period of the spot instances to 1. Unit: hours.
45054505
* Use a launch template created by calling the <a href="https://help.aliyun.com/document_detail/2679729.html">CreateLaunchTemplate</a> operation to create ECS instances in the China (Hangzhou) region. Examples:
45064506
* <strong>Example: Create 10 ECS instances based on a launch template</strong>
45074507
* RegionId:&quot;cn-hangzhou&quot;, //Set the region ID to cn-hangzhou, which specifies the China (Hangzhou) region.
@@ -4635,11 +4635,11 @@ static AsyncClient create() {
46354635

46364636
/**
46374637
* <b>description</b> :
4638-
* <p>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 <a href="https://help.aliyun.com/document_detail/2679688.html">DescribeInstanceStatus</a> operation to query the status of the ECS instances. When the status of the ECS instances changes to <code>Stopped</code>, the instances are stopped.</p>
4639-
* <h3><a href="#"></a>Precautions</h3>
4638+
* <p>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 <a href="https://help.aliyun.com/document_detail/2679688.html">DescribeInstanceStatus</a> operation to query the status of the ECS instance. When the status of the ECS instance changes to <code>Stopped</code>, the instance is stopped.</p>
4639+
* <h3><a href="#"></a>Considerations</h3>
46404640
* <ul>
4641+
* <li>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 <a href="https://help.aliyun.com/document_detail/2679679.html">StartInstance</a> or <a href="https://help.aliyun.com/document_detail/2679680.html">StartInstances</a> operation to start the instance.</li>
46414642
* <li>You cannot call this operation to stop ECS instances that are locked for security reasons. For more information, see <a href="https://help.aliyun.com/document_detail/25695.html">API behavior when an instance is locked for security reasons</a>.</li>
4642-
* <li>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 <code>StoppedMode</code> 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.</li>
46434643
* </ul>
46444644
*
46454645
* @param request the request parameters of StopInstances StopInstancesRequest

0 commit comments

Comments
 (0)