CreateDisk - 创建数据盘

更新时间:
复制为 MD 格式

创建一块按量付费或包年包月的数据盘。

接口说明

  • 创建磁盘时支持开启多重挂载特性(MultiAttach)。建议您先了解该特性及使用限制,更多信息,请参见ESSD 云盘支持 NVMe以及使用多重挂载功能

  • 支持创建的磁盘类型:普通云盘、高效云盘、SSD 云盘、ESSD 云盘、ESSD Entry 云盘、ESSD 同城冗余、ESSD AutoPL 云盘、弹性临时盘-标准版和弹性临时盘-高级版。

  • 创建磁盘需要通过实名认证。请前往会员信息实名认证

  • 创建磁盘会涉及到资源计费,建议您提前了解云服务器 ECS 的计费方式。更多信息,请参见计费概述

  • 创建磁盘时,默认设置:

    • 删除磁盘时删除其自动快照,即DeleteAutoSnapshot取值为true。您可以调用 DescribeDisks 查询该参数配置,调用 ModifyDiskAttribute 修改该参数。

    • 创建 ESSD 云盘时,如果您不设置磁盘性能等级,默认为 PL1 等级。您可以通过 ModifyDiskSpec 修改磁盘性能等级。

    • 计费方式为按量付费,即默认Portable属性为true

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

下表是API对应的授权信息,可以在RAM权限策略语句的Action元素中使用,用来给RAM用户或RAM角色授予调用此API的权限。具体说明如下:

  • 操作:是指具体的权限点。

  • 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。

  • 资源类型:是指操作中支持授权的资源类型。具体说明如下:

    • 对于必选的资源类型,用前面加 * 表示。

    • 对于不支持资源级授权的操作,用全部资源表示。

  • 条件关键字:是指云产品自身定义的条件关键字。

  • 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。

操作

访问级别

资源类型

条件关键字

关联操作

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

请求参数

名称

类型

必填

描述

示例值

RegionId

string

所属的地域 ID。您可以调用 DescribeRegions 查看最新的阿里云地域列表。

cn-hangzhou

ZoneId

string

在指定可用区内创建一块按量付费磁盘。

  • 如果您不设置 InstanceId,则 ZoneId 为必填参数。

  • 您不能同时指定 ZoneId 和 InstanceId。

说明

cloud_regional_disk_auto类型的磁盘无需设置 ZoneId。

cn-hangzhou-g

SnapshotId

string

创建云盘使用的快照 ID。2013 年 7 月 15 日及以前的快照不能用来创建云盘。

SnapshotId参数和Size参数存在以下限制:

  • 如果SnapshotId参数对应的快照容量大于设置的Size参数值,实际创建的云盘大小为指定快照的大小。

  • 如果SnapshotId参数对应的快照容量小于设置的Size参数值,实际创建的云盘大小为指定的Size参数值。

  • 不支持使用快照创建弹性临时盘。

s-bp67acfmxazb4p****

DiskName

string

磁盘名称。长度为 2~128 个字符,支持 Unicode 中 letter 分类下的字符(其中包括英文、中文等),ASCII 数字(0-9)。可以包含半角冒号(:)、下划线(_)、半角句号(.)或者短划线(-)。必须以 Unicode 中 letter 分类下的字符开头。

默认值:空。

testDiskName

Size

integer

容量大小。单位:GiB。您必须为该参数传入参数值。取值范围:

  • cloud:5~2,000。

  • cloud_efficiency:20~32,768。

  • cloud_ssd:20~32,768。

  • cloud_essd:具体取值范围与PerformanceLevel的取值有关。
    • PL0:1~65,536。

    • PL1:20~65,536。

    • PL2:461~65,536。

    • PL3:1,261~65,536。

  • cloud_auto:1~65,536。

  • cloud_essd_entry:10~32,768。

  • cloud_regional_disk_auto:10~65,536。

  • elastic_ephemeral_disk_standard:64~8,192。

  • elastic_ephemeral_disk_premium:64~8,192。

如果您指定了SnapshotId参数,SnapshotId参数和Size参数存在以下限制:

  • 如果SnapshotId参数对应的快照容量大于设置的Size参数值,实际创建的云盘大小为指定快照的大小。

  • 如果SnapshotId参数对应的快照容量小于设置的Size参数值,实际创建的云盘大小为指定的Size参数值。

2000

DiskCategory

string

数据盘的磁盘种类。取值范围:

  • cloud:普通云盘。

  • cloud_efficiency:高效云盘。

  • cloud_ssd:SSD 云盘。

  • cloud_essd:ESSD 云盘。

  • cloud_auto:ESSD AutoPL 云盘。

  • cloud_essd_entry:ESSD Entry 云盘。

  • cloud_regional_disk_auto:ESSD 同城冗余云盘。

  • elastic_ephemeral_disk_standard:弹性临时盘-标准版。

  • elastic_ephemeral_disk_premium:弹性临时盘-高级版。

默认值:cloud。

cloud_ssd

Description

string

磁盘描述。长度为 2~256 个英文或中文字符,不能以http://https://开头。

默认值:空。

testDescription

Encrypted

boolean

是否加密云盘。取值范围:

  • true:是。

  • false:否。

默认值:false。

false

ClientToken

string

保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken 只支持 ASCII 字符,且不能超过 64 个字符。更多信息,请参见如何保证幂等性

123e4567-e89b-12d3-a456-426655440000

InstanceId

string

创建一块包年包月磁盘,并自动挂载到指定的包年包月实例(InstanceId)上。

  • 设置实例 ID 后,会忽略您设置的 ResourceGroupId、Tag.N.Key、Tag.N.Value、ClientToken 和 KMSKeyId 参数。

  • 您不能同时指定 ZoneId 和 InstanceId。

默认值:空,代表创建的是按量付费云盘,云盘所属地由 RegionId 和 ZoneId 确定。

i-bp18pnlg1ds9rky4****

ResourceGroupId

string

磁盘所在的企业资源组 ID。

rg-bp67acfmxazb4p****

KMSKeyId

string

云盘使用的 KMS 密钥 ID。

说明

若 Encrypted 设置为 true,不指定 KMSKeyId,则使用默认的密钥进行加密,并在创建实例成功后返回 KMSKeyId 值。

    • 云盘通过非共享而来的加密快照创建:默认使用该快照所使用的加密密钥进行加密。

    • 云盘通过共享而来的加密快照创建:默认使用服务密钥进行加密。

    • 在已开启块存储账号级默认加密的地域创建:默认使用指定的账号级密钥进行加密。

    • 其他情况:默认使用服务密钥进行加密。

0e478b7a-4262-4802-b8cb-00d3fb40826X

PerformanceLevel

string

创建一块 ESSD 云盘时,设置云盘的性能等级。取值范围:

  • PL0:单盘最高随机读写 IOPS 1 万。

  • PL1:单盘最高随机读写 IOPS 5 万。

  • PL2:单盘最高随机读写 IOPS 10 万。

  • PL3:单盘最高随机读写 IOPS 100 万。

默认值:PL1。

有关如何选择 ESSD 性能等级,请参见 ESSD 云盘

PL1

AdvancedFeatures

string

该参数暂未开放使用。

hide

StorageSetId

string

存储集 ID。

说明

存储集相关参数(StorageSetIdStorageSetPartitionNumber)与专属块存储集群参数(StorageClusterId)只能选择其中之一设置。如果同时设置,那么调用接口将会失败。

ss-bp67acfmxazb4p****

EncryptAlgorithm

string

该参数暂未开放使用。

hide

StorageSetPartitionNumber

integer

存储集分区数。取值范围:大于等于 2,最高不能超过调用 DescribeAccountAttributes 后显示的权益配额限制。

默认值:2。

3

StorageClusterId

string

专属块存储集群 ID。如果您需要在指定的专属块存储集群中创建云盘,请指定该参数。

说明

存储集相关参数(StorageSetIdStorageSetPartitionNumber)与专属块存储集群参数(StorageClusterId)只能选择其中之一设置。如果同时设置,那么调用接口将会失败。

dbsc-j5e1sf2vaf5he8m2****

MultiAttach

string

是否开启多重挂载特性。取值范围:

  • Disabled: 不开启。

  • Enabled : 开启。目前仅 ESSD 云盘支持设置为Enabled

默认值:Disabled。

说明

开启多重挂载特性的云盘只支持按量付费的计费方式。因此MultiAttach=Enabled 时,不能同时设置InstanceId参数。您可以在创建云盘后调用 AttachDisk 进行挂载,但需要注意开启多重挂载功能的云盘只能作为数据盘进行挂载。

Disabled

Tag

array<object>

磁盘的标签信息列表。

object

磁盘的标签信息列表。

key

string

磁盘的标签键。

说明

为提高代码兼容性,请尽量使用 Tag.N.Key 参数。

Test

Key

string

磁盘的标签键。N 的取值范围:1~20。一旦传入 Tag.N.Key 值,则不允许为空字符串。最多支持 128 个字符,不能以aliyunacs:开头,不能包含http://或者https://

TestKey

Value

string

磁盘的标签值。N 的取值范围:1~20。一旦传入 Tag.N.Value 值,可以为空字符串。最多支持 128 个字符,不能包含http://或者https://

TestValue

value

string

磁盘的标签值。

说明

为提高代码兼容性,请尽量使用 Tag.N.Value 参数。

Test

Arn

array<object>

说明

该参数暂未开放使用。

object

说明

该参数暂未开放使用。

RoleType

string

说明

该参数暂未开放使用。

hide

Rolearn

string

说明

该参数暂未开放使用。

hide

AssumeRoleFor

integer

说明

该参数暂未开放使用。

1000000000

ProvisionedIops

integer

ESSD AutoPL 云盘(单盘)预配置性能的读写 IOPS。可能值:

  • 容量(GiB)<=3:不支持设置预配置性能。

  • 容量(GiB)>=4:[0,min{(1,000

IOPS/GiB*容量-基准 IOPS),50,000}]

基准性能=max{min{1,800+50*容量,50,000}, 3,000}。

说明

DiskCategory = cloud_auto时才支持设置该参数。更多信息,请参见ESSD AutoPL 云盘

40000

BurstingEnabled

boolean

是否开启 Burst(性能突发)。取值范围:

  • true:是。

  • false:否。

说明

DiskCategory取值为cloud_auto时才支持设置该参数。更多信息,请参见ESSD AutoPL 云盘

false

返回参数

名称

类型

描述

示例值

object

DiskId

string

磁盘 ID。

d-bp131n0q38u3a4zi****

RequestId

string

请求 ID。

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

OrderId

string

生成的订单 ID。

说明

仅在创建包年包月云盘时会返回订单 ID。

20413515388****

示例

正常返回示例

JSON格式

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

错误码

HTTP status code

错误码

错误信息

描述

400 InvalidSize.ValueNotSupported The specified parameter Size is not valid. 指定的 Size 不合法。
400 InvalidDiskName.Malformed The specified disk name is wrongly formed. 磁盘名称格式不正确。长度为2-128个字符,以英文字母或中文开头,可包含数字,点号(.),下划线(_)或连字符(-)。 不能以http://和https://开头。
400 InvalidDescription.Malformed The specified description is wrongly formed. 指定的资源描述格式不合法。长度为 2-256 个字符,不能以 http:// 和 https:// 开头。
400 MissingParameter The input parameter either "SnapshotId" or "Size" should be specified. 参数中SnapshotIdSize至少要指定一个。
400 InvalidDiskCategory.NotSupported The specified disk category is not support. 不支持的磁盘种类。
400 Account.Arrearage Your account has an outstanding payment. 您的账号存在未支付的款项。
400 InvalidDiskCategory.ValueNotSupported The specified parameter "DiskCategory" is not valid. 指定的参数云盘类型DiskCategory无效。
400 InvalidParameter.Conflict %s 您输入的参数无效,请检查参数之间是否冲突。%s为变量,将根据调用API的实际情况动态返回错误信息。
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. 指定的磁盘类别或大小无效。
400 InvalidParameter.EncryptedIllegal The specified parameter Encrypted must be true when kmsKeyId is not empty. 设置参数 KMSKeyId 后,您必须开启加密属性。
400 Duplicate.TagKey The Tag.N.Key contain duplicate key. 标签中存在重复的键,请保持键的唯一性。
400 InvalidTagKey.Malformed The specified Tag.n.Key is not valid. 指定的标签键参数有误。
400 InvalidTagValue.Malformed The specified Tag.n.Value is not valid. 指定的标签值参数有误。
400 InvalidParameter.Arns The specified Arns is not valid. Arns参数无效,请检查后重新传递。
400 InvalidPerformanceLevel.Malformed The specified parameter PerformanceLevel is not valid. 指定的参数 PerformanceLevel 无效。
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. 加密使用的KMSKey必须为对称加密密钥。
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. 磁盘所在专属存储集群的可用容量不足
400 InvalidCloudBoxZone.EncryptedNotSupported The cloud box zone does not support creating encrypted disks.
400 InvalidInstance.NotFoundSystemDisk The specified instance has no system disk. 指定的实例没有挂载系统盘。请确保指定的实例已挂载了系统盘。您可以调用 DescribeInstances 查询指定实例的信息。
400 ProvisionedIopsForDiskCategoryUnsupported The specified disk category does not support provisioned iops. 指定的磁盘类型不支持预配置IOPS。
400 InvalidProvisionedIops.LimitExceed The provisioned iops exceeds the limit. 填写的ProvisionedIops参数超限。
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. 这种类型的磁盘必须传入预配置IOPS。
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. 不支持共享镜像原生加密创盘
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. 指定磁盘类型的已用容量超出可用区配额限制,您可以前往配额中心查询和申请提升磁盘容量配额。
400 InsufficientBalance.AgentAccount The account balance is insufficient. Please contact your channel partner to recharge in time. 您的渠道合作伙伴的账号可用金额不足,请联系您的渠道合作伙伴及时充值。
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. 您需要开通KMS密钥管理服务。
400 InvalidParameter.Encrypted.KmsNotEnable Failed to perform this operation because KMS is not activated. 您需要开通KMS密钥托管服务。
400 InvalidZoneId.DiskCategoryUnsupported The specified disk category does not support setting the ZoneId. 指定的磁盘类型不支持设置可用区
400 InvalidStorageSetId.DiskCategoryUnsupported The specified disk category does not support setting the StorageSetId. 指定的磁盘类型不支持设置存储集
400 InvalidStorageClusterId.DiskCategoryUnsupported The specified disk category does not support setting the StorageClusterId. 指定的磁盘类型不支持设置专属存储集群
400 InvalidParameter.Encrypted Creating non-encrypted disks with encrypted snapshots is not supported. 不支持以加密快照创建非加密盘。
400 EncryptedOption.Conflict Disk encryption attributes conflict. 磁盘加密属性冲突。
400 InvalidDataDiskCategory.NotSupported Specified disk category is not supported. 不支持指定的磁盘种类。
400 InvalidBurstingEnabled.DiskSizeTooSmall The disk size must be greater than 3 GiB to enable burst. 磁盘大小超过3GiB时才能开启性能突发。
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. 如果想使用多重挂载盘,那么磁盘大小不能超过 65536 GB
400 InvalidStatus.ValueNotSupported The specified instance status is not supported for this operation, expect status is Running or Stopped. 指定的实例的状态不满足,实例的状态须为 Running 或 Stopped。
400 InvalidSnapshot.NotReady The specified snapshot creation is not completed yet. 指定快照未创建。
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. 磁盘种类总容量超过实例限制。
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. 快照容量超过 2000 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. 该磁盘种类未经授权。
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. 快照服务未开通,操作无法执行。
403 InvalidPayMethod The specified pay method is not valid.
403 InvalidDiskCategory.NotSupported The specified disk category is not supported. 指定的云盘类型不支持当前操作。
403 UserNotInTheWhiteList The user is not in disk white list. 您不在磁盘白名单中,请加入白名单后重试。
403 QuotaExceed.PostPaidDisk Living postPaid disks quota exceeded. 按量付费磁盘数量已超出允许数量。
403 InvalidRegion.NotSupport The specified region does not support byok. 该地域不支持BYOK。
403 InvalidParameter.KMSKeyId.KMSUnauthorized ECS service have no right to access your KMS. ECS 服务无权访问您的 KMS。
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 标签数超过可以配置的最大数量。%s为变量,将根据调用API的实际情况动态返回错误信息。
403 QuotaExceeded.PostpaidDataDiskCapacity The quota of postpaid data disk capacity exceeds. 按量付费数据盘使用容量超出配额。
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. MultiAttach 参数的取值有误。
403 InvalidParameter.MultiAttachAndInstanceIdConflict The parameter MultiAttach and InstanceId are conflict. 不支持同时设置 MultiAttach 参数和 InstanceId 参数。
403 InvalidParameter.DiskCategoryAndMultiAttachConflict The specified disk category does not support multi attach set. 共享块存储不支持设置 MultiAttach 参数。
403 InvalidParameter.DiskCategoryAndMultiAttachNotMatch The specified disk category does not support multi attach enabled. 要创建的云盘类型不支持开启多重挂载。
403 OperationDenied.ZoneNotSupportMultiAttachDisk The specified zone does support multi attach disk. 指定的可用区不支持创建开启多重挂载特性的云盘。
403 InvalidAccountStatus.CouponAmountNotEnough Your coupon balance is insufficient or has expired. 代金券余额不足或已过期。
403 InvalidOperation.CreateFromSnapshotUnsupported 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. 该磁盘类型不支持创建加密系统盘或以快照方式创建加密数据盘,请检查您输入的磁盘类型、加密参数,或者检查您是否做过账号云盘默认加密配置。
403 InvalidParameter.DataEncryptedKeyCreateFailed Create kms data encrypted key fail. If you need further assistance, you can contact the KMS Technical Support. 使用KMS主密钥创建数据密钥失败,请联系KMS值班同学进一步排查。
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. 该地域未授权。
403 InvalidDataDiskCategory.ValueNotSupported The specified Category of Data Disk is not valid. 指定的数据盘磁盘类型不支持
403 InvalidParameter.EncryptedNotSupported 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. 指定的磁盘大小超出了允许的范围,或者快照的容量超过了指定磁盘类别的大小限制。
403 InvalidParameter.KMSKeyId.CMKNotEnabled The CMK (Customer Master Key) must be in an active state. 用户主密钥(CMK)需要处于活动状态。
403 InvalidParameter.KMSKeyId.CMKUnauthorized The CMK(Customer Master Key) lacks authorization to add tags to the ECS service. 用户主密钥(CMK)未授权ECS服务添加标签权限。
403 InvalidEncrypted.NotMatchSnapshot The specified parameter Encrypted must be set to true when creating disks with encrypted snapshots. 当使用加密快照创建磁盘时,指定的参数Encrypted必须设置为true。
403 InvalidEncrypted.NotMatchDiskDefaultEncryption Enabling disk default encryption prevents the creation of non-encrypted disks. 启用云盘账号默认加密后,无法创建非加密磁盘。
403 InvalidInstanceStatus The current status of the instance does not support this operation. 当前实例的状态不支持此操作。
403 InvalidDiskSize.NotSupportMultiAttachDisk The specified disk size exceeds the maximum limit 65536 for enabling multi-attach. 大于 64 TB 的磁盘不支持开启多重挂载
403 InstanceDiskLimitExceeded The amount of the disk on instance reach its limits. 实例上的磁盘数量已经达到了最大限制
404 InvalidRegionId.NotFound The specified RegionId does not exist. 指定的地域 ID 不存在。
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. 资源组并不在记录中。
404 InvalidParameter.KMSKeyId.NotFound The specified KMSKeyId does not exist. 指定的参数 KMSKeyId 不存在。
404 InvalidInstanceId.NotFound The InstanceId provided does not exist in our records.
404 InvalidStorageClusterId.NotExist The specified StorageClusterId does not exist in current region.

访问错误中心查看更多错误码。

变更历史

更多信息,参考变更详情