Skip to content

Commit 280f023

Browse files
committed
Update API DescribeTerminalSessions: add response parameters Body.Sessions.$.Connections.$.FailedDetail.
1 parent b8df4a0 commit 280f023

File tree

55 files changed

+326
-238
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+326
-238
lines changed

ecs-20140526/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@alicloud/ecs20140526",
3-
"version": "7.0.8",
3+
"version": "7.0.9",
44
"description": "",
55
"main": "dist/client.js",
66
"scripts": {

ecs-20140526/src/client.ts

Lines changed: 48 additions & 36 deletions
Large diffs are not rendered by default.

ecs-20140526/src/models/CopyImageRequest.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ import { CopyImageRequestTag } from "./CopyImageRequestTag";
44

55

66
export class CopyImageRequest extends $dara.Model {
7+
/**
8+
* @remarks
9+
* The client token that you want to use to ensure the idempotence of the request. You can use the client to generate the value, but you ensure sure that the value is unique among different requests. **The token can contain only ASCII characters and cannot exceed 64 characters in length.** For more information, see [How to ensure idempotence](https://help.aliyun.com/document_detail/25693.html).
10+
*
11+
* @example
12+
* 123e4567-e89b-12d3-a456-426655440000
13+
*/
714
clientToken?: string;
815
/**
916
* @remarks
@@ -29,6 +36,18 @@ export class CopyImageRequest extends $dara.Model {
2936
* cn-shanghai
3037
*/
3138
destinationRegionId?: string;
39+
/**
40+
* @remarks
41+
* Specifies whether to perform only a dry run, without performing the actual request. Specifies whether to check the image used by the instance supports hot migration. Valid values:
42+
*
43+
* * true: performs only a dry run. The system checks the request for potential issues, including invalid AccessKey pairs, unauthorized RAM users, and missing parameter values. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
44+
* * false: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
45+
*
46+
* Default value: false.
47+
*
48+
* @example
49+
* false
50+
*/
3251
dryRun?: boolean;
3352
/**
3453
* @remarks

ecs-20140526/src/models/CreateAutoProvisioningGroupRequest.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
5151
* 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 total target capacity. Valid values:
5252
*
5353
* * PayAsYouGo: pay-as-you-go
54-
* * Spot: preemptible instance
54+
* * Spot: spot instance
5555
*
5656
* Default value: Spot.
5757
*
@@ -113,7 +113,7 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
113113
launchTemplateVersion?: string;
114114
/**
115115
* @remarks
116-
* The maximum price of preemptible instances in the auto provisioning group.
116+
* The maximum price of spot instances in the auto provisioning group.
117117
*
118118
* > When both `MaxSpotPrice` and `LaunchTemplateConfig.N.MaxPrice` are specified, the smaller one of the two parameter values is used.
119119
*
@@ -191,7 +191,7 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
191191
resourcePoolOptions?: CreateAutoProvisioningGroupRequestResourcePoolOptions;
192192
/**
193193
* @remarks
194-
* The policy for creating preemptible instances. Valid values:
194+
* The policy for creating spot instances. Valid values:
195195
*
196196
* * lowest-price: cost optimization policy. The auto provisioning group selects the lowest-priced instance type to create instances.
197197
* * diversified: balanced distribution policy. The auto provisioning group creates instances in zones that are specified in extended configurations and then evenly distributes the instances across the zones.
@@ -205,10 +205,10 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
205205
spotAllocationStrategy?: string;
206206
/**
207207
* @remarks
208-
* The operation to be performed on the preemptible instance when it is interrupted. Valid values:
208+
* The operation to be performed on the spot instance when it is interrupted. Valid values:
209209
*
210-
* * stop: stops the preemptible instance.
211-
* * terminate: releases the preemptible instance.
210+
* * stop: stops the spot instance.
211+
* * terminate: releases the spot instance.
212212
*
213213
* Default value: terminate.
214214
*
@@ -218,7 +218,7 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
218218
spotInstanceInterruptionBehavior?: string;
219219
/**
220220
* @remarks
221-
* The number of preemptible instances of the lowest-priced instance type to be created by the auto provisioning group. This parameter takes effect when `SpotAllocationStrategy` is set to `lowest-price`.
221+
* The number of spot instances of the lowest-priced instance type to be created by the auto provisioning group. This parameter takes effect when `SpotAllocationStrategy` is set to `lowest-price`.
222222
*
223223
* The value must be smaller than the N value specified in `LaunchTemplateConfig.N`.
224224
*
@@ -228,7 +228,7 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
228228
spotInstancePoolsToUseCount?: number;
229229
/**
230230
* @remarks
231-
* The target capacity of preemptible instances in the auto provisioning group. The value must be less than or equal to the `TotalTargetCapacity` value.
231+
* The target capacity of spot instances in the auto provisioning group. The value must be less than or equal to the `TotalTargetCapacity` value.
232232
*
233233
* @example
234234
* 20
@@ -274,7 +274,7 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
274274
* @remarks
275275
* The total target capacity of the auto provisioning group. The value must be a positive integer.
276276
*
277-
* 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 `PayAsYouGoTargetCapacity` and the target capacity of preemptible instances specified by `SpotTargetCapacity`.
277+
* 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 `PayAsYouGoTargetCapacity` and the target capacity of spot instances specified by `SpotTargetCapacity`.
278278
*
279279
* This parameter is required.
280280
*

ecs-20140526/src/models/CreateAutoProvisioningGroupRequestLaunchConfiguration.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -394,12 +394,12 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
394394
periodUnit?: string;
395395
/**
396396
* @remarks
397-
* The protection period of the preemptible instance. Unit: hours. Default value: 1. Valid values: Valid values:
397+
* The protection period of the spot instance. Unit: hours. Default value: 1. Valid values: Valid values:
398398
*
399-
* * 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.
400-
* * 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.
399+
* * 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.
400+
* * 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.
401401
*
402-
* 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.
402+
* 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.
403403
*
404404
* When you specify this parameter, take note of the following items:
405405
*
@@ -411,7 +411,7 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
411411
spotDuration?: number;
412412
/**
413413
* @remarks
414-
* The interruption event of the preemptible instances. Valid values:
414+
* The interruption event of the spot instances. Valid values:
415415
*
416416
* * Terminate: The instance is released.
417417
* * Stop: The instance is stopped in economical mode.

ecs-20140526/src/models/CreateAutoProvisioningGroupRequestLaunchTemplateConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export class CreateAutoProvisioningGroupRequestLaunchTemplateConfig extends $dar
6464
instanceType?: string;
6565
/**
6666
* @remarks
67-
* The maximum price of preemptible instances in extended configuration N.
67+
* The maximum price of spot instances in extended configuration N.
6868
*
6969
* > If you specify one or more `LaunchTemplateConfig.N.*` parameters, you must also specify `LaunchTemplateConfig.N.MaxPrice`.
7070
*

ecs-20140526/src/models/CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchResult.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ export class CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchResult ex
4646
* The bidding policy for the pay-as-you-go instance. Valid values:
4747
*
4848
* * NoSpot: The instance is a regular pay-as-you-go instance.
49-
* * SpotWithPriceLimit: The instance is a preemptible instance for which you specify the maximum hourly price.
50-
* * SpotAsPriceGo: The instance is a preemptible instance for which the market price at the time of purchase is used as the bid price.
49+
* * SpotWithPriceLimit: The instance is a spot instance for which you specify the maximum hourly price.
50+
* * SpotAsPriceGo: The instance is a spot instance for which the market price at the time of purchase is used as the bid price.
5151
*
5252
* @example
5353
* NoSpot

ecs-20140526/src/models/CreateAutoProvisioningGroupShrinkRequest.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
5050
* 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 total target capacity. Valid values:
5151
*
5252
* * PayAsYouGo: pay-as-you-go
53-
* * Spot: preemptible instance
53+
* * Spot: spot instance
5454
*
5555
* Default value: Spot.
5656
*
@@ -112,7 +112,7 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
112112
launchTemplateVersion?: string;
113113
/**
114114
* @remarks
115-
* The maximum price of preemptible instances in the auto provisioning group.
115+
* The maximum price of spot instances in the auto provisioning group.
116116
*
117117
* > When both `MaxSpotPrice` and `LaunchTemplateConfig.N.MaxPrice` are specified, the smaller one of the two parameter values is used.
118118
*
@@ -190,7 +190,7 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
190190
resourcePoolOptionsShrink?: string;
191191
/**
192192
* @remarks
193-
* The policy for creating preemptible instances. Valid values:
193+
* The policy for creating spot instances. Valid values:
194194
*
195195
* * lowest-price: cost optimization policy. The auto provisioning group selects the lowest-priced instance type to create instances.
196196
* * diversified: balanced distribution policy. The auto provisioning group creates instances in zones that are specified in extended configurations and then evenly distributes the instances across the zones.
@@ -204,10 +204,10 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
204204
spotAllocationStrategy?: string;
205205
/**
206206
* @remarks
207-
* The operation to be performed on the preemptible instance when it is interrupted. Valid values:
207+
* The operation to be performed on the spot instance when it is interrupted. Valid values:
208208
*
209-
* * stop: stops the preemptible instance.
210-
* * terminate: releases the preemptible instance.
209+
* * stop: stops the spot instance.
210+
* * terminate: releases the spot instance.
211211
*
212212
* Default value: terminate.
213213
*
@@ -217,7 +217,7 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
217217
spotInstanceInterruptionBehavior?: string;
218218
/**
219219
* @remarks
220-
* The number of preemptible instances of the lowest-priced instance type to be created by the auto provisioning group. This parameter takes effect when `SpotAllocationStrategy` is set to `lowest-price`.
220+
* The number of spot instances of the lowest-priced instance type to be created by the auto provisioning group. This parameter takes effect when `SpotAllocationStrategy` is set to `lowest-price`.
221221
*
222222
* The value must be smaller than the N value specified in `LaunchTemplateConfig.N`.
223223
*
@@ -227,7 +227,7 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
227227
spotInstancePoolsToUseCount?: number;
228228
/**
229229
* @remarks
230-
* The target capacity of preemptible instances in the auto provisioning group. The value must be less than or equal to the `TotalTargetCapacity` value.
230+
* The target capacity of spot instances in the auto provisioning group. The value must be less than or equal to the `TotalTargetCapacity` value.
231231
*
232232
* @example
233233
* 20
@@ -273,7 +273,7 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
273273
* @remarks
274274
* The total target capacity of the auto provisioning group. The value must be a positive integer.
275275
*
276-
* 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 `PayAsYouGoTargetCapacity` and the target capacity of preemptible instances specified by `SpotTargetCapacity`.
276+
* 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 `PayAsYouGoTargetCapacity` and the target capacity of spot instances specified by `SpotTargetCapacity`.
277277
*
278278
* This parameter is required.
279279
*

ecs-20140526/src/models/CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -394,12 +394,12 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
394394
periodUnit?: string;
395395
/**
396396
* @remarks
397-
* The protection period of the preemptible instance. Unit: hours. Default value: 1. Valid values: Valid values:
397+
* The protection period of the spot instance. Unit: hours. Default value: 1. Valid values: Valid values:
398398
*
399-
* * 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.
400-
* * 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.
399+
* * 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.
400+
* * 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.
401401
*
402-
* 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.
402+
* 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.
403403
*
404404
* When you specify this parameter, take note of the following items:
405405
*
@@ -411,7 +411,7 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
411411
spotDuration?: number;
412412
/**
413413
* @remarks
414-
* The interruption event of the preemptible instances. Valid values:
414+
* The interruption event of the spot instances. Valid values:
415415
*
416416
* * Terminate: The instance is released.
417417
* * Stop: The instance is stopped in economical mode.

ecs-20140526/src/models/CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig extend
6464
instanceType?: string;
6565
/**
6666
* @remarks
67-
* The maximum price of preemptible instances in extended configuration N.
67+
* The maximum price of spot instances in extended configuration N.
6868
*
6969
* > If you specify one or more `LaunchTemplateConfig.N.*` parameters, you must also specify `LaunchTemplateConfig.N.MaxPrice`.
7070
*

0 commit comments

Comments
 (0)