@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.
Files changed (140) hide show
  1. package/dist/client.d.ts +44 -36
  2. package/dist/client.js +62 -36
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CopyImageRequest.d.ts +19 -0
  5. package/dist/models/CopyImageRequest.js.map +1 -1
  6. package/dist/models/CreateAutoProvisioningGroupRequest.d.ts +9 -9
  7. package/dist/models/CreateAutoProvisioningGroupRequestLaunchConfiguration.d.ts +5 -5
  8. package/dist/models/CreateAutoProvisioningGroupRequestLaunchTemplateConfig.d.ts +1 -1
  9. package/dist/models/CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchResult.d.ts +2 -2
  10. package/dist/models/CreateAutoProvisioningGroupShrinkRequest.d.ts +9 -9
  11. package/dist/models/CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration.d.ts +5 -5
  12. package/dist/models/CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig.d.ts +1 -1
  13. package/dist/models/CreateInstanceRequest.d.ts +9 -9
  14. package/dist/models/CreateInstanceRequestPrivatePoolOptions.d.ts +1 -1
  15. package/dist/models/CreateLaunchTemplateRequest.d.ts +6 -6
  16. package/dist/models/CreateLaunchTemplateRequestDataDisk.d.ts +1 -1
  17. package/dist/models/CreateLaunchTemplateVersionRequest.d.ts +8 -8
  18. package/dist/models/CreateLaunchTemplateVersionRequestDataDisk.d.ts +2 -2
  19. package/dist/models/DescribeAccountAttributesRequest.d.ts +2 -2
  20. package/dist/models/DescribeAccountAttributesResponseBodyAccountAttributeItemsAccountAttributeItem.d.ts +2 -2
  21. package/dist/models/DescribeAutoProvisioningGroupInstancesResponseBodyInstancesInstance.d.ts +1 -1
  22. package/dist/models/DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoProvisioningGroup.d.ts +2 -2
  23. package/dist/models/DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoProvisioningGroupSpotOptions.d.ts +4 -4
  24. package/dist/models/DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoProvisioningGroupTargetCapacitySpecification.d.ts +2 -2
  25. package/dist/models/DescribeAvailableResourceRequest.d.ts +6 -6
  26. package/dist/models/DescribeBandwidthLimitationRequest.d.ts +2 -2
  27. package/dist/models/DescribeDiskDefaultKmskeyIdRequest.d.ts +1 -0
  28. package/dist/models/DescribeDiskDefaultKmskeyIdRequest.js +2 -0
  29. package/dist/models/DescribeDiskDefaultKmskeyIdRequest.js.map +1 -1
  30. package/dist/models/DescribeDiskEncryptionByDefaultStatusRequest.d.ts +1 -0
  31. package/dist/models/DescribeDiskEncryptionByDefaultStatusRequest.js +2 -0
  32. package/dist/models/DescribeDiskEncryptionByDefaultStatusRequest.js.map +1 -1
  33. package/dist/models/DescribeDisksRequest.d.ts +1 -1
  34. package/dist/models/DescribeInstanceAttributeResponseBody.d.ts +1 -1
  35. package/dist/models/DescribeInstanceAttributeResponseBodyOperationLocksLockReason.d.ts +1 -1
  36. package/dist/models/DescribeInstancesRequest.d.ts +1 -1
  37. package/dist/models/DescribeInstancesResponseBodyInstancesInstance.d.ts +8 -8
  38. package/dist/models/DescribeInstancesResponseBodyInstancesInstanceOperationLocksLockReason.d.ts +1 -1
  39. package/dist/models/DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateData.d.ts +7 -7
  40. package/dist/models/DescribePriceRequest.d.ts +7 -7
  41. package/dist/models/DescribeRecommendInstanceTypeRequest.d.ts +27 -27
  42. package/dist/models/DescribeRecommendInstanceTypeResponseBody.d.ts +1 -1
  43. package/dist/models/DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceType.d.ts +7 -7
  44. package/dist/models/DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceTypeZonesZone.d.ts +2 -2
  45. package/dist/models/DescribeRegionsRequest.d.ts +2 -2
  46. package/dist/models/DescribeSnapshotLinksRequest.d.ts +17 -0
  47. package/dist/models/DescribeSnapshotLinksRequest.js.map +1 -1
  48. package/dist/models/DescribeSnapshotLinksResponseBody.d.ts +7 -0
  49. package/dist/models/DescribeSnapshotLinksResponseBody.js.map +1 -1
  50. package/dist/models/DescribeSpotAdviceResponseBody.d.ts +2 -2
  51. package/dist/models/DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZone.d.ts +1 -1
  52. package/dist/models/DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZoneAvailableSpotResourcesAvailableSpotResource.d.ts +4 -4
  53. package/dist/models/DescribeSpotPriceHistoryRequest.d.ts +7 -7
  54. package/dist/models/DescribeSpotPriceHistoryResponseBody.d.ts +4 -4
  55. package/dist/models/DescribeSpotPriceHistoryResponseBodySpotPricesSpotPriceType.d.ts +5 -5
  56. package/dist/models/DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConnection.d.ts +1 -0
  57. package/dist/models/DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConnection.js +2 -0
  58. package/dist/models/DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConnection.js.map +1 -1
  59. package/dist/models/DescribeZonesRequest.d.ts +3 -3
  60. package/dist/models/DisableDiskEncryptionByDefaultRequest.d.ts +1 -0
  61. package/dist/models/DisableDiskEncryptionByDefaultRequest.js +2 -0
  62. package/dist/models/DisableDiskEncryptionByDefaultRequest.js.map +1 -1
  63. package/dist/models/ModifyAutoProvisioningGroupRequest.d.ts +4 -4
  64. package/dist/models/ModifyAutoProvisioningGroupRequestLaunchTemplateConfig.d.ts +1 -1
  65. package/dist/models/ModifyDiskDefaultKmskeyIdRequest.d.ts +1 -0
  66. package/dist/models/ModifyDiskDefaultKmskeyIdRequest.js +2 -0
  67. package/dist/models/ModifyDiskDefaultKmskeyIdRequest.js.map +1 -1
  68. package/dist/models/ResetDiskDefaultKmskeyIdRequest.d.ts +1 -0
  69. package/dist/models/ResetDiskDefaultKmskeyIdRequest.js +2 -0
  70. package/dist/models/ResetDiskDefaultKmskeyIdRequest.js.map +1 -1
  71. package/dist/models/RunInstancesRequest.d.ts +8 -8
  72. package/dist/models/RunInstancesRequestPrivatePoolOptions.d.ts +1 -1
  73. package/dist/models/StartTerminalSessionRequest.d.ts +1 -0
  74. package/dist/models/StartTerminalSessionRequest.js +2 -0
  75. package/dist/models/StartTerminalSessionRequest.js.map +1 -1
  76. package/dist/models/StopInstanceRequest.d.ts +14 -3
  77. package/dist/models/StopInstanceRequest.js.map +1 -1
  78. package/dist/models/StopInstancesRequest.d.ts +27 -11
  79. package/dist/models/StopInstancesRequest.js.map +1 -1
  80. package/dist/models/StopInstancesResponseBodyInstanceResponsesInstanceResponse.d.ts +1 -1
  81. package/package.json +1 -1
  82. package/src/client.ts +68 -36
  83. package/src/models/CopyImageRequest.ts +19 -0
  84. package/src/models/CreateAutoProvisioningGroupRequest.ts +9 -9
  85. package/src/models/CreateAutoProvisioningGroupRequestLaunchConfiguration.ts +5 -5
  86. package/src/models/CreateAutoProvisioningGroupRequestLaunchTemplateConfig.ts +1 -1
  87. package/src/models/CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchResult.ts +2 -2
  88. package/src/models/CreateAutoProvisioningGroupShrinkRequest.ts +9 -9
  89. package/src/models/CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration.ts +5 -5
  90. package/src/models/CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig.ts +1 -1
  91. package/src/models/CreateInstanceRequest.ts +9 -9
  92. package/src/models/CreateInstanceRequestPrivatePoolOptions.ts +1 -1
  93. package/src/models/CreateLaunchTemplateRequest.ts +6 -6
  94. package/src/models/CreateLaunchTemplateRequestDataDisk.ts +1 -1
  95. package/src/models/CreateLaunchTemplateVersionRequest.ts +8 -8
  96. package/src/models/CreateLaunchTemplateVersionRequestDataDisk.ts +2 -2
  97. package/src/models/DescribeAccountAttributesRequest.ts +2 -2
  98. package/src/models/DescribeAccountAttributesResponseBodyAccountAttributeItemsAccountAttributeItem.ts +2 -2
  99. package/src/models/DescribeAutoProvisioningGroupInstancesResponseBodyInstancesInstance.ts +1 -1
  100. package/src/models/DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoProvisioningGroup.ts +2 -2
  101. package/src/models/DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoProvisioningGroupSpotOptions.ts +4 -4
  102. package/src/models/DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoProvisioningGroupTargetCapacitySpecification.ts +2 -2
  103. package/src/models/DescribeAvailableResourceRequest.ts +6 -6
  104. package/src/models/DescribeBandwidthLimitationRequest.ts +2 -2
  105. package/src/models/DescribeDiskDefaultKmskeyIdRequest.ts +3 -0
  106. package/src/models/DescribeDiskEncryptionByDefaultStatusRequest.ts +3 -0
  107. package/src/models/DescribeDisksRequest.ts +1 -1
  108. package/src/models/DescribeInstanceAttributeResponseBody.ts +1 -1
  109. package/src/models/DescribeInstanceAttributeResponseBodyOperationLocksLockReason.ts +1 -1
  110. package/src/models/DescribeInstancesRequest.ts +1 -1
  111. package/src/models/DescribeInstancesResponseBodyInstancesInstance.ts +8 -8
  112. package/src/models/DescribeInstancesResponseBodyInstancesInstanceOperationLocksLockReason.ts +1 -1
  113. package/src/models/DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateData.ts +7 -7
  114. package/src/models/DescribePriceRequest.ts +7 -7
  115. package/src/models/DescribeRecommendInstanceTypeRequest.ts +27 -27
  116. package/src/models/DescribeRecommendInstanceTypeResponseBody.ts +1 -1
  117. package/src/models/DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceType.ts +7 -7
  118. package/src/models/DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceTypeZonesZone.ts +2 -2
  119. package/src/models/DescribeRegionsRequest.ts +2 -2
  120. package/src/models/DescribeSnapshotLinksRequest.ts +17 -0
  121. package/src/models/DescribeSnapshotLinksResponseBody.ts +7 -0
  122. package/src/models/DescribeSpotAdviceResponseBody.ts +2 -2
  123. package/src/models/DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZone.ts +1 -1
  124. package/src/models/DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZoneAvailableSpotResourcesAvailableSpotResource.ts +4 -4
  125. package/src/models/DescribeSpotPriceHistoryRequest.ts +7 -7
  126. package/src/models/DescribeSpotPriceHistoryResponseBody.ts +4 -4
  127. package/src/models/DescribeSpotPriceHistoryResponseBodySpotPricesSpotPriceType.ts +5 -5
  128. package/src/models/DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConnection.ts +3 -0
  129. package/src/models/DescribeZonesRequest.ts +3 -3
  130. package/src/models/DisableDiskEncryptionByDefaultRequest.ts +3 -0
  131. package/src/models/ModifyAutoProvisioningGroupRequest.ts +4 -4
  132. package/src/models/ModifyAutoProvisioningGroupRequestLaunchTemplateConfig.ts +1 -1
  133. package/src/models/ModifyDiskDefaultKmskeyIdRequest.ts +3 -0
  134. package/src/models/ResetDiskDefaultKmskeyIdRequest.ts +3 -0
  135. package/src/models/RunInstancesRequest.ts +8 -8
  136. package/src/models/RunInstancesRequestPrivatePoolOptions.ts +1 -1
  137. package/src/models/StartTerminalSessionRequest.ts +3 -0
  138. package/src/models/StopInstanceRequest.ts +14 -3
  139. package/src/models/StopInstancesRequest.ts +27 -11
  140. package/src/models/StopInstancesResponseBodyInstanceResponsesInstanceResponse.ts +1 -1
@@ -5,9 +5,9 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The number of vCPUs of the instance.
8
+ * The number of vCPU cores of the instance type.
9
9
  *
10
- * > If you specify both `Cores` and `Memory`, the system returns all instance types that match the values of the parameters.
10
+ * > If you specify both `Cores` and `Memory`, the system returns all instance types that match the values of the parameters.
11
11
  *
12
12
  * @example
13
13
  * 2
@@ -15,7 +15,7 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
15
15
  cores?: number;
16
16
  /**
17
17
  * @remarks
18
- * The billing method of the ECS instance. For more information, see [Billing overview](https://help.aliyun.com/document_detail/25398.html). Valid values:
18
+ * The billing method of ECS instances. For more information, see [Billing overview](https://help.aliyun.com/document_detail/25398.html). Valid values:
19
19
  *
20
20
  * * PrePaid: subscription
21
21
  * * PostPaid: pay-as-you-go
@@ -30,9 +30,9 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
30
30
  * @remarks
31
31
  * The level of the instance family. Valid values:
32
32
  *
33
- * * EntryLevel
34
- * * EnterpriseLevel
35
- * * CreditEntryLevel For more information, see [Burstable instance families](https://help.aliyun.com/document_detail/59977.html).
33
+ * * EntryLevel: entry level.
34
+ * * EnterpriseLevel: enterprise level.
35
+ * * CreditEntryLevel: credit-based entry level. For more information, see [Burstable instance families](https://help.aliyun.com/document_detail/59977.html).
36
36
  *
37
37
  * @example
38
38
  * EnterpriseLevel
@@ -40,9 +40,9 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
40
40
  instanceFamilyLevel?: string;
41
41
  /**
42
42
  * @remarks
43
- * The instance type. For more information, see [Instance families](https://help.aliyun.com/document_detail/25378.html) or call the [DescribeInstanceTypes](https://help.aliyun.com/document_detail/25620.html) operation to query the most recent instance type list.
43
+ * The instance type. For more information, see [Overview of instance families](https://help.aliyun.com/document_detail/25378.html) or call the [DescribeInstanceTypes](https://help.aliyun.com/document_detail/25620.html) operation to query the most recent instance type list.
44
44
  *
45
- * > If you specify `InstanceType`, the `Cores` and `Memory` parameters are ignored.
45
+ * > If you specify `InstanceType`, you cannot specify `Cores` or `Memory`.
46
46
  *
47
47
  * @example
48
48
  * ecs.hfg6.large
@@ -50,7 +50,7 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
50
50
  instanceType?: string;
51
51
  /**
52
52
  * @remarks
53
- * Specifies the instance families from which the alternative instance types are selected. You can specify up to 10 instance families.
53
+ * The instance families from which the alternative instance types are selected. You can specify up to 10 instance families.
54
54
  *
55
55
  * @example
56
56
  * ecs.hfg6
@@ -58,10 +58,10 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
58
58
  instanceTypeFamily?: string[];
59
59
  /**
60
60
  * @remarks
61
- * Specifies whether the instance is I/O optimized. The IoOptimized parameter cannot be specified when the instance is not I/O optimized. Valid values:
61
+ * Specifies whether instances of the instance type are I/O optimized. You cannot specify IoOptimized if the instance type supports only non-I/O optimized instances. Valid values:
62
62
  *
63
- * * optimized: The instance is I/O optimized.
64
- * * none: The instance is not I/O optimized.
63
+ * * optimized: The instances are I/O optimized.
64
+ * * none: The instances are non-I/O optimized.
65
65
  *
66
66
  * Default value: optimized.
67
67
  *
@@ -73,7 +73,7 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
73
73
  ioOptimized?: string;
74
74
  /**
75
75
  * @remarks
76
- * The maximum hourly price for pay-as-you-go instances or preemptible instances.
76
+ * The maximum hourly price for pay-as-you-go instances or spot instances.
77
77
  *
78
78
  * > This parameter takes effect only when `SpotStrategy` is set to `SpotWithPriceLimit`.
79
79
  *
@@ -83,9 +83,9 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
83
83
  maxPrice?: number;
84
84
  /**
85
85
  * @remarks
86
- * The memory size of the instance. Unit: GiB.
86
+ * The memory size of the instance type. Unit: GiB.
87
87
  *
88
- * > If you specify both `Cores` and `Memory`, the system returns all instance types that match the values of the parameters.
88
+ * > If you specify both `Cores` and `Memory`, the system returns all instance types that match the values of the parameters.
89
89
  *
90
90
  * @example
91
91
  * 8.0
@@ -93,7 +93,7 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
93
93
  memory?: number;
94
94
  /**
95
95
  * @remarks
96
- * The network type of the instance. Valid values:
96
+ * The network type of ECS instances. Valid values:
97
97
  *
98
98
  * * classic
99
99
  * * vpc
@@ -136,7 +136,7 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
136
136
  resourceOwnerId?: number;
137
137
  /**
138
138
  * @remarks
139
- * Specifies the scenarios in which instance types are recommended. Valid values:
139
+ * The scenario in which instance types are recommended. Valid values:
140
140
  *
141
141
  * * UPGRADE: instance type upgrade or downgrade
142
142
  * * CREATE: instance creation
@@ -149,11 +149,11 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
149
149
  scene?: string;
150
150
  /**
151
151
  * @remarks
152
- * The bidding policy of the preemptible instance. Valid values:
152
+ * The bidding policy of spot instances. Valid values:
153
153
  *
154
- * * NoSpot: The instance is a regular pay-as-you-go instance.
155
- * * SpotWithPriceLimit: The instance is a preemptible instance for which you can specify the maximum hourly price.
156
- * * SpotAsPriceGo: The instance is a preemptible instance for which the market price at the time of purchase is automatically used as the bid price. The market price can be up to the pay-as-you-go price.
154
+ * * NoSpot: The instances are regular pay-as-you-go instances.
155
+ * * SpotWithPriceLimit: The instances are created as spot instances for which you can specify the maximum hourly price.
156
+ * * SpotAsPriceGo: The instances are spot instances for which the market price at the time of purchase is automatically used as the bid price. The market price can be up to the pay-as-you-go price.
157
157
  *
158
158
  * > If you specify `SpotStrategy`, you must set `InstanceChargeType` to `PostPaid`.
159
159
  *
@@ -168,8 +168,8 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
168
168
  * The category of the system disk. Valid values:
169
169
  *
170
170
  * * cloud_efficiency: ultra disk
171
- * * cloud_ssd: SSD
172
- * * cloud_essd: ESSD
171
+ * * cloud_ssd: standard SSD
172
+ * * cloud_essd: Enterprise SSD (ESSD)
173
173
  * * cloud: basic disk
174
174
  *
175
175
  * For non-I/O optimized instances, the default value is cloud.
@@ -184,7 +184,7 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
184
184
  * @remarks
185
185
  * The zone ID. You can call the [DescribeZones](https://help.aliyun.com/document_detail/25610.html) operation to query the most recent zone list.
186
186
  *
187
- * We recommend that you set the value of ZoneMatchMode to Include, which is the default value. This way, the system recommends instance types that are available in the zone specified by the ZoneId parameter based on priority. The system also recommends instance types that are available in other zones within the same region.
187
+ * We recommend that you set ZoneMatchMode to Include, which is the default value. This way, the system recommends instance types that are available in the zone specified by ZoneId based on the priority policy. The system also recommends instance types that are available in other zones within the same region.
188
188
  *
189
189
  * @example
190
190
  * cn-hangzhou-f
@@ -194,10 +194,10 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
194
194
  * @remarks
195
195
  * Specifies whether to recommend only instance types in the zone specified by ZoneId. Valid values:
196
196
  *
197
- * * Strict: recommends only instance types that are available in zones specified by the ZoneId parameter.
198
- * * Include: recommends instance types that are available in zones specified by the ZoneId parameter and other zones within the same region.
197
+ * * Strict: recommends only instance types that are available in the zone specified by ZoneId.
198
+ * * Include: recommends instance types that are available in the zone specified by ZoneId and instance types that are available in other zones within the same region.
199
199
  *
200
- * If `ZoneId` is specified, the default value of this parameter is Strict. This value indicates that only alternative instance types in the zone specified by ZoneId are recommended.
200
+ * If `ZoneId` is specified, the default value of this parameter is Strict, which indicates that only instance types in the zone specified by ZoneId are recommended.
201
201
  *
202
202
  * @example
203
203
  * Strict
@@ -11,7 +11,7 @@ export class DescribeRecommendInstanceTypeResponseBody extends $dara.Model {
11
11
  data?: DescribeRecommendInstanceTypeResponseBodyData;
12
12
  /**
13
13
  * @remarks
14
- * The ID of the request.
14
+ * The request ID.
15
15
  *
16
16
  * @example
17
17
  * 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
@@ -15,7 +15,7 @@ export class DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceType
15
15
  commodityCode?: string;
16
16
  /**
17
17
  * @remarks
18
- * The billing method of the instance.
18
+ * The billing method of the instances.
19
19
  *
20
20
  * @example
21
21
  * PostPaid
@@ -23,12 +23,12 @@ export class DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceType
23
23
  instanceChargeType?: string;
24
24
  /**
25
25
  * @remarks
26
- * The name of the instance type.
26
+ * The details of the instance type.
27
27
  */
28
28
  instanceType?: DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceTypeInstanceType;
29
29
  /**
30
30
  * @remarks
31
- * The network type of the instance.
31
+ * The network type of the ECS instances.
32
32
  *
33
33
  * @example
34
34
  * vpc
@@ -44,7 +44,7 @@ export class DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceType
44
44
  priority?: number;
45
45
  /**
46
46
  * @remarks
47
- * The region ID of the instance type.
47
+ * The ID of the region in which the instance type is available.
48
48
  *
49
49
  * @example
50
50
  * cn-hangzhou
@@ -52,7 +52,7 @@ export class DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceType
52
52
  regionId?: string;
53
53
  /**
54
54
  * @remarks
55
- * The scenarios in which the instance type is recommended.
55
+ * The scenario in which the instance type is recommended.
56
56
  *
57
57
  * @example
58
58
  * CREATE
@@ -60,7 +60,7 @@ export class DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceType
60
60
  scene?: string;
61
61
  /**
62
62
  * @remarks
63
- * The bidding policy for the preemptible instance.
63
+ * The bidding policy for the spot instances.
64
64
  *
65
65
  * @example
66
66
  * NoSpot
@@ -76,7 +76,7 @@ export class DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceType
76
76
  zoneId?: string;
77
77
  /**
78
78
  * @remarks
79
- * The details of the zones where the instance types resides.
79
+ * The details of the zones in which the instance type is available.
80
80
  */
81
81
  zones?: DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceTypeZones;
82
82
  static names(): { [key: string]: string } {
@@ -6,12 +6,12 @@ import { DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceTypeZones
6
6
  export class DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceTypeZonesZone extends $dara.Model {
7
7
  /**
8
8
  * @remarks
9
- * The details of network types of instance types.
9
+ * The details of the network types of the instance type.
10
10
  */
11
11
  networkTypes?: DescribeRecommendInstanceTypeResponseBodyDataRecommendInstanceTypeZonesZoneNetworkTypes;
12
12
  /**
13
13
  * @remarks
14
- * The ID of the zone where the instance type is available.
14
+ * The ID of the zone in which the instance type is available.
15
15
  *
16
16
  * @example
17
17
  * cn-hangzhou-h
@@ -28,8 +28,8 @@ export class DescribeRegionsRequest extends $dara.Model {
28
28
  *
29
29
  * - PrePaid: subscription. If you set this parameter to PrePaid, make sure that you have sufficient balance or credits in your account. Otherwise, the InvalidPayMethod error code is returned.
30
30
  * - PostPaid: pay-as-you-go.
31
- * SpotWithPriceLimit: preemptible instance for which a maximum hourly price is specified.
32
- * - SpotAsPriceGo: preemptible instance for which the market price at the time of purchase is automatically used as the bid price. The market price can be up to the pay-as-you-go price.
31
+ * SpotWithPriceLimit: spot instance for which a maximum hourly price is specified.
32
+ * - SpotAsPriceGo: spot instance for which the market price at the time of purchase is automatically used as the bid price. The market price can be up to the pay-as-you-go price.
33
33
  *
34
34
  * Default value: PostPaid.
35
35
  *
@@ -19,7 +19,24 @@ export class DescribeSnapshotLinksRequest extends $dara.Model {
19
19
  * i-bp1h6jmbefj2cyqs****
20
20
  */
21
21
  instanceId?: string;
22
+ /**
23
+ * @remarks
24
+ * The maximum number of entries per page. Maximum value: 100. Default value:
25
+ *
26
+ * * If you do not specify this parameter or if you set a value smaller than 10, the default value is 10.
27
+ * * If you set a value greater than 100, the default value is 100.
28
+ *
29
+ * @example
30
+ * 10
31
+ */
22
32
  maxResults?: number;
33
+ /**
34
+ * @remarks
35
+ * The pagination token that is used in the next request to retrieve a new page of results. You must specify the token that is obtained from the previous query as the value of NextToken.
36
+ *
37
+ * @example
38
+ * caeba0bbb2be03f84eb48b699f0a****
39
+ */
23
40
  nextToken?: string;
24
41
  ownerAccount?: string;
25
42
  ownerId?: number;
@@ -4,6 +4,13 @@ import { DescribeSnapshotLinksResponseBodySnapshotLinks } from "./DescribeSnapsh
4
4
 
5
5
 
6
6
  export class DescribeSnapshotLinksResponseBody extends $dara.Model {
7
+ /**
8
+ * @remarks
9
+ * A pagination token. It can be used in the next request to retrieve a new page of results.
10
+ *
11
+ * @example
12
+ * caeba0bbb2be03f84eb48b699f0a****
13
+ */
7
14
  nextToken?: string;
8
15
  /**
9
16
  * @remarks
@@ -6,9 +6,9 @@ import { DescribeSpotAdviceResponseBodyAvailableSpotZones } from "./DescribeSpot
6
6
  export class DescribeSpotAdviceResponseBody extends $dara.Model {
7
7
  /**
8
8
  * @remarks
9
- * Details about preemptible instances in the zones of the specified region.
9
+ * Details about spot instances in the zones of the specified region.
10
10
  *
11
- * > The return values are sorted based on the historical percentages of average preemptible instance prices relative to pay-as-you-go instance prices for instance types.
11
+ * > The return values are sorted based on the historical percentages of average spot instance prices relative to pay-as-you-go instance prices for instance types.
12
12
  */
13
13
  availableSpotZones?: DescribeSpotAdviceResponseBodyAvailableSpotZones;
14
14
  /**
@@ -6,7 +6,7 @@ import { DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZoneAvaila
6
6
  export class DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZone extends $dara.Model {
7
7
  /**
8
8
  * @remarks
9
- * Details about preemptible instances in the previous 30 days, including the release rate of preemptible instances and percentages of average preemptible instance prices relative to pay-as-you-go instance prices.
9
+ * Details about spot instances in the previous 30 days, including the release rate of spot instances and percentages of average spot instance prices relative to pay-as-you-go instance prices.
10
10
  */
11
11
  availableSpotResources?: DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZoneAvailableSpotResources;
12
12
  /**
@@ -5,9 +5,9 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZoneAvailableSpotResourcesAvailableSpotResource extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The percentage of the average preemptible instance price relative to the pay-as-you-go instance price in the previous 30 days. Unit: %. Valid values: 1 to 100.
8
+ * The percentage of the average spot instance price relative to the pay-as-you-go instance price in the previous 30 days. Unit: %. Valid values: 1 to 100.
9
9
  *
10
- * You can calculate the average preemptible instance price based on the return value. For example, if the pay-as-you-go instance price is 1 and the return value of this parameter is 20, the average preemptible instance price in the previous 30 days is 0.2.
10
+ * You can calculate the average spot instance price based on the return value. For example, if the pay-as-you-go instance price is 1 and the return value of this parameter is 20, the average spot instance price in the previous 30 days is 0.2.
11
11
  *
12
12
  * @example
13
13
  * 20
@@ -23,7 +23,7 @@ export class DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZoneAv
23
23
  instanceType?: string;
24
24
  /**
25
25
  * @remarks
26
- * The release rate range of preemptible instances in the previous 30 days, which corresponds to the `InterruptionRate` value. Valid values:
26
+ * The release rate range of spot instances in the previous 30 days, which corresponds to the `InterruptionRate` value. Valid values:
27
27
  *
28
28
  * * 0-3%
29
29
  * * 3-5%
@@ -36,7 +36,7 @@ export class DescribeSpotAdviceResponseBodyAvailableSpotZonesAvailableSpotZoneAv
36
36
  interruptRateDesc?: string;
37
37
  /**
38
38
  * @remarks
39
- * The average release rate of preemptible instances in the previous 30 days. Unit: %.
39
+ * The average release rate of spot instances in the previous 30 days. Unit: %.
40
40
  *
41
41
  * @example
42
42
  * 0
@@ -42,7 +42,7 @@ export class DescribeSpotPriceHistoryRequest extends $dara.Model {
42
42
  ioOptimized?: string;
43
43
  /**
44
44
  * @remarks
45
- * The network type of the preemptible instance. Valid values:
45
+ * The network type of the spot instance. Valid values:
46
46
  *
47
47
  * * classic: classic network
48
48
  * * vpc: Virtual Private Cloud (VPC)
@@ -78,7 +78,7 @@ export class DescribeSpotPriceHistoryRequest extends $dara.Model {
78
78
  ownerId?: number;
79
79
  /**
80
80
  * @remarks
81
- * The zone ID of the preemptible instance.
81
+ * The zone ID of the spot instance.
82
82
  *
83
83
  * This parameter is required.
84
84
  *
@@ -90,12 +90,12 @@ export class DescribeSpotPriceHistoryRequest extends $dara.Model {
90
90
  resourceOwnerId?: number;
91
91
  /**
92
92
  * @remarks
93
- * The protection period of the preemptible instance. Unit: hours. Default value: 1. Valid values:
93
+ * The protection period of the spot instance. Unit: hours. Default value: 1. Valid values:
94
94
  *
95
- * * 1: After a preemptible instance is created, Alibaba Cloud ensures that the instance is not automatically released within 1 hour. After the 1-hour protection period ends, the system compares the bid price with the market price and checks the resource inventory to determine whether to retain or release the instance.
96
- * * 0: After a preemptible instance is created, Alibaba Cloud does not ensure that the instance runs for 1 hour. The system compares the bid price with the market price and checks the resource inventory to determine whether to retain or release the instance.
95
+ * * 1: After a spot instance is created, Alibaba Cloud ensures that the instance is not automatically released within 1 hour. After the 1-hour protection period ends, the system compares the bid price with the market price and checks the resource inventory to determine whether to retain or release the instance.
96
+ * * 0: After a spot instance is created, Alibaba Cloud does not ensure that the instance runs for 1 hour. The system compares the bid price with the market price and checks the resource inventory to determine whether to retain or release the instance.
97
97
  *
98
- * Alibaba Cloud sends an ECS system event to notify you 5 minutes before the instance is released. Preemptible instances are billed by second. We recommend that you specify a protection period based on your business requirements.
98
+ * Alibaba Cloud sends an ECS system event to notify you 5 minutes before the instance is released. Spot instances are billed by second. We recommend that you specify a protection period based on your business requirements.
99
99
  *
100
100
  * > This parameter takes effect only if you set SpotStrategy to SpotWithPriceLimit or SpotAsPriceGo.
101
101
  *
@@ -115,7 +115,7 @@ export class DescribeSpotPriceHistoryRequest extends $dara.Model {
115
115
  startTime?: string;
116
116
  /**
117
117
  * @remarks
118
- * The spot price (market price) of the preemptible instance.
118
+ * The spot price (market price) of the spot instance.
119
119
  *
120
120
  * @example
121
121
  * cn-hangzhou-g
@@ -6,7 +6,7 @@ import { DescribeSpotPriceHistoryResponseBodySpotPrices } from "./DescribeSpotPr
6
6
  export class DescribeSpotPriceHistoryResponseBody extends $dara.Model {
7
7
  /**
8
8
  * @remarks
9
- * The instance type of the preemptible instance.
9
+ * The instance type of the spot instance.
10
10
  *
11
11
  * @example
12
12
  * CNY
@@ -14,7 +14,7 @@ export class DescribeSpotPriceHistoryResponseBody extends $dara.Model {
14
14
  currency?: string;
15
15
  /**
16
16
  * @remarks
17
- * The network type of the preemptible instance.
17
+ * The network type of the spot instance.
18
18
  *
19
19
  * @example
20
20
  * 1000
@@ -22,7 +22,7 @@ export class DescribeSpotPriceHistoryResponseBody extends $dara.Model {
22
22
  nextOffset?: number;
23
23
  /**
24
24
  * @remarks
25
- * The instance type of the preemptible instance.
25
+ * The instance type of the spot instance.
26
26
  *
27
27
  * @example
28
28
  * 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
@@ -30,7 +30,7 @@ export class DescribeSpotPriceHistoryResponseBody extends $dara.Model {
30
30
  requestId?: string;
31
31
  /**
32
32
  * @remarks
33
- * The zone ID of the preemptible instance.
33
+ * The zone ID of the spot instance.
34
34
  */
35
35
  spotPrices?: DescribeSpotPriceHistoryResponseBodySpotPrices;
36
36
  static names(): { [key: string]: string } {
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeSpotPriceHistoryResponseBodySpotPricesSpotPriceType extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The instance type of the preemptible instance.
8
+ * The instance type of the spot instance.
9
9
  *
10
10
  * @example
11
11
  * ecs.g5.large
@@ -13,7 +13,7 @@ export class DescribeSpotPriceHistoryResponseBodySpotPricesSpotPriceType extends
13
13
  instanceType?: string;
14
14
  /**
15
15
  * @remarks
16
- * Details about the price history of the preemptible instance.
16
+ * Details about the price history of the spot instance.
17
17
  *
18
18
  * @example
19
19
  * optimized
@@ -21,7 +21,7 @@ export class DescribeSpotPriceHistoryResponseBodySpotPricesSpotPriceType extends
21
21
  ioOptimized?: string;
22
22
  /**
23
23
  * @remarks
24
- * Queries the price history of a preemptible instance within the last 30 days.
24
+ * Queries the price history of a spot instance within the last 30 days.
25
25
  *
26
26
  * @example
27
27
  * vpc
@@ -29,7 +29,7 @@ export class DescribeSpotPriceHistoryResponseBodySpotPricesSpotPriceType extends
29
29
  networkType?: string;
30
30
  /**
31
31
  * @remarks
32
- * The price for a pay-as-you-go instance that has the same configuration as the specified preemptible instance.
32
+ * The price for a pay-as-you-go instance that has the same configuration as the specified spot instance.
33
33
  *
34
34
  * @example
35
35
  * 0.354
@@ -37,7 +37,7 @@ export class DescribeSpotPriceHistoryResponseBodySpotPricesSpotPriceType extends
37
37
  originPrice?: number;
38
38
  /**
39
39
  * @remarks
40
- * The price for a pay-as-you-go instance that has the same configurations as the preemptible instance.
40
+ * The price for a pay-as-you-go instance that has the same configurations as the spot instance.
41
41
  *
42
42
  * @example
43
43
  * 0.036
@@ -28,6 +28,7 @@ export class DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConne
28
28
  * 2024-01-19T09:16:46Z
29
29
  */
30
30
  endTime?: string;
31
+ failedDetail?: string;
31
32
  /**
32
33
  * @remarks
33
34
  * The instance ID.
@@ -63,6 +64,7 @@ export class DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConne
63
64
  return {
64
65
  closedReason: 'ClosedReason',
65
66
  endTime: 'EndTime',
67
+ failedDetail: 'FailedDetail',
66
68
  instanceId: 'InstanceId',
67
69
  startTime: 'StartTime',
68
70
  status: 'Status',
@@ -73,6 +75,7 @@ export class DescribeTerminalSessionsResponseBodySessionsSessionConnectionsConne
73
75
  return {
74
76
  closedReason: 'string',
75
77
  endTime: 'string',
78
+ failedDetail: 'string',
76
79
  instanceId: 'string',
77
80
  startTime: 'string',
78
81
  status: 'string',
@@ -50,11 +50,11 @@ export class DescribeZonesRequest extends $dara.Model {
50
50
  resourceOwnerId?: number;
51
51
  /**
52
52
  * @remarks
53
- * The bidding policy for the pay-as-you-go instance. You can specify this parameter when you set `InstanceChargeType` to PostPaid. For more information, see [Preemptible instances](https://help.aliyun.com/document_detail/52088.html). Valid values:
53
+ * The bidding policy for the pay-as-you-go instance. You can specify this parameter when you set `InstanceChargeType` to PostPaid. For more information, see [Spot instances](https://help.aliyun.com/document_detail/52088.html). Valid values:
54
54
  *
55
55
  * * NoSpot: The instances are regular pay-as-you-go instances.
56
- * * SpotWithPriceLimit: The instance is a preemptible instance that has a user-defined maximum hourly price.
57
- * * SpotAsPriceGo: The instance is a preemptible 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.
56
+ * * SpotWithPriceLimit: The instance is a spot instance that has a user-defined maximum hourly price.
57
+ * * SpotAsPriceGo: The instance is a spot instance for which the market price is automatically used as the bid price. The market price can be up to the pay-as-you-go price.
58
58
  *
59
59
  * Default value: NoSpot.
60
60
  *
@@ -3,6 +3,7 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DisableDiskEncryptionByDefaultRequest extends $dara.Model {
6
+ ownerId?: number;
6
7
  /**
7
8
  * @remarks
8
9
  * 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.
@@ -16,6 +17,7 @@ export class DisableDiskEncryptionByDefaultRequest extends $dara.Model {
16
17
  resourceOwnerId?: number;
17
18
  static names(): { [key: string]: string } {
18
19
  return {
20
+ ownerId: 'OwnerId',
19
21
  regionId: 'RegionId',
20
22
  resourceOwnerId: 'ResourceOwnerId',
21
23
  };
@@ -23,6 +25,7 @@ export class DisableDiskEncryptionByDefaultRequest extends $dara.Model {
23
25
 
24
26
  static types(): { [key: string]: any } {
25
27
  return {
28
+ ownerId: 'number',
26
29
  regionId: 'string',
27
30
  resourceOwnerId: 'number',
28
31
  };
@@ -25,7 +25,7 @@ export class ModifyAutoProvisioningGroupRequest extends $dara.Model {
25
25
  * The type of supplemental instances. When the sum of the PayAsYouGoTargetCapacity and SpotTargetCapacity values is smaller than the TotalTargetCapacity value, the auto-provisioning group creates instances of the specified type to meet the target capacity. Valid values:
26
26
  *
27
27
  * * PayAsYouGo: pay-as-you-go instances
28
- * * Spot: preemptible instances
28
+ * * Spot: spot instances
29
29
  *
30
30
  * @example
31
31
  * Spot
@@ -49,7 +49,7 @@ export class ModifyAutoProvisioningGroupRequest extends $dara.Model {
49
49
  launchTemplateConfig?: ModifyAutoProvisioningGroupRequestLaunchTemplateConfig[];
50
50
  /**
51
51
  * @remarks
52
- * The maximum price of preemptible instances in the auto-provisioning group.
52
+ * The maximum price of spot instances in the auto-provisioning group.
53
53
  *
54
54
  * > When both the MaxSpotPrice and LaunchTemplateConfig.N.MaxPrice parameters are specified, the smaller one of the two parameter values is used. The LaunchTemplateConfig.N.MaxPrice parameter is specified when the auto-provisioning group is created, and cannot be modified.
55
55
  *
@@ -81,7 +81,7 @@ export class ModifyAutoProvisioningGroupRequest extends $dara.Model {
81
81
  resourceOwnerId?: number;
82
82
  /**
83
83
  * @remarks
84
- * The target capacity of preemptible instances in the auto-provisioning group. Valid values: Set this parameter to a value smaller than the TotalTargetCapacity value.
84
+ * The target capacity of spot instances in the auto-provisioning group. Valid values: Set this parameter to a value smaller than the TotalTargetCapacity value.
85
85
  *
86
86
  * @example
87
87
  * 30
@@ -102,7 +102,7 @@ export class ModifyAutoProvisioningGroupRequest extends $dara.Model {
102
102
  * @remarks
103
103
  * The total target capacity of the auto-provisioning group. The value must be a positive integer.
104
104
  *
105
- * The total target capacity of the auto-provisioning group must be greater than or equal to the sum of the target capacity of pay-as-you-go instances specified by the PayAsYouGoTargetCapacity parameter as well as the target capacity of preemptible instances specified by the SpotTargetCapacity parameter.
105
+ * The total target capacity of the auto-provisioning group must be greater than or equal to the sum of the target capacity of pay-as-you-go instances specified by the PayAsYouGoTargetCapacity parameter as well as the target capacity of spot instances specified by the SpotTargetCapacity parameter.
106
106
  *
107
107
  * @example
108
108
  * 70
@@ -13,7 +13,7 @@ export class ModifyAutoProvisioningGroupRequestLaunchTemplateConfig extends $dar
13
13
  instanceType?: string;
14
14
  /**
15
15
  * @remarks
16
- * The maximum price of preemptible instances in extended configuration N.
16
+ * The maximum price of spot instances in extended configuration N.
17
17
  *
18
18
  * @example
19
19
  * 3
@@ -13,6 +13,7 @@ export class ModifyDiskDefaultKMSKeyIdRequest extends $dara.Model {
13
13
  * 0e478b7a-4262-4802-b8cb-00d3fb40****
14
14
  */
15
15
  KMSKeyId?: string;
16
+ ownerId?: number;
16
17
  /**
17
18
  * @remarks
18
19
  * The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/2679950.html) operation to query the most recent region list.
@@ -27,6 +28,7 @@ export class ModifyDiskDefaultKMSKeyIdRequest extends $dara.Model {
27
28
  static names(): { [key: string]: string } {
28
29
  return {
29
30
  KMSKeyId: 'KMSKeyId',
31
+ ownerId: 'OwnerId',
30
32
  regionId: 'RegionId',
31
33
  resourceOwnerId: 'ResourceOwnerId',
32
34
  };
@@ -35,6 +37,7 @@ export class ModifyDiskDefaultKMSKeyIdRequest extends $dara.Model {
35
37
  static types(): { [key: string]: any } {
36
38
  return {
37
39
  KMSKeyId: 'string',
40
+ ownerId: 'number',
38
41
  regionId: 'string',
39
42
  resourceOwnerId: 'number',
40
43
  };
@@ -3,6 +3,7 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class ResetDiskDefaultKMSKeyIdRequest extends $dara.Model {
6
+ ownerId?: number;
6
7
  /**
7
8
  * @remarks
8
9
  * 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.
@@ -16,6 +17,7 @@ export class ResetDiskDefaultKMSKeyIdRequest extends $dara.Model {
16
17
  resourceOwnerId?: number;
17
18
  static names(): { [key: string]: string } {
18
19
  return {
20
+ ownerId: 'OwnerId',
19
21
  regionId: 'RegionId',
20
22
  resourceOwnerId: 'ResourceOwnerId',
21
23
  };
@@ -23,6 +25,7 @@ export class ResetDiskDefaultKMSKeyIdRequest extends $dara.Model {
23
25
 
24
26
  static types(): { [key: string]: any } {
25
27
  return {
28
+ ownerId: 'number',
26
29
  regionId: 'string',
27
30
  resourceOwnerId: 'number',
28
31
  };