@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
|
@@ -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
|
*
|
|
@@ -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
|
|
@@ -107,7 +107,14 @@ export declare class ModifyNetworkInterfaceAttributeRequest extends $dara.Model
|
|
|
107
107
|
securityGroupId?: string[];
|
|
108
108
|
/**
|
|
109
109
|
* @remarks
|
|
110
|
-
*
|
|
110
|
+
* Source and destination IP address check We recommend that you enable the feature to improve network security. Valid value:
|
|
111
|
+
*
|
|
112
|
+
* * true
|
|
113
|
+
* * false
|
|
114
|
+
*
|
|
115
|
+
* Default value: false.
|
|
116
|
+
*
|
|
117
|
+
* > 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).
|
|
111
118
|
*
|
|
112
119
|
* @example
|
|
113
120
|
* false
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModifyNetworkInterfaceAttributeRequest.js","sourceRoot":"","sources":["../../src/models/ModifyNetworkInterfaceAttributeRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,mKAAgK;AAChK,mIAAgI;AAChI,+JAA4J;AAG5J,MAAa,sCAAuC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ModifyNetworkInterfaceAttributeRequest.js","sourceRoot":"","sources":["../../src/models/ModifyNetworkInterfaceAttributeRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,mKAAgK;AAChK,mIAAgI;AAChI,+JAA4J;AAG5J,MAAa,sCAAuC,SAAQ,KAAK,CAAC,KAAK;IAmIrE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,+BAA+B,EAAE,iCAAiC;YAClE,eAAe,EAAE,iBAAiB;YAClC,WAAW,EAAE,aAAa;YAC1B,eAAe,EAAE,iBAAiB;YAClC,kBAAkB,EAAE,oBAAoB;YACxC,oBAAoB,EAAE,sBAAsB;YAC5C,6BAA6B,EAAE,+BAA+B;YAC9D,YAAY,EAAE,cAAc;YAC5B,OAAO,EAAE,SAAS;YAClB,WAAW,EAAE,aAAa;YAC1B,QAAQ,EAAE,UAAU;YACpB,oBAAoB,EAAE,sBAAsB;YAC5C,eAAe,EAAE,iBAAiB;YAClC,WAAW,EAAE,aAAa;YAC1B,eAAe,EAAE,iBAAiB;YAClC,eAAe,EAAE,iBAAiB;YAClC,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,+BAA+B,EAAE,6IAAqE;YACtG,eAAe,EAAE,SAAS;YAC1B,WAAW,EAAE,QAAQ;YACrB,eAAe,EAAE,6GAAqD;YACtE,kBAAkB,EAAE,QAAQ;YAC5B,oBAAoB,EAAE,QAAQ;YAC9B,6BAA6B,EAAE,yIAAmE;YAClG,YAAY,EAAE,QAAQ;YACtB,OAAO,EAAE,QAAQ;YACjB,WAAW,EAAE,QAAQ;YACrB,QAAQ,EAAE,QAAQ;YAClB,oBAAoB,EAAE,QAAQ;YAC9B,eAAe,EAAE,QAAQ;YACzB,WAAW,EAAE,QAAQ;YACrB,eAAe,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YAC1D,eAAe,EAAE,SAAS;YAC1B,WAAW,EAAE,QAAQ;SACtB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,+BAA+B,IAAI,OAAQ,IAAI,CAAC,+BAAuC,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACvH,IAAI,CAAC,+BAAuC,CAAC,QAAQ,EAAE,CAAC;QAC3D,CAAC;QACD,IAAG,IAAI,CAAC,eAAe,IAAI,OAAQ,IAAI,CAAC,eAAuB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACvF,IAAI,CAAC,eAAuB,CAAC,QAAQ,EAAE,CAAC;QAC3C,CAAC;QACD,IAAG,IAAI,CAAC,6BAA6B,IAAI,OAAQ,IAAI,CAAC,6BAAqC,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACnH,IAAI,CAAC,6BAAqC,CAAC,QAAQ,EAAE,CAAC;QACzD,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,eAAe,CAAC,EAAE,CAAC;YACvC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAClD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAlMD,wFAkMC"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ModifyNetworkInterfaceAttributeRequestEnhancedNetwork extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* >This parameter is
|
|
5
|
+
* > This parameter is not publicly available.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* false
|
|
@@ -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
|
*
|
|
@@ -12,7 +12,7 @@ export declare class RunInstancesRequestDataDisk extends $dara.Model {
|
|
|
12
12
|
* @remarks
|
|
13
13
|
* Specifies whether to enable the performance burst feature for data disk N. Valid values:
|
|
14
14
|
*
|
|
15
|
-
* * true: enables the performance burst feature for the
|
|
15
|
+
* * true: enables the performance burst feature for the system disk.
|
|
16
16
|
* * false: disables the performance burst feature for the data disk.
|
|
17
17
|
*
|
|
18
18
|
* > 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).
|
|
@@ -25,7 +25,7 @@ export declare class RunInstancesRequestDataDisk extends $dara.Model {
|
|
|
25
25
|
* @remarks
|
|
26
26
|
* The category of data disk N. Valid values:
|
|
27
27
|
*
|
|
28
|
-
* * cloud_efficiency:
|
|
28
|
+
* * cloud_efficiency: utra disk.
|
|
29
29
|
*
|
|
30
30
|
* * cloud_ssd: standard SSD.
|
|
31
31
|
*
|
|
@@ -35,6 +35,8 @@ export declare class RunInstancesRequestDataDisk extends $dara.Model {
|
|
|
35
35
|
*
|
|
36
36
|
* * cloud_auto: ESSD AutoPL disk.
|
|
37
37
|
*
|
|
38
|
+
* * cloud_regional_disk_auto: Regional ESSD.
|
|
39
|
+
*
|
|
38
40
|
* * cloud_essd_entry: ESSD Entry disk.
|
|
39
41
|
*
|
|
40
42
|
* **
|
|
@@ -43,7 +45,7 @@ export declare class RunInstancesRequestDataDisk extends $dara.Model {
|
|
|
43
45
|
*
|
|
44
46
|
* * elastic_ephemeral_disk_standard: standard elastic ephemeral disk.
|
|
45
47
|
*
|
|
46
|
-
* * elastic_ephemeral_disk_premium: premium elastic ephemeral disk
|
|
48
|
+
* * elastic_ephemeral_disk_premium: premium elastic ephemeral disk
|
|
47
49
|
*
|
|
48
50
|
* For I/O optimized instances, the default value is cloud_efficiency. For non-I/O optimized instances, the default value is cloud.
|
|
49
51
|
*
|
|
@@ -79,7 +81,11 @@ export declare class RunInstancesRequestDataDisk extends $dara.Model {
|
|
|
79
81
|
* * 1st to 25th data disks: /dev/xvd`[b-z]`.
|
|
80
82
|
* * 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.
|
|
81
83
|
*
|
|
82
|
-
* >
|
|
84
|
+
* >
|
|
85
|
+
*
|
|
86
|
+
* * 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.
|
|
87
|
+
*
|
|
88
|
+
* * 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.
|
|
83
89
|
*
|
|
84
90
|
* @example
|
|
85
91
|
* /dev/xvdb
|
|
@@ -118,7 +124,7 @@ export declare class RunInstancesRequestDataDisk extends $dara.Model {
|
|
|
118
124
|
encrypted?: string;
|
|
119
125
|
/**
|
|
120
126
|
* @remarks
|
|
121
|
-
* The ID of the
|
|
127
|
+
* The ID of the KMS key used for the data disk.
|
|
122
128
|
*
|
|
123
129
|
* @example
|
|
124
130
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -128,10 +134,10 @@ export declare class RunInstancesRequestDataDisk extends $dara.Model {
|
|
|
128
134
|
* @remarks
|
|
129
135
|
* 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:
|
|
130
136
|
*
|
|
131
|
-
* * PL0: A single ESSD can deliver up to
|
|
132
|
-
* * PL1 (default): A single ESSD can deliver up to
|
|
133
|
-
* * PL2: A single ESSD can deliver up to
|
|
134
|
-
* * PL3: A single ESSD can deliver up to
|
|
137
|
+
* * PL0: A single ESSD can deliver up to 10000 random read/write IOPS.
|
|
138
|
+
* * PL1 (default): A single ESSD can deliver up to 50000 random read/write IOPS.
|
|
139
|
+
* * PL2: A single ESSD can deliver up to 100000 random read/write IOPS.
|
|
140
|
+
* * PL3: A single ESSD can deliver up to 1000000 random read/write IOPS.
|
|
135
141
|
*
|
|
136
142
|
* For information about ESSD performance levels, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
137
143
|
*
|
|
@@ -182,7 +188,7 @@ export declare class RunInstancesRequestDataDisk extends $dara.Model {
|
|
|
182
188
|
* @remarks
|
|
183
189
|
* The ID of the snapshot to use to create data disk N. Valid values of N: 1 to 16.
|
|
184
190
|
*
|
|
185
|
-
* 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.
|
|
191
|
+
* 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.
|
|
186
192
|
*
|
|
187
193
|
* @example
|
|
188
194
|
* s-bp17441ohwka0yuh****
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RunInstancesRequestDataDisk.js","sourceRoot":"","sources":["../../src/models/RunInstancesRequestDataDisk.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"RunInstancesRequestDataDisk.js","sourceRoot":"","sources":["../../src/models/RunInstancesRequestDataDisk.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;IA2M1D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,oBAAoB,EAAE,sBAAsB;YAC5C,eAAe,EAAE,iBAAiB;YAClC,QAAQ,EAAE,UAAU;YACpB,kBAAkB,EAAE,oBAAoB;YACxC,WAAW,EAAE,aAAa;YAC1B,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,UAAU;YACpB,gBAAgB,EAAE,kBAAkB;YACpC,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,UAAU;YACpB,gBAAgB,EAAE,kBAAkB;YACpC,eAAe,EAAE,iBAAiB;YAClC,IAAI,EAAE,MAAM;YACZ,UAAU,EAAE,YAAY;YACxB,gBAAgB,EAAE,kBAAkB;SACrC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,oBAAoB,EAAE,QAAQ;YAC9B,eAAe,EAAE,SAAS;YAC1B,QAAQ,EAAE,QAAQ;YAClB,kBAAkB,EAAE,SAAS;YAC7B,WAAW,EAAE,QAAQ;YACrB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,QAAQ;YAClB,gBAAgB,EAAE,QAAQ;YAC1B,SAAS,EAAE,QAAQ;YACnB,QAAQ,EAAE,QAAQ;YAClB,gBAAgB,EAAE,QAAQ;YAC1B,eAAe,EAAE,QAAQ;YACzB,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE,QAAQ;YACpB,gBAAgB,EAAE,QAAQ;SAC3B,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;AA1PD,kEA0PC"}
|
|
@@ -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
|
package/dist/models/model.d.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';
|