All Products
Search
Document Center

Elastic Compute Service:CreateDisk

Last Updated:Jul 12, 2024

Creates a pay-as-you-go or subscription data disk.

Operation description

Usage notes

  • You can enable the multi-attach (MultiAttach) feature when you create a disk. Before you enable the multi-attach feature, we recommend that you familiarize yourself with the feature and its limits. For more information, see NVMe disks and Enable multi-attach.
  • You can create disks of the following disk categories: basic disks, ultra disks, standard SSDs, Enterprise SSDs (ESSDs), ESSD Entry disks, ESSD AutoPL disks, standard elastic ephemeral disks, and premium elastic ephemeral disks.
  • Before you can create a disk, you must complete real-name verification. Complete real-name verification on the Real-name Verification page in the Alibaba Cloud Management Console.
  • When you create disks, you may be charged for the resources used. We recommend that you familiarize yourself with the billing methods of Elastic Compute Service (ECS) resources before you create a disk. For more information, see Billing overview.
  • By default, DeleteAutoSnapshot is set to true when a disk is created. This indicates that the automatic snapshots of the disk are deleted when the disk is released. You can call the ModifyDiskAttribute operation to change the parameter value.
  • If you do not specify a performance level when you create an ESSD, the performance level of the ESSD is automatically set to PL1. To change the performance level of the ESSD, you can call the ModifyDiskSpec operation.
  • By default, Portable is set to true and the billing method is pay-as-you-go for a disk that is created by calling the CreateDisk operation.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The ID of the region in which to create the disk. You can call the DescribeRegions operation to query the most recent region list.

cn-hangzhou
ZoneIdstringNo

The ID of the zone in which to create the pay-as-you-go disk.

  • If you do not specify InstanceId, you must specify ZoneId.
  • You cannot specify both ZoneId and InstanceId in a request.
cn-hangzhou-g
SnapshotIdstringNo

The ID of the snapshot to use to create the disk. Snapshots that were created on or before July 15, 2013 cannot be used to create disks.

The following limits apply to SnapshotId and Size:

  • If the size of the snapshot specified by SnapshotId is larger than the value of Size, the size of the created disk is equal to the specified snapshot size.
  • If the size of the snapshot specified by SnapshotId is smaller than the value of Size, the size of the created disk is equal to the value of Size.
  • You cannot create elastic ephemeral disks from snapshots.
s-bp67acfmxazb4p****
DiskNamestringNo

The name of the disk. The name must be 2 to 128 characters in length and can contain letters and digits. The name can contain colons (:), underscores (_), periods (.), and hyphens (-).

This parameter is left empty by default.

testDiskName
SizeintegerNo

The size of the disk. Unit: GiB. This parameter is required. Valid values:

  • Valid values when DiskCategory is set to cloud: 5 to 2000.

  • Valid values when DiskCategory is set to cloud_efficiency: 20 to 32768.

  • Valid values when DiskCategory is set to cloud_ssd: 20 to 32768.

  • Valid values when DiskCategory is set to cloud_essd: vary based on the PerformanceLevel value.

    • Valid values when PerformanceLevel is set to PL0: 1 to 32768.
    • Valid values when PerformanceLevel is set to PL1: 20 to 32768.
    • Valid values when PerformanceLevel is set to PL2: 461 to 32768.
    • Valid values when PerformanceLevel is set to PL3: 1261 to 32768.
  • Valid values when DiskCategory is set to cloud_auto: 1 to 32768.

  • Valid values when DiskCategory is set to cloud_essd_entry: 10 to 32768.

  • Valid values when DiskCategory is set to elastic_ephemeral_disk_standard: 64 to 8192.

  • Valid values when DiskCategory is set to elastic_ephemeral_disk_premium: 64 to 8192.

If SnapshotId is specified, the following limits apply to SnapshotId and Size:

  • If the size of the snapshot specified by SnapshotId is larger than the value of Size, the size of the created disk is equal to the specified snapshot size.
  • If the size of the snapshot specified by SnapshotId is smaller than the value of Size, the size of the created disk is equal to the value of Size.
2000
DiskCategorystringNo

The category of the data disk. Valid values:

  • cloud: basic disk
  • cloud_efficiency: ultra disk
  • cloud_ssd: standard SSD
  • cloud_essd: ESSD
  • cloud_auto: ESSD AutoPL disk
  • cloud_essd_entry: ESSD Entry disk
  • elastic_ephemeral_disk_standard: standard elastic ephemeral disk
  • elastic_ephemeral_disk_premium: premium elastic ephemeral disk

Default value: cloud.

cloud_ssd
DescriptionstringNo

The description of the disk. The description must be 2 to 256 characters in length and cannot start with http:// or https://.

This parameter is left empty by default.

testDescription
EncryptedbooleanNo

Specifies whether to encrypt the disk. Valid values:

  • true
  • false

Default value: false.

false
ClientTokenstringNo

The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token 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.

123e4567-e89b-12d3-a456-426655440000
InstanceIdstringNo

The ID of the subscription instance to which to attach the subscription disk.

  • If you specify an instance ID, the following parameters are ignored: ResourceGroupId, Tag.N.Key, Tag.N.Value, ClientToken, and KMSKeyId.
  • You cannot specify both ZoneId and InstanceId in a request.

This parameter is empty by default, which indicates that a pay-as-you-go disk is created in the region and zone specified by RegionId and ZoneId.

i-bp18pnlg1ds9rky4****
ResourceGroupIdstringNo

The ID of the resource group to which to add the disk.

rg-bp67acfmxazb4p****
KMSKeyIdstringNo

The ID of the Key Management Service (KMS) key that is used for the disk.

0e478b7a-4262-4802-b8cb-00d3fb40826X
PerformanceLevelstringNo

The performance level of the disk if the disk is an ESSD. Valid values:

  • PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.
  • PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.
  • PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.
  • PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.

Default value: PL1.

For information about ESSD performance levels, see ESSDs .

PL1
AdvancedFeaturesstringNo

This parameter is not publicly available.

hide
StorageSetIdstringNo

The ID of the storage set.

Note You cannot specify storage set-related parameters (StorageSetId and StorageSetPartitionNumber) and the dedicated block storage cluster-related parameter (StorageClusterId) at the same time. Otherwise, the operation cannot be called.
ss-bp67acfmxazb4p****
EncryptAlgorithmstringNo

This parameter is not publicly available.

hide
StorageSetPartitionNumberintegerNo

The number of partitions in the storage set. The value must be greater than or equal to 2 but cannot exceed the quota obtained by calling the DescribeAccountAttributes operation.

Default value: 2.

3
StorageClusterIdstringNo

The ID of the dedicated block storage cluster in which to create the disk. To create a disk in a specific dedicated block storage cluster, you must specify this parameter.

Note You can specify the storage set-related parameters (StorageSetId and StorageSetPartitionNumber) or the dedicated block storage cluster-related parameter (StorageClusterId), but not both. If you specify a storage set-related parameter and a dedicated block storage cluster-related parameter in a request, the request fails.
dbsc-j5e1sf2vaf5he8m2****
MultiAttachstringNo

Specifies whether to enable the multi-attach feature for the disk. Valid values:

  • Disabled
  • Enabled Set the value to Enabled only for ESSDs.

Default value: Disabled.

Note Disks for which the multi-attach feature is enabled support only the pay-as-you-go billing method. When MultiAttach is set to Enabled, you cannot specify InstanceId. You can call the AttachDisk operation to attach disks to instances after the disks are created. Disks for which the multi-attach feature is enabled can be attached only as data disks.
Disabled
Tagarray<object>No

The tags to add to the disk.

objectNo

The tag to add to the disk.

keystringNo

The key of tag N to add to the disk.

Note We recommend that you use Tag.N.Key to ensure future compatibility.
Test
KeystringNo

The key of tag N to add to the disk. Valid values of N: 1 to 20. The tag key cannot be an empty string. The tag key can be up to 128 characters in length and cannot contain http:// or https://. The tag key cannot start with acs: or aliyun.

TestKey
ValuestringNo

The value of tag N to add to the disk. Valid values of N: 1 to 20. The tag value can be an empty string. The tag value can be up to 128 characters in length and cannot contain http:// or https://.

TestValue
valuestringNo

The value of tag N to add to the disk.

Note We recommend that you use Tag.N.Value to ensure future compatibility.
Test
Arnarray<object>No

This parameter is not publicly available.

objectNo

This parameter is not publicly available.

RoleTypestringNo

This parameter is not publicly available.

hide
RolearnstringNo

This parameter is not publicly available.

hide
AssumeRoleForlongNo

This parameter is not publicly available.

1000000000
ProvisionedIopslongNo

The provisioned read/write IOPS of the ESSD AutoPL disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}.

Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.

Note This parameter is available only when DiskCategory is set to cloud_auto. For more information, see ESSD AutoPL disks.
40000
BurstingEnabledbooleanNo

Specifies whether to enable the performance burst feature. Valid values:

  • true
  • false
Note This parameter is available only when DiskCategory is set to cloud_auto. For more information, see ESSD AutoPL disks.
false

Response parameters

ParameterTypeDescriptionExample
object
DiskIdstring

The disk ID.

d-bp131n0q38u3a4zi****
RequestIdstring

The request ID.

473469C7-AA6F-4DC5-B3DB-A3DC0DE3****
OrderIdstring

The order ID.

Note The order ID is returned only when you create a subscription disk.
20413515388****

Examples

Sample success responses

JSONformat

{
  "DiskId": "d-bp131n0q38u3a4zi****",
  "RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****",
  "OrderId": "20413515388****"
}

Error codes

HTTP status codeError codeError messageDescription
400InvalidSize.ValueNotSupportedThe specified parameter Size is not valid.The specified Size parameter is invalid.
400InvalidDiskName.MalformedThe specified disk name is wrongly formed.The disk name is invalid. The name must be 2 to 128 characters in length and start with a letter. It can contain letters, digits, periods (.), underscores (_), and hyphens (-) and cannot start with http:// or https.
400InvalidDescription.MalformedThe specified description is wrongly formed.The resource description is invalid. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
400MissingParameterThe input parameter either "SnapshotId" or "Size" should be specified.-
400InvalidDiskCategory.NotSupportedThe specified disk category is not support.The specified disk category is not supported.
400Account.ArrearageYour account has an outstanding payment.Your account has overdue payments.
400InvalidDiskCategory.ValueNotSupportedThe specified parameter "DiskCategory" is not valid.-
400InvalidDataDiskCategory.ValueNotSupported%s-
400InvalidParameter.Conflict%sThe specified parameter is invalid. Check whether parameter conflicts exist. %s is a variable. An error message is dynamically returned based on call conditions.
400RegionUnauthorized%s-
400Zone.NotOnSale%sThe requested resources are unavailable in the specified zone. %s is a variable. An error message is dynamically returned based on call conditions.
400InvalidDataDiskSize.ValueNotSupported%s-
400OperationDeniedThe specified Zone is not available or not authorized.The specified zone is unavailable or you are not authorized to access it.
400InvalidDiskSize.NotSupportedThe specified parameter size is not valid.-
400InvalidDiskSizeOrCategoryThe specified disk category or size is invalid.The specified disk category or size is invalid.
400InvalidParameter.EncryptedIllegal%sThe specified parameter is invalid. Check whether your encryption operation is supported. %s is a variable. An error message is dynamically returned based on call conditions.
400InvalidParameter.EncryptedNotSupported%sThe specified parameter is invalid and your encryption operation is not supported. %s is a variable. An error message is dynamically returned based on call conditions.
400EncryptedOption.Conflict%sThe specified parameter is invalid and your encryption operation is not supported. %s is a variable. An error message is dynamically returned based on call conditions.
400InvalidParameter.EncryptedIllegalThe specified parameter Encrypted must be true when kmsKeyId is not empty.The encryption feature is not enabled after a Key Management Service (KMS) key ID is specified.
400Duplicate.TagKeyThe Tag.N.Key contain duplicate key.The specified tag key already exists. Tag keys must be unique.
400InvalidTagKey.MalformedThe specified Tag.n.Key is not valid.The specified Tag.N.Key parameter is invalid.
400InvalidTagValue.MalformedThe specified Tag.n.Value is not valid.The specified tag value is invalid.
400InvalidParameter.ArnsThe specified Arns is not valid.-
400MissingParameterThe input parameter ZoneId that is mandatory for processing this request is not supplied.-
400InvalidPerformanceLevel.MalformedThe specified parameter PerformanceLevel is not valid.The specified PerformanceLevel parameter is invalid.
400InvalidDiskCategory.ConflictSnapshotCategoryThe specified disk category conflict with snapshot category.-
400InvalidEncrypted.NotMatchEncryptAlgorithmThe specified parameter Encrypted must be true when EncryptAlgorithm is not empty.-
400InvalidEncrypted.NotMatchKmsKeyIdThe specified parameter Encrypted must be true when KmsKeyId is not empty.-
400InvalidEncrypted.NotMatchSnapshotThe specified parameter Encrypted is different from the Encrypted of the snapshot.-
400InvalidEncryptAlgorithm.NotMatchSnapshotThe specified parameter EncryptAlgorithm is different from the encrypt algorithm of the snapshot.-
400InvalidKmsKeyId.NotMatchSnapshotThe specified parameter KmsKeyId is different from the KmsKeyId of the snapshot.-
400InvalidEncryptAlgorithmThe specified parameter EncryptAlgorithm is not valid.-
400InvalidPerformanceLevel.ValueNotSupportedThe current ZoneId does not support PL0 of cloud_essd.-
400InvalidKMSKeyId.NotSymmetricThe specified parameter KmsKeyId must be symmetric.-
400InvalidStorageSetId.NotFoundThe specified storage set does not exist.-
400InvalidStorageClusterId.StatusNotSupportThe current status of the dedicated storage cluster cannot create a cloud disk yet.-
400InvalidStorageClusterId.ConflictWithStorageSetIdThe specified StorageClusterId is in conflict with storageSetId.-
400InvalidStorageClusterId.ConflictWithInstanceIdThe specified StorageClusterId is in conflict with instanceId.-
400InvalidStorageClusterId.CategoryNotMatchThe current dedicated storage cluster cannot create this category of disk.-
400InvalidStorageClusterId.PerformanceLevelNotMatchThe current dedicated storage cluster cannot create this performance level of disk.-
400InvalidStorageClusterId.CapacityNotEnoughThe remaining capacity of the current dedicated storage cluster is less than the size of disk.The remaining capacity of the dedicated block storage cluster to which the disk belongs is insufficient.
400InvalidCloudBoxZone.EncryptedNotSupportedThe cloud box zone does not support creating encrypted disks.-
400InvalidInstance.NotFoundSystemDiskThe specified instance has no system disk.The specified instance does not have a system disk. Make sure that the instance has a system disk. You can call the DescribeInstances operation to query the details of the instance.
400ProvisionedIopsForDiskCategoryUnsupportedThe specified disk category does not support provisioned iops.-
400InvalidProvisionedIops.LimitExceedThe provisioned iops exceeds the limit.-
400BurstingEnabledForDiskCategoryUnsupportedThe specified disk category does not support bursting enabled.-
400BurstingEnabledForMultiAttachDiskUnsupportedThe multi attach disk does not support bursting enabled.-
400ProvisionedIopsForDiskCategoryRequiredThe provisioned iops is required for this disk category.-
400NotSupportSnapshotEncrypted.RegionIdThe specified region does not support creating encrypted disks with native snapshot encrypt.-
400NotSupportSnapshotEncrypted.ZoneIdThe specified zone does not support creating encrypted disks with native snapshot encrypt.-
400NotSupportSnapshotEncrypted.ShareImageShared snapshot creating encrypted disks with native snapshot encrypt is not supported.When you create encrypted disks based on a shared image, only the encryption key provided by the shared image can be used for these disks and you cannot specify encryption keys for the disks.
400NotSupport.SnapshotEncryptedAlgorithmConflictChanging encrypt algorithm with encrypted snapshot is not supported.-
400QuotaExceed.DiskCapacityThe used capacity of disk type has exceeded the quota in the zone, %s.The capacity of disks that belong to the specified disk category exceeds the quota limit for the zone.
400InsufficientBalance.AgentAccountThe account balance is insufficient. Please contact your channel partner to recharge in time.The account balance is insufficient. Contact your customer service representative to add funds to the account in a timely manner.
400InvalidParam.EncryptedMismatchCreating encrypted disks with shared encrypted snapshots requires replacing encryption keys.-
400InvalidAccountStatus.NotEnoughBalanceYour account does not have enough balance, please contact your partner to increase your account balance.-
400InvalidParameter.KmsNotEnabledFailed to perform this operation because KMS is not activated.You need to activate KMS key management service.
400InvalidParameter.Encrypted.KmsNotEnableFailed to perform this operation because KMS is not activated.You need to activate KMS key escrow service.
400InvalidParam.EncryptedMismatchCreating encrypted disks with shared encrypted image requires replacing encryption keys.You must change the encryption key to create a cloud disk after sharing an encrypted image.
400InvalidZoneId.DiskCategoryUnsupportedThe specified disk category does not support setting the ZoneId.The specified disk category does not support setting the ZoneId.
400InvalidStorageSetId.DiskCategoryUnsupportedThe specified disk category does not support setting the StorageSetId.The specified disk category does not support setting the StorageSetId.
400InvalidStorageClusterId.DiskCategoryUnsupportedThe specified disk category does not support setting the StorageClusterId.The specified disk category does not support setting the StorageClusterId.
400InvalidParameter.EncryptedCreating non-encrypted disks with encrypted snapshots is not supported.-
403InvalidDataDiskCategory.NotSupportedSpecified disk category is not supported.The specified disk category is not supported.
403InstanceDiskCategoryLimitExceedThe total size of specified disk category in an instance exceeds.The total size of disks of the specified category exceeds the maximum capacity allowed for an instance.
403InvalidSnapshot.NotReadyThe specified snapshot creation is not completed yet.The specified snapshot is not created.
403InvalidSnapshot.TooOldThis operation is forbidden because the specified snapshot is created before 2013-07-15.The disk cannot be re-initialized because the snapshot used to create the disk was created before July 15, 2013.
403InvalidSnapshot.TooLargeThe capacity of snapshot exceeds 2000GB.The snapshot size exceeds 2,000 GB.
403OperationDeniedThe specified snapshot is not allowed to create disk.The specified snapshot cannot be used to create disks.
403QuotaExceed.PortableCloudDiskThe quota of portable cloud disk exceeds.The maximum number of removable disks has been reached.
403InvalidDiskCategory.ValueUnauthorizedThe disk category is not authorized.You need permission to operate this disk category.
403InvalidSnapshotId.NotReadyThe specified snapshot has not completed yet.The specified snapshot is being created.
403InvalidSnapshotId.NotDataDiskSnapshotThe specified snapshot is system disk snapshot.The specified snapshot is a system disk snapshot.
403InvalidDiskSize.TooSmallSpecified disk size is less than the size of snapshot.The specified disk size is smaller than the snapshot size.
403OperationDeniedThe type of the disk does not support the operation.The disk category does not support the specified operation.
403InvalidDataDiskCategory.NotSupported%s-
403InvalidDiskSize.NotSupportedDisk size is not supported.The disk size is invalid.
403InvalidAccountStatus.NotEnoughBalanceYour account does not have enough balance.Your account balance is insufficient. Add funds to your account and try again.
403InvalidAccountStatus.SnapshotServiceUnavailableSnapshot service has not been opened yet.The operation is not supported while the snapshot service is not activated.
403InvalidPayMethodThe specified pay method is not valid.The specified payment method is invalid.
403InvalidDiskCategory.NotSupportedThe specified disk category is not supported.The specified disk category does not support this operation.
403InvalidDiskSize.NotSupportedThe specified disk size is not supported.-
403UserNotInTheWhiteListThe user is not in disk white list.You are not authorized to manage the disk. Try again when you are authorized.
403QuotaExceed.PostPaidDiskLiving postPaid disks quota exceeded.-
403InvalidRegion.NotSupportThe specified region does not support byok.The bring your own key (BYOK) feature is not supported in the region.
403UserNotInTheWhiteListThe user is not in byok white list.You are not authorized to use the bring your own key (BYOK) feature. Try again when you are authorized.
403InvalidParameter.KMSKeyId.CMKNotEnabledThe CMK needs to be enabled.The customer master key (CMK) is not enabled when KMSKeyId is specified for an encrypted disk. You can call the DescribeKey operation of KMS to query information about the specified CMK.
403InvalidParameter.KMSKeyId.CMKUnauthorizedThe CMK needs to be added ECS tag.-
403InvalidParameter.KMSKeyId.KMSUnauthorizedECS service have no right to access your KMS.ECS is not authorized to access your KMS resources.
403SecurityRisk.3DVerificationWe have detected a security risk with your default credit or debit card. Please proceed with verification via the link in your email.-
403InvalidParameter.AdvancedFeaturesThe specified parameter AdvancedFeatures is not valid.-
403UserNotInTheWhiteListThe user is not in Arns white list.-
403InvalidInstanceChargeType.ValueNotSupportedThe InstanceChargeType does not support this action.-
403InvalidStatus.UpgradingThe instance is upgrading; please try again later.The instance is being upgraded. Try again later.
403InvalidParam.ZoneIdAndInstanceId.ConflictThe specified parameter 'ZoneId' and 'InstanceId' are not blank at the same time.-
403OperationDenied.PerformanceLevelNotMatchThe specified PerformanceLevel and Size do not match.-
403InvalidStorageSetName.MalformedSpecified parameter StorageSetName is not valid.-
403InvalidDescription.MalformedSpecified parameter Description is not valid.-
403InvalidMaxPartitionNumber.MalformedSpecified parameter MaxPartitionNumber is not valid.-
403InvalidParameter.StorageSetPartitionNumberSpecified parameter StorageSetPartitionNumber is not valid.-
403InvalidParameter.StorageSetIdSpecified parameter StorageSetId is not valid.-
403InvalidParameter.StorageSetZoneIdSpecified parameter StorageSetZoneId is not valid.-
403QuotaExceed.Tags%sThe number of specified tags exceeds the upper limit. %s is a variable. An error message is dynamically returned based on call conditions.
403QuotaExceeded.PostpaidDataDiskCapacityThe quota of postpaid data disk capacity exceeds.The used capacity of the pay-as-you-go disk reaches the quota limit.
403InvalidRegionId.NotSupportEncryptAlgorithmThe current region does not support creating encrypted disks with EncryptAlgorithm.-
403InvalidDiskSize.TooSmallSpecified disk size is too small when choosing PL0 of cloud_essd.-
403OperationDenied.SnapshotNotAllowedThe specified snapshot is not allowed to create disk.The specified snapshot cannot be used to create disks.
403LastTokenProcessingThe last token request is processing.A token request is being processed. Try again later.
403InvalidParameter.MultiAttachThe specified param MultiAttach is not valid.The specified MultiAttach parameter is invalid.
403InvalidParameter.MultiAttachAndInstanceIdConflictThe parameter MultiAttach and InstanceId are conflict.The MultiAttach and InstanceId parameters cannot be both specified.
403InvalidParameter.DiskCategoryAndMultiAttachConflictThe specified disk category does not support multi attach set.The MultiAttach parameter is not supported by Shared Block Storage devices.
403InvalidParameter.DiskCategoryAndMultiAttachNotMatchThe specified disk category does not support multi attach enabled.The specified disk category does not support the multi-attach feature.
403OperationDenied.ZoneNotSupportMultiAttachDiskThe specified zone does support multi attach disk.Disks for which the multi-attach feature is enabled cannot be created in the specified zone.
403UserNotInTheWhiteListUser is not in multi attach disk white list, apply through the work order.-
403InvalidAccountStatus.CouponAmountNotEnoughYour coupon balance is insufficient or has expired.Your coupon balance is insufficient or your coupons have expired.
403InvalidOperation.CreateFromSnapshotUnsupportedThe elastic ephemeral disk cannot be created from snapshot.The elastic ephemeral disk cannot be created from snapshot.
403NotSupportSnapshotEncrypted.DiskCategoryThe specified disk category does not support creating encrypted system disks or creating encrypted data disks from snapshots. Check the DiskCategory or Encrypted parameter, or check your account for default encryption settings.This disk type does not support creating encrypted system disks or creating encrypted data disks in snapshot mode. Please check the disk type and encryption parameters you entered, or check whether you have configured the default encryption configuration for account cloud disks.
403InvalidEncrypted.DefaultEncryptionUnsupportedThe specified parameter Encrypted must be true when default encryption is enabled.After the cloud disk is encrypted by default, the newly purchased cloud disk must be an encrypted cloud disk.
403InvalidDiskCategory.ValueUnauthorizedThe specified DiskCategory is not authorized.The disk type is unauthorized.
404InvalidRegionId.NotFoundThe specified RegionId does not exist.The specified region ID does not exist.
404InvalidZoneId.NotFoundThe specified zone does not exist.The specified zone ID does not exist.
404InvalidSnapshotId.NotFoundThe specified SnapshotId does not exist.The specified snapshot ID does not exist.
404InvalidResourceGroup.NotFoundThe ResourceGroup provided does not exist in our records.The specified resource group does not exist.
404InvalidRegionId.NotFoundThe RegionId provided does not exist in our records.The RegionId provided does not exist
404InvalidParameter.KMSKeyId.NotFoundThe specified KMSKeyId does not exist.The specified KMSKeyId parameter does not exist.
404InvalidInstanceId.NotFoundThe InstanceId provided does not exist in our records.The specified instance does not exist. Check whether the instance ID is correct.
404InvalidInstanceId.NotFoundThe specified InstanceId does not exist.The specified instance does not exist.
404InvalidStorageClusterId.NotExistThe specified StorageClusterId does not exist in current region.-
500InternalErrorThe request processing has failed due to some unknown error.An internal error has occurred. Try again later.
500InvalidParameter.DataEncryptedKeyCreateFailedCreate kms data encrypted key fail. If you need further assistance, you can contact the KMS Technical Support.-
500InternalErrorThe request processing has failed due to some unknown error, exception or failure.An internal error has occurred. Try again later.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-07-12The Error code has changedView Change Details
2024-06-27The Error code has changedView Change Details
2024-05-08The Error code has changedView Change Details
2024-03-21The Error code has changedView Change Details
2024-01-15The Error code has changedView Change Details
2023-11-24The Error code has changedView Change Details
2023-11-21The Error code has changedView Change Details
2023-10-09The Error code has changedView Change Details
2023-08-29The Error code has changedView Change Details
2023-08-02The Error code has changedView Change Details
2023-06-28The Error code has changedView Change Details
2021-11-29The Error code has changedView Change Details