@alicloud/ecs20140526 7.2.1 → 7.2.2
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 +12 -12
- package/dist/client.js +15 -12
- package/dist/client.js.map +1 -1
- package/dist/models/CreateAutoProvisioningGroupRequest.d.ts +15 -0
- package/dist/models/CreateAutoProvisioningGroupRequest.js +27 -1
- package/dist/models/CreateAutoProvisioningGroupRequest.js.map +1 -1
- package/dist/models/CreateAutoProvisioningGroupShrinkRequest.d.ts +15 -0
- package/dist/models/CreateAutoProvisioningGroupShrinkRequest.js +27 -1
- package/dist/models/CreateAutoProvisioningGroupShrinkRequest.js.map +1 -1
- package/dist/models/CreateInstanceRequest.d.ts +1 -1
- package/dist/models/DescribeDisksResponseBody.d.ts +2 -0
- package/dist/models/DescribeDisksResponseBody.js.map +1 -1
- package/dist/models/DescribeManagedInstancesRequest.d.ts +1 -0
- package/dist/models/DescribeManagedInstancesRequest.js +2 -0
- package/dist/models/DescribeManagedInstancesRequest.js.map +1 -1
- package/dist/models/ResizeDiskRequest.d.ts +1 -1
- package/dist/models/model.d.ts +2 -0
- package/dist/models/model.js +67 -63
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +16 -12
- package/src/models/CreateAutoProvisioningGroupRequest.ts +32 -0
- package/src/models/CreateAutoProvisioningGroupShrinkRequest.ts +32 -0
- package/src/models/CreateInstanceRequest.ts +1 -1
- package/src/models/DescribeDisksResponseBody.ts +2 -0
- package/src/models/DescribeManagedInstancesRequest.ts +3 -0
- package/src/models/ResizeDiskRequest.ts +1 -1
- package/src/models/model.ts +2 -0
package/dist/client.d.ts
CHANGED
|
@@ -8725,15 +8725,15 @@ export default class Client extends OpenApi {
|
|
|
8725
8725
|
* Resizes a system disk or a data disk.
|
|
8726
8726
|
*
|
|
8727
8727
|
* @remarks
|
|
8728
|
-
* >
|
|
8728
|
+
* > Before you call this operation to resize a disk, you must check the partition format of the disk. You cannot resize a master boot record (MBR) disk to a size that is larger than 2 TiB. If you resize an MBR disk to a size that is larger than 2 TiB, data may be lost. If you want to resize an MBR disk to a size that is larger than 2 TiB, we recommend performing the following steps: Create a new data disk that is larger than 2 TiB in size, partition and format the new data disk by using the GUID Partition Table (GPT) format, and then copy data from the MBR disk to the GPT data disk. For more information, see [Step 1: Resize a disk to extend the disk capacity](https://help.aliyun.com/document_detail/44986.html).
|
|
8729
8729
|
* * You can resize disks of the following disk categories: basic disks (`cloud`), ultra disks (`cloud_efficiency`), standard SSDs (`cloud_ssd`), Enterprise SSDs (ESSDs) (`cloud_essd`), ESSD AutoPL disks (cloud_auto), standard elastic ephemeral disks (elastic_ephemeral_disk_standard), and premium elastic ephemeral disks (elastic_ephemeral_disk_premium).
|
|
8730
8730
|
* * You cannot resize a cloud disk when a snapshot is being created for the disk. Wait until the snapshot is created before you resize the cloud disk.
|
|
8731
|
-
* * You cannot call this operation to
|
|
8732
|
-
* * If the multi-attach feature is enabled for a cloud disk, you can resize the disk online or offline. Make sure that the
|
|
8733
|
-
* * If you want to resize the disk online, the ECS instances must be in the **Running**
|
|
8734
|
-
* * If you want to resize the disk offline, the ECS instances must be in the **Running**
|
|
8731
|
+
* * You cannot call this operation to extend partitions or file systems. You must manually allocate partitions and file systems after the resize cloud disk capacity. For more information, see [Extend partitions and file systems (Linux)](~~2949817#bb3b1f02e51pj~~) and [Extend partitions and file systems (windows)](~~2932233#a9f9b78f3fujb~~).
|
|
8732
|
+
* * If the multi-attach feature is enabled for a cloud disk, you can resize the disk online or offline. Make sure that the ECS instances to which the disk is attached meet the following requirements:
|
|
8733
|
+
* * If you want to resize the disk online, the ECS instances must be in the **Running** state.``
|
|
8734
|
+
* * If you want to resize the disk offline, the ECS instances must be in the **Running** or **Stopped** state.````
|
|
8735
8735
|
* * The cloud disk that you want to resize must meet the following requirements:
|
|
8736
|
-
* * The disk is in the In Use (`
|
|
8736
|
+
* * The disk is in the In Use (`In Use`) or Unattached (`Available`) state.
|
|
8737
8737
|
* * (Recommended) Snapshots are created for the disk to back up disk data. For information about how to create snapshots for a disk, see [Create a snapshot](https://help.aliyun.com/document_detail/25455.html).
|
|
8738
8738
|
* * If the disk is a new data disk, initialize the disk before you resize the disk. For more information, see [Overview](https://help.aliyun.com/document_detail/466323.html).
|
|
8739
8739
|
*
|
|
@@ -8746,15 +8746,15 @@ export default class Client extends OpenApi {
|
|
|
8746
8746
|
* Resizes a system disk or a data disk.
|
|
8747
8747
|
*
|
|
8748
8748
|
* @remarks
|
|
8749
|
-
* >
|
|
8749
|
+
* > Before you call this operation to resize a disk, you must check the partition format of the disk. You cannot resize a master boot record (MBR) disk to a size that is larger than 2 TiB. If you resize an MBR disk to a size that is larger than 2 TiB, data may be lost. If you want to resize an MBR disk to a size that is larger than 2 TiB, we recommend performing the following steps: Create a new data disk that is larger than 2 TiB in size, partition and format the new data disk by using the GUID Partition Table (GPT) format, and then copy data from the MBR disk to the GPT data disk. For more information, see [Step 1: Resize a disk to extend the disk capacity](https://help.aliyun.com/document_detail/44986.html).
|
|
8750
8750
|
* * You can resize disks of the following disk categories: basic disks (`cloud`), ultra disks (`cloud_efficiency`), standard SSDs (`cloud_ssd`), Enterprise SSDs (ESSDs) (`cloud_essd`), ESSD AutoPL disks (cloud_auto), standard elastic ephemeral disks (elastic_ephemeral_disk_standard), and premium elastic ephemeral disks (elastic_ephemeral_disk_premium).
|
|
8751
8751
|
* * You cannot resize a cloud disk when a snapshot is being created for the disk. Wait until the snapshot is created before you resize the cloud disk.
|
|
8752
|
-
* * You cannot call this operation to
|
|
8753
|
-
* * If the multi-attach feature is enabled for a cloud disk, you can resize the disk online or offline. Make sure that the
|
|
8754
|
-
* * If you want to resize the disk online, the ECS instances must be in the **Running**
|
|
8755
|
-
* * If you want to resize the disk offline, the ECS instances must be in the **Running**
|
|
8752
|
+
* * You cannot call this operation to extend partitions or file systems. You must manually allocate partitions and file systems after the resize cloud disk capacity. For more information, see [Extend partitions and file systems (Linux)](~~2949817#bb3b1f02e51pj~~) and [Extend partitions and file systems (windows)](~~2932233#a9f9b78f3fujb~~).
|
|
8753
|
+
* * If the multi-attach feature is enabled for a cloud disk, you can resize the disk online or offline. Make sure that the ECS instances to which the disk is attached meet the following requirements:
|
|
8754
|
+
* * If you want to resize the disk online, the ECS instances must be in the **Running** state.``
|
|
8755
|
+
* * If you want to resize the disk offline, the ECS instances must be in the **Running** or **Stopped** state.````
|
|
8756
8756
|
* * The cloud disk that you want to resize must meet the following requirements:
|
|
8757
|
-
* * The disk is in the In Use (`
|
|
8757
|
+
* * The disk is in the In Use (`In Use`) or Unattached (`Available`) state.
|
|
8758
8758
|
* * (Recommended) Snapshots are created for the disk to back up disk data. For information about how to create snapshots for a disk, see [Create a snapshot](https://help.aliyun.com/document_detail/25455.html).
|
|
8759
8759
|
* * If the disk is a new data disk, initialize the disk before you resize the disk. For more information, see [Overview](https://help.aliyun.com/document_detail/466323.html).
|
|
8760
8760
|
*
|
package/dist/client.js
CHANGED
|
@@ -14371,6 +14371,9 @@ class Client extends openapi_core_1.default {
|
|
|
14371
14371
|
if (!$dara.isNull(request.instanceName)) {
|
|
14372
14372
|
query["InstanceName"] = request.instanceName;
|
|
14373
14373
|
}
|
|
14374
|
+
if (!$dara.isNull(request.machineId)) {
|
|
14375
|
+
query["MachineId"] = request.machineId;
|
|
14376
|
+
}
|
|
14374
14377
|
if (!$dara.isNull(request.maxResults)) {
|
|
14375
14378
|
query["MaxResults"] = request.maxResults;
|
|
14376
14379
|
}
|
|
@@ -27571,15 +27574,15 @@ class Client extends openapi_core_1.default {
|
|
|
27571
27574
|
* Resizes a system disk or a data disk.
|
|
27572
27575
|
*
|
|
27573
27576
|
* @remarks
|
|
27574
|
-
* >
|
|
27577
|
+
* > Before you call this operation to resize a disk, you must check the partition format of the disk. You cannot resize a master boot record (MBR) disk to a size that is larger than 2 TiB. If you resize an MBR disk to a size that is larger than 2 TiB, data may be lost. If you want to resize an MBR disk to a size that is larger than 2 TiB, we recommend performing the following steps: Create a new data disk that is larger than 2 TiB in size, partition and format the new data disk by using the GUID Partition Table (GPT) format, and then copy data from the MBR disk to the GPT data disk. For more information, see [Step 1: Resize a disk to extend the disk capacity](https://help.aliyun.com/document_detail/44986.html).
|
|
27575
27578
|
* * You can resize disks of the following disk categories: basic disks (`cloud`), ultra disks (`cloud_efficiency`), standard SSDs (`cloud_ssd`), Enterprise SSDs (ESSDs) (`cloud_essd`), ESSD AutoPL disks (cloud_auto), standard elastic ephemeral disks (elastic_ephemeral_disk_standard), and premium elastic ephemeral disks (elastic_ephemeral_disk_premium).
|
|
27576
27579
|
* * You cannot resize a cloud disk when a snapshot is being created for the disk. Wait until the snapshot is created before you resize the cloud disk.
|
|
27577
|
-
* * You cannot call this operation to
|
|
27578
|
-
* * If the multi-attach feature is enabled for a cloud disk, you can resize the disk online or offline. Make sure that the
|
|
27579
|
-
* * If you want to resize the disk online, the ECS instances must be in the **Running**
|
|
27580
|
-
* * If you want to resize the disk offline, the ECS instances must be in the **Running**
|
|
27580
|
+
* * You cannot call this operation to extend partitions or file systems. You must manually allocate partitions and file systems after the resize cloud disk capacity. For more information, see [Extend partitions and file systems (Linux)](~~2949817#bb3b1f02e51pj~~) and [Extend partitions and file systems (windows)](~~2932233#a9f9b78f3fujb~~).
|
|
27581
|
+
* * If the multi-attach feature is enabled for a cloud disk, you can resize the disk online or offline. Make sure that the ECS instances to which the disk is attached meet the following requirements:
|
|
27582
|
+
* * If you want to resize the disk online, the ECS instances must be in the **Running** state.``
|
|
27583
|
+
* * If you want to resize the disk offline, the ECS instances must be in the **Running** or **Stopped** state.````
|
|
27581
27584
|
* * The cloud disk that you want to resize must meet the following requirements:
|
|
27582
|
-
* * The disk is in the In Use (`
|
|
27585
|
+
* * The disk is in the In Use (`In Use`) or Unattached (`Available`) state.
|
|
27583
27586
|
* * (Recommended) Snapshots are created for the disk to back up disk data. For information about how to create snapshots for a disk, see [Create a snapshot](https://help.aliyun.com/document_detail/25455.html).
|
|
27584
27587
|
* * If the disk is a new data disk, initialize the disk before you resize the disk. For more information, see [Overview](https://help.aliyun.com/document_detail/466323.html).
|
|
27585
27588
|
*
|
|
@@ -27634,15 +27637,15 @@ class Client extends openapi_core_1.default {
|
|
|
27634
27637
|
* Resizes a system disk or a data disk.
|
|
27635
27638
|
*
|
|
27636
27639
|
* @remarks
|
|
27637
|
-
* >
|
|
27640
|
+
* > Before you call this operation to resize a disk, you must check the partition format of the disk. You cannot resize a master boot record (MBR) disk to a size that is larger than 2 TiB. If you resize an MBR disk to a size that is larger than 2 TiB, data may be lost. If you want to resize an MBR disk to a size that is larger than 2 TiB, we recommend performing the following steps: Create a new data disk that is larger than 2 TiB in size, partition and format the new data disk by using the GUID Partition Table (GPT) format, and then copy data from the MBR disk to the GPT data disk. For more information, see [Step 1: Resize a disk to extend the disk capacity](https://help.aliyun.com/document_detail/44986.html).
|
|
27638
27641
|
* * You can resize disks of the following disk categories: basic disks (`cloud`), ultra disks (`cloud_efficiency`), standard SSDs (`cloud_ssd`), Enterprise SSDs (ESSDs) (`cloud_essd`), ESSD AutoPL disks (cloud_auto), standard elastic ephemeral disks (elastic_ephemeral_disk_standard), and premium elastic ephemeral disks (elastic_ephemeral_disk_premium).
|
|
27639
27642
|
* * You cannot resize a cloud disk when a snapshot is being created for the disk. Wait until the snapshot is created before you resize the cloud disk.
|
|
27640
|
-
* * You cannot call this operation to
|
|
27641
|
-
* * If the multi-attach feature is enabled for a cloud disk, you can resize the disk online or offline. Make sure that the
|
|
27642
|
-
* * If you want to resize the disk online, the ECS instances must be in the **Running**
|
|
27643
|
-
* * If you want to resize the disk offline, the ECS instances must be in the **Running**
|
|
27643
|
+
* * You cannot call this operation to extend partitions or file systems. You must manually allocate partitions and file systems after the resize cloud disk capacity. For more information, see [Extend partitions and file systems (Linux)](~~2949817#bb3b1f02e51pj~~) and [Extend partitions and file systems (windows)](~~2932233#a9f9b78f3fujb~~).
|
|
27644
|
+
* * If the multi-attach feature is enabled for a cloud disk, you can resize the disk online or offline. Make sure that the ECS instances to which the disk is attached meet the following requirements:
|
|
27645
|
+
* * If you want to resize the disk online, the ECS instances must be in the **Running** state.``
|
|
27646
|
+
* * If you want to resize the disk offline, the ECS instances must be in the **Running** or **Stopped** state.````
|
|
27644
27647
|
* * The cloud disk that you want to resize must meet the following requirements:
|
|
27645
|
-
* * The disk is in the In Use (`
|
|
27648
|
+
* * The disk is in the In Use (`In Use`) or Unattached (`Available`) state.
|
|
27646
27649
|
* * (Recommended) Snapshots are created for the disk to back up disk data. For information about how to create snapshots for a disk, see [Create a snapshot](https://help.aliyun.com/document_detail/25455.html).
|
|
27647
27650
|
* * If the disk is a new data disk, initialize the disk before you resize the disk. For more information, see [Overview](https://help.aliyun.com/document_detail/466323.html).
|
|
27648
27651
|
*
|