@alicloud/ecs20140526 7.0.7 → 7.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +50 -40
- package/dist/client.js +53 -40
- package/dist/client.js.map +1 -1
- package/dist/models/CopyImageRequest.d.ts +19 -0
- package/dist/models/CopyImageRequest.js.map +1 -1
- package/dist/models/CreateAutoProvisioningGroupRequest.d.ts +9 -9
- package/dist/models/CreateAutoProvisioningGroupRequestLaunchConfiguration.d.ts +5 -5
- package/dist/models/CreateAutoProvisioningGroupRequestLaunchTemplateConfig.d.ts +1 -1
- package/dist/models/CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchResult.d.ts +2 -2
- package/dist/models/CreateAutoProvisioningGroupShrinkRequest.d.ts +9 -9
- package/dist/models/CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration.d.ts +5 -5
- package/dist/models/CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig.d.ts +1 -1
- package/dist/models/CreateInstanceRequest.d.ts +9 -9
- package/dist/models/CreateInstanceRequestPrivatePoolOptions.d.ts +1 -1
- package/dist/models/CreateLaunchTemplateRequest.d.ts +6 -6
- package/dist/models/CreateLaunchTemplateRequestDataDisk.d.ts +22 -15
- package/dist/models/CreateLaunchTemplateRequestDataDisk.js.map +1 -1
- package/dist/models/CreateLaunchTemplateRequestSystemDisk.d.ts +7 -0
- package/dist/models/CreateLaunchTemplateRequestSystemDisk.js.map +1 -1
- package/dist/models/CreateLaunchTemplateVersionRequest.d.ts +8 -8
- package/dist/models/CreateLaunchTemplateVersionRequestDataDisk.d.ts +24 -17
- package/dist/models/CreateLaunchTemplateVersionRequestDataDisk.js.map +1 -1
- package/dist/models/CreateLaunchTemplateVersionRequestSystemDisk.d.ts +7 -0
- package/dist/models/CreateLaunchTemplateVersionRequestSystemDisk.js.map +1 -1
- package/dist/models/CreateNetworkInterfaceRequest.d.ts +8 -1
- package/dist/models/CreateNetworkInterfaceRequest.js.map +1 -1
- package/dist/models/CreatePrefixListRequest.d.ts +11 -0
- package/dist/models/CreatePrefixListRequest.js.map +1 -1
- package/dist/models/CreatePrefixListRequestTag.d.ts +16 -0
- package/dist/models/CreatePrefixListRequestTag.js.map +1 -1
- package/dist/models/DescribeAccountAttributesRequest.d.ts +2 -2
- package/dist/models/DescribeAccountAttributesResponseBodyAccountAttributeItemsAccountAttributeItem.d.ts +2 -2
- package/dist/models/DescribeAutoProvisioningGroupInstancesResponseBodyInstancesInstance.d.ts +1 -1
- package/dist/models/DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoProvisioningGroup.d.ts +2 -2
- package/dist/models/DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoProvisioningGroupSpotOptions.d.ts +4 -4
- package/dist/models/DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoProvisioningGroupTargetCapacitySpecification.d.ts +2 -2
- package/dist/models/DescribeAvailableResourceRequest.d.ts +6 -6
- package/dist/models/DescribeBandwidthLimitationRequest.d.ts +2 -2
- package/dist/models/DescribeDisksRequest.d.ts +1 -1
- package/dist/models/DescribeInstanceAttributeResponseBody.d.ts +3 -1
- package/dist/models/DescribeInstanceAttributeResponseBody.js +6 -0
- package/dist/models/DescribeInstanceAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeInstanceAttributeResponseBodyNetworkOptions.d.ts +15 -0
- package/dist/models/DescribeInstanceAttributeResponseBodyNetworkOptions.js +60 -0
- package/dist/models/DescribeInstanceAttributeResponseBodyNetworkOptions.js.map +1 -0
- package/dist/models/DescribeInstanceAttributeResponseBodyOperationLocksLockReason.d.ts +1 -1
- package/dist/models/DescribeInstancesRequest.d.ts +1 -1
- package/dist/models/DescribeInstancesResponseBodyInstancesInstance.d.ts +8 -8
- package/dist/models/DescribeInstancesResponseBodyInstancesInstanceOperationLocksLockReason.d.ts +1 -1
- package/dist/models/DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateData.d.ts +7 -7
- package/dist/models/DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataDataDisksDataDisk.d.ts +7 -0
- package/dist/models/DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataDataDisksDataDisk.js.map +1 -1
- package/dist/models/DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSet.d.ts +8 -1
- package/dist/models/DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSet.js.map +1 -1
- package/dist/models/DescribePrefixListsRequest.d.ts +11 -0
- package/dist/models/DescribePrefixListsRequest.js.map +1 -1
- package/dist/models/DescribePrefixListsRequestTag.d.ts +16 -0
- package/dist/models/DescribePrefixListsRequestTag.js.map +1 -1
- package/dist/models/DescribePrefixListsResponseBodyPrefixListsPrefixList.d.ts +11 -0
- package/dist/models/DescribePrefixListsResponseBodyPrefixListsPrefixList.js.map +1 -1
- package/dist/models/DescribePrefixListsResponseBodyPrefixListsPrefixListTagsTag.d.ts +16 -0
- package/dist/models/DescribePrefixListsResponseBodyPrefixListsPrefixListTagsTag.js.map +1 -1
- package/dist/models/DescribePriceRequest.d.ts +7 -7
- package/dist/models/DescribeRecommendInstanceTypeRequest.d.ts +27 -27
- package/dist/models/DescribeRecommendInstanceTypeResponseBody.d.ts +1 -1
- package/dist/models/DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceType.d.ts +7 -7
- package/dist/models/DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceTypeZonesZone.d.ts +2 -2
- package/dist/models/DescribeRegionsRequest.d.ts +2 -2
- package/dist/models/DescribeSnapshotLinksRequest.d.ts +18 -1
- package/dist/models/DescribeSnapshotLinksRequest.js.map +1 -1
- package/dist/models/DescribeSnapshotLinksResponseBody.d.ts +7 -0
- package/dist/models/DescribeSnapshotLinksResponseBody.js.map +1 -1
- package/dist/models/DescribeSpotAdviceResponseBody.d.ts +2 -2
- package/dist/models/DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZone.d.ts +1 -1
- package/dist/models/DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZoneAvailableSpotResourcesAvailableSpotResource.d.ts +4 -4
- package/dist/models/DescribeSpotPriceHistoryRequest.d.ts +7 -7
- package/dist/models/DescribeSpotPriceHistoryResponseBody.d.ts +4 -4
- package/dist/models/DescribeSpotPriceHistoryResponseBodySpotPricesSpotPriceType.d.ts +5 -5
- package/dist/models/DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConnection.d.ts +1 -0
- package/dist/models/DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConnection.js +2 -0
- package/dist/models/DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConnection.js.map +1 -1
- package/dist/models/DescribeZonesRequest.d.ts +3 -3
- package/dist/models/ModifyAutoProvisioningGroupRequest.d.ts +4 -4
- package/dist/models/ModifyAutoProvisioningGroupRequestLaunchTemplateConfig.d.ts +1 -1
- package/dist/models/ModifyNetworkInterfaceAttributeRequest.d.ts +8 -1
- package/dist/models/ModifyNetworkInterfaceAttributeRequest.js.map +1 -1
- package/dist/models/ModifyNetworkInterfaceAttributeRequestEnhancedNetwork.d.ts +1 -1
- package/dist/models/RunInstancesRequest.d.ts +8 -8
- package/dist/models/RunInstancesRequestDataDisk.d.ts +16 -10
- package/dist/models/RunInstancesRequestDataDisk.js.map +1 -1
- package/dist/models/RunInstancesRequestPrivatePoolOptions.d.ts +1 -1
- package/dist/models/StartTerminalSessionRequest.d.ts +1 -0
- package/dist/models/StartTerminalSessionRequest.js +2 -0
- package/dist/models/StartTerminalSessionRequest.js.map +1 -1
- package/dist/models/StopInstanceRequest.d.ts +14 -3
- package/dist/models/StopInstanceRequest.js.map +1 -1
- package/dist/models/StopInstancesRequest.d.ts +27 -11
- package/dist/models/StopInstancesRequest.js.map +1 -1
- package/dist/models/StopInstancesResponseBodyInstanceResponsesInstanceResponse.d.ts +1 -1
- package/dist/models/model.d.ts +1 -0
- package/dist/models/model.js +34 -32
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +54 -40
- package/src/models/CopyImageRequest.ts +19 -0
- package/src/models/CreateAutoProvisioningGroupRequest.ts +9 -9
- package/src/models/CreateAutoProvisioningGroupRequestLaunchConfiguration.ts +5 -5
- package/src/models/CreateAutoProvisioningGroupRequestLaunchTemplateConfig.ts +1 -1
- package/src/models/CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchResult.ts +2 -2
- package/src/models/CreateAutoProvisioningGroupShrinkRequest.ts +9 -9
- package/src/models/CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration.ts +5 -5
- package/src/models/CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig.ts +1 -1
- package/src/models/CreateInstanceRequest.ts +9 -9
- package/src/models/CreateInstanceRequestPrivatePoolOptions.ts +1 -1
- package/src/models/CreateLaunchTemplateRequest.ts +6 -6
- package/src/models/CreateLaunchTemplateRequestDataDisk.ts +22 -15
- package/src/models/CreateLaunchTemplateRequestSystemDisk.ts +7 -0
- package/src/models/CreateLaunchTemplateVersionRequest.ts +8 -8
- package/src/models/CreateLaunchTemplateVersionRequestDataDisk.ts +24 -17
- package/src/models/CreateLaunchTemplateVersionRequestSystemDisk.ts +7 -0
- package/src/models/CreateNetworkInterfaceRequest.ts +8 -1
- package/src/models/CreatePrefixListRequest.ts +11 -0
- package/src/models/CreatePrefixListRequestTag.ts +16 -0
- package/src/models/DescribeAccountAttributesRequest.ts +2 -2
- package/src/models/DescribeAccountAttributesResponseBodyAccountAttributeItemsAccountAttributeItem.ts +2 -2
- package/src/models/DescribeAutoProvisioningGroupInstancesResponseBodyInstancesInstance.ts +1 -1
- package/src/models/DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoProvisioningGroup.ts +2 -2
- package/src/models/DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoProvisioningGroupSpotOptions.ts +4 -4
- package/src/models/DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoProvisioningGroupTargetCapacitySpecification.ts +2 -2
- package/src/models/DescribeAvailableResourceRequest.ts +6 -6
- package/src/models/DescribeBandwidthLimitationRequest.ts +2 -2
- package/src/models/DescribeDisksRequest.ts +1 -1
- package/src/models/DescribeInstanceAttributeResponseBody.ts +8 -1
- package/src/models/DescribeInstanceAttributeResponseBodyNetworkOptions.ts +30 -0
- package/src/models/DescribeInstanceAttributeResponseBodyOperationLocksLockReason.ts +1 -1
- package/src/models/DescribeInstancesRequest.ts +1 -1
- package/src/models/DescribeInstancesResponseBodyInstancesInstance.ts +8 -8
- package/src/models/DescribeInstancesResponseBodyInstancesInstanceOperationLocksLockReason.ts +1 -1
- package/src/models/DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateData.ts +7 -7
- package/src/models/DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataDataDisksDataDisk.ts +7 -0
- package/src/models/DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSet.ts +8 -1
- package/src/models/DescribePrefixListsRequest.ts +11 -0
- package/src/models/DescribePrefixListsRequestTag.ts +16 -0
- package/src/models/DescribePrefixListsResponseBodyPrefixListsPrefixList.ts +11 -0
- package/src/models/DescribePrefixListsResponseBodyPrefixListsPrefixListTagsTag.ts +16 -0
- package/src/models/DescribePriceRequest.ts +7 -7
- package/src/models/DescribeRecommendInstanceTypeRequest.ts +27 -27
- package/src/models/DescribeRecommendInstanceTypeResponseBody.ts +1 -1
- package/src/models/DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceType.ts +7 -7
- package/src/models/DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceTypeZonesZone.ts +2 -2
- package/src/models/DescribeRegionsRequest.ts +2 -2
- package/src/models/DescribeSnapshotLinksRequest.ts +18 -1
- package/src/models/DescribeSnapshotLinksResponseBody.ts +7 -0
- package/src/models/DescribeSpotAdviceResponseBody.ts +2 -2
- package/src/models/DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZone.ts +1 -1
- package/src/models/DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZoneAvailableSpotResourcesAvailableSpotResource.ts +4 -4
- package/src/models/DescribeSpotPriceHistoryRequest.ts +7 -7
- package/src/models/DescribeSpotPriceHistoryResponseBody.ts +4 -4
- package/src/models/DescribeSpotPriceHistoryResponseBodySpotPricesSpotPriceType.ts +5 -5
- package/src/models/DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConnection.ts +3 -0
- package/src/models/DescribeZonesRequest.ts +3 -3
- package/src/models/ModifyAutoProvisioningGroupRequest.ts +4 -4
- package/src/models/ModifyAutoProvisioningGroupRequestLaunchTemplateConfig.ts +1 -1
- package/src/models/ModifyNetworkInterfaceAttributeRequest.ts +8 -1
- package/src/models/ModifyNetworkInterfaceAttributeRequestEnhancedNetwork.ts +1 -1
- package/src/models/RunInstancesRequest.ts +8 -8
- package/src/models/RunInstancesRequestDataDisk.ts +16 -10
- package/src/models/RunInstancesRequestPrivatePoolOptions.ts +1 -1
- package/src/models/StartTerminalSessionRequest.ts +3 -0
- package/src/models/StopInstanceRequest.ts +14 -3
- package/src/models/StopInstancesRequest.ts +27 -11
- package/src/models/StopInstancesResponseBodyInstanceResponsesInstanceResponse.ts +1 -1
- package/src/models/model.ts +1 -0
|
@@ -42,7 +42,7 @@ export class DescribeSpotPriceHistoryRequest extends $dara.Model {
|
|
|
42
42
|
ioOptimized?: string;
|
|
43
43
|
/**
|
|
44
44
|
* @remarks
|
|
45
|
-
* The network type of the
|
|
45
|
+
* The network type of the spot instance. Valid values:
|
|
46
46
|
*
|
|
47
47
|
* * classic: classic network
|
|
48
48
|
* * vpc: Virtual Private Cloud (VPC)
|
|
@@ -78,7 +78,7 @@ export class DescribeSpotPriceHistoryRequest extends $dara.Model {
|
|
|
78
78
|
ownerId?: number;
|
|
79
79
|
/**
|
|
80
80
|
* @remarks
|
|
81
|
-
* The zone ID of the
|
|
81
|
+
* The zone ID of the spot instance.
|
|
82
82
|
*
|
|
83
83
|
* This parameter is required.
|
|
84
84
|
*
|
|
@@ -90,12 +90,12 @@ export class DescribeSpotPriceHistoryRequest extends $dara.Model {
|
|
|
90
90
|
resourceOwnerId?: number;
|
|
91
91
|
/**
|
|
92
92
|
* @remarks
|
|
93
|
-
* The protection period of the
|
|
93
|
+
* The protection period of the spot instance. Unit: hours. Default value: 1. Valid values:
|
|
94
94
|
*
|
|
95
|
-
* * 1: After a
|
|
96
|
-
* * 0: After a
|
|
95
|
+
* * 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.
|
|
96
|
+
* * 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.
|
|
97
97
|
*
|
|
98
|
-
* Alibaba Cloud sends an ECS system event to notify you 5 minutes before the instance is released.
|
|
98
|
+
* Alibaba Cloud sends an ECS system event to notify you 5 minutes before the instance is released. Spot instances are billed by second. We recommend that you specify a protection period based on your business requirements.
|
|
99
99
|
*
|
|
100
100
|
* > This parameter takes effect only if you set SpotStrategy to SpotWithPriceLimit or SpotAsPriceGo.
|
|
101
101
|
*
|
|
@@ -115,7 +115,7 @@ export class DescribeSpotPriceHistoryRequest extends $dara.Model {
|
|
|
115
115
|
startTime?: string;
|
|
116
116
|
/**
|
|
117
117
|
* @remarks
|
|
118
|
-
* The spot price (market price) of the
|
|
118
|
+
* The spot price (market price) of the spot instance.
|
|
119
119
|
*
|
|
120
120
|
* @example
|
|
121
121
|
* cn-hangzhou-g
|
|
@@ -6,7 +6,7 @@ import { DescribeSpotPriceHistoryResponseBodySpotPrices } from "./DescribeSpotPr
|
|
|
6
6
|
export class DescribeSpotPriceHistoryResponseBody extends $dara.Model {
|
|
7
7
|
/**
|
|
8
8
|
* @remarks
|
|
9
|
-
* The instance type of the
|
|
9
|
+
* The instance type of the spot instance.
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
12
|
* CNY
|
|
@@ -14,7 +14,7 @@ export class DescribeSpotPriceHistoryResponseBody extends $dara.Model {
|
|
|
14
14
|
currency?: string;
|
|
15
15
|
/**
|
|
16
16
|
* @remarks
|
|
17
|
-
* The network type of the
|
|
17
|
+
* The network type of the spot instance.
|
|
18
18
|
*
|
|
19
19
|
* @example
|
|
20
20
|
* 1000
|
|
@@ -22,7 +22,7 @@ export class DescribeSpotPriceHistoryResponseBody extends $dara.Model {
|
|
|
22
22
|
nextOffset?: number;
|
|
23
23
|
/**
|
|
24
24
|
* @remarks
|
|
25
|
-
* The instance type of the
|
|
25
|
+
* The instance type of the spot instance.
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
28
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
@@ -30,7 +30,7 @@ export class DescribeSpotPriceHistoryResponseBody extends $dara.Model {
|
|
|
30
30
|
requestId?: string;
|
|
31
31
|
/**
|
|
32
32
|
* @remarks
|
|
33
|
-
* The zone ID of the
|
|
33
|
+
* The zone ID of the spot instance.
|
|
34
34
|
*/
|
|
35
35
|
spotPrices?: DescribeSpotPriceHistoryResponseBodySpotPrices;
|
|
36
36
|
static names(): { [key: string]: string } {
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeSpotPriceHistoryResponseBodySpotPricesSpotPriceType extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The instance type of the
|
|
8
|
+
* The instance type of the spot instance.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* ecs.g5.large
|
|
@@ -13,7 +13,7 @@ export class DescribeSpotPriceHistoryResponseBodySpotPricesSpotPriceType extends
|
|
|
13
13
|
instanceType?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* Details about the price history of the
|
|
16
|
+
* Details about the price history of the spot instance.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* optimized
|
|
@@ -21,7 +21,7 @@ export class DescribeSpotPriceHistoryResponseBodySpotPricesSpotPriceType extends
|
|
|
21
21
|
ioOptimized?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* Queries the price history of a
|
|
24
|
+
* Queries the price history of a spot instance within the last 30 days.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* vpc
|
|
@@ -29,7 +29,7 @@ export class DescribeSpotPriceHistoryResponseBodySpotPricesSpotPriceType extends
|
|
|
29
29
|
networkType?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The price for a pay-as-you-go instance that has the same configuration as the specified
|
|
32
|
+
* The price for a pay-as-you-go instance that has the same configuration as the specified spot instance.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* 0.354
|
|
@@ -37,7 +37,7 @@ export class DescribeSpotPriceHistoryResponseBodySpotPricesSpotPriceType extends
|
|
|
37
37
|
originPrice?: number;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* The price for a pay-as-you-go instance that has the same configurations as the
|
|
40
|
+
* The price for a pay-as-you-go instance that has the same configurations as the spot instance.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* 0.036
|
package/src/models/DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConnection.ts
CHANGED
|
@@ -28,6 +28,7 @@ export class DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConne
|
|
|
28
28
|
* 2024-01-19T09:16:46Z
|
|
29
29
|
*/
|
|
30
30
|
endTime?: string;
|
|
31
|
+
failedDetail?: string;
|
|
31
32
|
/**
|
|
32
33
|
* @remarks
|
|
33
34
|
* The instance ID.
|
|
@@ -63,6 +64,7 @@ export class DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConne
|
|
|
63
64
|
return {
|
|
64
65
|
closedReason: 'ClosedReason',
|
|
65
66
|
endTime: 'EndTime',
|
|
67
|
+
failedDetail: 'FailedDetail',
|
|
66
68
|
instanceId: 'InstanceId',
|
|
67
69
|
startTime: 'StartTime',
|
|
68
70
|
status: 'Status',
|
|
@@ -73,6 +75,7 @@ export class DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConne
|
|
|
73
75
|
return {
|
|
74
76
|
closedReason: 'string',
|
|
75
77
|
endTime: 'string',
|
|
78
|
+
failedDetail: 'string',
|
|
76
79
|
instanceId: 'string',
|
|
77
80
|
startTime: 'string',
|
|
78
81
|
status: 'string',
|
|
@@ -50,11 +50,11 @@ export class DescribeZonesRequest extends $dara.Model {
|
|
|
50
50
|
resourceOwnerId?: number;
|
|
51
51
|
/**
|
|
52
52
|
* @remarks
|
|
53
|
-
* 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 [
|
|
53
|
+
* 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:
|
|
54
54
|
*
|
|
55
55
|
* * NoSpot: The instances are regular pay-as-you-go instances.
|
|
56
|
-
* * SpotWithPriceLimit: The instance is a
|
|
57
|
-
* * SpotAsPriceGo: The instance is a
|
|
56
|
+
* * SpotWithPriceLimit: The instance is a spot instance that has a user-defined maximum hourly price.
|
|
57
|
+
* * 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.
|
|
58
58
|
*
|
|
59
59
|
* Default value: NoSpot.
|
|
60
60
|
*
|
|
@@ -25,7 +25,7 @@ export class ModifyAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
25
25
|
* 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:
|
|
26
26
|
*
|
|
27
27
|
* * PayAsYouGo: pay-as-you-go instances
|
|
28
|
-
* * Spot:
|
|
28
|
+
* * Spot: spot instances
|
|
29
29
|
*
|
|
30
30
|
* @example
|
|
31
31
|
* Spot
|
|
@@ -49,7 +49,7 @@ export class ModifyAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
49
49
|
launchTemplateConfig?: ModifyAutoProvisioningGroupRequestLaunchTemplateConfig[];
|
|
50
50
|
/**
|
|
51
51
|
* @remarks
|
|
52
|
-
* The maximum price of
|
|
52
|
+
* The maximum price of spot instances in the auto-provisioning group.
|
|
53
53
|
*
|
|
54
54
|
* > 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.
|
|
55
55
|
*
|
|
@@ -81,7 +81,7 @@ export class ModifyAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
81
81
|
resourceOwnerId?: number;
|
|
82
82
|
/**
|
|
83
83
|
* @remarks
|
|
84
|
-
* The target capacity of
|
|
84
|
+
* The target capacity of spot instances in the auto-provisioning group. Valid values: Set this parameter to a value smaller than the TotalTargetCapacity value.
|
|
85
85
|
*
|
|
86
86
|
* @example
|
|
87
87
|
* 30
|
|
@@ -102,7 +102,7 @@ export class ModifyAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
102
102
|
* @remarks
|
|
103
103
|
* The total target capacity of the auto-provisioning group. The value must be a positive integer.
|
|
104
104
|
*
|
|
105
|
-
* 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
|
|
105
|
+
* 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.
|
|
106
106
|
*
|
|
107
107
|
* @example
|
|
108
108
|
* 70
|
|
@@ -13,7 +13,7 @@ export class ModifyAutoProvisioningGroupRequestLaunchTemplateConfig extends $dar
|
|
|
13
13
|
instanceType?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The maximum price of
|
|
16
|
+
* The maximum price of spot instances in extended configuration N.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 3
|
|
@@ -110,7 +110,14 @@ export class ModifyNetworkInterfaceAttributeRequest extends $dara.Model {
|
|
|
110
110
|
securityGroupId?: string[];
|
|
111
111
|
/**
|
|
112
112
|
* @remarks
|
|
113
|
-
*
|
|
113
|
+
* Source and destination IP address check We recommend that you enable the feature to improve network security. Valid value:
|
|
114
|
+
*
|
|
115
|
+
* * true
|
|
116
|
+
* * false
|
|
117
|
+
*
|
|
118
|
+
* Default value: false.
|
|
119
|
+
*
|
|
120
|
+
* > This feature is available only in some regions. Before you use this method, read [Source and destination IP address check](https://help.aliyun.com/document_detail/2863210.html).
|
|
114
121
|
*
|
|
115
122
|
* @example
|
|
116
123
|
* false
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifyNetworkInterfaceAttributeRequestEnhancedNetwork extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* >This parameter is
|
|
8
|
+
* > This parameter is not publicly available.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* false
|
|
@@ -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.
|
|
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
|
|
662
|
+
* The protection period of the spot instance. Unit: hours. Default value: 1. Valid values:
|
|
663
663
|
*
|
|
664
|
-
* * 1: After a
|
|
665
|
-
* * 0: After a
|
|
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
|
|
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
|
|
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
|
|
703
|
-
* * SpotAsPriceGo: The instance is created as a
|
|
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
|
*
|
|
@@ -15,7 +15,7 @@ export class RunInstancesRequestDataDisk extends $dara.Model {
|
|
|
15
15
|
* @remarks
|
|
16
16
|
* Specifies whether to enable the performance burst feature for data disk N. Valid values:
|
|
17
17
|
*
|
|
18
|
-
* * true: enables the performance burst feature for the
|
|
18
|
+
* * true: enables the performance burst feature for the system disk.
|
|
19
19
|
* * false: disables the performance burst feature for the data disk.
|
|
20
20
|
*
|
|
21
21
|
* > This parameter is available only if you set DataDisk.N.Category to cloud_auto. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
@@ -28,7 +28,7 @@ export class RunInstancesRequestDataDisk extends $dara.Model {
|
|
|
28
28
|
* @remarks
|
|
29
29
|
* The category of data disk N. Valid values:
|
|
30
30
|
*
|
|
31
|
-
* * cloud_efficiency:
|
|
31
|
+
* * cloud_efficiency: utra disk.
|
|
32
32
|
*
|
|
33
33
|
* * cloud_ssd: standard SSD.
|
|
34
34
|
*
|
|
@@ -38,6 +38,8 @@ export class RunInstancesRequestDataDisk extends $dara.Model {
|
|
|
38
38
|
*
|
|
39
39
|
* * cloud_auto: ESSD AutoPL disk.
|
|
40
40
|
*
|
|
41
|
+
* * cloud_regional_disk_auto: Regional ESSD.
|
|
42
|
+
*
|
|
41
43
|
* * cloud_essd_entry: ESSD Entry disk.
|
|
42
44
|
*
|
|
43
45
|
* **
|
|
@@ -46,7 +48,7 @@ export class RunInstancesRequestDataDisk extends $dara.Model {
|
|
|
46
48
|
*
|
|
47
49
|
* * elastic_ephemeral_disk_standard: standard elastic ephemeral disk.
|
|
48
50
|
*
|
|
49
|
-
* * elastic_ephemeral_disk_premium: premium elastic ephemeral disk
|
|
51
|
+
* * elastic_ephemeral_disk_premium: premium elastic ephemeral disk
|
|
50
52
|
*
|
|
51
53
|
* For I/O optimized instances, the default value is cloud_efficiency. For non-I/O optimized instances, the default value is cloud.
|
|
52
54
|
*
|
|
@@ -82,7 +84,11 @@ export class RunInstancesRequestDataDisk extends $dara.Model {
|
|
|
82
84
|
* * 1st to 25th data disks: /dev/xvd`[b-z]`.
|
|
83
85
|
* * From the 26th data disk on: /dev/xvd`[aa-zz]`. For example, the 26th data disk is named /dev/xvdaa, the 27th data disk is named /dev/xvdab, and so on.
|
|
84
86
|
*
|
|
85
|
-
* >
|
|
87
|
+
* >
|
|
88
|
+
*
|
|
89
|
+
* * This parameter is applicable to scenarios in which a full image is used to create instances. A full image is an image that contains an operating system, application software, and business data. For these scenarios, you can set this parameter to the mount point of data disk N in the full image and modify `DataDisk.N.Size` and `DataDisk.N.Category` to change the category and size of data disk N created based on the image.
|
|
90
|
+
*
|
|
91
|
+
* * When you use a full image to create an ECS instance, the data disks in the image are created as the first N data disks of the instance.
|
|
86
92
|
*
|
|
87
93
|
* @example
|
|
88
94
|
* /dev/xvdb
|
|
@@ -121,7 +127,7 @@ export class RunInstancesRequestDataDisk extends $dara.Model {
|
|
|
121
127
|
encrypted?: string;
|
|
122
128
|
/**
|
|
123
129
|
* @remarks
|
|
124
|
-
* The ID of the
|
|
130
|
+
* The ID of the KMS key used for the data disk.
|
|
125
131
|
*
|
|
126
132
|
* @example
|
|
127
133
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -131,10 +137,10 @@ export class RunInstancesRequestDataDisk extends $dara.Model {
|
|
|
131
137
|
* @remarks
|
|
132
138
|
* The performance level of the ESSD to use as data disk N. The value of N must be the same as that in `DataDisk.N.Category` when DataDisk.N.Category is set to cloud_essd. Valid values:
|
|
133
139
|
*
|
|
134
|
-
* * PL0: A single ESSD can deliver up to
|
|
135
|
-
* * PL1 (default): A single ESSD can deliver up to
|
|
136
|
-
* * PL2: A single ESSD can deliver up to
|
|
137
|
-
* * PL3: A single ESSD can deliver up to
|
|
140
|
+
* * PL0: A single ESSD can deliver up to 10000 random read/write IOPS.
|
|
141
|
+
* * PL1 (default): A single ESSD can deliver up to 50000 random read/write IOPS.
|
|
142
|
+
* * PL2: A single ESSD can deliver up to 100000 random read/write IOPS.
|
|
143
|
+
* * PL3: A single ESSD can deliver up to 1000000 random read/write IOPS.
|
|
138
144
|
*
|
|
139
145
|
* For information about ESSD performance levels, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
140
146
|
*
|
|
@@ -185,7 +191,7 @@ export class RunInstancesRequestDataDisk extends $dara.Model {
|
|
|
185
191
|
* @remarks
|
|
186
192
|
* The ID of the snapshot to use to create data disk N. Valid values of N: 1 to 16.
|
|
187
193
|
*
|
|
188
|
-
* When `DataDisk.N.SnapshotId` is specified, `DataDisk.N.Size` is ignored. The data disk is created with the size of the specified snapshot. Use snapshots created after July 15, 2013. Otherwise, an error is returned and your request is rejected.
|
|
194
|
+
* When `DataDisk.N.SnapshotId` is specified, `DataDisk.N.Size` is ignored. The data disk is created with the size of the specified snapshot. Use snapshots created on or after July 15, 2013. Otherwise, an error is returned and your request is rejected.
|
|
189
195
|
*
|
|
190
196
|
* @example
|
|
191
197
|
* s-bp17441ohwka0yuh****
|
|
@@ -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
|
|
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.
|
|
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
|
-
*
|
|
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
|
-
*
|
|
8
|
+
* Specifies the batch operation mode. Valid values:
|
|
9
9
|
*
|
|
10
|
-
* * AllTogether:
|
|
11
|
-
* * SuccessFirst: In this mode,
|
|
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
|
|
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
|
|
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
|
|
40
|
-
*
|
|
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
|
|
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
|
-
* *
|
|
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
|
|
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.
|
|
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
|
package/src/models/model.ts
CHANGED
|
@@ -370,6 +370,7 @@ export { DescribeInstanceAttachmentAttributesResponseBodyInstances } from './Des
|
|
|
370
370
|
export { DescribeInstanceAttributeResponseBodyDedicatedHostAttribute } from './DescribeInstanceAttributeResponseBodyDedicatedHostAttribute';
|
|
371
371
|
export { DescribeInstanceAttributeResponseBodyEipAddress } from './DescribeInstanceAttributeResponseBodyEipAddress';
|
|
372
372
|
export { DescribeInstanceAttributeResponseBodyInnerIpAddress } from './DescribeInstanceAttributeResponseBodyInnerIpAddress';
|
|
373
|
+
export { DescribeInstanceAttributeResponseBodyNetworkOptions } from './DescribeInstanceAttributeResponseBodyNetworkOptions';
|
|
373
374
|
export { DescribeInstanceAttributeResponseBodyOperationLocksLockReason } from './DescribeInstanceAttributeResponseBodyOperationLocksLockReason';
|
|
374
375
|
export { DescribeInstanceAttributeResponseBodyOperationLocks } from './DescribeInstanceAttributeResponseBodyOperationLocks';
|
|
375
376
|
export { DescribeInstanceAttributeResponseBodyPublicIpAddress } from './DescribeInstanceAttributeResponseBodyPublicIpAddress';
|