@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
@@ -23,7 +23,7 @@ export class CreateInstanceRequestPrivatePoolOptions extends $dara.Model {
23
23
  *
24
24
  * In the following scenarios, the PrivatePoolOptions.MatchCriteria parameter can be set only to `None` or left empty:
25
25
  *
26
- * * Create a preemptible instance.
26
+ * * Create a spot instance.
27
27
  * * Create an instance in the classic network.
28
28
  * * Create an instance on a dedicated host.
29
29
  *
@@ -394,12 +394,12 @@ export class CreateLaunchTemplateRequest extends $dara.Model {
394
394
  securityGroupIds?: string[];
395
395
  /**
396
396
  * @remarks
397
- * The protection period of the preemptible instance. Unit: hours. Default value: 1. Valid values:
397
+ * The protection period of the spot instance. Unit: hours. Default value: 1. Valid values:
398
398
  *
399
- * * 1: After a preemptible instance is created, Alibaba Cloud ensures that the instance is not automatically released within 1 hour. After the 1-hour protection period ends, the system compares the bid price with the market price and checks the resource inventory to determine whether to retain or release the instance.
400
- * * 0: After a preemptible instance is created, Alibaba Cloud does not ensure that the instance runs for 1 hour. The system compares the bid price with the market price and checks the resource inventory to determine whether to retain or release the instance.
399
+ * * 1: After a spot instance is created, Alibaba Cloud ensures that the instance is not automatically released within 1 hour. After the 1-hour protection period ends, the system compares the bid price with the market price and checks the resource inventory to determine whether to retain or release the instance.
400
+ * * 0: After a spot instance is created, Alibaba Cloud does not ensure that the instance runs for 1 hour. The system compares the bid price with the market price and checks the resource inventory to determine whether to retain or release the instance.
401
401
  *
402
- * 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.
402
+ * 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.
403
403
  *
404
404
  * > This parameter takes effect only if SpotStrategy is set to SpotWithPriceLimit or SpotAsPriceGo.
405
405
  *
@@ -420,8 +420,8 @@ export class CreateLaunchTemplateRequest extends $dara.Model {
420
420
  * 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:
421
421
  *
422
422
  * * NoSpot: The instance is a regular pay-as-you-go instance.
423
- * * SpotWithPriceLimit: The instance is created as a preemptible instance with a user-defined maximum hourly price.
424
- * * SpotAsPriceGo: The instance is created as a preemptible instance for which the market price at the time of purchase is automatically used as the bidding price.
423
+ * * SpotWithPriceLimit: The instance is created as a spot instance with a user-defined maximum hourly price.
424
+ * * SpotAsPriceGo: The instance is created as a spot instance for which the market price at the time of purchase is automatically used as the bidding price.
425
425
  *
426
426
  * @example
427
427
  * NoSpot
@@ -75,7 +75,7 @@ export class CreateLaunchTemplateRequestDataDisk extends $dara.Model {
75
75
  device?: string;
76
76
  /**
77
77
  * @remarks
78
- * The name of data disk N. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with `http://` or `https://`. can contain letters, digits, colons (:), underscores (_), and hyphens (-).
78
+ * The name of data disk N. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with `http://` or `https://`. The name can contain letters, digits, colons (:), underscores (_), and hyphens (-).
79
79
  *
80
80
  * @example
81
81
  * testDataDiskName
@@ -58,7 +58,7 @@ export class CreateLaunchTemplateVersionRequest extends $dara.Model {
58
58
  creditSpecification?: string;
59
59
  /**
60
60
  * @remarks
61
- * The data disks.
61
+ * The information about the data disks.
62
62
  */
63
63
  dataDisk?: CreateLaunchTemplateVersionRequestDataDisk[];
64
64
  /**
@@ -397,12 +397,12 @@ export class CreateLaunchTemplateVersionRequest extends $dara.Model {
397
397
  securityGroupIds?: string[];
398
398
  /**
399
399
  * @remarks
400
- * The protection period of the preemptible instance. Unit: hours. Default value: 1. Valid values:
400
+ * The protection period of the spot instance. Unit: hours. Default value: 1. Valid values:
401
401
  *
402
- * * 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.
403
- * * 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.
402
+ * * 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.
403
+ * * 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.
404
404
  *
405
- * 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.
405
+ * 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.
406
406
  *
407
407
  * > This parameter takes effect only if SpotStrategy is set to SpotWithPriceLimit or SpotAsPriceGo.
408
408
  *
@@ -412,7 +412,7 @@ export class CreateLaunchTemplateVersionRequest extends $dara.Model {
412
412
  spotDuration?: number;
413
413
  /**
414
414
  * @remarks
415
- * The maximum hourly price of the preemptible instance. A maximum of three decimal places are allowed.
415
+ * The maximum hourly price of the spot instance. A maximum of three decimal places are allowed.
416
416
  *
417
417
  * @example
418
418
  * 0.97
@@ -423,8 +423,8 @@ export class CreateLaunchTemplateVersionRequest extends $dara.Model {
423
423
  * The preemption policy for the pay-as-you-go instance. This parameter is valid only when the `InstanceChargeType` parameter is set to `PostPaid`. Default value: NoSpot. Valid values:
424
424
  *
425
425
  * * NoSpot: The instance is created as a pay-as-you-go instance.
426
- * * SpotWithPriceLimit: The instances of the compute node are preemptible instances. These types of instances have a specified maximum hourly price.
427
- * * SpotAsPriceGo: The instance is created as a preemptible instance for which the market price at the time of purchase is automatically used as the bid price.
426
+ * * SpotWithPriceLimit: The instances of the compute node are spot instances. These types of instances have a specified maximum hourly price.
427
+ * * 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.
428
428
  *
429
429
  * @example
430
430
  * NoSpot
@@ -29,7 +29,7 @@ export class CreateLaunchTemplateVersionRequestDataDisk extends $dara.Model {
29
29
  * * cloud: basic disk
30
30
  * * cloud_efficiency: utra disk
31
31
  * * cloud_ssd: standard SSD
32
- * * cloud_auto: Enterprise SSD (ESSD) AutoPL disk.
32
+ * * cloud_auto: ESSD AutoPL disk
33
33
  * * cloud_essd: ESSD
34
34
  * * cloud_essd_entry: ESSD Entry disk
35
35
  *
@@ -75,7 +75,7 @@ export class CreateLaunchTemplateVersionRequestDataDisk extends $dara.Model {
75
75
  device?: string;
76
76
  /**
77
77
  * @remarks
78
- * The name of data disk N. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with `http://` or `https://`. can contain letters, digits, colons (:), underscores (_), and hyphens (-).
78
+ * The name of data disk N. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with `http://` or `https://`. The name can contain letters, digits, colons (:), underscores (_), and hyphens (-).
79
79
  *
80
80
  * @example
81
81
  * testDataDiskName
@@ -15,11 +15,11 @@ export class DescribeAccountAttributesRequest extends $dara.Model {
15
15
  *
16
16
  * * max-postpaid-instance-vcpu-count: the maximum number of vCPUs for pay-as-you-go instances.
17
17
  *
18
- * * max-spot-instance-vcpu-count: the maximum number of vCPUs for preemptible instances.
18
+ * * max-spot-instance-vcpu-count: the maximum number of vCPUs for spot instances.
19
19
  *
20
20
  * * used-postpaid-instance-vcpu-count: the number of vCPUs that have been allocated to pay-as-you-go instances.
21
21
  *
22
- * * used-spot-instance-vcpu-count: the number of vCPUs that have been allocated to preemptible instances.
22
+ * * used-spot-instance-vcpu-count: the number of vCPUs that have been allocated to spot instances.
23
23
  *
24
24
  * * max-postpaid-yundisk-capacity: the maximum capacity of pay-as-you-go data disks. (The value is deprecated.)
25
25
  *
@@ -12,9 +12,9 @@ export class DescribeAccountAttributesResponseBodyAccountAttributeItemsAccountAt
12
12
  * * max-security-groups: the maximum number of security groups.
13
13
  * * max-elastic-network-interfaces: the maximum number of ENIs.
14
14
  * * max-postpaid-instance-vcpu-count: the maximum number of vCPUs for pay-as-you-go instances.
15
- * * max-spot-instance-vcpu-count: the maximum number of vCPUs for preemptible instances.
15
+ * * max-spot-instance-vcpu-count: the maximum number of vCPUs for spot instances.
16
16
  * * used-postpaid-instance-vcpu-count: the number of vCPUs that were allocated to pay-as-you-go instances.
17
- * * used-spot-instance-vcpu-count: the number of vCPUs that were allocated to preemptible instances.
17
+ * * used-spot-instance-vcpu-count: the number of vCPUs that were allocated to spot instances.
18
18
  * * max-postpaid-yundisk-capacity: the maximum capacity of pay-as-you-go data disks. (The value is deprecated.)
19
19
  * * used-postpaid-yundisk-capacity: the capacity of pay-as-you-go data disks that were created. (The value is deprecated.)
20
20
  * * max-dedicated-hosts: the maximum number of dedicated hosts.
@@ -45,7 +45,7 @@ export class DescribeAutoProvisioningGroupInstancesResponseBodyInstancesInstance
45
45
  ioOptimized?: boolean;
46
46
  /**
47
47
  * @remarks
48
- * Indicates whether the instance is a preemptible instance.
48
+ * Indicates whether the instance is a spot instance.
49
49
  *
50
50
  * @example
51
51
  * true
@@ -77,7 +77,7 @@ export class DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAut
77
77
  launchTemplateVersion?: string;
78
78
  /**
79
79
  * @remarks
80
- * The maximum price of preemptible instances in the auto provisioning group.
80
+ * The maximum price of spot instances in the auto provisioning group.
81
81
  *
82
82
  * > When both the MaxSpotPrice and LaunchTemplateConfig.N.MaxPrice parameters are specified, the smaller one of the two parameter values is used.
83
83
  *
@@ -110,7 +110,7 @@ export class DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAut
110
110
  resourceGroupId?: string;
111
111
  /**
112
112
  * @remarks
113
- * The policy related to preemptible instances.
113
+ * The policy related to spot instances.
114
114
  */
115
115
  spotOptions?: DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoProvisioningGroupSpotOptions;
116
116
  /**
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAutoProvisioningGroupSpotOptions extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The policy for creating preemptible instances. Valid values:
8
+ * The policy for creating spot instances. Valid values:
9
9
  *
10
10
  * * lowest-price: cost optimization policy. This policy indicates that the lowest-priced instance type is used to create instances.
11
11
  * * diversified: balanced distribution policy. This policy indicates that instances are created evenly across multiple zones specified in the extended configuration.
@@ -16,10 +16,10 @@ export class DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAut
16
16
  allocationStrategy?: string;
17
17
  /**
18
18
  * @remarks
19
- * The action to be performed after the excess preemptible instances are stopped. Valid values:
19
+ * The action to be performed after the excess spot instances are stopped. Valid values:
20
20
  *
21
- * * stop: retains the excess preemptible instances in the stopped state.
22
- * * terminate: releases the excess preemptible instances.
21
+ * * stop: retains the excess spot instances in the stopped state.
22
+ * * terminate: releases the excess spot instances.
23
23
  *
24
24
  * @example
25
25
  * stop
@@ -8,7 +8,7 @@ export class DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAut
8
8
  * The type of supplemental instances. When the sum of the `PayAsYouGoTargetCapacity` and `SpotTargetCapacity` values is less than the `TotalTargetCapacity` value, the auto provisioning group creates instances of the specified billing method to meet the target capacity. Valid values:
9
9
  *
10
10
  * * PayAsYouGo: pay-as-you-go instances.
11
- * * Spot: preemptible instances.
11
+ * * Spot: spot instances.
12
12
  *
13
13
  * @example
14
14
  * Spot
@@ -24,7 +24,7 @@ export class DescribeAutoProvisioningGroupsResponseBodyAutoProvisioningGroupsAut
24
24
  payAsYouGoTargetCapacity?: number;
25
25
  /**
26
26
  * @remarks
27
- * The target capacity of preemptible instances that the auto provisioning group provisions.
27
+ * The target capacity of spot instances that the auto provisioning group provisions.
28
28
  *
29
29
  * @example
30
30
  * 20
@@ -153,12 +153,12 @@ export class DescribeAvailableResourceRequest extends $dara.Model {
153
153
  scope?: string;
154
154
  /**
155
155
  * @remarks
156
- * The protection period of the preemptible instance. Unit: hours. Default value: 1. Valid values:
156
+ * The protection period of the spot instance. Unit: hours. Default value: 1. Valid values:
157
157
  *
158
- * * 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.
159
- * * 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.
158
+ * * 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.
159
+ * * 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.
160
160
  *
161
- * 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.
161
+ * 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.
162
162
  *
163
163
  * > This parameter takes effect only if SpotStrategy is set to SpotWithPriceLimit or SpotAsPriceGo.
164
164
  *
@@ -171,8 +171,8 @@ export class DescribeAvailableResourceRequest extends $dara.Model {
171
171
  * The bidding policy for pay-as-you-go instances. Valid values:
172
172
  *
173
173
  * * NoSpot: The instance is a pay-as-you-go instance.
174
- * * SpotWithPriceLimit: The instance is a preemptible instance with a user-defined maximum hourly price.
175
- * * 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.
174
+ * * SpotWithPriceLimit: The instance is a spot instance with a user-defined maximum hourly price.
175
+ * * 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.
176
176
  *
177
177
  * Default value: NoSpot.
178
178
  *
@@ -69,8 +69,8 @@ export class DescribeBandwidthLimitationRequest extends $dara.Model {
69
69
  * The bidding policy for the pay-as-you-go instance. Valid values:
70
70
  *
71
71
  * * NoSpot: The instance is a pay-as-you-go instance.
72
- * * SpotWithPriceLimit: The instance is a preemptible instance for which you can specify the maximum hourly price.
73
- * * 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.
72
+ * * SpotWithPriceLimit: The instance is a spot instance for which you can specify the maximum hourly price.
73
+ * * SpotAsPriceGo: The instance is a 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.
74
74
  *
75
75
  * Default value: NoSpot.
76
76
  *
@@ -3,6 +3,7 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DescribeDiskDefaultKMSKeyIdRequest extends $dara.Model {
6
+ ownerId?: number;
6
7
  /**
7
8
  * @remarks
8
9
  * The ID of the region. You can call the DescribeRegions operation to query the most recent region list.
@@ -16,6 +17,7 @@ export class DescribeDiskDefaultKMSKeyIdRequest 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 DescribeDiskDefaultKMSKeyIdRequest 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
  };
@@ -3,6 +3,7 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DescribeDiskEncryptionByDefaultStatusRequest extends $dara.Model {
6
+ ownerId?: number;
6
7
  /**
7
8
  * @remarks
8
9
  * The region ID. 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 DescribeDiskEncryptionByDefaultStatusRequest 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 DescribeDiskEncryptionByDefaultStatusRequest 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
  };
@@ -217,7 +217,7 @@ export class DescribeDisksRequest extends $dara.Model {
217
217
  *
218
218
  * * financial: The disk is locked due to overdue payments.
219
219
  * * security: The disk is locked due to security reasons.
220
- * * recycling: The preemptible instance is locked and pending release.
220
+ * * recycling: The spot instance is locked and pending release.
221
221
  * * dedicatedhostfinancial: The instance is locked due to overdue payments for the dedicated host.
222
222
  *
223
223
  * @example
@@ -210,7 +210,7 @@ export class DescribeInstanceAttributeResponseBody extends $dara.Model {
210
210
  *
211
211
  * * financial: The dedicated host was locked due to overdue payments.
212
212
  * * security: The instance was locked due to security reasons.
213
- * * recycling: The preemptible instance was locked and pending release.
213
+ * * recycling: The spot instance was locked and pending release.
214
214
  * * dedicatedhostfinancial: The instance was locked due to overdue payments for the dedicated host.
215
215
  * * refunded: The instance was locked because a refund was made for the instance.
216
216
  */
@@ -9,7 +9,7 @@ export class DescribeInstanceAttributeResponseBodyOperationLocksLockReason exten
9
9
  *
10
10
  * * financial: The instance was locked due to overdue payments.
11
11
  * * security: The instance was locked due to security reasons.
12
- * * recycling: The preemptible instance was locked and pending release.
12
+ * * recycling: The spot instance was locked and pending release.
13
13
  * * dedicatedhostfinancial: The instance was locked due to overdue payments for the dedicated host.
14
14
  * * refunded: The instance was locked because a refund is made for the instance.
15
15
  *
@@ -205,7 +205,7 @@ export class DescribeInstancesRequest extends $dara.Model {
205
205
  *
206
206
  * * financial: The instance is locked due to overdue payments.
207
207
  * * security: The instance is locked due to security reasons.
208
- * * recycling: The preemptible instance is locked and pending release.
208
+ * * recycling: The spot instance is locked and pending release.
209
209
  * * dedicatedhostfinancial: The instance is locked due to overdue payments for the dedicated host.
210
210
  * * refunded: The instance is locked because a refund is made for the instance.
211
211
  *
@@ -451,12 +451,12 @@ export class DescribeInstancesResponseBodyInstancesInstance extends $dara.Model
451
451
  serialNumber?: string;
452
452
  /**
453
453
  * @remarks
454
- * The protection period of the preemptible instance. Unit: hours. Valid values:
454
+ * The protection period of the spot instance. Unit: hours. Valid values:
455
455
  *
456
- * * 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.
457
- * * 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.
456
+ * * 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.
457
+ * * 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.
458
458
  *
459
- * 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.
459
+ * 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.
460
460
  *
461
461
  * > This parameter is returned when SpotStrategy is set to SpotWithPriceLimit or SpotAsPriceGo.
462
462
  *
@@ -466,9 +466,9 @@ export class DescribeInstancesResponseBodyInstancesInstance extends $dara.Model
466
466
  spotDuration?: number;
467
467
  /**
468
468
  * @remarks
469
- * The interruption mode of the preemptible instance when the system initiates a preemptible instance interruption operation. Valid values:
469
+ * The interruption mode of the spot instance when the system initiates a spot instance interruption operation. Valid values:
470
470
  *
471
- * * Terminate: releases the preemptible instance.
471
+ * * Terminate: releases the spot instance.
472
472
  * * Stop: stops the instance in economical mode.
473
473
  *
474
474
  * @example
@@ -488,8 +488,8 @@ export class DescribeInstancesResponseBodyInstancesInstance extends $dara.Model
488
488
  * The bidding policy for the pay-as-you-go instance. Valid values:
489
489
  *
490
490
  * * NoSpot: The instance is a regular pay-as-you-go instance.
491
- * * SpotWithPriceLimit: The instance is a preemptible instance with a user-defined maximum hourly price.
492
- * * 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.
491
+ * * SpotWithPriceLimit: The instance is a spot instance with a user-defined maximum hourly price.
492
+ * * 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.
493
493
  *
494
494
  * @example
495
495
  * NoSpot
@@ -17,7 +17,7 @@ export class DescribeInstancesResponseBodyInstancesInstanceOperationLocksLockRea
17
17
  *
18
18
  * * financial: The instance was locked due to overdue payments.
19
19
  * * security: The instance was locked due to security reasons.
20
- * * recycling: The preemptible instance was locked and pending release.
20
+ * * recycling: The spot instance was locked and pending release.
21
21
  * * dedicatedhostfinancial: The instance was locked due to overdue payments for the dedicated host.
22
22
  * * refunded: The instance was locked because a refund was made for the instance.
23
23
  *
@@ -332,12 +332,12 @@ export class DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSets
332
332
  securityGroupIds?: DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataSecurityGroupIds;
333
333
  /**
334
334
  * @remarks
335
- * The protection period of the preemptible instance. Unit: hours. Valid values:
335
+ * The protection period of the spot instance. Unit: hours. Valid values:
336
336
  *
337
- * * 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.
338
- * * 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.
337
+ * * 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.
338
+ * * 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.
339
339
  *
340
- * 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.
340
+ * 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.
341
341
  *
342
342
  * > This parameter is returned when SpotStrategy is set to SpotWithPriceLimit or SpotAsPriceGo.
343
343
  *
@@ -347,7 +347,7 @@ export class DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSets
347
347
  spotDuration?: number;
348
348
  /**
349
349
  * @remarks
350
- * The maximum hourly price of the preemptible instance.
350
+ * The maximum hourly price of the spot instance.
351
351
  *
352
352
  * @example
353
353
  * 0.98
@@ -358,8 +358,8 @@ export class DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSets
358
358
  * The bidding policy for the pay-as-you-go instance. Valid values:
359
359
  *
360
360
  * * NoSpot: The instance is a regular pay-as-you-go instance.
361
- * * SpotWithPriceLimit: The instance is a preemptible instance with a user-defined maximum hourly price.
362
- * * 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.
361
+ * * SpotWithPriceLimit: The instance is a spot instance with a user-defined maximum hourly price.
362
+ * * SpotAsPriceGo: The instance is a 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.
363
363
  *
364
364
  * @example
365
365
  * NoSpot
@@ -259,12 +259,12 @@ export class DescribePriceRequest extends $dara.Model {
259
259
  scope?: string;
260
260
  /**
261
261
  * @remarks
262
- * The protection period of the preemptible instance. Unit: hours. Default value: 1. Valid values:
262
+ * The protection period of the spot instance. Unit: hours. Default value: 1. Valid values:
263
263
  *
264
- * * 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.
265
- * * 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.
264
+ * * 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.
265
+ * * 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.
266
266
  *
267
- * 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.
267
+ * 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.
268
268
  *
269
269
  * > This parameter takes effect only when SpotStrategy is set to SpotWithPriceLimit or SpotAsPriceGo.
270
270
  *
@@ -277,8 +277,8 @@ export class DescribePriceRequest extends $dara.Model {
277
277
  * The bidding policy for the pay-as-you-go instance. Valid values:
278
278
  *
279
279
  * * NoSpot: The instance is a regular pay-as-you-go instance.
280
- * * SpotWithPriceLimit: The instance is created as a preemptible instance that has a user-defined maximum hourly price.
281
- * * SpotAsPriceGo: The instance is created as a preemptible instance whose bid price is based on the market price at the time of purchase. The market price can be up to the pay-as-you-go price.
280
+ * * SpotWithPriceLimit: The instance is created as a spot instance that has a user-defined maximum hourly price.
281
+ * * SpotAsPriceGo: The instance is created as a spot instance whose bid price is based on the market price at the time of purchase. The market price can be up to the pay-as-you-go price.
282
282
  *
283
283
  * Default value: NoSpot.
284
284
  *
@@ -300,7 +300,7 @@ export class DescribePriceRequest extends $dara.Model {
300
300
  * @remarks
301
301
  * The zone ID.
302
302
  *
303
- * > Prices of preemptible instances vary based on zones. When you query the price of a preemptible instance, specify ZoneId.
303
+ * > Prices of spot instances vary based on zones. When you query the price of a spot instance, specify ZoneId.
304
304
  *
305
305
  * @example
306
306
  * cn-hagzhou-i