@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.
- package/dist/client.d.ts +44 -36
- package/dist/client.js +62 -36
- 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 +1 -1
- package/dist/models/CreateLaunchTemplateVersionRequest.d.ts +8 -8
- package/dist/models/CreateLaunchTemplateVersionRequestDataDisk.d.ts +2 -2
- 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/DescribeDiskDefaultKmskeyIdRequest.d.ts +1 -0
- package/dist/models/DescribeDiskDefaultKmskeyIdRequest.js +2 -0
- package/dist/models/DescribeDiskDefaultKmskeyIdRequest.js.map +1 -1
- package/dist/models/DescribeDiskEncryptionByDefaultStatusRequest.d.ts +1 -0
- package/dist/models/DescribeDiskEncryptionByDefaultStatusRequest.js +2 -0
- package/dist/models/DescribeDiskEncryptionByDefaultStatusRequest.js.map +1 -1
- package/dist/models/DescribeDisksRequest.d.ts +1 -1
- package/dist/models/DescribeInstanceAttributeResponseBody.d.ts +1 -1
- 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/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 +17 -0
- 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/DisableDiskEncryptionByDefaultRequest.d.ts +1 -0
- package/dist/models/DisableDiskEncryptionByDefaultRequest.js +2 -0
- package/dist/models/DisableDiskEncryptionByDefaultRequest.js.map +1 -1
- package/dist/models/ModifyAutoProvisioningGroupRequest.d.ts +4 -4
- package/dist/models/ModifyAutoProvisioningGroupRequestLaunchTemplateConfig.d.ts +1 -1
- package/dist/models/ModifyDiskDefaultKmskeyIdRequest.d.ts +1 -0
- package/dist/models/ModifyDiskDefaultKmskeyIdRequest.js +2 -0
- package/dist/models/ModifyDiskDefaultKmskeyIdRequest.js.map +1 -1
- package/dist/models/ResetDiskDefaultKmskeyIdRequest.d.ts +1 -0
- package/dist/models/ResetDiskDefaultKmskeyIdRequest.js +2 -0
- package/dist/models/ResetDiskDefaultKmskeyIdRequest.js.map +1 -1
- package/dist/models/RunInstancesRequest.d.ts +8 -8
- 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/package.json +1 -1
- package/src/client.ts +68 -36
- 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 +1 -1
- package/src/models/CreateLaunchTemplateVersionRequest.ts +8 -8
- package/src/models/CreateLaunchTemplateVersionRequestDataDisk.ts +2 -2
- 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/DescribeDiskDefaultKmskeyIdRequest.ts +3 -0
- package/src/models/DescribeDiskEncryptionByDefaultStatusRequest.ts +3 -0
- package/src/models/DescribeDisksRequest.ts +1 -1
- package/src/models/DescribeInstanceAttributeResponseBody.ts +1 -1
- 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/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 +17 -0
- 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/DisableDiskEncryptionByDefaultRequest.ts +3 -0
- package/src/models/ModifyAutoProvisioningGroupRequest.ts +4 -4
- package/src/models/ModifyAutoProvisioningGroupRequestLaunchTemplateConfig.ts +1 -1
- package/src/models/ModifyDiskDefaultKmskeyIdRequest.ts +3 -0
- package/src/models/ResetDiskDefaultKmskeyIdRequest.ts +3 -0
- package/src/models/RunInstancesRequest.ts +8 -8
- 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
|
@@ -3,7 +3,7 @@ import { DescribeSpotPriceHistoryResponseBodySpotPrices } from "./DescribeSpotPr
|
|
|
3
3
|
export declare class DescribeSpotPriceHistoryResponseBody extends $dara.Model {
|
|
4
4
|
/**
|
|
5
5
|
* @remarks
|
|
6
|
-
* The instance type of the
|
|
6
|
+
* The instance type of the spot instance.
|
|
7
7
|
*
|
|
8
8
|
* @example
|
|
9
9
|
* CNY
|
|
@@ -11,7 +11,7 @@ export declare class DescribeSpotPriceHistoryResponseBody extends $dara.Model {
|
|
|
11
11
|
currency?: string;
|
|
12
12
|
/**
|
|
13
13
|
* @remarks
|
|
14
|
-
* The network type of the
|
|
14
|
+
* The network type of the spot instance.
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* 1000
|
|
@@ -19,7 +19,7 @@ export declare class DescribeSpotPriceHistoryResponseBody extends $dara.Model {
|
|
|
19
19
|
nextOffset?: number;
|
|
20
20
|
/**
|
|
21
21
|
* @remarks
|
|
22
|
-
* The instance type of the
|
|
22
|
+
* The instance type of the spot instance.
|
|
23
23
|
*
|
|
24
24
|
* @example
|
|
25
25
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
@@ -27,7 +27,7 @@ export declare class DescribeSpotPriceHistoryResponseBody extends $dara.Model {
|
|
|
27
27
|
requestId?: string;
|
|
28
28
|
/**
|
|
29
29
|
* @remarks
|
|
30
|
-
* The zone ID of the
|
|
30
|
+
* The zone ID of the spot instance.
|
|
31
31
|
*/
|
|
32
32
|
spotPrices?: DescribeSpotPriceHistoryResponseBodySpotPrices;
|
|
33
33
|
static names(): {
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class DescribeSpotPriceHistoryResponseBodySpotPricesSpotPriceType extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The instance type of the
|
|
5
|
+
* The instance type of the spot instance.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* ecs.g5.large
|
|
@@ -10,7 +10,7 @@ export declare class DescribeSpotPriceHistoryResponseBodySpotPricesSpotPriceType
|
|
|
10
10
|
instanceType?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* Details about the price history of the
|
|
13
|
+
* Details about the price history of the spot instance.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* optimized
|
|
@@ -18,7 +18,7 @@ export declare class DescribeSpotPriceHistoryResponseBodySpotPricesSpotPriceType
|
|
|
18
18
|
ioOptimized?: string;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* Queries the price history of a
|
|
21
|
+
* Queries the price history of a spot instance within the last 30 days.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* vpc
|
|
@@ -26,7 +26,7 @@ export declare class DescribeSpotPriceHistoryResponseBodySpotPricesSpotPriceType
|
|
|
26
26
|
networkType?: string;
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
|
-
* The price for a pay-as-you-go instance that has the same configuration as the specified
|
|
29
|
+
* The price for a pay-as-you-go instance that has the same configuration as the specified spot instance.
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
32
|
* 0.354
|
|
@@ -34,7 +34,7 @@ export declare class DescribeSpotPriceHistoryResponseBodySpotPricesSpotPriceType
|
|
|
34
34
|
originPrice?: number;
|
|
35
35
|
/**
|
|
36
36
|
* @remarks
|
|
37
|
-
* The price for a pay-as-you-go instance that has the same configurations as the
|
|
37
|
+
* The price for a pay-as-you-go instance that has the same configurations as the spot instance.
|
|
38
38
|
*
|
|
39
39
|
* @example
|
|
40
40
|
* 0.036
|
package/dist/models/DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConnection.js
CHANGED
|
@@ -41,6 +41,7 @@ class DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConnection e
|
|
|
41
41
|
return {
|
|
42
42
|
closedReason: 'ClosedReason',
|
|
43
43
|
endTime: 'EndTime',
|
|
44
|
+
failedDetail: 'FailedDetail',
|
|
44
45
|
instanceId: 'InstanceId',
|
|
45
46
|
startTime: 'StartTime',
|
|
46
47
|
status: 'Status',
|
|
@@ -50,6 +51,7 @@ class DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConnection e
|
|
|
50
51
|
return {
|
|
51
52
|
closedReason: 'string',
|
|
52
53
|
endTime: 'string',
|
|
54
|
+
failedDetail: 'string',
|
|
53
55
|
instanceId: 'string',
|
|
54
56
|
startTime: 'string',
|
|
55
57
|
status: 'string',
|
package/dist/models/DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConnection.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConnection.js","sourceRoot":"","sources":["../../src/models/DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConnection.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wEAAyE,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConnection.js","sourceRoot":"","sources":["../../src/models/DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConnection.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wEAAyE,SAAQ,KAAK,CAAC,KAAK;IA0DvG,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,cAAc;YAC5B,OAAO,EAAE,SAAS;YAClB,YAAY,EAAE,cAAc;YAC5B,UAAU,EAAE,YAAY;YACxB,SAAS,EAAE,WAAW;YACtB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,QAAQ;YACtB,OAAO,EAAE,QAAQ;YACjB,YAAY,EAAE,QAAQ;YACtB,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;YACnB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAvFD,4JAuFC"}
|
|
@@ -47,11 +47,11 @@ export declare class DescribeZonesRequest extends $dara.Model {
|
|
|
47
47
|
resourceOwnerId?: number;
|
|
48
48
|
/**
|
|
49
49
|
* @remarks
|
|
50
|
-
* The bidding policy for the pay-as-you-go instance. You can specify this parameter when you set `InstanceChargeType` to PostPaid. For more information, see [
|
|
50
|
+
* The bidding policy for the pay-as-you-go instance. You can specify this parameter when you set `InstanceChargeType` to PostPaid. For more information, see [Spot instances](https://help.aliyun.com/document_detail/52088.html). Valid values:
|
|
51
51
|
*
|
|
52
52
|
* * NoSpot: The instances are regular pay-as-you-go instances.
|
|
53
|
-
* * SpotWithPriceLimit: The instance is a
|
|
54
|
-
* * SpotAsPriceGo: The instance is a
|
|
53
|
+
* * SpotWithPriceLimit: The instance is a spot instance that has a user-defined maximum hourly price.
|
|
54
|
+
* * SpotAsPriceGo: The instance is a spot instance for which the market price is automatically used as the bid price. The market price can be up to the pay-as-you-go price.
|
|
55
55
|
*
|
|
56
56
|
* Default value: NoSpot.
|
|
57
57
|
*
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
2
|
export declare class DisableDiskEncryptionByDefaultRequest extends $dara.Model {
|
|
3
|
+
ownerId?: number;
|
|
3
4
|
/**
|
|
4
5
|
* @remarks
|
|
5
6
|
* The ID of the region for which you want to disable Account-level EBS Default Encryption. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/2679950.html) operation to query the most recent region list.
|
|
@@ -39,12 +39,14 @@ const $dara = __importStar(require("@darabonba/typescript"));
|
|
|
39
39
|
class DisableDiskEncryptionByDefaultRequest extends $dara.Model {
|
|
40
40
|
static names() {
|
|
41
41
|
return {
|
|
42
|
+
ownerId: 'OwnerId',
|
|
42
43
|
regionId: 'RegionId',
|
|
43
44
|
resourceOwnerId: 'ResourceOwnerId',
|
|
44
45
|
};
|
|
45
46
|
}
|
|
46
47
|
static types() {
|
|
47
48
|
return {
|
|
49
|
+
ownerId: 'number',
|
|
48
50
|
regionId: 'string',
|
|
49
51
|
resourceOwnerId: 'number',
|
|
50
52
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DisableDiskEncryptionByDefaultRequest.js","sourceRoot":"","sources":["../../src/models/DisableDiskEncryptionByDefaultRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,qCAAsC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"DisableDiskEncryptionByDefaultRequest.js","sourceRoot":"","sources":["../../src/models/DisableDiskEncryptionByDefaultRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,qCAAsC,SAAQ,KAAK,CAAC,KAAK;IAapE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,eAAe,EAAE,iBAAiB;SACnC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,QAAQ;YAClB,eAAe,EAAE,QAAQ;SAC1B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApCD,sFAoCC"}
|
|
@@ -22,7 +22,7 @@ export declare class ModifyAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
22
22
|
* The type of supplemental instances. When the sum of the PayAsYouGoTargetCapacity and SpotTargetCapacity values is smaller than the TotalTargetCapacity value, the auto-provisioning group creates instances of the specified type to meet the target capacity. Valid values:
|
|
23
23
|
*
|
|
24
24
|
* * PayAsYouGo: pay-as-you-go instances
|
|
25
|
-
* * Spot:
|
|
25
|
+
* * Spot: spot instances
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
28
|
* Spot
|
|
@@ -46,7 +46,7 @@ export declare class ModifyAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
46
46
|
launchTemplateConfig?: ModifyAutoProvisioningGroupRequestLaunchTemplateConfig[];
|
|
47
47
|
/**
|
|
48
48
|
* @remarks
|
|
49
|
-
* The maximum price of
|
|
49
|
+
* The maximum price of spot instances in the auto-provisioning group.
|
|
50
50
|
*
|
|
51
51
|
* > When both the MaxSpotPrice and LaunchTemplateConfig.N.MaxPrice parameters are specified, the smaller one of the two parameter values is used. The LaunchTemplateConfig.N.MaxPrice parameter is specified when the auto-provisioning group is created, and cannot be modified.
|
|
52
52
|
*
|
|
@@ -78,7 +78,7 @@ export declare class ModifyAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
78
78
|
resourceOwnerId?: number;
|
|
79
79
|
/**
|
|
80
80
|
* @remarks
|
|
81
|
-
* The target capacity of
|
|
81
|
+
* The target capacity of spot instances in the auto-provisioning group. Valid values: Set this parameter to a value smaller than the TotalTargetCapacity value.
|
|
82
82
|
*
|
|
83
83
|
* @example
|
|
84
84
|
* 30
|
|
@@ -99,7 +99,7 @@ export declare class ModifyAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
99
99
|
* @remarks
|
|
100
100
|
* The total target capacity of the auto-provisioning group. The value must be a positive integer.
|
|
101
101
|
*
|
|
102
|
-
* The total target capacity of the auto-provisioning group must be greater than or equal to the sum of the target capacity of pay-as-you-go instances specified by the PayAsYouGoTargetCapacity parameter as well as the target capacity of
|
|
102
|
+
* The total target capacity of the auto-provisioning group must be greater than or equal to the sum of the target capacity of pay-as-you-go instances specified by the PayAsYouGoTargetCapacity parameter as well as the target capacity of spot instances specified by the SpotTargetCapacity parameter.
|
|
103
103
|
*
|
|
104
104
|
* @example
|
|
105
105
|
* 70
|
|
@@ -10,7 +10,7 @@ export declare class ModifyAutoProvisioningGroupRequestLaunchTemplateConfig exte
|
|
|
10
10
|
instanceType?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The maximum price of
|
|
13
|
+
* The maximum price of spot instances in extended configuration N.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* 3
|
|
@@ -10,6 +10,7 @@ export declare class ModifyDiskDefaultKMSKeyIdRequest extends $dara.Model {
|
|
|
10
10
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
11
11
|
*/
|
|
12
12
|
KMSKeyId?: string;
|
|
13
|
+
ownerId?: number;
|
|
13
14
|
/**
|
|
14
15
|
* @remarks
|
|
15
16
|
* The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/2679950.html) operation to query the most recent region list.
|
|
@@ -40,6 +40,7 @@ class ModifyDiskDefaultKMSKeyIdRequest extends $dara.Model {
|
|
|
40
40
|
static names() {
|
|
41
41
|
return {
|
|
42
42
|
KMSKeyId: 'KMSKeyId',
|
|
43
|
+
ownerId: 'OwnerId',
|
|
43
44
|
regionId: 'RegionId',
|
|
44
45
|
resourceOwnerId: 'ResourceOwnerId',
|
|
45
46
|
};
|
|
@@ -47,6 +48,7 @@ class ModifyDiskDefaultKMSKeyIdRequest extends $dara.Model {
|
|
|
47
48
|
static types() {
|
|
48
49
|
return {
|
|
49
50
|
KMSKeyId: 'string',
|
|
51
|
+
ownerId: 'number',
|
|
50
52
|
regionId: 'string',
|
|
51
53
|
resourceOwnerId: 'number',
|
|
52
54
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModifyDiskDefaultKmskeyIdRequest.js","sourceRoot":"","sources":["../../src/models/ModifyDiskDefaultKmskeyIdRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ModifyDiskDefaultKmskeyIdRequest.js","sourceRoot":"","sources":["../../src/models/ModifyDiskDefaultKmskeyIdRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IAuB/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,UAAU;YACpB,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,eAAe,EAAE,iBAAiB;SACnC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,QAAQ;YAClB,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,QAAQ;YAClB,eAAe,EAAE,QAAQ;SAC1B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAhDD,4EAgDC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
2
|
export declare class ResetDiskDefaultKMSKeyIdRequest extends $dara.Model {
|
|
3
|
+
ownerId?: number;
|
|
3
4
|
/**
|
|
4
5
|
* @remarks
|
|
5
6
|
* The ID of the region for which you want to disable Account-level EBS Default Encryption. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/2679950.html) operation to query the most recent region list.
|
|
@@ -39,12 +39,14 @@ const $dara = __importStar(require("@darabonba/typescript"));
|
|
|
39
39
|
class ResetDiskDefaultKMSKeyIdRequest extends $dara.Model {
|
|
40
40
|
static names() {
|
|
41
41
|
return {
|
|
42
|
+
ownerId: 'OwnerId',
|
|
42
43
|
regionId: 'RegionId',
|
|
43
44
|
resourceOwnerId: 'ResourceOwnerId',
|
|
44
45
|
};
|
|
45
46
|
}
|
|
46
47
|
static types() {
|
|
47
48
|
return {
|
|
49
|
+
ownerId: 'number',
|
|
48
50
|
regionId: 'string',
|
|
49
51
|
resourceOwnerId: 'number',
|
|
50
52
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResetDiskDefaultKmskeyIdRequest.js","sourceRoot":"","sources":["../../src/models/ResetDiskDefaultKmskeyIdRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ResetDiskDefaultKmskeyIdRequest.js","sourceRoot":"","sources":["../../src/models/ResetDiskDefaultKmskeyIdRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAa9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,eAAe,EAAE,iBAAiB;SACnC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,QAAQ;YAClB,eAAe,EAAE,QAAQ;SAC1B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApCD,0EAoCC"}
|
|
@@ -143,7 +143,7 @@ export declare class RunInstancesRequest extends $dara.Model {
|
|
|
143
143
|
dataDisk?: RunInstancesRequestDataDisk[];
|
|
144
144
|
/**
|
|
145
145
|
* @remarks
|
|
146
|
-
* The ID of the dedicated host on which to create the instance.
|
|
146
|
+
* The ID of the dedicated host on which to create the instance. Spot instances cannot be created on dedicated hosts. If you specify `DedicatedHostId`, `SpotStrategy` and `SpotPriceLimit` are ignored.
|
|
147
147
|
*
|
|
148
148
|
* You can call the [DescribeDedicatedHosts](https://help.aliyun.com/document_detail/134242.html) operation to query the list of dedicated host IDs.
|
|
149
149
|
*
|
|
@@ -656,12 +656,12 @@ export declare class RunInstancesRequest extends $dara.Model {
|
|
|
656
656
|
securityGroupIds?: string[];
|
|
657
657
|
/**
|
|
658
658
|
* @remarks
|
|
659
|
-
* The protection period of the
|
|
659
|
+
* The protection period of the spot instance. Unit: hours. Default value: 1. Valid values:
|
|
660
660
|
*
|
|
661
|
-
* * 1: After a
|
|
662
|
-
* * 0: After a
|
|
661
|
+
* * 1: After a spot instance is created, Alibaba Cloud ensures that the instance is not automatically released within 1 hour. After the 1-hour protection period ends, the system compares the bid price with the market price and checks the resource inventory to determine whether to retain or release the instance.
|
|
662
|
+
* * 0: After a spot instance is created, Alibaba Cloud does not ensure that the instance runs for 1 hour. The system compares the bid price with the market price and checks the resource inventory to determine whether to retain or release the instance.
|
|
663
663
|
*
|
|
664
|
-
* Alibaba Cloud sends an ECS system event to notify you 5 minutes before the instance is released. The
|
|
664
|
+
* Alibaba Cloud sends an ECS system event to notify you 5 minutes before the instance is released. The spot instance is billed by second. We recommend that you specify an appropriate protection period based on your business requirements.
|
|
665
665
|
*
|
|
666
666
|
* @example
|
|
667
667
|
* 1
|
|
@@ -669,7 +669,7 @@ export declare class RunInstancesRequest extends $dara.Model {
|
|
|
669
669
|
spotDuration?: number;
|
|
670
670
|
/**
|
|
671
671
|
* @remarks
|
|
672
|
-
* The interruption mode of the
|
|
672
|
+
* The interruption mode of the spot instance. Valid values:
|
|
673
673
|
*
|
|
674
674
|
* * Terminate: The instance is released.
|
|
675
675
|
*
|
|
@@ -696,8 +696,8 @@ export declare class RunInstancesRequest extends $dara.Model {
|
|
|
696
696
|
* The bidding policy for the pay-as-you-go instance. This parameter is valid only when the `InstanceChargeType` parameter is set to `PostPaid`. Valid values:
|
|
697
697
|
*
|
|
698
698
|
* * NoSpot: The instance is created as a pay-as-you-go instance.
|
|
699
|
-
* * SpotWithPriceLimit: The instance is created as a
|
|
700
|
-
* * SpotAsPriceGo: The instance is created as a
|
|
699
|
+
* * SpotWithPriceLimit: The instance is created as a spot instance with a user-defined maximum hourly price.
|
|
700
|
+
* * SpotAsPriceGo: The instance is created as a spot instance for which the market price at the time of purchase is automatically used as the bid price.
|
|
701
701
|
*
|
|
702
702
|
* Default value: NoSpot.
|
|
703
703
|
*
|
|
@@ -20,7 +20,7 @@ export declare class RunInstancesRequestPrivatePoolOptions extends $dara.Model {
|
|
|
20
20
|
*
|
|
21
21
|
* In the following scenarios, the PrivatePoolOptions.MatchCriteria parameter can be set only to `None` or left empty:
|
|
22
22
|
*
|
|
23
|
-
* * A
|
|
23
|
+
* * A spot instance is created.
|
|
24
24
|
* * The instance is created in the classic network.
|
|
25
25
|
* * The instance is created on a dedicated host.
|
|
26
26
|
*
|
|
@@ -24,6 +24,7 @@ export declare class StartTerminalSessionRequest extends $dara.Model {
|
|
|
24
24
|
instanceId?: string[];
|
|
25
25
|
ownerAccount?: string;
|
|
26
26
|
ownerId?: number;
|
|
27
|
+
passwordName?: string;
|
|
27
28
|
/**
|
|
28
29
|
* @remarks
|
|
29
30
|
* The port number of the ECS instance. The port is used to forward data. After this parameter is configured, Cloud Assistant Agent forwards data to the specified port. For example, you can set this parameter to 22 for data forwarding over SSH.
|
|
@@ -44,6 +44,7 @@ class StartTerminalSessionRequest extends $dara.Model {
|
|
|
44
44
|
instanceId: 'InstanceId',
|
|
45
45
|
ownerAccount: 'OwnerAccount',
|
|
46
46
|
ownerId: 'OwnerId',
|
|
47
|
+
passwordName: 'PasswordName',
|
|
47
48
|
portNumber: 'PortNumber',
|
|
48
49
|
regionId: 'RegionId',
|
|
49
50
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
@@ -59,6 +60,7 @@ class StartTerminalSessionRequest extends $dara.Model {
|
|
|
59
60
|
instanceId: { 'type': 'array', 'itemType': 'string' },
|
|
60
61
|
ownerAccount: 'string',
|
|
61
62
|
ownerId: 'number',
|
|
63
|
+
passwordName: 'string',
|
|
62
64
|
portNumber: 'number',
|
|
63
65
|
regionId: 'string',
|
|
64
66
|
resourceOwnerAccount: 'string',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StartTerminalSessionRequest.js","sourceRoot":"","sources":["../../src/models/StartTerminalSessionRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"StartTerminalSessionRequest.js","sourceRoot":"","sources":["../../src/models/StartTerminalSessionRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;IAkE1D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,cAAc,EAAE,gBAAgB;YAChC,UAAU,EAAE,YAAY;YACxB,YAAY,EAAE,cAAc;YAC5B,OAAO,EAAE,SAAS;YAClB,YAAY,EAAE,cAAc;YAC5B,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,oBAAoB,EAAE,sBAAsB;YAC5C,eAAe,EAAE,iBAAiB;YAClC,YAAY,EAAE,cAAc;YAC5B,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,cAAc,EAAE,QAAQ;YACxB,UAAU,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YACrD,YAAY,EAAE,QAAQ;YACtB,OAAO,EAAE,QAAQ;YACjB,YAAY,EAAE,QAAQ;YACtB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,oBAAoB,EAAE,QAAQ;YAC9B,eAAe,EAAE,QAAQ;YACzB,YAAY,EAAE,QAAQ;YACtB,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;YAClC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAC7C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA9GD,kEA8GC"}
|
|
@@ -60,10 +60,21 @@ export declare class StopInstanceRequest extends $dara.Model {
|
|
|
60
60
|
* @remarks
|
|
61
61
|
* The stop mode of the pay-as-you-go instance. Valid values:
|
|
62
62
|
*
|
|
63
|
-
* * StopCharging: economical mode.
|
|
64
|
-
* * KeepCharging: standard mode. You continue to be charged for instances that are stopped in standard mode.
|
|
63
|
+
* * StopCharging: economical mode. After the economical mode is enabled, billing for the following resources of the instance stops: computing resources (vCPUs, memory, and GPUs), image licenses, and public bandwidth of the static public IP address (if any) that uses the pay-by-bandwidth metering method. Billing for the following resources of the instance continues: system disk, data disks, and public bandwidth of the elastic IP address (EIP) (if any) that uses the pay-by-bandwidth metering method. For more information, see [Economical mode](https://help.aliyun.com/document_detail/63353.html).
|
|
65
64
|
*
|
|
66
|
-
*
|
|
65
|
+
* **
|
|
66
|
+
*
|
|
67
|
+
* **Note**
|
|
68
|
+
*
|
|
69
|
+
* * If the instance does not support the **economical** mode, the system stops the instance and does not report errors during the operation call. The economical mode cannot be enabled for instances of the classic network type, instances that use local disks, and instances that use persistent memory.
|
|
70
|
+
*
|
|
71
|
+
* * The instance may fail to restart due to the reclaimed computing resources or insufficient resources. Try again later or change the instance type of the instance.
|
|
72
|
+
*
|
|
73
|
+
* * If an EIP is associated with the instance before the instance is stopped, the EIP remains unchanged after the instance is restarted. If a static public IP address is associated with the instance before the instance is stopped, the static public IP address may change, but the private IP address does not change.
|
|
74
|
+
*
|
|
75
|
+
* * KeepCharging: standard mode. After the instance is stopped in standard mode, you continue to be charged for the instance.
|
|
76
|
+
*
|
|
77
|
+
* Default value: If the conditions for [enabling the economical mode for an instance in a VPC](~~63353#default~~) are met and you have enabled this mode in the ECS console, the default value is `StopCharging`. Otherwise, the default value is `KeepCharging`.
|
|
67
78
|
*
|
|
68
79
|
* @example
|
|
69
80
|
* KeepCharging
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StopInstanceRequest.js","sourceRoot":"","sources":["../../src/models/StopInstanceRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mBAAoB,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"StopInstanceRequest.js","sourceRoot":"","sources":["../../src/models/StopInstanceRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mBAAoB,SAAQ,KAAK,CAAC,KAAK;IAiFlD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,WAAW;YACtB,SAAS,EAAE,WAAW;YACtB,UAAU,EAAE,YAAY;YACxB,YAAY,EAAE,cAAc;YAC5B,OAAO,EAAE,SAAS;YAClB,oBAAoB,EAAE,sBAAsB;YAC5C,eAAe,EAAE,iBAAiB;YAClC,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,SAAS;YACtB,MAAM,EAAE,SAAS;YACjB,SAAS,EAAE,SAAS;YACpB,SAAS,EAAE,SAAS;YACpB,UAAU,EAAE,QAAQ;YACpB,YAAY,EAAE,QAAQ;YACtB,OAAO,EAAE,QAAQ;YACjB,oBAAoB,EAAE,QAAQ;YAC9B,eAAe,EAAE,QAAQ;YACzB,WAAW,EAAE,QAAQ;SACtB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtHD,kDAsHC"}
|
|
@@ -2,10 +2,10 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class StopInstancesRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
*
|
|
5
|
+
* Specifies the batch operation mode. Valid values:
|
|
6
6
|
*
|
|
7
|
-
* * AllTogether:
|
|
8
|
-
* * SuccessFirst: In this mode,
|
|
7
|
+
* * AllTogether: The batch operation is successful only after all operations are successful. If any operation fails, the batch operation is considered failed, and all operations that have been performed are undone to restore the instances to the status before the batch operation.
|
|
8
|
+
* * SuccessFirst: allows each operation in a batch to be independently executed. If an operation fails, other operations can continue and confirm success. In this mode, successful operations are committed and failed operations are marked as failed, but the execution results of other operations are not affected.
|
|
9
9
|
*
|
|
10
10
|
* Default value: AllTogether.
|
|
11
11
|
*
|
|
@@ -15,9 +15,9 @@ export declare class StopInstancesRequest extends $dara.Model {
|
|
|
15
15
|
batchOptimization?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* Specifies whether to
|
|
18
|
+
* Specifies whether to send a precheck request. Valid values:
|
|
19
19
|
*
|
|
20
|
-
* * true: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and instance status. If the
|
|
20
|
+
* * true: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and instance status. If the check fails, the corresponding error message is returned. If the request passes the dry run, `DRYRUN.SUCCESS` is returned.
|
|
21
21
|
*
|
|
22
22
|
* > If you set `BatchOptimization` to `SuccessFirst` and `DryRun` to true, only `DRYRUN.SUCCESS` is returned, regardless of whether the request passes the dry run.
|
|
23
23
|
*
|
|
@@ -33,8 +33,13 @@ export declare class StopInstancesRequest extends $dara.Model {
|
|
|
33
33
|
* @remarks
|
|
34
34
|
* Specifies whether to forcefully stop instances. Valid values:
|
|
35
35
|
*
|
|
36
|
-
* * true
|
|
37
|
-
*
|
|
36
|
+
* * true: forcefully stops the ECS instance.
|
|
37
|
+
*
|
|
38
|
+
* **
|
|
39
|
+
*
|
|
40
|
+
* **Alert** Force Stop: forcefully stops the instance. A force stop is equivalent to a physical shutdown and may cause data loss if instance data has not been written to disks.
|
|
41
|
+
*
|
|
42
|
+
* * false: normally stops the ECS instance.
|
|
38
43
|
*
|
|
39
44
|
* Default value: false.
|
|
40
45
|
*
|
|
@@ -68,12 +73,23 @@ export declare class StopInstancesRequest extends $dara.Model {
|
|
|
68
73
|
resourceOwnerId?: number;
|
|
69
74
|
/**
|
|
70
75
|
* @remarks
|
|
71
|
-
* The stop mode
|
|
76
|
+
* The stop mode. Valid values:
|
|
77
|
+
*
|
|
78
|
+
* * StopCharging: economical mode. After the economical mode is enabled, billing for the following resources of the instance stops: computing resources (vCPUs and memory), image licenses, and public bandwidth of the static public IP address (if any) that uses the pay-by-bandwidth metering method. Billing for the following resources of the instance continues: system disk, data disks, and public bandwidth of the elastic IP address (EIP) (if any) that uses the pay-by-bandwidth metering method. For more information, see [Economical mode](https://help.aliyun.com/document_detail/63353.html).
|
|
79
|
+
*
|
|
80
|
+
* **
|
|
81
|
+
*
|
|
82
|
+
* **Note**
|
|
83
|
+
*
|
|
84
|
+
* * If the instance does not support the **economical** mode, the system stops the instance and does not report errors during the operation call. The economical mode cannot be enabled for instances of the classic network type, instances that use local disks, and instances that use persistent memory.
|
|
85
|
+
*
|
|
86
|
+
* * The instance may fail to restart due to the reclaimed computing resources or insufficient resources. Try again later or change the instance type of the instance.
|
|
87
|
+
*
|
|
88
|
+
* * If an EIP is associated with the instance before the instance is stopped, the EIP remains unchanged after the instance is restarted. If a static public IP address is associated with the instance, the static public IP address may change, but the private IP address does not change.
|
|
72
89
|
*
|
|
73
|
-
* *
|
|
74
|
-
* * KeepCharging: standard mode. After the instance is stopped in standard mode, you continue to be charged for it.
|
|
90
|
+
* * KeepCharging: standard mode. After the instance is stopped in standard mode, you continue to be charged for the instance. After the instance is stopped in standard mode, you continue to be charged for the instance.
|
|
75
91
|
*
|
|
76
|
-
* Default value: If the
|
|
92
|
+
* Default value: If the conditions for [enabling the economical mode for an instance in a VPC](~~63353#default~~) are met and you have enabled this mode in the ECS console, the default value is `StopCharging`. Otherwise, the default value is `KeepCharging`.
|
|
77
93
|
*
|
|
78
94
|
* @example
|
|
79
95
|
* KeepCharging
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StopInstancesRequest.js","sourceRoot":"","sources":["../../src/models/StopInstancesRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oBAAqB,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"StopInstancesRequest.js","sourceRoot":"","sources":["../../src/models/StopInstancesRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oBAAqB,SAAQ,KAAK,CAAC,KAAK;IAgGnD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,iBAAiB,EAAE,mBAAmB;YACtC,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,WAAW;YACtB,UAAU,EAAE,YAAY;YACxB,YAAY,EAAE,cAAc;YAC5B,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,oBAAoB,EAAE,sBAAsB;YAC5C,eAAe,EAAE,iBAAiB;YAClC,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,iBAAiB,EAAE,QAAQ;YAC3B,MAAM,EAAE,SAAS;YACjB,SAAS,EAAE,SAAS;YACpB,UAAU,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YACrD,YAAY,EAAE,QAAQ;YACtB,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,QAAQ;YAClB,oBAAoB,EAAE,QAAQ;YAC9B,eAAe,EAAE,QAAQ;YACzB,WAAW,EAAE,QAAQ;SACtB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;YAClC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAC7C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAxID,oDAwIC"}
|
|
@@ -26,7 +26,7 @@ export declare class StopInstancesResponseBodyInstanceResponsesInstanceResponse
|
|
|
26
26
|
instanceId?: string;
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
|
-
* The error message returned for the instance.
|
|
29
|
+
* The error message returned for the instance. The return value `success` indicates that the operation is successful. For more information, see the "Error codes" section of this topic.
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
32
|
* success
|