@alicloud/ecs20140526 7.2.1 → 7.2.3
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 +18 -18
- package/dist/client.js +21 -18
- 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/CreateElasticityAssuranceRequest.d.ts +10 -10
- package/dist/models/CreateImagePipelineRequest.d.ts +20 -0
- package/dist/models/CreateImagePipelineRequest.js +37 -1
- package/dist/models/CreateImagePipelineRequest.js.map +1 -1
- package/dist/models/CreateInstanceRequest.d.ts +1 -1
- package/dist/models/DescribeDiagnosticMetricsRequest.d.ts +0 -4
- package/dist/models/DescribeDiagnosticMetricsRequest.js.map +1 -1
- package/dist/models/DescribeDisksRequest.d.ts +3 -5
- package/dist/models/DescribeDisksRequest.js.map +1 -1
- package/dist/models/DescribeDisksResponseBody.d.ts +2 -0
- package/dist/models/DescribeDisksResponseBody.js.map +1 -1
- package/dist/models/DescribeImagePipelinesResponseBody.d.ts +33 -0
- package/dist/models/DescribeImagePipelinesResponseBody.js +59 -1
- package/dist/models/DescribeImagePipelinesResponseBody.js.map +1 -1
- package/dist/models/DescribeInvocationResultsResponseBody.d.ts +25 -0
- package/dist/models/DescribeInvocationResultsResponseBody.js.map +1 -1
- package/dist/models/DescribeInvocationsResponseBody.d.ts +25 -0
- package/dist/models/DescribeInvocationsResponseBody.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/DescribePortRangeListsRequest.d.ts +2 -2
- package/dist/models/DescribeRecommendInstanceTypeRequest.d.ts +10 -10
- package/dist/models/DescribeSnapshotLinksResponseBody.d.ts +3 -1
- package/dist/models/DescribeSnapshotLinksResponseBody.js.map +1 -1
- package/dist/models/DescribeSnapshotsResponseBody.d.ts +3 -1
- package/dist/models/DescribeSnapshotsResponseBody.js.map +1 -1
- package/dist/models/ModifyDedicatedHostsChargeTypeRequest.d.ts +3 -3
- package/dist/models/ModifyDedicatedHostsChargeTypeResponseBody.d.ts +1 -1
- package/dist/models/ModifyInstanceNetworkOptionsRequest.d.ts +9 -7
- package/dist/models/ModifyInstanceNetworkOptionsRequest.js.map +1 -1
- package/dist/models/ModifyInstanceNetworkOptionsResponseBody.d.ts +3 -3
- package/dist/models/ModifySnapshotCategoryRequest.d.ts +5 -3
- package/dist/models/ModifySnapshotCategoryRequest.js.map +1 -1
- package/dist/models/ResizeDiskRequest.d.ts +1 -1
- package/dist/models/model.d.ts +5 -0
- package/dist/models/model.js +85 -75
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +22 -18
- package/src/models/CreateAutoProvisioningGroupRequest.ts +32 -0
- package/src/models/CreateAutoProvisioningGroupShrinkRequest.ts +32 -0
- package/src/models/CreateElasticityAssuranceRequest.ts +10 -10
- package/src/models/CreateImagePipelineRequest.ts +47 -0
- package/src/models/CreateInstanceRequest.ts +1 -1
- package/src/models/DescribeDiagnosticMetricsRequest.ts +0 -4
- package/src/models/DescribeDisksRequest.ts +3 -5
- package/src/models/DescribeDisksResponseBody.ts +2 -0
- package/src/models/DescribeImagePipelinesResponseBody.ts +73 -0
- package/src/models/DescribeInvocationResultsResponseBody.ts +25 -0
- package/src/models/DescribeInvocationsResponseBody.ts +25 -0
- package/src/models/DescribeManagedInstancesRequest.ts +3 -0
- package/src/models/DescribePortRangeListsRequest.ts +2 -2
- package/src/models/DescribeRecommendInstanceTypeRequest.ts +10 -10
- package/src/models/DescribeSnapshotLinksResponseBody.ts +3 -1
- package/src/models/DescribeSnapshotsResponseBody.ts +3 -1
- package/src/models/ModifyDedicatedHostsChargeTypeRequest.ts +3 -3
- package/src/models/ModifyDedicatedHostsChargeTypeResponseBody.ts +1 -1
- package/src/models/ModifyInstanceNetworkOptionsRequest.ts +9 -7
- package/src/models/ModifyInstanceNetworkOptionsResponseBody.ts +3 -3
- package/src/models/ModifySnapshotCategoryRequest.ts +5 -3
- package/src/models/ResizeDiskRequest.ts +1 -1
- package/src/models/model.ts +5 -0
package/dist/client.d.ts
CHANGED
|
@@ -7211,13 +7211,13 @@ export default class Client extends OpenApi {
|
|
|
7211
7211
|
*/
|
|
7212
7212
|
modifyInstanceMetadataOptions(request: $_model.ModifyInstanceMetadataOptionsRequest): Promise<$_model.ModifyInstanceMetadataOptionsResponse>;
|
|
7213
7213
|
/**
|
|
7214
|
-
* Modifies
|
|
7214
|
+
* Modifies the network bandwidth weight of an instance.
|
|
7215
7215
|
*
|
|
7216
7216
|
* @remarks
|
|
7217
|
-
* When you call this operation,
|
|
7217
|
+
* When you call this operation, note that:
|
|
7218
7218
|
* * This is an asynchronous operation. The ID of the asynchronous task is returned after the call. Query the asynchronous task result to determine whether the execution is complete.
|
|
7219
7219
|
* * You can modify only one attribute at a time. If you modify multiple attributes, call this operation multiple times.
|
|
7220
|
-
* * To modify the BandwidthWeighting, you must specify the specifications of the instance.
|
|
7220
|
+
* * To modify the BandwidthWeighting, you must specify the specifications of the instance. You can use the [DescribeInstanceTypes](https://help.aliyun.com/document_detail/2679699.html) to query whether the current instance type supports bandwidth weights and the supported bandwidth weights.
|
|
7221
7221
|
*
|
|
7222
7222
|
* @param request - ModifyInstanceNetworkOptionsRequest
|
|
7223
7223
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7225,13 +7225,13 @@ export default class Client extends OpenApi {
|
|
|
7225
7225
|
*/
|
|
7226
7226
|
modifyInstanceNetworkOptionsWithOptions(request: $_model.ModifyInstanceNetworkOptionsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyInstanceNetworkOptionsResponse>;
|
|
7227
7227
|
/**
|
|
7228
|
-
* Modifies
|
|
7228
|
+
* Modifies the network bandwidth weight of an instance.
|
|
7229
7229
|
*
|
|
7230
7230
|
* @remarks
|
|
7231
|
-
* When you call this operation,
|
|
7231
|
+
* When you call this operation, note that:
|
|
7232
7232
|
* * This is an asynchronous operation. The ID of the asynchronous task is returned after the call. Query the asynchronous task result to determine whether the execution is complete.
|
|
7233
7233
|
* * You can modify only one attribute at a time. If you modify multiple attributes, call this operation multiple times.
|
|
7234
|
-
* * To modify the BandwidthWeighting, you must specify the specifications of the instance.
|
|
7234
|
+
* * To modify the BandwidthWeighting, you must specify the specifications of the instance. You can use the [DescribeInstanceTypes](https://help.aliyun.com/document_detail/2679699.html) to query whether the current instance type supports bandwidth weights and the supported bandwidth weights.
|
|
7235
7235
|
*
|
|
7236
7236
|
* @param request - ModifyInstanceNetworkOptionsRequest
|
|
7237
7237
|
* @returns ModifyInstanceNetworkOptionsResponse
|
|
@@ -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
|
}
|
|
@@ -23087,13 +23090,13 @@ class Client extends openapi_core_1.default {
|
|
|
23087
23090
|
return await this.modifyInstanceMetadataOptionsWithOptions(request, runtime);
|
|
23088
23091
|
}
|
|
23089
23092
|
/**
|
|
23090
|
-
* Modifies
|
|
23093
|
+
* Modifies the network bandwidth weight of an instance.
|
|
23091
23094
|
*
|
|
23092
23095
|
* @remarks
|
|
23093
|
-
* When you call this operation,
|
|
23096
|
+
* When you call this operation, note that:
|
|
23094
23097
|
* * This is an asynchronous operation. The ID of the asynchronous task is returned after the call. Query the asynchronous task result to determine whether the execution is complete.
|
|
23095
23098
|
* * You can modify only one attribute at a time. If you modify multiple attributes, call this operation multiple times.
|
|
23096
|
-
* * To modify the BandwidthWeighting, you must specify the specifications of the instance.
|
|
23099
|
+
* * To modify the BandwidthWeighting, you must specify the specifications of the instance. You can use the [DescribeInstanceTypes](https://help.aliyun.com/document_detail/2679699.html) to query whether the current instance type supports bandwidth weights and the supported bandwidth weights.
|
|
23097
23100
|
*
|
|
23098
23101
|
* @param request - ModifyInstanceNetworkOptionsRequest
|
|
23099
23102
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -23134,13 +23137,13 @@ class Client extends openapi_core_1.default {
|
|
|
23134
23137
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyInstanceNetworkOptionsResponse({}));
|
|
23135
23138
|
}
|
|
23136
23139
|
/**
|
|
23137
|
-
* Modifies
|
|
23140
|
+
* Modifies the network bandwidth weight of an instance.
|
|
23138
23141
|
*
|
|
23139
23142
|
* @remarks
|
|
23140
|
-
* When you call this operation,
|
|
23143
|
+
* When you call this operation, note that:
|
|
23141
23144
|
* * This is an asynchronous operation. The ID of the asynchronous task is returned after the call. Query the asynchronous task result to determine whether the execution is complete.
|
|
23142
23145
|
* * You can modify only one attribute at a time. If you modify multiple attributes, call this operation multiple times.
|
|
23143
|
-
* * To modify the BandwidthWeighting, you must specify the specifications of the instance.
|
|
23146
|
+
* * To modify the BandwidthWeighting, you must specify the specifications of the instance. You can use the [DescribeInstanceTypes](https://help.aliyun.com/document_detail/2679699.html) to query whether the current instance type supports bandwidth weights and the supported bandwidth weights.
|
|
23144
23147
|
*
|
|
23145
23148
|
* @param request - ModifyInstanceNetworkOptionsRequest
|
|
23146
23149
|
* @returns ModifyInstanceNetworkOptionsResponse
|
|
@@ -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
|
*
|