@alicloud/ecs20140526 7.0.4 → 7.0.6
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 +34 -6
- package/dist/client.js +34 -6
- package/dist/client.js.map +1 -1
- package/dist/models/CreateAutoProvisioningGroupRequestLaunchConfiguration.d.ts +3 -3
- package/dist/models/CreateAutoProvisioningGroupRequestLaunchConfigurationImageOptions.d.ts +1 -1
- package/dist/models/CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration.d.ts +3 -3
- package/dist/models/CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationImageOptions.d.ts +1 -1
- package/dist/models/CreateDiskRequest.d.ts +21 -9
- package/dist/models/CreateDiskRequest.js.map +1 -1
- package/dist/models/CreateNetworkInterfaceRequestEnhancedNetwork.d.ts +2 -0
- package/dist/models/CreateNetworkInterfaceRequestEnhancedNetwork.js +4 -0
- package/dist/models/CreateNetworkInterfaceRequestEnhancedNetwork.js.map +1 -1
- package/dist/models/DescribeDisksRequest.d.ts +17 -0
- package/dist/models/DescribeDisksRequest.js.map +1 -1
- package/dist/models/DescribeInstanceTypesResponseBodyInstanceTypesInstanceType.d.ts +2 -0
- package/dist/models/DescribeInstanceTypesResponseBodyInstanceTypesInstanceType.js +6 -0
- package/dist/models/DescribeInstanceTypesResponseBodyInstanceTypesInstanceType.js.map +1 -1
- package/dist/models/DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeClock.d.ts +14 -0
- package/dist/models/DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeClock.js +58 -0
- package/dist/models/DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeClock.js.map +1 -0
- package/dist/models/DescribeInstancesResponseBodyInstancesInstanceCpuOptions.d.ts +1 -1
- package/dist/models/DescribeNetworkInterfaceAttributeResponseBodyEnhancedNetwork.d.ts +2 -0
- package/dist/models/DescribeNetworkInterfaceAttributeResponseBodyEnhancedNetwork.js +4 -0
- package/dist/models/DescribeNetworkInterfaceAttributeResponseBodyEnhancedNetwork.js.map +1 -1
- package/dist/models/DescribePriceRequest.d.ts +2 -2
- package/dist/models/DescribePriceRequestRecurrenceRules.d.ts +10 -10
- package/dist/models/ModifyNetworkInterfaceAttributeRequestEnhancedNetwork.d.ts +2 -0
- package/dist/models/ModifyNetworkInterfaceAttributeRequestEnhancedNetwork.js +4 -0
- package/dist/models/ModifyNetworkInterfaceAttributeRequestEnhancedNetwork.js.map +1 -1
- package/dist/models/model.d.ts +1 -0
- package/dist/models/model.js +33 -31
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +34 -6
- package/src/models/CreateAutoProvisioningGroupRequestLaunchConfiguration.ts +3 -3
- package/src/models/CreateAutoProvisioningGroupRequestLaunchConfigurationImageOptions.ts +1 -1
- package/src/models/CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration.ts +3 -3
- package/src/models/CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationImageOptions.ts +1 -1
- package/src/models/CreateDiskRequest.ts +21 -9
- package/src/models/CreateNetworkInterfaceRequestEnhancedNetwork.ts +6 -0
- package/src/models/DescribeDisksRequest.ts +17 -0
- package/src/models/DescribeInstanceTypesResponseBodyInstanceTypesInstanceType.ts +7 -0
- package/src/models/DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeClock.ts +27 -0
- package/src/models/DescribeInstancesResponseBodyInstancesInstanceCpuOptions.ts +1 -1
- package/src/models/DescribeNetworkInterfaceAttributeResponseBodyEnhancedNetwork.ts +6 -0
- package/src/models/DescribePriceRequest.ts +2 -2
- package/src/models/DescribePriceRequestRecurrenceRules.ts +10 -10
- package/src/models/ModifyNetworkInterfaceAttributeRequestEnhancedNetwork.ts +6 -0
- package/src/models/model.ts +1 -0
package/dist/client.d.ts
CHANGED
|
@@ -8763,10 +8763,10 @@ export default class Client extends OpenApi {
|
|
|
8763
8763
|
*/
|
|
8764
8764
|
runCommand(request: $_model.RunCommandRequest): Promise<$_model.RunCommandResponse>;
|
|
8765
8765
|
/**
|
|
8766
|
-
*
|
|
8766
|
+
* Batch creates Elastic Compute Service (ECS) instances. You can automatically start, assign public IP addresses to, and specify an automatic release time for the instances.
|
|
8767
8767
|
*
|
|
8768
8768
|
* @remarks
|
|
8769
|
-
*
|
|
8769
|
+
* Before you call this operation, familiarize yourself with the billing rules and [pricing](https://www.alibabacloud.com/zh/pricing-calculator#/commodity/vm_intl) of ECS resources.
|
|
8770
8770
|
* This operation is an asynchronous operation. After a request to create ECS instances is sent, ECS instance IDs are returned but the creation and startup of the instances may be incomplete. You can call the [DescribeInstanceStatus](https://help.aliyun.com/document_detail/2679688.html) operation to query the status of the instances. When the status of an instance is `Running` in the DescribeInstanceStatus response, the instance is created and started.
|
|
8771
8771
|
* ### [](#)Considerations
|
|
8772
8772
|
* * If the resource inventory is insufficient to complete instance creation, Alibaba Cloud immediately sends an instance creation failure event (SystemFailure.Delete). You can call the [DescribeInstanceHistoryEvents](https://help.aliyun.com/document_detail/2679897.html) operation to check whether an instance creation failure event exists. For more information, see [System events related to instance creation failures](https://help.aliyun.com/document_detail/2545990.html).
|
|
@@ -8821,12 +8821,26 @@ export default class Client extends OpenApi {
|
|
|
8821
8821
|
* InstanceChargeType:"PostPaid",
|
|
8822
8822
|
* SpotStrategy:"SpotAsPriceGo", //Set the bidding policy to SpotAsPriceGo, which specifies that the instances are created as preemptible instances for which the market price at the time of purchase is automatically used as the bid price.
|
|
8823
8823
|
* SpotDuration:1 //Set the protection period of the preemptible instances to 1. Unit: hours.
|
|
8824
|
-
*
|
|
8824
|
+
* 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:
|
|
8825
8825
|
* **Example: Create 10 ECS instances based on a launch template**
|
|
8826
8826
|
* RegionId:"cn-hangzhou", //Set the region ID to cn-hangzhou, which specifies the China (Hangzhou) region.
|
|
8827
8827
|
* Amount:10, //Set the number of ECS instances that you want to create to 10.
|
|
8828
8828
|
* LaunchTemplateId:"lt-bp14xczpoxvb6rre****" //Set the launch template ID to lt-bp14xczpoxvb6rre****.
|
|
8829
8829
|
* > If a parameter is specified both in the launch template that you reference in a request and in the instance parameters of the same request, the value specified in the instance parameters takes precedence. For example, if you set InstanceChargeType in the launch template to PrePaid (subscription) and set InstanceChargeType in the instance parameters to PostPaid (pay-as-you-go), the created instances are pay-as-you-go instances.
|
|
8830
|
+
* **Example: Use a full image (an image that contains the system disk and data disks) to create an ECS instance**
|
|
8831
|
+
* RegionId:"cn-hangzhou", //Set the region ID to cn-hangzhou, which specifies the China (Hangzhou) region.
|
|
8832
|
+
* ImageId = m-bp13ohd32cvzpq9e****, //Set the custom image ID to m-bp13ohd32cvzpq9e****.
|
|
8833
|
+
* InstanceType = ecs.u1-c1m1.large, //Set the instance type to ecs.u1-c1m1.large.
|
|
8834
|
+
* SecurityGroupId = sg-bp10jztp6b0sdsyl****, //Set the security group ID to sg-bp10jztp6b0sdsyl****.
|
|
8835
|
+
* VSwitchId = vsw-bp19wo63nleroq22g****, //Set the vSwitch ID to vsw-bp19wo63nleroq22g****.
|
|
8836
|
+
* SystemDisk.Size = 50, //Set the size of the system disk in the full image to 50. Unit: GiB.
|
|
8837
|
+
* SystemDisk.Category = cloud_auto, //Set the category of the system disk in the full image to cloud_auto, which specifies the ESSD AutoPL disk category.
|
|
8838
|
+
* DataDisk.0.Device = /dev/xvdb, //Set the mount point of the data disk in the full image to /dev/xvdb.
|
|
8839
|
+
* DataDisk.0.Size = 50, //Set the size of the data disk in the full image to 50. Unit: GiB.
|
|
8840
|
+
* DataDisk.0.Category = cloud_essd, //Set the category of the data disk in the full image to cloud_essd, which specifies the ESSD category.
|
|
8841
|
+
* DataDisk.1.Device = /dev/xvdc, //Set the mount point of the new data disk to /dev/xvdc. If you want to use a new data disk to replace the data disk in the full image, set DataDisk.1.Device to /dev/xvdb (the default mount point of the data disk in the full image).
|
|
8842
|
+
* DataDisk.1.Size = 70, //Set the size of the new data disk to 70. Unit: GiB.
|
|
8843
|
+
* DataDisk.1.Category = cloud_auto, //Set the category of the new data disk to cloud_auto, which specifies the ESSD AutoPL disk category.
|
|
8830
8844
|
*
|
|
8831
8845
|
* @param request - RunInstancesRequest
|
|
8832
8846
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8834,10 +8848,10 @@ export default class Client extends OpenApi {
|
|
|
8834
8848
|
*/
|
|
8835
8849
|
runInstancesWithOptions(request: $_model.RunInstancesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RunInstancesResponse>;
|
|
8836
8850
|
/**
|
|
8837
|
-
*
|
|
8851
|
+
* Batch creates Elastic Compute Service (ECS) instances. You can automatically start, assign public IP addresses to, and specify an automatic release time for the instances.
|
|
8838
8852
|
*
|
|
8839
8853
|
* @remarks
|
|
8840
|
-
*
|
|
8854
|
+
* Before you call this operation, familiarize yourself with the billing rules and [pricing](https://www.alibabacloud.com/zh/pricing-calculator#/commodity/vm_intl) of ECS resources.
|
|
8841
8855
|
* This operation is an asynchronous operation. After a request to create ECS instances is sent, ECS instance IDs are returned but the creation and startup of the instances may be incomplete. You can call the [DescribeInstanceStatus](https://help.aliyun.com/document_detail/2679688.html) operation to query the status of the instances. When the status of an instance is `Running` in the DescribeInstanceStatus response, the instance is created and started.
|
|
8842
8856
|
* ### [](#)Considerations
|
|
8843
8857
|
* * If the resource inventory is insufficient to complete instance creation, Alibaba Cloud immediately sends an instance creation failure event (SystemFailure.Delete). You can call the [DescribeInstanceHistoryEvents](https://help.aliyun.com/document_detail/2679897.html) operation to check whether an instance creation failure event exists. For more information, see [System events related to instance creation failures](https://help.aliyun.com/document_detail/2545990.html).
|
|
@@ -8892,12 +8906,26 @@ export default class Client extends OpenApi {
|
|
|
8892
8906
|
* InstanceChargeType:"PostPaid",
|
|
8893
8907
|
* SpotStrategy:"SpotAsPriceGo", //Set the bidding policy to SpotAsPriceGo, which specifies that the instances are created as preemptible instances for which the market price at the time of purchase is automatically used as the bid price.
|
|
8894
8908
|
* SpotDuration:1 //Set the protection period of the preemptible instances to 1. Unit: hours.
|
|
8895
|
-
*
|
|
8909
|
+
* 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:
|
|
8896
8910
|
* **Example: Create 10 ECS instances based on a launch template**
|
|
8897
8911
|
* RegionId:"cn-hangzhou", //Set the region ID to cn-hangzhou, which specifies the China (Hangzhou) region.
|
|
8898
8912
|
* Amount:10, //Set the number of ECS instances that you want to create to 10.
|
|
8899
8913
|
* LaunchTemplateId:"lt-bp14xczpoxvb6rre****" //Set the launch template ID to lt-bp14xczpoxvb6rre****.
|
|
8900
8914
|
* > If a parameter is specified both in the launch template that you reference in a request and in the instance parameters of the same request, the value specified in the instance parameters takes precedence. For example, if you set InstanceChargeType in the launch template to PrePaid (subscription) and set InstanceChargeType in the instance parameters to PostPaid (pay-as-you-go), the created instances are pay-as-you-go instances.
|
|
8915
|
+
* **Example: Use a full image (an image that contains the system disk and data disks) to create an ECS instance**
|
|
8916
|
+
* RegionId:"cn-hangzhou", //Set the region ID to cn-hangzhou, which specifies the China (Hangzhou) region.
|
|
8917
|
+
* ImageId = m-bp13ohd32cvzpq9e****, //Set the custom image ID to m-bp13ohd32cvzpq9e****.
|
|
8918
|
+
* InstanceType = ecs.u1-c1m1.large, //Set the instance type to ecs.u1-c1m1.large.
|
|
8919
|
+
* SecurityGroupId = sg-bp10jztp6b0sdsyl****, //Set the security group ID to sg-bp10jztp6b0sdsyl****.
|
|
8920
|
+
* VSwitchId = vsw-bp19wo63nleroq22g****, //Set the vSwitch ID to vsw-bp19wo63nleroq22g****.
|
|
8921
|
+
* SystemDisk.Size = 50, //Set the size of the system disk in the full image to 50. Unit: GiB.
|
|
8922
|
+
* SystemDisk.Category = cloud_auto, //Set the category of the system disk in the full image to cloud_auto, which specifies the ESSD AutoPL disk category.
|
|
8923
|
+
* DataDisk.0.Device = /dev/xvdb, //Set the mount point of the data disk in the full image to /dev/xvdb.
|
|
8924
|
+
* DataDisk.0.Size = 50, //Set the size of the data disk in the full image to 50. Unit: GiB.
|
|
8925
|
+
* DataDisk.0.Category = cloud_essd, //Set the category of the data disk in the full image to cloud_essd, which specifies the ESSD category.
|
|
8926
|
+
* DataDisk.1.Device = /dev/xvdc, //Set the mount point of the new data disk to /dev/xvdc. If you want to use a new data disk to replace the data disk in the full image, set DataDisk.1.Device to /dev/xvdb (the default mount point of the data disk in the full image).
|
|
8927
|
+
* DataDisk.1.Size = 70, //Set the size of the new data disk to 70. Unit: GiB.
|
|
8928
|
+
* DataDisk.1.Category = cloud_auto, //Set the category of the new data disk to cloud_auto, which specifies the ESSD AutoPL disk category.
|
|
8901
8929
|
*
|
|
8902
8930
|
* @param request - RunInstancesRequest
|
|
8903
8931
|
* @returns RunInstancesResponse
|
package/dist/client.js
CHANGED
|
@@ -27864,10 +27864,10 @@ class Client extends openapi_core_1.default {
|
|
|
27864
27864
|
return await this.runCommandWithOptions(request, runtime);
|
|
27865
27865
|
}
|
|
27866
27866
|
/**
|
|
27867
|
-
*
|
|
27867
|
+
* Batch creates Elastic Compute Service (ECS) instances. You can automatically start, assign public IP addresses to, and specify an automatic release time for the instances.
|
|
27868
27868
|
*
|
|
27869
27869
|
* @remarks
|
|
27870
|
-
*
|
|
27870
|
+
* Before you call this operation, familiarize yourself with the billing rules and [pricing](https://www.alibabacloud.com/zh/pricing-calculator#/commodity/vm_intl) of ECS resources.
|
|
27871
27871
|
* This operation is an asynchronous operation. After a request to create ECS instances is sent, ECS instance IDs are returned but the creation and startup of the instances may be incomplete. You can call the [DescribeInstanceStatus](https://help.aliyun.com/document_detail/2679688.html) operation to query the status of the instances. When the status of an instance is `Running` in the DescribeInstanceStatus response, the instance is created and started.
|
|
27872
27872
|
* ### [](#)Considerations
|
|
27873
27873
|
* * If the resource inventory is insufficient to complete instance creation, Alibaba Cloud immediately sends an instance creation failure event (SystemFailure.Delete). You can call the [DescribeInstanceHistoryEvents](https://help.aliyun.com/document_detail/2679897.html) operation to check whether an instance creation failure event exists. For more information, see [System events related to instance creation failures](https://help.aliyun.com/document_detail/2545990.html).
|
|
@@ -27922,12 +27922,26 @@ class Client extends openapi_core_1.default {
|
|
|
27922
27922
|
* InstanceChargeType:"PostPaid",
|
|
27923
27923
|
* SpotStrategy:"SpotAsPriceGo", //Set the bidding policy to SpotAsPriceGo, which specifies that the instances are created as preemptible instances for which the market price at the time of purchase is automatically used as the bid price.
|
|
27924
27924
|
* SpotDuration:1 //Set the protection period of the preemptible instances to 1. Unit: hours.
|
|
27925
|
-
*
|
|
27925
|
+
* 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:
|
|
27926
27926
|
* **Example: Create 10 ECS instances based on a launch template**
|
|
27927
27927
|
* RegionId:"cn-hangzhou", //Set the region ID to cn-hangzhou, which specifies the China (Hangzhou) region.
|
|
27928
27928
|
* Amount:10, //Set the number of ECS instances that you want to create to 10.
|
|
27929
27929
|
* LaunchTemplateId:"lt-bp14xczpoxvb6rre****" //Set the launch template ID to lt-bp14xczpoxvb6rre****.
|
|
27930
27930
|
* > If a parameter is specified both in the launch template that you reference in a request and in the instance parameters of the same request, the value specified in the instance parameters takes precedence. For example, if you set InstanceChargeType in the launch template to PrePaid (subscription) and set InstanceChargeType in the instance parameters to PostPaid (pay-as-you-go), the created instances are pay-as-you-go instances.
|
|
27931
|
+
* **Example: Use a full image (an image that contains the system disk and data disks) to create an ECS instance**
|
|
27932
|
+
* RegionId:"cn-hangzhou", //Set the region ID to cn-hangzhou, which specifies the China (Hangzhou) region.
|
|
27933
|
+
* ImageId = m-bp13ohd32cvzpq9e****, //Set the custom image ID to m-bp13ohd32cvzpq9e****.
|
|
27934
|
+
* InstanceType = ecs.u1-c1m1.large, //Set the instance type to ecs.u1-c1m1.large.
|
|
27935
|
+
* SecurityGroupId = sg-bp10jztp6b0sdsyl****, //Set the security group ID to sg-bp10jztp6b0sdsyl****.
|
|
27936
|
+
* VSwitchId = vsw-bp19wo63nleroq22g****, //Set the vSwitch ID to vsw-bp19wo63nleroq22g****.
|
|
27937
|
+
* SystemDisk.Size = 50, //Set the size of the system disk in the full image to 50. Unit: GiB.
|
|
27938
|
+
* SystemDisk.Category = cloud_auto, //Set the category of the system disk in the full image to cloud_auto, which specifies the ESSD AutoPL disk category.
|
|
27939
|
+
* DataDisk.0.Device = /dev/xvdb, //Set the mount point of the data disk in the full image to /dev/xvdb.
|
|
27940
|
+
* DataDisk.0.Size = 50, //Set the size of the data disk in the full image to 50. Unit: GiB.
|
|
27941
|
+
* DataDisk.0.Category = cloud_essd, //Set the category of the data disk in the full image to cloud_essd, which specifies the ESSD category.
|
|
27942
|
+
* DataDisk.1.Device = /dev/xvdc, //Set the mount point of the new data disk to /dev/xvdc. If you want to use a new data disk to replace the data disk in the full image, set DataDisk.1.Device to /dev/xvdb (the default mount point of the data disk in the full image).
|
|
27943
|
+
* DataDisk.1.Size = 70, //Set the size of the new data disk to 70. Unit: GiB.
|
|
27944
|
+
* DataDisk.1.Category = cloud_auto, //Set the category of the new data disk to cloud_auto, which specifies the ESSD AutoPL disk category.
|
|
27931
27945
|
*
|
|
27932
27946
|
* @param request - RunInstancesRequest
|
|
27933
27947
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -28187,10 +28201,10 @@ class Client extends openapi_core_1.default {
|
|
|
28187
28201
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RunInstancesResponse({}));
|
|
28188
28202
|
}
|
|
28189
28203
|
/**
|
|
28190
|
-
*
|
|
28204
|
+
* Batch creates Elastic Compute Service (ECS) instances. You can automatically start, assign public IP addresses to, and specify an automatic release time for the instances.
|
|
28191
28205
|
*
|
|
28192
28206
|
* @remarks
|
|
28193
|
-
*
|
|
28207
|
+
* Before you call this operation, familiarize yourself with the billing rules and [pricing](https://www.alibabacloud.com/zh/pricing-calculator#/commodity/vm_intl) of ECS resources.
|
|
28194
28208
|
* This operation is an asynchronous operation. After a request to create ECS instances is sent, ECS instance IDs are returned but the creation and startup of the instances may be incomplete. You can call the [DescribeInstanceStatus](https://help.aliyun.com/document_detail/2679688.html) operation to query the status of the instances. When the status of an instance is `Running` in the DescribeInstanceStatus response, the instance is created and started.
|
|
28195
28209
|
* ### [](#)Considerations
|
|
28196
28210
|
* * If the resource inventory is insufficient to complete instance creation, Alibaba Cloud immediately sends an instance creation failure event (SystemFailure.Delete). You can call the [DescribeInstanceHistoryEvents](https://help.aliyun.com/document_detail/2679897.html) operation to check whether an instance creation failure event exists. For more information, see [System events related to instance creation failures](https://help.aliyun.com/document_detail/2545990.html).
|
|
@@ -28245,12 +28259,26 @@ class Client extends openapi_core_1.default {
|
|
|
28245
28259
|
* InstanceChargeType:"PostPaid",
|
|
28246
28260
|
* SpotStrategy:"SpotAsPriceGo", //Set the bidding policy to SpotAsPriceGo, which specifies that the instances are created as preemptible instances for which the market price at the time of purchase is automatically used as the bid price.
|
|
28247
28261
|
* SpotDuration:1 //Set the protection period of the preemptible instances to 1. Unit: hours.
|
|
28248
|
-
*
|
|
28262
|
+
* 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:
|
|
28249
28263
|
* **Example: Create 10 ECS instances based on a launch template**
|
|
28250
28264
|
* RegionId:"cn-hangzhou", //Set the region ID to cn-hangzhou, which specifies the China (Hangzhou) region.
|
|
28251
28265
|
* Amount:10, //Set the number of ECS instances that you want to create to 10.
|
|
28252
28266
|
* LaunchTemplateId:"lt-bp14xczpoxvb6rre****" //Set the launch template ID to lt-bp14xczpoxvb6rre****.
|
|
28253
28267
|
* > If a parameter is specified both in the launch template that you reference in a request and in the instance parameters of the same request, the value specified in the instance parameters takes precedence. For example, if you set InstanceChargeType in the launch template to PrePaid (subscription) and set InstanceChargeType in the instance parameters to PostPaid (pay-as-you-go), the created instances are pay-as-you-go instances.
|
|
28268
|
+
* **Example: Use a full image (an image that contains the system disk and data disks) to create an ECS instance**
|
|
28269
|
+
* RegionId:"cn-hangzhou", //Set the region ID to cn-hangzhou, which specifies the China (Hangzhou) region.
|
|
28270
|
+
* ImageId = m-bp13ohd32cvzpq9e****, //Set the custom image ID to m-bp13ohd32cvzpq9e****.
|
|
28271
|
+
* InstanceType = ecs.u1-c1m1.large, //Set the instance type to ecs.u1-c1m1.large.
|
|
28272
|
+
* SecurityGroupId = sg-bp10jztp6b0sdsyl****, //Set the security group ID to sg-bp10jztp6b0sdsyl****.
|
|
28273
|
+
* VSwitchId = vsw-bp19wo63nleroq22g****, //Set the vSwitch ID to vsw-bp19wo63nleroq22g****.
|
|
28274
|
+
* SystemDisk.Size = 50, //Set the size of the system disk in the full image to 50. Unit: GiB.
|
|
28275
|
+
* SystemDisk.Category = cloud_auto, //Set the category of the system disk in the full image to cloud_auto, which specifies the ESSD AutoPL disk category.
|
|
28276
|
+
* DataDisk.0.Device = /dev/xvdb, //Set the mount point of the data disk in the full image to /dev/xvdb.
|
|
28277
|
+
* DataDisk.0.Size = 50, //Set the size of the data disk in the full image to 50. Unit: GiB.
|
|
28278
|
+
* DataDisk.0.Category = cloud_essd, //Set the category of the data disk in the full image to cloud_essd, which specifies the ESSD category.
|
|
28279
|
+
* DataDisk.1.Device = /dev/xvdc, //Set the mount point of the new data disk to /dev/xvdc. If you want to use a new data disk to replace the data disk in the full image, set DataDisk.1.Device to /dev/xvdb (the default mount point of the data disk in the full image).
|
|
28280
|
+
* DataDisk.1.Size = 70, //Set the size of the new data disk to 70. Unit: GiB.
|
|
28281
|
+
* DataDisk.1.Category = cloud_auto, //Set the category of the new data disk to cloud_auto, which specifies the ESSD AutoPL disk category.
|
|
28254
28282
|
*
|
|
28255
28283
|
* @param request - RunInstancesRequest
|
|
28256
28284
|
* @returns RunInstancesResponse
|