All Products
Search
Document Center

Elastic Compute Service:CreateDisk

Last Updated:Jun 26, 2026

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

Operation description

  • When you create a disk, you can enable the multi-attach feature (MultiAttach). Learn about this attribute and its limits before you use it. For more information, see ESSD cloud disks that support NVMe and Use the multi-attach feature.

  • The following disk types can be created: basic disks, ultra disks, standard SSDs, enterprise SSDs, ESSD Entry disks, regional Enterprise SSDs (ESSDs), ESSD AutoPL disks, elastic ephemeral disks - Standard Edition, and elastic ephemeral disks - Premium Edition.

  • To create a disk, complete real-name registration.

  • Creating a disk incurs fees. Learn about the billing method of Elastic Compute Service (ECS) in advance. For more information, see Billing overview.

  • Default settings when you create a disk:

    • Automatic snapshots of the disk are deleted when the disk is deleted. That is, DeleteAutoSnapshot is set to true. You can call DescribeDisks to query the parameter settings, and call ModifyDiskAttribute to modify the property.

    • When you create an enterprise SSD, if you do not configure a performance level, the default level is PL1. You can call ModifyDiskSpec to change the performance level.

    • The billing method is pay-as-you-go, which means the Portable property defaults to true.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

ecs:CreateDisk

create

Disk

acs:ecs:{#regionId}:{#accountId}:disk/*

Disk

acs:ecs:{#regionId}:{#accountId}:disk/{#diskId}

Snapshot

acs:ecs:{#regionId}:{#accountId}:snapshot/{#snapshotId}

  • ecs:IsDiskEncrypted
  • ecs:IsDiskByokEncrypted
None

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

Yes

The ID of the region. You can call DescribeRegions to query the most recent region list.

cn-hangzhou

ZoneId

string

No

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

  • If you do not specify InstanceId, ZoneId is required.

  • You cannot specify both ZoneId and InstanceId.

Note

You do not need to set ZoneId for disks of the cloud_regional_disk_auto type.

cn-hangzhou-g

SnapshotId

string

No

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

The SnapshotId and Size parameters have the following restrictions:

  • If the snapshot specified by SnapshotId is larger than the specified Size value, the snapshot size of the created disk equals the size of the specified snapshot.

  • If the snapshot specified by SnapshotId is smaller than the specified Size value, the snapshot size of the created disk equals the specified Size value.

  • Elastic ephemeral disks cannot be created from snapshots.

s-bp67acfmxazb4p****

DiskName

string

No

The name of the disk. The name must be 2 to 128 characters in length and can contain letters in the Unicode letter category (including English and Chinese characters) and ASCII digits (0-9). The name can contain colons (:), underscores (_), periods (.), or hyphens (-). The name must start with a character in the Unicode letter category.

Default value: empty.

testDiskName

Size

integer

No

The size of the disk. Unit: GiB. You must specify a value for this parameter. Valid values:

  • cloud: 5 to 2,000.

  • cloud_efficiency: 20 to 32,768.

  • cloud_ssd: 20 to 32,768.

  • cloud_essd: The valid values depend on the PerformanceLevel value.
    • PL0: 1 to 65,536.

    • PL1: 20 to 65,536.

    • PL2: 461 to 65,536.

    • PL3: 1,261 to 65,536.

  • cloud_auto: 1 to 65,536.

  • cloud_essd_entry: 10 to 32,768.

  • cloud_regional_disk_auto: 10 to 65,536.

  • elastic_ephemeral_disk_standard: 64 to 8,192.

  • elastic_ephemeral_disk_premium: 64 to 8,192.

If you specify SnapshotId, the SnapshotId and Size parameters have the following restrictions:

  • If the snapshot specified by SnapshotId is larger than the specified Size value, the snapshot size of the created disk equals the size of the specified snapshot.

  • If the snapshot specified by SnapshotId is smaller than the specified Size value, the snapshot size of the created disk equals the specified Size value.

2000

DiskCategory

string

No

The category of the data disk. Valid values:

  • cloud: basic disk.

  • cloud_efficiency: ultra disk.

  • cloud_ssd: standard SSD.

  • cloud_essd: enterprise SSD.

  • cloud_auto: ESSD AutoPL disk.

  • cloud_essd_entry: ESSD Entry disk.

  • cloud_regional_disk_auto: regional Enterprise SSD (ESSD).

  • elastic_ephemeral_disk_standard: elastic ephemeral disk - Standard Edition.

  • elastic_ephemeral_disk_premium: elastic ephemeral disk - Premium Edition.

Default value: cloud.

cloud_ssd

Description

string

No

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

Default value: empty.

testDescription

Encrypted

boolean

No

Specifies whether to encrypt the disk. Valid values:

  • true: Encrypted.

  • false: Not encrypted.

Default value: false.

false

ClientToken

string

No

The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but make sure that the token is unique among different requests. The ClientToken value 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

InstanceId

string

No

The ID of the subscription instance to which the created subscription disk is automatically attached.

  • After you specify the instance ID, the ResourceGroupId, Tag.N.Key, Tag.N.Value, ClientToken, and KMSKeyId parameters are ignored.

  • You cannot specify both ZoneId and InstanceId.

Default value: empty. A pay-as-you-go disk is created, and the region of the disk is determined by RegionId and ZoneId.

i-bp18pnlg1ds9rky4****

ResourceGroupId

string

No

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

rg-bp67acfmxazb4p****

KMSKeyId

string

No

The ID of the Key Management Service (KMS) key used by the disk.

Note

If Encrypted is set to true and KMSKeyId is not specified, the default key is used for encryption. The KMSKeyId value is returned after the instance is created.

    • If the disk is created from a non-shared encrypted snapshot, the encryption key used by the snapshot is used by default.

    • If the disk is created from a shared encrypted snapshot, the service key is used by default.

    • If the disk is created in a region where account-level default encryption for block storage is enabled, the specified account-level key is used by default.

    • In other cases, the service key is used by default.

0e478b7a-4262-4802-b8cb-00d3fb40826X

PerformanceLevel

string

No

The performance level of the enterprise SSD to create. Set this parameter to one of the following values:

  • PL0: A single disk can deliver up to 10,000 random read/write IOPS.

  • PL1: A single disk can deliver up to 50,000 random read/write IOPS.

  • PL2: A single disk can deliver up to 100,000 random read/write IOPS.

  • PL3: A single disk can deliver up to 1,000,000 random read/write IOPS.

Default value: PL1.

For information about how to select an ESSD performance level, see Enterprise SSDs.

PL1

AdvancedFeatures

string

No

This parameter is not publicly available.

hide

StorageSetId

string

No

The ID of the storage set.

Note

You can set either the storage set parameters (StorageSetId and StorageSetPartitionNumber) or the dedicated block storage cluster parameter (StorageClusterId), but not both. If you set both, the API call fails.

ss-bp67acfmxazb4p****

EncryptAlgorithm

string

No

This parameter is not publicly available.

hide

StorageSetPartitionNumber

integer

No

The number of partitions in the storage set. Valid values: 2 and greater. The maximum value cannot exceed the privilege quota limit returned by calling DescribeAccountAttributes.

Default value: 2.

3

StorageClusterId

string

No

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

Note

You can set either the storage set parameters (StorageSetId and StorageSetPartitionNumber) or the dedicated block storage cluster parameter (StorageClusterId), but not both. If you set both, the API call fails.

dbsc-j5e1sf2vaf5he8m2****

MultiAttach

string

No

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

  • Disabled: Disabled.

  • Enabled: Enabled. Only enterprise SSDs support setting this parameter to Enabled.

Default value: Disabled.

Note

Disks with the multi-attach feature enabled support only the pay-as-you-go billing method. Therefore, when MultiAttach=Enabled, you cannot specify the InstanceId parameter. After the disk is created, you can call AttachDisk to attach it. Note that a disk with the multi-attach feature enabled can be attached only as a data disk.

Disabled

Tag

array<object>

No

The list of tags for the disk.

object

No

The list of tags for the disk.

key

string

No

The tag key of the disk.

Note

To improve backward compatibility, use Tag.N.Key.

Test

Key

string

No

The tag key of 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 start with aliyun or acs:. The tag key cannot contain http:// or https://.

TestKey

Value

string

No

The tag value of 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

value

string

No

The tag value of the disk.

Note

To improve backward compatibility, use Tag.N.Value.

Test

Arn

array<object>

No

Note

This parameter is not publicly available.

object

No

Note

This parameter is not publicly available.

RoleType

string

No

Note

This parameter is not publicly available.

hide

Rolearn

string

No

Note

This parameter is not publicly available.

hide

AssumeRoleFor

integer

No

Note

This parameter is not publicly available.

1000000000

ProvisionedIops

integer

No

The provisioned read/write IOPS of the ESSD AutoPL disk. Valid values:

  • Capacity (GiB) <= 3: Provisioned performance is not supported.

  • Capacity (GiB) >= 4: [0, min{(1,000 IOPS/GiB × Capacity - Baseline IOPS), 50,000}]

Baseline performance = max{min{1,800 + 50 × Capacity, 50,000}, 3,000}.

Note

This parameter is supported only when DiskCategory is set to cloud_auto. For more information, see ESSD AutoPL disks.

40000

BurstingEnabled

boolean

No

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

  • true: Enabled.

  • false: Disabled.

Note

This parameter is supported only when DiskCategory is set to cloud_auto. For more information, see ESSD AutoPL disks.

false

Response elements

Element

Type

Description

Example

object

DiskId

string

The ID of the disk.

d-bp131n0q38u3a4zi****

RequestId

string

The request ID.

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

OrderId

string

The ID of the order.

Note

An order ID is returned only when you create a subscription disk.

20413515388****

Examples

Success response

JSON format

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

Error codes

HTTP status code

Error code

Error message

Description

400 InvalidSize.ValueNotSupported The specified parameter Size is not valid. The specified Size parameter is invalid.
400 InvalidDiskName.Malformed The 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.
400 InvalidDescription.Malformed The 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://.
400 MissingParameter The input parameter either "SnapshotId" or "Size" should be specified. You must specify at least one of SnapshotId and Size in the parameter.
400 InvalidDiskCategory.NotSupported The specified disk category is not support. The specified disk category is not supported.
400 Account.Arrearage Your account has an outstanding payment. Your account has overdue payments.
400 InvalidDiskCategory.ValueNotSupported The specified parameter "DiskCategory" is not valid. The specified cloud disk type DiskCategory is invalid.
400 InvalidParameter.Conflict %s The specified parameter is invalid. Check whether parameter conflicts exist. %s is a variable. An error message is dynamically returned based on call conditions.
400 OperationDenied The specified Zone is not available or not authorized.
400 InvalidDiskSize.NotSupported The specified parameter size is not valid.
400 InvalidDiskSizeOrCategory The specified disk category or size is invalid. The specified disk category or size is invalid.
400 InvalidParameter.EncryptedIllegal The 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.
400 Duplicate.TagKey The Tag.N.Key contain duplicate key. The specified tag key already exists. Tag keys must be unique.
400 InvalidTagKey.Malformed The specified Tag.n.Key is not valid. The specified Tag.N.Key parameter is invalid.
400 InvalidTagValue.Malformed The specified Tag.n.Value is not valid. The specified tag value is invalid.
400 InvalidParameter.Arns The specified Arns is not valid. The Arns parameter is invalid. Please check and pass it again.
400 InvalidPerformanceLevel.Malformed The specified parameter PerformanceLevel is not valid. The specified PerformanceLevel parameter is invalid.
400 InvalidDiskCategory.ConflictSnapshotCategory The specified disk category conflict with snapshot category.
400 InvalidEncrypted.NotMatchEncryptAlgorithm The specified parameter Encrypted must be true when EncryptAlgorithm is not empty.
400 InvalidEncrypted.NotMatchKmsKeyId The specified parameter Encrypted must be true when KmsKeyId is not empty.
400 InvalidEncryptAlgorithm.NotMatchSnapshot The specified parameter EncryptAlgorithm is different from the encrypt algorithm of the snapshot.
400 InvalidKmsKeyId.NotMatchSnapshot The specified parameter KmsKeyId is different from the KmsKeyId of the snapshot.
400 InvalidEncryptAlgorithm The specified parameter EncryptAlgorithm is not valid.
400 InvalidPerformanceLevel.ValueNotSupported The current ZoneId does not support PL0 of cloud_essd.
400 InvalidKMSKeyId.NotSymmetric The specified parameter KmsKeyId must be symmetric. The KMSKey used for encryption must be a symmetric encryption key.
400 InvalidStorageSetId.NotFound The specified storage set does not exist.
400 InvalidStorageClusterId.StatusNotSupport The current status of the dedicated storage cluster cannot create a cloud disk yet.
400 InvalidStorageClusterId.ConflictWithStorageSetId The specified StorageClusterId is in conflict with storageSetId.
400 InvalidStorageClusterId.ConflictWithInstanceId The specified StorageClusterId is in conflict with instanceId.
400 InvalidStorageClusterId.CategoryNotMatch The current dedicated storage cluster cannot create this category of disk.
400 InvalidStorageClusterId.PerformanceLevelNotMatch The current dedicated storage cluster cannot create this performance level of disk.
400 InvalidStorageClusterId.CapacityNotEnough The 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.
400 InvalidCloudBoxZone.EncryptedNotSupported The cloud box zone does not support creating encrypted disks.
400 InvalidInstance.NotFoundSystemDisk The 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.
400 ProvisionedIopsForDiskCategoryUnsupported The specified disk category does not support provisioned iops.
400 InvalidProvisionedIops.LimitExceed The provisioned iops exceeds the limit. The filled ProvisionedIops parameter exceeds the limit.
400 BurstingEnabledForDiskCategoryUnsupported The specified disk category does not support bursting enabled.
400 BurstingEnabledForMultiAttachDiskUnsupported The multi attach disk does not support bursting enabled.
400 ProvisionedIopsForDiskCategoryRequired The provisioned iops is required for this disk category.
400 NotSupportSnapshotEncrypted.RegionId The specified region does not support creating encrypted disks with native snapshot encrypt.
400 NotSupportSnapshotEncrypted.ZoneId The specified zone does not support creating encrypted disks with native snapshot encrypt.
400 NotSupportSnapshotEncrypted.ShareImage Shared 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.
400 NotSupport.SnapshotEncryptedAlgorithmConflict Changing encrypt algorithm with encrypted snapshot is not supported.
400 QuotaExceed.DiskCapacity The 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.
400 InsufficientBalance.AgentAccount The 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.
400 InvalidParam.EncryptedMismatch Creating encrypted disks with shared encrypted snapshots requires replacing encryption keys.
400 InvalidAccountStatus.NotEnoughBalance Your account does not have enough balance, please contact your partner to increase your account balance.
400 InvalidParameter.KmsNotEnabled Failed to perform this operation because KMS is not activated. You need to activate KMS key management service.
400 InvalidParameter.Encrypted.KmsNotEnable Failed to perform this operation because KMS is not activated. You need to activate KMS key escrow service.
400 InvalidZoneId.DiskCategoryUnsupported The specified disk category does not support setting the ZoneId. The specified disk category does not support setting the ZoneId.
400 InvalidStorageSetId.DiskCategoryUnsupported The specified disk category does not support setting the StorageSetId. The specified disk category does not support setting the StorageSetId.
400 InvalidStorageClusterId.DiskCategoryUnsupported The specified disk category does not support setting the StorageClusterId. The specified disk category does not support setting the StorageClusterId.
400 InvalidParameter.Encrypted Creating non-encrypted disks with encrypted snapshots is not supported. Creating a non-encrypted disk with an encrypted snapshot is not supported.
400 EncryptedOption.Conflict Disk encryption attributes conflict. Disk encryption attributes conflict.
400 InvalidDataDiskCategory.NotSupported Specified disk category is not supported. The specified disk category is not supported.
400 InvalidBurstingEnabled.DiskSizeTooSmall The disk size must be greater than 3 GiB to enable burst. The disk size must be greater than 3 GiB to enable burst.
400 OperationDenied.RiskIssue Your action is denied by risk issue, please contact customer service.
400 InvalidDiskSize.ExceedsMultiAttachLimit The specified disk size exceeds the maximum limit 65536 for enabling multi-attach. The specified disk size exceeds the maximum limit 65536 for enabling multi-attach.
400 InvalidStatus.ValueNotSupported The specified instance status is not supported for this operation, expect status is Running or Stopped. The status of the specified instance is not satisfied. The status of the instance should be Running or Stopped.
400 InvalidSnapshot.NotReady The specified snapshot creation is not completed yet. The specified snapshot is not created.
500 InternalError The request processing has failed due to some unknown error.
403 InvalidDataDiskCategory.NotSupported Specified disk category is not supported.
403 InstanceDiskCategoryLimitExceed The 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.
403 InvalidSnapshot.NotReady The specified snapshot creation is not completed yet.
403 InvalidSnapshot.TooOld This operation is forbidden because the specified snapshot is created before 2013-07-15.
403 InvalidSnapshot.TooLarge The capacity of snapshot exceeds 2000GB. The snapshot size exceeds 2,000 GB.
403 OperationDenied The specified snapshot is not allowed to create disk.
403 QuotaExceed.PortableCloudDisk The quota of portable cloud disk exceeds.
403 InvalidDiskCategory.ValueUnauthorized The disk category is not authorized. You need permission to operate this disk category.
403 InvalidSnapshotId.NotReady The specified snapshot has not completed yet.
403 InvalidSnapshotId.NotDataDiskSnapshot The specified snapshot is system disk snapshot.
403 InvalidDiskSize.TooSmall Specified disk size is less than the size of snapshot.
403 InvalidDiskSize.NotSupported Disk size is not supported.
403 InvalidAccountStatus.NotEnoughBalance Your account does not have enough balance.
403 InvalidAccountStatus.SnapshotServiceUnavailable Snapshot service has not been opened yet. The operation is not supported while the snapshot service is not activated.
403 InvalidPayMethod The specified pay method is not valid.
403 InvalidDiskCategory.NotSupported The specified disk category is not supported. The specified disk category does not support this operation.
403 UserNotInTheWhiteList The user is not in disk white list. You are not authorized to manage the disk. Try again when you are authorized.
403 QuotaExceed.PostPaidDisk Living postPaid disks quota exceeded.
403 InvalidRegion.NotSupport The specified region does not support byok. The bring your own key (BYOK) feature is not supported in the region.
403 InvalidParameter.KMSKeyId.KMSUnauthorized ECS service have no right to access your KMS. ECS is not authorized to access your KMS resources.
403 SecurityRisk.3DVerification We have detected a security risk with your default credit or debit card. Please proceed with verification via the link in your email.
403 InvalidParameter.AdvancedFeatures The specified parameter AdvancedFeatures is not valid.
403 InvalidInstanceChargeType.ValueNotSupported The InstanceChargeType does not support this action.
403 InvalidStatus.Upgrading The instance is upgrading; please try again later.
403 InvalidParam.ZoneIdAndInstanceId.Conflict The specified parameter 'ZoneId' and 'InstanceId' are not blank at the same time.
403 OperationDenied.PerformanceLevelNotMatch The specified PerformanceLevel and Size do not match.
403 InvalidStorageSetName.Malformed Specified parameter StorageSetName is not valid.
403 InvalidDescription.Malformed Specified parameter Description is not valid.
403 InvalidMaxPartitionNumber.Malformed Specified parameter MaxPartitionNumber is not valid.
403 InvalidParameter.StorageSetPartitionNumber Specified parameter StorageSetPartitionNumber is not valid.
403 InvalidParameter.StorageSetId Specified parameter StorageSetId is not valid.
403 InvalidParameter.StorageSetZoneId Specified parameter StorageSetZoneId is not valid.
403 QuotaExceed.Tags %s The number of specified tags exceeds the upper limit. %s is a variable. An error message is dynamically returned based on call conditions.
403 QuotaExceeded.PostpaidDataDiskCapacity The quota of postpaid data disk capacity exceeds. The used capacity of the pay-as-you-go disk reaches the quota limit.
403 InvalidRegionId.NotSupportEncryptAlgorithm The current region does not support creating encrypted disks with EncryptAlgorithm.
403 OperationDenied.SnapshotNotAllowed The specified snapshot is not allowed to create disk.
403 LastTokenProcessing The last token request is processing.
403 InvalidParameter.MultiAttach The specified param MultiAttach is not valid. The specified MultiAttach parameter is invalid.
403 InvalidParameter.MultiAttachAndInstanceIdConflict The parameter MultiAttach and InstanceId are conflict. The MultiAttach and InstanceId parameters cannot be both specified.
403 InvalidParameter.DiskCategoryAndMultiAttachConflict The specified disk category does not support multi attach set. The MultiAttach parameter is not supported by Shared Block Storage devices.
403 InvalidParameter.DiskCategoryAndMultiAttachNotMatch The specified disk category does not support multi attach enabled. The specified disk category does not support the multi-attach feature.
403 OperationDenied.ZoneNotSupportMultiAttachDisk The specified zone does support multi attach disk. Disks for which the multi-attach feature is enabled cannot be created in the specified zone.
403 InvalidAccountStatus.CouponAmountNotEnough Your coupon balance is insufficient or has expired. Your coupon balance is insufficient or your coupons have expired.
403 InvalidOperation.CreateFromSnapshotUnsupported The elastic ephemeral disk cannot be created from snapshot. The elastic ephemeral disk cannot be created from snapshot.
403 NotSupportSnapshotEncrypted.DiskCategory The 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.
403 InvalidParameter.DataEncryptedKeyCreateFailed Create kms data encrypted key fail. If you need further assistance, you can contact the KMS Technical Support. Failed to create a data key using the KMS master key. Please contact the KMS attendant for further troubleshooting.
403 Zone.NotOnSale The resource in the specified zone is no longer available for sale. Please try other regions and zones.
403 RegionUnauthorized You are not authorized to perform the operation in the specified region. You are not authorized to perform the operation in the specified region.
403 InvalidDataDiskCategory.ValueNotSupported The specified Category of Data Disk is not valid. The specified data disk type is not supported.
403 InvalidParameter.EncryptedNotSupported The current disk category does not support encryption. If encryption is required, please switch to a different disk category. The current disk category does not support encryption. If encryption is required, please switch to a different disk category.
403 InvalidDataDiskSize.ValueNotSupported The specified disk size is beyond the permitted range, or the snapshot capacity exceeds the size limit for the specified disk category. The specified disk size is beyond the permitted range, or the snapshot capacity exceeds the size limit for the specified disk category.
403 InvalidParameter.KMSKeyId.CMKNotEnabled The CMK (Customer Master Key) must be in an active state. The CMK (Customer Master Key) must be in an active state.
403 InvalidParameter.KMSKeyId.CMKUnauthorized The CMK(Customer Master Key) lacks authorization to add tags to the ECS service. The CMK(Customer Master Key) lacks authorization to add tags to the ECS service.
403 InvalidEncrypted.NotMatchSnapshot The specified parameter Encrypted must be set to true when creating disks with encrypted snapshots. When you create a disk using an encrypted snapshot, the specified parameter Encrypted must be set to true.
403 InvalidEncrypted.NotMatchDiskDefaultEncryption Enabling disk default encryption prevents the creation of non-encrypted disks. After the default encryption of the cloud disk account is enabled, an unencrypted disk cannot be created.
403 InvalidInstanceStatus The current status of the instance does not support this operation. The instance is in a state that does not support the current operation.
403 InvalidDiskSize.NotSupportMultiAttachDisk The specified disk size exceeds the maximum limit 65536 for enabling multi-attach. The specified disk size exceeds the maximum limit 65536 for enabling multi-attach.
403 InstanceDiskLimitExceeded The amount of the disk on instance reach its limits.
403 InvalidOperation.PrepaidDiskUnsupported The specified DataSource does not support prepaid disk charge type. The specified DataSource does not support the prepaid disk type.
403 UnsupportedUserType The specified DataSource is not enabled. The DataSource mode disk creation function has not been enabled.
403 InvalidDataSource.NotAvailable The specified DataSource is not available. Please contact the ACS Service team to verify DataSource availability. The DataSource is not available. Contact the ACS service team to check the resource availability.
403 InvalidParameter.DataSourceType The specified DataSourceType is not valid. The DataSourceType only supports ImageCache. The specified DataSource type is invalid. DataSourceType only supports ImageCache.
403 InvalidParameter.DataSource Both DataSourceId and DataSourceType must be specified. Both DataSourceId and DataSourceType must be specified.
403 InvalidDataSource.EncryptedResourceNotSupported Encrypted DataSources are not supported. Please switch to a non-encrypted DataSource and try again. Encrypted DataSource is not supported. Please use a non-encrypted DataSource and try again.
403 ParameterConflict.DataSourceAndSnapshotId The specified parameter DataSource is incompatible with SnapshotId. You can specify either DataSource or SnapshotId but not both. The specified DataSource is incompatible with the SnapshotId. You can specify only one of the DataSource or SnapshotId. You cannot specify both.
403 InvalidZoneId.EncryptedUnsupported The specified ZoneId does not support creating encrypted disks. The zone in this region does not support creating an encryption disk.
404 InvalidRegionId.NotFound The specified RegionId does not exist. The specified region ID does not exist.
404 InvalidZoneId.NotFound The specified zone does not exist.
404 InvalidSnapshotId.NotFound The specified SnapshotId does not exist.
404 InvalidResourceGroup.NotFound The ResourceGroup provided does not exist in our records. The specified resource group does not exist.
404 InvalidParameter.KMSKeyId.NotFound The specified KMSKeyId does not exist. The specified KMSKeyId parameter does not exist.
404 InvalidInstanceId.NotFound The InstanceId provided does not exist in our records.
404 InvalidStorageClusterId.NotExist The specified StorageClusterId does not exist in current region.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.