全部產品
Search
文件中心

Elastic Compute Service:CreateDisk

更新時間:Jul 14, 2026

建立一塊隨用隨付或包年包月的資料磁碟。

介面說明

  • 建立磁碟時支援開啟多重掛載特性(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 malformed.
400 InvalidDescription.Malformed The specified description is malformed.
400 MissingParameter The input parameter either "SnapshotId" or "Size" should be specified. 多個參數中必須至少填寫其中一個(不能全為空)。
400 InvalidDiskCategory.NotSupported The specified disk category is not supported.
400 Account.Arrearage Your account has an outstanding payment. 您的帳號存在未支付的款項。
400 InvalidDiskCategory.ValueNotSupported The specified parameter "DiskCategory" is not valid. 指定的資源上的磁碟類型不支援此操作。
400 InvalidParameter.Conflict %s 當前操作不允許同時設定diskId和imageId,請確保diskId或者imageId有一個不為空。
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. 您輸入的參數無效,請確認您的加密是否合法。%s 為變數,將根據呼叫 API 的實際情況動態返回錯誤資訊。
400 Duplicate.TagKey The Tag.N.Key contain duplicate key. 標籤中存在重複的鍵,請保持鍵的唯一性。
400 InvalidTagKey.Malformed The specified Tag.n.Key is not valid. 指定的標籤鍵無效。標籤鍵不能為空或 null,最多支援 128 個字元,不能以「aliyun」或「acs:」開頭,不能包含「http://」或「https://」。
400 InvalidTagValue.Malformed The specified Tag.n.Value is not valid. 指定的標籤值無效。標籤值最多支援 128 個字元,並且不能包含「http://」或「https://」。
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. 執行個體系統磁碟缺失。
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. 參數不支援(加密碟)。%s為變數,將根據呼叫API的實際情況動態返回錯誤資訊。
400 InvalidDataDiskCategory.NotSupported Specified disk category is not supported. 指定的資料磁碟類型無效。%s為變數,將根據呼叫API的實際情況動態返回錯誤資訊。
400 InvalidBurstingEnabled.DiskSizeTooSmall The disk size must be greater than 3 GiB to enable burst. 磁碟大小超過3GiB時才能開啟效能突發。
400 OperationDenied.RiskIssue Your action is denied due to a 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. The expected status is Running or 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. 指定的 DataDisk.n.Size 超出允許範圍,或者快照的容量超過了指定磁碟類別的大小限制。
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. 使用者不在Arn相關參數操作列表中。
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 does not have permission to access your KMS key. Please verify that the specified KMS key has authorized the ECS service.
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 標籤參數的配額已超過,最大值為:20。
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 not support multi-attach disks.
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 encrypted data disks from snapshots. Check the DiskCategory or Encrypted parameter; or check your account for default encryption settings.
403 InvalidParameter.DataEncryptedKeyCreateFailed Failed to create the KMS data encryption key. Please verify that the current KMS key has authorized the ECS service to use it. If the issue persists; contact KMS Technical Support.
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. 指定參數DataDisk.Category錯誤。
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. ECS 服務無權限加密/解密您的 CMK 金鑰。
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 number of disks attached to the instance has exceeded the limit.
403 InvalidOperation.PrepaidDiskUnsupported The specified DataSource does not support prepaid disk charge type. 指定的 DataSource 不支援預付費磁碟類型。
403 UnsupportedUserType The specified DataSource is not enabled. DataSource 方式建立磁碟功能尚未啟用。
403 InvalidDataSource.NotAvailable The specified DataSource is not available. Please contact the ACS Service team to verify DataSource availability. 該 DataSource 不可用,請聯繫容器 ACS 服務團隊檢查資源可用性。
403 InvalidParameter.DataSourceType The specified DataSourceType is not valid. The DataSourceType only supports ImageCache. 指定的 DataSource 類型無效。DataSourceType 僅支援 ImageCache。
403 InvalidParameter.DataSource Both DataSourceId and DataSourceType must be specified. 必須同時指定 DataSourceId 和 DataSourceType。
403 InvalidDataSource.EncryptedResourceNotSupported Encrypted DataSources are not supported. Please switch to a non-encrypted DataSource and try again. 不支援加密的 DataSource,請更換使用非加密 DataSource 後重試。
403 ParameterConflict.DataSourceAndSnapshotId The specified parameter DataSource is incompatible with SnapshotId. You can specify either DataSource or SnapshotId but not both. 指定的 DataSource 與 SnapshotId 不相容。您只能指定 DataSource 或 SnapshotId 中的一個,不能同時指定兩者。
403 InvalidZoneId.EncryptedUnsupported The specified ZoneId does not support creating encrypted disks. 該地域可用區不支援建立加密磁碟。
404 InvalidRegionId.NotFound The specified RegionId 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. 找不到對應的資源群組。
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.

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情