@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
package/src/client.ts
CHANGED
|
@@ -2923,9 +2923,9 @@ export default class Client extends OpenApi {
|
|
|
2923
2923
|
*
|
|
2924
2924
|
* @remarks
|
|
2925
2925
|
* ## [](#)Usage notes
|
|
2926
|
-
* * Auto Provisioning is a service that allows quick deployment of an instance cluster that consists of
|
|
2927
|
-
* * Auto Provisioning uses auto provisioning groups to schedule and maintain computing resources. You can use auto provisioning groups to obtain a steady supply of computing resources. This helps reduce the impact on compute capacity when
|
|
2928
|
-
* * Auto Provisioning is provided free of charge. However, you are charged for instance resources that are created in auto provisioning groups. For more information, see [Overview of
|
|
2926
|
+
* * Auto Provisioning is a service that allows quick deployment of an instance cluster that consists of spot instances and pay-as-you-go instances. Auto Provisioning supports push-button deployment of instance clusters across different billing methods, instance families, and zones. For more information, see [Use auto provisioning group-related API operations to create multiple ECS instances at the same time](https://help.aliyun.com/document_detail/200772.html).
|
|
2927
|
+
* * Auto Provisioning uses auto provisioning groups to schedule and maintain computing resources. You can use auto provisioning groups to obtain a steady supply of computing resources. This helps reduce the impact on compute capacity when spot instances are reclaimed.
|
|
2928
|
+
* * Auto Provisioning is provided free of charge. However, you are charged for instance resources that are created in auto provisioning groups. For more information, see [Overview of spot instances](https://help.aliyun.com/document_detail/52088.html) and [Pay-as-you-go](https://help.aliyun.com/document_detail/40653.html).
|
|
2929
2929
|
* * When you specify both a launch template (`LaunchTemplateId`) and extended configurations (`LaunchConfiguration.*` parameters), LaunchTemplateId takes precedence.
|
|
2930
2930
|
*
|
|
2931
2931
|
* @param tmpReq - CreateAutoProvisioningGroupRequest
|
|
@@ -3103,9 +3103,9 @@ export default class Client extends OpenApi {
|
|
|
3103
3103
|
*
|
|
3104
3104
|
* @remarks
|
|
3105
3105
|
* ## [](#)Usage notes
|
|
3106
|
-
* * Auto Provisioning is a service that allows quick deployment of an instance cluster that consists of
|
|
3107
|
-
* * Auto Provisioning uses auto provisioning groups to schedule and maintain computing resources. You can use auto provisioning groups to obtain a steady supply of computing resources. This helps reduce the impact on compute capacity when
|
|
3108
|
-
* * Auto Provisioning is provided free of charge. However, you are charged for instance resources that are created in auto provisioning groups. For more information, see [Overview of
|
|
3106
|
+
* * Auto Provisioning is a service that allows quick deployment of an instance cluster that consists of spot instances and pay-as-you-go instances. Auto Provisioning supports push-button deployment of instance clusters across different billing methods, instance families, and zones. For more information, see [Use auto provisioning group-related API operations to create multiple ECS instances at the same time](https://help.aliyun.com/document_detail/200772.html).
|
|
3107
|
+
* * Auto Provisioning uses auto provisioning groups to schedule and maintain computing resources. You can use auto provisioning groups to obtain a steady supply of computing resources. This helps reduce the impact on compute capacity when spot instances are reclaimed.
|
|
3108
|
+
* * Auto Provisioning is provided free of charge. However, you are charged for instance resources that are created in auto provisioning groups. For more information, see [Overview of spot instances](https://help.aliyun.com/document_detail/52088.html) and [Pay-as-you-go](https://help.aliyun.com/document_detail/40653.html).
|
|
3109
3109
|
* * When you specify both a launch template (`LaunchTemplateId`) and extended configurations (`LaunchConfiguration.*` parameters), LaunchTemplateId takes precedence.
|
|
3110
3110
|
*
|
|
3111
3111
|
* @param request - CreateAutoProvisioningGroupRequest
|
|
@@ -6266,7 +6266,8 @@ export default class Client extends OpenApi {
|
|
|
6266
6266
|
* Creates a prefix list.
|
|
6267
6267
|
*
|
|
6268
6268
|
* @remarks
|
|
6269
|
-
*
|
|
6269
|
+
* ## [](#)Usage notes
|
|
6270
|
+
* * A prefix list is a collection of network prefixes (CIDR blocks) and can be referenced to configure network rules for other resources. For more information, see [Overview](https://help.aliyun.com/document_detail/206223.html).
|
|
6270
6271
|
* * When you create a prefix list, take note of the following items:
|
|
6271
6272
|
* * You must specify an IP address family (IPv4 or IPv6) for the prefix list, and cannot change the IP address family after the prefix list is created. You cannot combine IPv4 and IPv6 CIDR blocks in a single prefix list.
|
|
6272
6273
|
* * You must specify the maximum number of entries that the prefix list can contain. You cannot modify the maximum number of entries after the prefix list is created.
|
|
@@ -6358,7 +6359,8 @@ export default class Client extends OpenApi {
|
|
|
6358
6359
|
* Creates a prefix list.
|
|
6359
6360
|
*
|
|
6360
6361
|
* @remarks
|
|
6361
|
-
*
|
|
6362
|
+
* ## [](#)Usage notes
|
|
6363
|
+
* * A prefix list is a collection of network prefixes (CIDR blocks) and can be referenced to configure network rules for other resources. For more information, see [Overview](https://help.aliyun.com/document_detail/206223.html).
|
|
6362
6364
|
* * When you create a prefix list, take note of the following items:
|
|
6363
6365
|
* * You must specify an IP address family (IPv4 or IPv6) for the prefix list, and cannot change the IP address family after the prefix list is created. You cannot combine IPv4 and IPv6 CIDR blocks in a single prefix list.
|
|
6364
6366
|
* * You must specify the maximum number of entries that the prefix list can contain. You cannot modify the maximum number of entries after the prefix list is created.
|
|
@@ -10267,7 +10269,7 @@ export default class Client extends OpenApi {
|
|
|
10267
10269
|
}
|
|
10268
10270
|
|
|
10269
10271
|
/**
|
|
10270
|
-
* Queries the quotas of Elastic Compute Service (ECS) resources that you can create in an Alibaba Cloud region. For a specific region, you can query the maximum numbers of security groups, elastic network interfaces (ENIs), vCPUs for pay-as-you-go instances, vCPUs for
|
|
10272
|
+
* Queries the quotas of Elastic Compute Service (ECS) resources that you can create in an Alibaba Cloud region. For a specific region, you can query the maximum numbers of security groups, elastic network interfaces (ENIs), vCPUs for pay-as-you-go instances, vCPUs for spot instances, and dedicated hosts that you can create and the capacity quotas for pay-as-you-go disks that you can create. You can also query information such as network types or whether an account has completed real-name verification.
|
|
10271
10273
|
*
|
|
10272
10274
|
* @remarks
|
|
10273
10275
|
* After you [create](https://account.alibabacloud.com/register/intl_register.htm) an Alibaba Cloud account, you can create a specific number of ECS instances in different regions within the account. For more information, see [Limits](https://help.aliyun.com/document_detail/25412.html).
|
|
@@ -10322,7 +10324,7 @@ export default class Client extends OpenApi {
|
|
|
10322
10324
|
}
|
|
10323
10325
|
|
|
10324
10326
|
/**
|
|
10325
|
-
* Queries the quotas of Elastic Compute Service (ECS) resources that you can create in an Alibaba Cloud region. For a specific region, you can query the maximum numbers of security groups, elastic network interfaces (ENIs), vCPUs for pay-as-you-go instances, vCPUs for
|
|
10327
|
+
* Queries the quotas of Elastic Compute Service (ECS) resources that you can create in an Alibaba Cloud region. For a specific region, you can query the maximum numbers of security groups, elastic network interfaces (ENIs), vCPUs for pay-as-you-go instances, vCPUs for spot instances, and dedicated hosts that you can create and the capacity quotas for pay-as-you-go disks that you can create. You can also query information such as network types or whether an account has completed real-name verification.
|
|
10326
10328
|
*
|
|
10327
10329
|
* @remarks
|
|
10328
10330
|
* After you [create](https://account.alibabacloud.com/register/intl_register.htm) an Alibaba Cloud account, you can create a specific number of ECS instances in different regions within the account. For more information, see [Limits](https://help.aliyun.com/document_detail/25412.html).
|
|
@@ -11501,6 +11503,8 @@ export default class Client extends OpenApi {
|
|
|
11501
11503
|
}
|
|
11502
11504
|
|
|
11503
11505
|
/**
|
|
11506
|
+
* 查询集群
|
|
11507
|
+
*
|
|
11504
11508
|
* @deprecated OpenAPI DescribeClusters is deprecated
|
|
11505
11509
|
*
|
|
11506
11510
|
* @param request - DescribeClustersRequest
|
|
@@ -11549,6 +11553,8 @@ export default class Client extends OpenApi {
|
|
|
11549
11553
|
}
|
|
11550
11554
|
|
|
11551
11555
|
/**
|
|
11556
|
+
* 查询集群
|
|
11557
|
+
*
|
|
11552
11558
|
* @deprecated OpenAPI DescribeClusters is deprecated
|
|
11553
11559
|
*
|
|
11554
11560
|
* @param request - DescribeClustersRequest
|
|
@@ -16457,6 +16463,8 @@ export default class Client extends OpenApi {
|
|
|
16457
16463
|
}
|
|
16458
16464
|
|
|
16459
16465
|
/**
|
|
16466
|
+
* 查询账号限制
|
|
16467
|
+
*
|
|
16460
16468
|
* @deprecated OpenAPI DescribeLimitation is deprecated
|
|
16461
16469
|
*
|
|
16462
16470
|
* @param request - DescribeLimitationRequest
|
|
@@ -16505,6 +16513,8 @@ export default class Client extends OpenApi {
|
|
|
16505
16513
|
}
|
|
16506
16514
|
|
|
16507
16515
|
/**
|
|
16516
|
+
* 查询账号限制
|
|
16517
|
+
*
|
|
16508
16518
|
* @deprecated OpenAPI DescribeLimitation is deprecated
|
|
16509
16519
|
*
|
|
16510
16520
|
* @param request - DescribeLimitationRequest
|
|
@@ -19331,7 +19341,7 @@ export default class Client extends OpenApi {
|
|
|
19331
19341
|
}
|
|
19332
19342
|
|
|
19333
19343
|
/**
|
|
19334
|
-
* Queries the snapshot chains of disks. A snapshot chain is a chain of all the snapshots created for a disk. A disk corresponds to a chain of snapshots.
|
|
19344
|
+
* Queries the snapshot chains of cloud disks. A snapshot chain is a chain of all the snapshots created for a disk. A disk corresponds to a chain of snapshots.
|
|
19335
19345
|
*
|
|
19336
19346
|
* @remarks
|
|
19337
19347
|
* ## [](#)Usage notes
|
|
@@ -19412,7 +19422,7 @@ export default class Client extends OpenApi {
|
|
|
19412
19422
|
}
|
|
19413
19423
|
|
|
19414
19424
|
/**
|
|
19415
|
-
* Queries the snapshot chains of disks. A snapshot chain is a chain of all the snapshots created for a disk. A disk corresponds to a chain of snapshots.
|
|
19425
|
+
* Queries the snapshot chains of cloud disks. A snapshot chain is a chain of all the snapshots created for a disk. A disk corresponds to a chain of snapshots.
|
|
19416
19426
|
*
|
|
19417
19427
|
* @remarks
|
|
19418
19428
|
* ## [](#)Usage notes
|
|
@@ -19811,15 +19821,15 @@ export default class Client extends OpenApi {
|
|
|
19811
19821
|
}
|
|
19812
19822
|
|
|
19813
19823
|
/**
|
|
19814
|
-
* Queries information about
|
|
19824
|
+
* Queries information about spot instances in a region in the previous 30 days. The information includes the average release rate of spot instances and the percentage of the average spot instance price relative to the pay-as-you-go instance price.
|
|
19815
19825
|
*
|
|
19816
19826
|
* @remarks
|
|
19817
|
-
* This operation is applicable only to I/O optimized
|
|
19827
|
+
* This operation is applicable only to I/O optimized spot instances that reside in virtual private clouds (VPCs).
|
|
19818
19828
|
* * You can use one of the following methods to call this operation:
|
|
19819
19829
|
* * Specify `Cores` and `Memory` or `MinCores` and `MinMemory` to query information about the instance types that meet the specified vCPU and memory requirements.
|
|
19820
19830
|
* * Specify `InstanceTypes.N` to query information about the specified instance types.
|
|
19821
19831
|
* * Specify `Cores` and `Memory` or `MinCores` and `MinMemory`, and then specify `InstanceTypeFamily` or `InstanceFamilyLevel` to query information about the instance types that meet the specified vCPU and memory requirements within the specified instance family or at a specified instance family level.
|
|
19822
|
-
* * You can calculate the average price of
|
|
19832
|
+
* * You can calculate the average price of spot instances based on the percentage of the average spot instance price relative to the pay-as-you-go instance price and the pay-as-you-go instance price.
|
|
19823
19833
|
*
|
|
19824
19834
|
* @param request - DescribeSpotAdviceRequest
|
|
19825
19835
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -19906,15 +19916,15 @@ export default class Client extends OpenApi {
|
|
|
19906
19916
|
}
|
|
19907
19917
|
|
|
19908
19918
|
/**
|
|
19909
|
-
* Queries information about
|
|
19919
|
+
* Queries information about spot instances in a region in the previous 30 days. The information includes the average release rate of spot instances and the percentage of the average spot instance price relative to the pay-as-you-go instance price.
|
|
19910
19920
|
*
|
|
19911
19921
|
* @remarks
|
|
19912
|
-
* This operation is applicable only to I/O optimized
|
|
19922
|
+
* This operation is applicable only to I/O optimized spot instances that reside in virtual private clouds (VPCs).
|
|
19913
19923
|
* * You can use one of the following methods to call this operation:
|
|
19914
19924
|
* * Specify `Cores` and `Memory` or `MinCores` and `MinMemory` to query information about the instance types that meet the specified vCPU and memory requirements.
|
|
19915
19925
|
* * Specify `InstanceTypes.N` to query information about the specified instance types.
|
|
19916
19926
|
* * Specify `Cores` and `Memory` or `MinCores` and `MinMemory`, and then specify `InstanceTypeFamily` or `InstanceFamilyLevel` to query information about the instance types that meet the specified vCPU and memory requirements within the specified instance family or at a specified instance family level.
|
|
19917
|
-
* * You can calculate the average price of
|
|
19927
|
+
* * You can calculate the average price of spot instances based on the percentage of the average spot instance price relative to the pay-as-you-go instance price and the pay-as-you-go instance price.
|
|
19918
19928
|
*
|
|
19919
19929
|
* @param request - DescribeSpotAdviceRequest
|
|
19920
19930
|
* @returns DescribeSpotAdviceResponse
|
|
@@ -19925,10 +19935,10 @@ export default class Client extends OpenApi {
|
|
|
19925
19935
|
}
|
|
19926
19936
|
|
|
19927
19937
|
/**
|
|
19928
|
-
* Queries the historical prices of
|
|
19938
|
+
* Queries the historical prices of spot instances within up to the previous 30 days. You can set the maximum price of a spot instance based on the historical prices.
|
|
19929
19939
|
*
|
|
19930
19940
|
* @remarks
|
|
19931
|
-
* This operation is applicable only to I/O optimized
|
|
19941
|
+
* This operation is applicable only to I/O optimized spot instances.
|
|
19932
19942
|
* * The data returned by the interface may be paginated. If the returned data contains the `NextOffset` parameter, you can set the `Offset` parameter in the request to the value of the `NextOffset` parameter for subsequent data query.
|
|
19933
19943
|
*
|
|
19934
19944
|
* @param request - DescribeSpotPriceHistoryRequest
|
|
@@ -20016,10 +20026,10 @@ export default class Client extends OpenApi {
|
|
|
20016
20026
|
}
|
|
20017
20027
|
|
|
20018
20028
|
/**
|
|
20019
|
-
* Queries the historical prices of
|
|
20029
|
+
* Queries the historical prices of spot instances within up to the previous 30 days. You can set the maximum price of a spot instance based on the historical prices.
|
|
20020
20030
|
*
|
|
20021
20031
|
* @remarks
|
|
20022
|
-
* This operation is applicable only to I/O optimized
|
|
20032
|
+
* This operation is applicable only to I/O optimized spot instances.
|
|
20023
20033
|
* * The data returned by the interface may be paginated. If the returned data contains the `NextOffset` parameter, you can set the `Offset` parameter in the request to the value of the `NextOffset` parameter for subsequent data query.
|
|
20024
20034
|
*
|
|
20025
20035
|
* @param request - DescribeSpotPriceHistoryRequest
|
|
@@ -25961,7 +25971,7 @@ export default class Client extends OpenApi {
|
|
|
25961
25971
|
}
|
|
25962
25972
|
|
|
25963
25973
|
/**
|
|
25964
|
-
* Changes the automatic release time of a pay-as-you-go or
|
|
25974
|
+
* Changes the automatic release time of a pay-as-you-go or spot instance or cancels the automatic release of the instance.
|
|
25965
25975
|
*
|
|
25966
25976
|
* @param request - ModifyInstanceAutoReleaseTimeRequest
|
|
25967
25977
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -26016,7 +26026,7 @@ export default class Client extends OpenApi {
|
|
|
26016
26026
|
}
|
|
26017
26027
|
|
|
26018
26028
|
/**
|
|
26019
|
-
* Changes the automatic release time of a pay-as-you-go or
|
|
26029
|
+
* Changes the automatic release time of a pay-as-you-go or spot instance or cancels the automatic release of the instance.
|
|
26020
26030
|
*
|
|
26021
26031
|
* @param request - ModifyInstanceAutoReleaseTimeRequest
|
|
26022
26032
|
* @returns ModifyInstanceAutoReleaseTimeResponse
|
|
@@ -26247,7 +26257,7 @@ export default class Client extends OpenApi {
|
|
|
26247
26257
|
* * The network type of the instance must be Virtual Private Cloud (VPC).
|
|
26248
26258
|
* * The instance and the destination dedicated host to which to migrate the instance must belong to the same account and reside in the same region and zone.
|
|
26249
26259
|
* * A pay-as-you-go instance can be migrated to a subscription dedicated host. A subscription instance can be migrated only between subscription dedicated hosts. The expiration date of the subscription instance cannot be later than that of the destination dedicated host.
|
|
26250
|
-
* * You can migrate only pay-as-you-go instances from a shared host to a dedicated host. You cannot migrate subscription instances or
|
|
26260
|
+
* * You can migrate only pay-as-you-go instances from a shared host to a dedicated host. You cannot migrate subscription instances or spot instances from a shared host to a dedicated host.
|
|
26251
26261
|
* * You can redeploy an instance to a specific dedicated host cluster.
|
|
26252
26262
|
*
|
|
26253
26263
|
* @param request - ModifyInstanceDeploymentRequest
|
|
@@ -26347,7 +26357,7 @@ export default class Client extends OpenApi {
|
|
|
26347
26357
|
* * The network type of the instance must be Virtual Private Cloud (VPC).
|
|
26348
26358
|
* * The instance and the destination dedicated host to which to migrate the instance must belong to the same account and reside in the same region and zone.
|
|
26349
26359
|
* * A pay-as-you-go instance can be migrated to a subscription dedicated host. A subscription instance can be migrated only between subscription dedicated hosts. The expiration date of the subscription instance cannot be later than that of the destination dedicated host.
|
|
26350
|
-
* * You can migrate only pay-as-you-go instances from a shared host to a dedicated host. You cannot migrate subscription instances or
|
|
26360
|
+
* * You can migrate only pay-as-you-go instances from a shared host to a dedicated host. You cannot migrate subscription instances or spot instances from a shared host to a dedicated host.
|
|
26351
26361
|
* * You can redeploy an instance to a specific dedicated host cluster.
|
|
26352
26362
|
*
|
|
26353
26363
|
* @param request - ModifyInstanceDeploymentRequest
|
|
@@ -32456,11 +32466,11 @@ export default class Client extends OpenApi {
|
|
|
32456
32466
|
* Amount:10, //Set the number of ECS instances that you want to create to 10.
|
|
32457
32467
|
* InstanceChargeType:"PostPaid", //Set the billing method to PostPaid, which specifies the pay-as-you-go billing method.
|
|
32458
32468
|
* SpotStrategy:"NoSpot" //Set this parameter to NoSpot, which is the default value and specifies that the instances are created as pay-as-you-go instances.
|
|
32459
|
-
* **Example: Create 20
|
|
32469
|
+
* **Example: Create 20 spot instances that use a specific bidding policy and a protection period**
|
|
32460
32470
|
* Amount:20, //Set the number of ECS instances that you want to create to 20.
|
|
32461
32471
|
* InstanceChargeType:"PostPaid",
|
|
32462
|
-
* SpotStrategy:"SpotAsPriceGo", //Set the bidding policy to SpotAsPriceGo, which specifies that the instances are created as
|
|
32463
|
-
* SpotDuration:1 //Set the protection period of the
|
|
32472
|
+
* SpotStrategy:"SpotAsPriceGo", //Set the bidding policy to SpotAsPriceGo, which specifies that the instances are created as spot instances for which the market price at the time of purchase is automatically used as the bid price.
|
|
32473
|
+
* SpotDuration:1 //Set the protection period of the spot instances to 1. Unit: hours.
|
|
32464
32474
|
* Use a launch template created by calling the [CreateLaunchTemplate](https://help.aliyun.com/document_detail/2679729.html) operation to create ECS instances in the China (Hangzhou) region. Examples:
|
|
32465
32475
|
* **Example: Create 10 ECS instances based on a launch template**
|
|
32466
32476
|
* RegionId:"cn-hangzhou", //Set the region ID to cn-hangzhou, which specifies the China (Hangzhou) region.
|
|
@@ -32872,11 +32882,11 @@ export default class Client extends OpenApi {
|
|
|
32872
32882
|
* Amount:10, //Set the number of ECS instances that you want to create to 10.
|
|
32873
32883
|
* InstanceChargeType:"PostPaid", //Set the billing method to PostPaid, which specifies the pay-as-you-go billing method.
|
|
32874
32884
|
* SpotStrategy:"NoSpot" //Set this parameter to NoSpot, which is the default value and specifies that the instances are created as pay-as-you-go instances.
|
|
32875
|
-
* **Example: Create 20
|
|
32885
|
+
* **Example: Create 20 spot instances that use a specific bidding policy and a protection period**
|
|
32876
32886
|
* Amount:20, //Set the number of ECS instances that you want to create to 20.
|
|
32877
32887
|
* InstanceChargeType:"PostPaid",
|
|
32878
|
-
* SpotStrategy:"SpotAsPriceGo", //Set the bidding policy to SpotAsPriceGo, which specifies that the instances are created as
|
|
32879
|
-
* SpotDuration:1 //Set the protection period of the
|
|
32888
|
+
* SpotStrategy:"SpotAsPriceGo", //Set the bidding policy to SpotAsPriceGo, which specifies that the instances are created as spot instances for which the market price at the time of purchase is automatically used as the bid price.
|
|
32889
|
+
* SpotDuration:1 //Set the protection period of the spot instances to 1. Unit: hours.
|
|
32880
32890
|
* Use a launch template created by calling the [CreateLaunchTemplate](https://help.aliyun.com/document_detail/2679729.html) operation to create ECS instances in the China (Hangzhou) region. Examples:
|
|
32881
32891
|
* **Example: Create 10 ECS instances based on a launch template**
|
|
32882
32892
|
* RegionId:"cn-hangzhou", //Set the region ID to cn-hangzhou, which specifies the China (Hangzhou) region.
|
|
@@ -33335,6 +33345,10 @@ export default class Client extends OpenApi {
|
|
|
33335
33345
|
query["OwnerId"] = request.ownerId;
|
|
33336
33346
|
}
|
|
33337
33347
|
|
|
33348
|
+
if (!$dara.isNull(request.passwordName)) {
|
|
33349
|
+
query["PasswordName"] = request.passwordName;
|
|
33350
|
+
}
|
|
33351
|
+
|
|
33338
33352
|
if (!$dara.isNull(request.portNumber)) {
|
|
33339
33353
|
query["PortNumber"] = request.portNumber;
|
|
33340
33354
|
}
|
|
@@ -33497,13 +33511,13 @@ export default class Client extends OpenApi {
|
|
|
33497
33511
|
}
|
|
33498
33512
|
|
|
33499
33513
|
/**
|
|
33500
|
-
* Stops Elastic Compute Service (ECS) instances. You can specify parameters to determine whether to forcefully stop the instances
|
|
33514
|
+
* Stops Elastic Compute Service (ECS) instances. You can specify parameters to determine whether to forcefully stop the instances and the stop mode.
|
|
33501
33515
|
*
|
|
33502
33516
|
* @remarks
|
|
33503
|
-
* This operation is an asynchronous operation. After you call this operation to stop ECS
|
|
33504
|
-
* ### [](#)
|
|
33517
|
+
* This operation is an asynchronous operation. After you call this operation to stop an ECS instance, the operation sets the status of the ECS instance to Stopping and begins the stop process. You can call the [DescribeInstanceStatus](https://help.aliyun.com/document_detail/2679688.html) operation to query the status of the ECS instance. When the status of the ECS instance changes to `Stopped`, the instance is stopped.
|
|
33518
|
+
* ### [](#)Considerations
|
|
33519
|
+
* * The instance is unavailable after you stop the instance. Make sure that stopping the instance does not affect your business. You can also call the [StartInstance](https://help.aliyun.com/document_detail/2679679.html) or [StartInstances](https://help.aliyun.com/document_detail/2679680.html) operation to start the instance.
|
|
33505
33520
|
* * You cannot call this operation to stop ECS instances that are locked for security reasons. For more information, see [API behavior when an instance is locked for security reasons](https://help.aliyun.com/document_detail/25695.html).
|
|
33506
|
-
* * After you enable the default economical mode for all pay-as-you-go ECS instances located in virtual private clouds (VPCs) in your account, you can set `StoppedMode` to KeepCharging for the pay-as-you-go ECS instances that you want to stop to enable standard mode. This way, the instances continue to be billed after they are stopped. The instance type resources and public IP addresses of the instances are retained.
|
|
33507
33521
|
*
|
|
33508
33522
|
* @param request - StopInstancesRequest
|
|
33509
33523
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -33570,13 +33584,13 @@ export default class Client extends OpenApi {
|
|
|
33570
33584
|
}
|
|
33571
33585
|
|
|
33572
33586
|
/**
|
|
33573
|
-
* Stops Elastic Compute Service (ECS) instances. You can specify parameters to determine whether to forcefully stop the instances
|
|
33587
|
+
* Stops Elastic Compute Service (ECS) instances. You can specify parameters to determine whether to forcefully stop the instances and the stop mode.
|
|
33574
33588
|
*
|
|
33575
33589
|
* @remarks
|
|
33576
|
-
* This operation is an asynchronous operation. After you call this operation to stop ECS
|
|
33577
|
-
* ### [](#)
|
|
33590
|
+
* This operation is an asynchronous operation. After you call this operation to stop an ECS instance, the operation sets the status of the ECS instance to Stopping and begins the stop process. You can call the [DescribeInstanceStatus](https://help.aliyun.com/document_detail/2679688.html) operation to query the status of the ECS instance. When the status of the ECS instance changes to `Stopped`, the instance is stopped.
|
|
33591
|
+
* ### [](#)Considerations
|
|
33592
|
+
* * The instance is unavailable after you stop the instance. Make sure that stopping the instance does not affect your business. You can also call the [StartInstance](https://help.aliyun.com/document_detail/2679679.html) or [StartInstances](https://help.aliyun.com/document_detail/2679680.html) operation to start the instance.
|
|
33578
33593
|
* * You cannot call this operation to stop ECS instances that are locked for security reasons. For more information, see [API behavior when an instance is locked for security reasons](https://help.aliyun.com/document_detail/25695.html).
|
|
33579
|
-
* * After you enable the default economical mode for all pay-as-you-go ECS instances located in virtual private clouds (VPCs) in your account, you can set `StoppedMode` to KeepCharging for the pay-as-you-go ECS instances that you want to stop to enable standard mode. This way, the instances continue to be billed after they are stopped. The instance type resources and public IP addresses of the instances are retained.
|
|
33580
33594
|
*
|
|
33581
33595
|
* @param request - StopInstancesRequest
|
|
33582
33596
|
* @returns StopInstancesResponse
|
|
@@ -4,6 +4,13 @@ import { CopyImageRequestTag } from "./CopyImageRequestTag";
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
export class CopyImageRequest extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* The client token that you want to use to ensure the idempotence of the request. You can use the client to generate the value, but you ensure sure that the value is unique among different requests. **The token can contain only ASCII characters and cannot exceed 64 characters in length.** For more information, see [How to ensure idempotence](https://help.aliyun.com/document_detail/25693.html).
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* 123e4567-e89b-12d3-a456-426655440000
|
|
13
|
+
*/
|
|
7
14
|
clientToken?: string;
|
|
8
15
|
/**
|
|
9
16
|
* @remarks
|
|
@@ -29,6 +36,18 @@ export class CopyImageRequest extends $dara.Model {
|
|
|
29
36
|
* cn-shanghai
|
|
30
37
|
*/
|
|
31
38
|
destinationRegionId?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @remarks
|
|
41
|
+
* Specifies whether to perform only a dry run, without performing the actual request. Specifies whether to check the image used by the instance supports hot migration. Valid values:
|
|
42
|
+
*
|
|
43
|
+
* * true: performs only a dry run. The system checks the request for potential issues, including invalid AccessKey pairs, unauthorized RAM users, and missing parameter values. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
|
|
44
|
+
* * false: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
|
|
45
|
+
*
|
|
46
|
+
* Default value: false.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* false
|
|
50
|
+
*/
|
|
32
51
|
dryRun?: boolean;
|
|
33
52
|
/**
|
|
34
53
|
* @remarks
|
|
@@ -51,7 +51,7 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
51
51
|
* 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 total target capacity. Valid values:
|
|
52
52
|
*
|
|
53
53
|
* * PayAsYouGo: pay-as-you-go
|
|
54
|
-
* * Spot:
|
|
54
|
+
* * Spot: spot instance
|
|
55
55
|
*
|
|
56
56
|
* Default value: Spot.
|
|
57
57
|
*
|
|
@@ -113,7 +113,7 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
113
113
|
launchTemplateVersion?: string;
|
|
114
114
|
/**
|
|
115
115
|
* @remarks
|
|
116
|
-
* The maximum price of
|
|
116
|
+
* The maximum price of spot instances in the auto provisioning group.
|
|
117
117
|
*
|
|
118
118
|
* > When both `MaxSpotPrice` and `LaunchTemplateConfig.N.MaxPrice` are specified, the smaller one of the two parameter values is used.
|
|
119
119
|
*
|
|
@@ -191,7 +191,7 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
191
191
|
resourcePoolOptions?: CreateAutoProvisioningGroupRequestResourcePoolOptions;
|
|
192
192
|
/**
|
|
193
193
|
* @remarks
|
|
194
|
-
* The policy for creating
|
|
194
|
+
* The policy for creating spot instances. Valid values:
|
|
195
195
|
*
|
|
196
196
|
* * lowest-price: cost optimization policy. The auto provisioning group selects the lowest-priced instance type to create instances.
|
|
197
197
|
* * diversified: balanced distribution policy. The auto provisioning group creates instances in zones that are specified in extended configurations and then evenly distributes the instances across the zones.
|
|
@@ -205,10 +205,10 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
205
205
|
spotAllocationStrategy?: string;
|
|
206
206
|
/**
|
|
207
207
|
* @remarks
|
|
208
|
-
* The operation to be performed on the
|
|
208
|
+
* The operation to be performed on the spot instance when it is interrupted. Valid values:
|
|
209
209
|
*
|
|
210
|
-
* * stop: stops the
|
|
211
|
-
* * terminate: releases the
|
|
210
|
+
* * stop: stops the spot instance.
|
|
211
|
+
* * terminate: releases the spot instance.
|
|
212
212
|
*
|
|
213
213
|
* Default value: terminate.
|
|
214
214
|
*
|
|
@@ -218,7 +218,7 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
218
218
|
spotInstanceInterruptionBehavior?: string;
|
|
219
219
|
/**
|
|
220
220
|
* @remarks
|
|
221
|
-
* The number of
|
|
221
|
+
* The number of spot instances of the lowest-priced instance type to be created by the auto provisioning group. This parameter takes effect when `SpotAllocationStrategy` is set to `lowest-price`.
|
|
222
222
|
*
|
|
223
223
|
* The value must be smaller than the N value specified in `LaunchTemplateConfig.N`.
|
|
224
224
|
*
|
|
@@ -228,7 +228,7 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
228
228
|
spotInstancePoolsToUseCount?: number;
|
|
229
229
|
/**
|
|
230
230
|
* @remarks
|
|
231
|
-
* The target capacity of
|
|
231
|
+
* The target capacity of spot instances in the auto provisioning group. The value must be less than or equal to the `TotalTargetCapacity` value.
|
|
232
232
|
*
|
|
233
233
|
* @example
|
|
234
234
|
* 20
|
|
@@ -274,7 +274,7 @@ export class CreateAutoProvisioningGroupRequest extends $dara.Model {
|
|
|
274
274
|
* @remarks
|
|
275
275
|
* The total target capacity of the auto provisioning group. The value must be a positive integer.
|
|
276
276
|
*
|
|
277
|
-
* 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 `PayAsYouGoTargetCapacity` and the target capacity of
|
|
277
|
+
* 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 `PayAsYouGoTargetCapacity` and the target capacity of spot instances specified by `SpotTargetCapacity`.
|
|
278
278
|
*
|
|
279
279
|
* This parameter is required.
|
|
280
280
|
*
|
|
@@ -394,12 +394,12 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
394
394
|
periodUnit?: string;
|
|
395
395
|
/**
|
|
396
396
|
* @remarks
|
|
397
|
-
* The protection period of the
|
|
397
|
+
* The protection period of the spot instance. Unit: hours. Default value: 1. Valid values: Valid values:
|
|
398
398
|
*
|
|
399
|
-
* * 1: After a
|
|
400
|
-
* * 0: After a
|
|
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. The
|
|
402
|
+
* 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.
|
|
403
403
|
*
|
|
404
404
|
* When you specify this parameter, take note of the following items:
|
|
405
405
|
*
|
|
@@ -411,7 +411,7 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
411
411
|
spotDuration?: number;
|
|
412
412
|
/**
|
|
413
413
|
* @remarks
|
|
414
|
-
* The interruption event of the
|
|
414
|
+
* The interruption event of the spot instances. Valid values:
|
|
415
415
|
*
|
|
416
416
|
* * Terminate: The instance is released.
|
|
417
417
|
* * Stop: The instance is stopped in economical mode.
|
|
@@ -64,7 +64,7 @@ export class CreateAutoProvisioningGroupRequestLaunchTemplateConfig extends $dar
|
|
|
64
64
|
instanceType?: string;
|
|
65
65
|
/**
|
|
66
66
|
* @remarks
|
|
67
|
-
* The maximum price of
|
|
67
|
+
* The maximum price of spot instances in extended configuration N.
|
|
68
68
|
*
|
|
69
69
|
* > If you specify one or more `LaunchTemplateConfig.N.*` parameters, you must also specify `LaunchTemplateConfig.N.MaxPrice`.
|
|
70
70
|
*
|
|
@@ -46,8 +46,8 @@ export class CreateAutoProvisioningGroupResponseBodyLaunchResultsLaunchResult ex
|
|
|
46
46
|
* The bidding policy for the pay-as-you-go instance. Valid values:
|
|
47
47
|
*
|
|
48
48
|
* * NoSpot: The instance is a regular pay-as-you-go instance.
|
|
49
|
-
* * SpotWithPriceLimit: The instance is a
|
|
50
|
-
* * SpotAsPriceGo: The instance is a
|
|
49
|
+
* * SpotWithPriceLimit: The instance is a spot instance for which you specify the maximum hourly price.
|
|
50
|
+
* * SpotAsPriceGo: The instance is a spot instance for which the market price at the time of purchase is used as the bid price.
|
|
51
51
|
*
|
|
52
52
|
* @example
|
|
53
53
|
* NoSpot
|
|
@@ -50,7 +50,7 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
|
|
|
50
50
|
* 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 total target capacity. Valid values:
|
|
51
51
|
*
|
|
52
52
|
* * PayAsYouGo: pay-as-you-go
|
|
53
|
-
* * Spot:
|
|
53
|
+
* * Spot: spot instance
|
|
54
54
|
*
|
|
55
55
|
* Default value: Spot.
|
|
56
56
|
*
|
|
@@ -112,7 +112,7 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
|
|
|
112
112
|
launchTemplateVersion?: string;
|
|
113
113
|
/**
|
|
114
114
|
* @remarks
|
|
115
|
-
* The maximum price of
|
|
115
|
+
* The maximum price of spot instances in the auto provisioning group.
|
|
116
116
|
*
|
|
117
117
|
* > When both `MaxSpotPrice` and `LaunchTemplateConfig.N.MaxPrice` are specified, the smaller one of the two parameter values is used.
|
|
118
118
|
*
|
|
@@ -190,7 +190,7 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
|
|
|
190
190
|
resourcePoolOptionsShrink?: string;
|
|
191
191
|
/**
|
|
192
192
|
* @remarks
|
|
193
|
-
* The policy for creating
|
|
193
|
+
* The policy for creating spot instances. Valid values:
|
|
194
194
|
*
|
|
195
195
|
* * lowest-price: cost optimization policy. The auto provisioning group selects the lowest-priced instance type to create instances.
|
|
196
196
|
* * diversified: balanced distribution policy. The auto provisioning group creates instances in zones that are specified in extended configurations and then evenly distributes the instances across the zones.
|
|
@@ -204,10 +204,10 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
|
|
|
204
204
|
spotAllocationStrategy?: string;
|
|
205
205
|
/**
|
|
206
206
|
* @remarks
|
|
207
|
-
* The operation to be performed on the
|
|
207
|
+
* The operation to be performed on the spot instance when it is interrupted. Valid values:
|
|
208
208
|
*
|
|
209
|
-
* * stop: stops the
|
|
210
|
-
* * terminate: releases the
|
|
209
|
+
* * stop: stops the spot instance.
|
|
210
|
+
* * terminate: releases the spot instance.
|
|
211
211
|
*
|
|
212
212
|
* Default value: terminate.
|
|
213
213
|
*
|
|
@@ -217,7 +217,7 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
|
|
|
217
217
|
spotInstanceInterruptionBehavior?: string;
|
|
218
218
|
/**
|
|
219
219
|
* @remarks
|
|
220
|
-
* The number of
|
|
220
|
+
* The number of spot instances of the lowest-priced instance type to be created by the auto provisioning group. This parameter takes effect when `SpotAllocationStrategy` is set to `lowest-price`.
|
|
221
221
|
*
|
|
222
222
|
* The value must be smaller than the N value specified in `LaunchTemplateConfig.N`.
|
|
223
223
|
*
|
|
@@ -227,7 +227,7 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
|
|
|
227
227
|
spotInstancePoolsToUseCount?: number;
|
|
228
228
|
/**
|
|
229
229
|
* @remarks
|
|
230
|
-
* The target capacity of
|
|
230
|
+
* The target capacity of spot instances in the auto provisioning group. The value must be less than or equal to the `TotalTargetCapacity` value.
|
|
231
231
|
*
|
|
232
232
|
* @example
|
|
233
233
|
* 20
|
|
@@ -273,7 +273,7 @@ export class CreateAutoProvisioningGroupShrinkRequest extends $dara.Model {
|
|
|
273
273
|
* @remarks
|
|
274
274
|
* The total target capacity of the auto provisioning group. The value must be a positive integer.
|
|
275
275
|
*
|
|
276
|
-
* 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 `PayAsYouGoTargetCapacity` and the target capacity of
|
|
276
|
+
* 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 `PayAsYouGoTargetCapacity` and the target capacity of spot instances specified by `SpotTargetCapacity`.
|
|
277
277
|
*
|
|
278
278
|
* This parameter is required.
|
|
279
279
|
*
|
|
@@ -394,12 +394,12 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
394
394
|
periodUnit?: string;
|
|
395
395
|
/**
|
|
396
396
|
* @remarks
|
|
397
|
-
* The protection period of the
|
|
397
|
+
* The protection period of the spot instance. Unit: hours. Default value: 1. Valid values: Valid values:
|
|
398
398
|
*
|
|
399
|
-
* * 1: After a
|
|
400
|
-
* * 0: After a
|
|
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. The
|
|
402
|
+
* 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.
|
|
403
403
|
*
|
|
404
404
|
* When you specify this parameter, take note of the following items:
|
|
405
405
|
*
|
|
@@ -411,7 +411,7 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
411
411
|
spotDuration?: number;
|
|
412
412
|
/**
|
|
413
413
|
* @remarks
|
|
414
|
-
* The interruption event of the
|
|
414
|
+
* The interruption event of the spot instances. Valid values:
|
|
415
415
|
*
|
|
416
416
|
* * Terminate: The instance is released.
|
|
417
417
|
* * Stop: The instance is stopped in economical mode.
|
|
@@ -64,7 +64,7 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig extend
|
|
|
64
64
|
instanceType?: string;
|
|
65
65
|
/**
|
|
66
66
|
* @remarks
|
|
67
|
-
* The maximum price of
|
|
67
|
+
* The maximum price of spot instances in extended configuration N.
|
|
68
68
|
*
|
|
69
69
|
* > If you specify one or more `LaunchTemplateConfig.N.*` parameters, you must also specify `LaunchTemplateConfig.N.MaxPrice`.
|
|
70
70
|
*
|
|
@@ -89,9 +89,9 @@ export class CreateInstanceRequest extends $dara.Model {
|
|
|
89
89
|
* @remarks
|
|
90
90
|
* The ID of the dedicated host on which to create the instance.
|
|
91
91
|
*
|
|
92
|
-
* You can call the [DescribeDedicatedHosts](https://help.aliyun.com/document_detail/134242.html) operation to query the list of dedicated host IDs
|
|
92
|
+
* You can call the [DescribeDedicatedHosts](https://help.aliyun.com/document_detail/134242.html) operation to query the list of dedicated host IDs.
|
|
93
93
|
*
|
|
94
|
-
*
|
|
94
|
+
* > Spot instances (spot instances) cannot be created on dedicated hosts. If you specify DedicatedHostId, SpotStrategy and SpotPriceLimit are automatically ignored.
|
|
95
95
|
*
|
|
96
96
|
* @example
|
|
97
97
|
* dh-bp67acfmxazb4p****
|
|
@@ -436,12 +436,12 @@ export class CreateInstanceRequest extends $dara.Model {
|
|
|
436
436
|
securityGroupId?: string;
|
|
437
437
|
/**
|
|
438
438
|
* @remarks
|
|
439
|
-
* The protection period of the
|
|
439
|
+
* The protection period of the spot instance. Unit: hours. Default value: 1. Valid values:
|
|
440
440
|
*
|
|
441
|
-
* * 1: After a
|
|
442
|
-
* * 0: After a
|
|
441
|
+
* * 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.
|
|
442
|
+
* * 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.
|
|
443
443
|
*
|
|
444
|
-
* Alibaba Cloud sends an ECS system event to notify you 5 minutes before the instance is released.
|
|
444
|
+
* 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 an appropriate protection period based on your business requirements.
|
|
445
445
|
*
|
|
446
446
|
* > This parameter takes effect only if the SpotStrategy parameter is set to SpotWithPriceLimit or SpotAsPriceGo.
|
|
447
447
|
*
|
|
@@ -451,7 +451,7 @@ export class CreateInstanceRequest extends $dara.Model {
|
|
|
451
451
|
spotDuration?: number;
|
|
452
452
|
/**
|
|
453
453
|
* @remarks
|
|
454
|
-
* The interruption mode of the
|
|
454
|
+
* The interruption mode of the spot instance. Valid values:
|
|
455
455
|
*
|
|
456
456
|
* * Terminate: The instance is released.
|
|
457
457
|
*
|
|
@@ -478,8 +478,8 @@ export class CreateInstanceRequest extends $dara.Model {
|
|
|
478
478
|
* The bidding policy for the pay-as-you-go instance. This parameter is valid only if you set `InstanceChargeType` to `PostPaid`. Valid values:
|
|
479
479
|
*
|
|
480
480
|
* * NoSpot (default): The instance is created as a regular pay-as-you-go instance.
|
|
481
|
-
* * SpotWithPriceLimit: The instance is a
|
|
482
|
-
* * SpotAsPriceGo: The instance is a
|
|
481
|
+
* * SpotWithPriceLimit: The instance is a spot instance for which you specify the maximum hourly price.
|
|
482
|
+
* * 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.
|
|
483
483
|
*
|
|
484
484
|
* @example
|
|
485
485
|
* NoSpot
|
|
@@ -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
|
|
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
|
*
|