全部產品
Search
文件中心

Elastic Compute Service:CreateInstance

更新時間:Jun 29, 2026

本介面是阿里雲 ECS 中用於建立執行個體的介面,支援建立一台包年包月或按量付費的 ECS 執行個體。您可透過此介面,依據自身需求靈活配置各類參數,實現執行個體的個性化建立。

介面說明

說明

本介面已停止迭代更新,建議您使用 RunInstances 介面。

請確保在使用該介面前,已充分了解 ECS 產品的收費方式和價格

本介面為非同步介面,當前建立執行個體請求傳送成功後會返回執行個體 ID,執行個體的建立不是立即完成的,需要呼叫 DescribeInstanceStatus 查看執行個體資訊,當返回資訊中的狀態為Stopped時代表建立成功,之後您可以透過 StartInstance 啟動執行個體。

使用須知

  • 建立執行個體會涉及資源計費,請確保您已了解雲端伺服器 ECS 的計費方式。更多資訊,請參見計費概述

  • 請確保您建立的執行個體總數或者全執行個體規格 vCPU 不會超出系統配額。更多資訊,請參見配額中心

  • 建立專有網路 VPC 類型執行個體前,請預先在相應的阿里雲地域建立 VPC

注意事項

  • 呼叫本介面,系統不會傳送執行個體建立成功的通知(含簡訊、郵件、站內信)。

  • 若執行個體計費方式為包年包月(PrePaid),在付款時預設會使用您可用的優惠券。

  • 執行個體記憶體為 512 MiB 時,不能使用除半年渠道之外的 Windows Server 映像;執行個體記憶體為 4 GiB 以上時,不能使用 32 位元作業系統的映像。

  • 使用該介面建立的執行個體將不會分配公網 IP 位址,若公網頻寬大於 0,您可以呼叫 AllocatePublicIpAddress 分配;若公網頻寬為 0,您需要呼叫 ModifyInstanceNetworkSpec 調整頻寬之後再呼叫 AllocatePublicIpAddress 分配。

說明

單個地域下,單個阿里雲帳號按固定頻寬計費的公網頻寬峰值總和存在限制,請參見公網頻寬限制

使用建議

  • 產品選型:參見執行個體規格族或呼叫 DescribeInstanceTypes 查看目標執行個體規格的效能資料,或者參見選型配置了解如何選擇執行個體規格。

  • 查詢庫存:呼叫 DescribeAvailableResource 查看指定地域或者可用區內的資源供給情況。

  • 自訂資料:若執行個體滿足使用執行個體自訂資料的限制,您可傳入 UserData 資訊。傳送 API 請求時,不會加密您設定的UserData資料,建議您不要以明文方式傳入機密的資訊,例如密碼和私鑰等。如果必須傳入,建議加密後以 Base64 的方式編碼後再傳入,在執行個體內部解密後使用。

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

下表是API對應的授權資訊,可以在RAM權限原則語句的Action元素中使用,用來給RAM使用者或RAM角色授予調用此API的許可權。具體說明如下:

  • 操作:是指具體的許可權點。

  • 存取層級:是指每個操作的存取層級,取值為寫入(Write)、讀取(Read)或列出(List)。

  • 資源類型:是指操作中支援授權的資源類型。具體說明如下:

    • 對於必選的資源類型,用前面加 * 表示。

    • 對於不支援資源級授權的操作,用全部資源表示。

  • 條件關鍵字:是指雲產品自身定義的條件關鍵字。

  • 關聯操作:是指成功執行操作所需要的其他許可權。操作者必須同時具備關聯操作的許可權,操作才能成功。

操作

存取層級

資源類型

條件關鍵字

關聯操作

ecs:CreateInstance

create

*All Resource

*

  • vpc:VPC
  • vpc:IsDefaultVSwitch
  • vpc:IsDefaultVpc
  • ecs:IsDiskEncrypted
  • ecs:InstanceType
  • ecs:InstanceTypeFamily
  • ecs:ImageOwnerId
  • ecs:ImageSource
  • ecs:NotSpecifySecurityGroupId
  • ecs:LoginAsNonRoot
  • ecs:IsSystemDiskByokEncrypted
  • ecs:IsDiskByokEncrypted
  • ecs:PasswordInherit
  • ecs:PasswordCustomized
  • ecs:IsSystemDiskEncrypted
  • ecs:ImagePlatform
  • ecs:LoginAsNonRoot
  • ecs:IsSystemDiskByokEncrypted
  • ecs:IsDiskByokEncrypted
  • ecs:PasswordInherit
  • ecs:PasswordCustomized
  • ecs:IsSystemDiskEncrypted
  • ecs:ImagePlatform
  • ecs:SecurityHardeningMode
  • vpc:CreateDefaultVpc
  • ecs:SecurityEnhancementStrategy
  • ecs:AssociatePublicIpAddress
  • ecs:InstanceChargeType

請求參數

名稱

類型

必填

描述

樣本值

RegionId

string

執行個體所屬的地域 ID。您可以呼叫 DescribeRegions 查看最新的阿里雲地域列表。

cn-hangzhou

ImageId

string

映像檔案 ID,啟動執行個體時選擇的映像資源。如需使用雲端市場映像,您可以在雲端市場映像商詳情頁查看ImageId。當您不通過指定ImageFamily選用映像族系最新可用映像時,此參數必選。

ubuntu_18_04_64_20G_alibase_20190624.vhd

ImageFamily

string

映像族系名稱,通過設定該參數來取得當前映像族系內最新可用映像來建立執行個體。

  • 設定了ImageId,則不能設定該參數。

  • 未設定ImageId,則可以設定該參數。

hangzhou-daily-update

InstanceType

string

執行個體的資源規格。

ecs.g6.large

SecurityGroupId

string

指定新建立執行個體所屬於的安全性群組 ID。

sg-bp15ed6xe1yxeycg****

InstanceName

string

執行個體的名稱。長度為 2~128 個字元,支援 Unicode 中 letter 分類下的字元(其中包括英文、中文等)和數字。可以包含半形冒號(:)、底線(_)、半形句號(.)或者短劃線(-)。如果沒有指定該參數,預設值為執行個體 ID。

k8s-node-[1,4]-alibabacloud

InternetChargeType

string

網路計費類型。取值範圍:

  • PayByBandwidth:按固定頻寬計費。

  • PayByTraffic(預設):按使用流量計費。

說明

按使用流量計費模式下的出入頻寬峰值都是頻寬上限,不作為業務承諾指標。當出現資源爭搶時,頻寬峰值可能會受到限制。如果您的業務需要有頻寬的保障,請使用按固定頻寬計費模式。

PayByTraffic

AutoRenew

boolean

是否要自動續費。當參數InstanceChargeType取值PrePaid時才生效。取值範圍:

  • true:自動續費。

  • false(預設):不自動續費。

true

AutoRenewPeriod

integer

每次自動續費的時長,當參數 AutoRenew 取值 True 時,該參數為必填參數。

PeriodUnit 為 Month 時,AutoRenewPeriod 取值:1、2、3、6、12。

2

InternetMaxBandwidthIn

integer

公網入頻寬最大值,單位為 Mbit/s。取值範圍:

  • 當所購出網頻寬小於等於 10 Mbit/s 時:1~10。預設值為 10。

  • 當所購出網頻寬大於 10 Mbit/s 時:1~InternetMaxBandwidthOut的取值,預設為InternetMaxBandwidthOut的取值。

50

InternetMaxBandwidthOut

integer

公網出頻寬最大值,單位為 Mbit/s。取值範圍為 0~100。

預設值為 0。

5

HostName

string

雲端伺服器的主機名。

  • 半形句號(.)或短劃線(-)不能作為首尾字元,更不能連續使用。

  • Windows 執行個體:字元長度為 2~15,不支援半形句號(.),不能全是數字。允許大小寫英文字母、數字和短劃線(-)。

  • 其他類型執行個體(Linux 等):字元長度為 2~64,支援多個半形句號(.),英文句號之間為一段,每段允許大小寫英文字母、數字和短劃線(-)。

LocalHostName

Password

string

執行個體的密碼。長度為 8 至 30 個字元,必須同時包含大小寫英文字母、數字和特殊符號中的三類字元。特殊符號可以是:

()`~!@#$%^&*-_+=|{}[]:;'<>,.?/

您需要注意:

  • 如果傳入 Password 參數,建議您使用 HTTPS 協定傳送請求,避免密碼洩露。

  • Windows 執行個體不能以正斜線(/)為密碼首字元。

  • 部分作業系統的執行個體不支援配置密碼,僅支援配置金鑰對。例如:Others Linux、Fedora CoreOS。

TestEcs123!

PasswordInherit

boolean

是否使用映像預設的密碼。使用該參數時,Password 參數必須為空,同時您需要確保使用的映像已經設定了密碼。

false

DeploymentSetId

string

部署集 ID。

ds-bp1brhwhoqinyjd6****

DeploymentSetGroupNo

integer

如果您設定的部署集對應的策略為部署集組高可用策略(AvailabilityGroup)時,可以通過該參數指定執行個體在部署集中的分組號。取值範圍為 1~7。

1

ZoneId

string

執行個體所屬的可用區 ID。更多資訊,請參見 DescribeZones 取得可用區列表。

說明

如果您指定了VSwitchId參數,則指定的ZoneId參數必須和交換器所在的可用區保持一致。您也可以不指定ZoneId參數,系統將自動選擇指定的交換器所在的可用區。

預設值:空,系統自動選擇。

cn-hangzhou-g

ClusterId

string

執行個體所在的叢集 ID。

說明

該參數即將被棄用,為提高相容性,請盡量使用其他參數。

c-bp67acfmxazb4p****

ClientToken

string

保證請求冪等性。從您的用戶端產生一個參數值,確保不同請求間該參數值唯一。ClientToken 只支援 ASCII 字元,且不能超過 64 個字元。更多資訊,請參見如何保證冪等性

123e4567-e89b-12d3-a456-426655440000

VlanId

string

虛擬區域網路 ID。

10

InnerIpAddress

string

執行個體的內網 IP。

192.168.**.**

SystemDisk.Size

integer

系統磁碟大小,單位為 GiB。取值範圍為:

  • 普通雲端硬碟:20~500

  • 其他類型雲端硬碟:20~2048

該參數的取值必須大於或者等於 max{20, ImageSize}。

預設值:max{40, ImageSize}。

40

SystemDisk.Category

string

系統磁碟的雲端硬碟種類。取值範圍:

  • cloud_efficiency:高效雲端硬碟。

  • cloud_ssd:SSD 雲端硬碟。

  • cloud_essd:ESSD 雲端硬碟。

  • cloud:普通雲端硬碟。

  • cloud_auto:ESSD AutoPL 雲端硬碟。

  • cloud_essd_entry:ESSD Entry 雲端硬碟。

說明

僅當InstanceType設定為通用算力型執行個體規格族 u1ecs.u1)或經濟型執行個體規格族 eecs.e)時,該參數支援取cloud_essd_entry值。

已停售的執行個體規格且非 I/O 優化執行個體預設值為 cloud,否則預設值為 cloud_efficiency。

cloud_ssd

SystemDisk.DiskName

string

系統磁碟名稱。長度為 2~128 個字元,支援 Unicode 中 letter 分類下的字元(其中包括英文、中文和數字等)。可以包含半形冒號(:)、底線(_)、半形句號(.)或者短劃線(-)。

預設值為空。

SystemDiskName

SystemDisk.Description

string

系統磁碟描述。長度為 2~256 個英文或中文字元,不能以http://https://開頭。

預設值為空。

TestDescription

SystemDisk.PerformanceLevel

string

建立 ESSD 雲端硬碟作為系統磁碟使用時,設定雲端硬碟的效能等級。取值範圍:

  • PL0:單碟最高隨機讀寫 IOPS 1 萬。

  • PL1(預設):單碟最高隨機讀寫 IOPS 5 萬。

  • PL2:單碟最高隨機讀寫 IOPS 10 萬。

  • PL3:單碟最高隨機讀寫 IOPS 100 萬。

有關如何選擇 ESSD 效能等級,請參見 ESSD 雲端硬碟

PL1

NodeControllerId

string

說明

該參數正在邀測中,暫不支援使用。

null

Description

string

執行個體的描述。長度為 2~256 個英文或中文字元,不能以http://https://開頭。

預設值為空。

InstanceTest

VSwitchId

string

如果是建立 VPC 類型的執行個體,需要指定交換器 ID。您可以呼叫 DescribeVSwitches 查詢已建立的交換器的相關資訊。

說明

如果您指定了VSwitchId參數,則指定的ZoneId參數必須和交換器所在的可用區保持一致。您也可以不指定ZoneId參數,系統將自動選擇指定的交換器所在的可用區。

vsw-bp1s5fnvk4gn2tws0****

PrivateIpAddress

string

執行個體私網 IP 位址。該 IP 位址必須為交換器(VSwitchId)網段的空閒位址。

172.16.236.*

IoOptimized

string

是否為 I/O 優化執行個體。取值範圍:

  • none:非 I/O 優化。

  • optimized:I/O 優化。

已停售的執行個體規格執行個體預設值是 none。

其他執行個體規格預設值是 optimized。

optimized

UseAdditionalService

boolean

是否使用阿里雲提供的虛擬機器系統配置(Windows:NTP、KMS;Linux:NTP、YUM)。

true

InstanceChargeType

string

執行個體的付費方式。取值範圍:

  • PrePaid:包年包月。選擇該類付費方式時,您必須確認自己的帳號支援餘額支付/信用支付,否則將返回 InvalidPayMethod的錯誤提示。

  • PostPaid(預設):按量付費。

PrePaid

Period

integer

購買資源的時長,單位由PeriodUnit指定。當參數InstanceChargeType取值為PrePaid時才生效且為必選值。一旦指定了DedicatedHostId,則取值範圍不能超過專有宿主機的訂閱時長。取值範圍:

PeriodUnit=Month 時,Period 取值:1、2、3、6、12。

1

PeriodUnit

string

購買資源的時長。取值範圍:

Month。

預設值為 Month。

Month

UserData

string

執行個體自訂資料,需要以 Base64 方式編碼,原始資料最多為 32 KB。

ZWNobyBoZWxsbyBlY3Mh

SpotStrategy

string

執行個體的搶佔策略。當參數InstanceChargeType取值為PostPaid時生效。取值範圍:

  • NoSpot(預設):正常按量付費執行個體。

  • SpotWithPriceLimit:設定上限價格的搶佔式執行個體。

  • SpotAsPriceGo:系統自動出價,跟隨當前市場實際價格。

NoSpot

KeyPairName

string

金鑰對名稱。

說明

Windows 執行個體,忽略該參數。預設為空。即使填寫了該參數,仍舊只執行Password的內容。

KeyPairTestName

SpotPriceLimit

number

設定執行個體的每小時最高價格。支援最多 3 位小數,參數SpotStrategy取值為SpotWithPriceLimit時生效。

0.98

SpotDuration

integer

搶佔式執行個體的保留時長,單位為小時。預設值:1。取值範圍:

  • 1:建立後阿里雲會保證執行個體運行 1 小時不會被自動釋放;超過 1 小時後,系統會自動比較出價與市場價格、檢查資源庫存,來決定執行個體的持有和回收。

  • 0:建立後,阿里雲不保證執行個體運行 1 小時,系統會自動比較出價與市場價格、檢查資源庫存,來決定執行個體的持有和回收。

說明
  • 該參數目前只支援設定為 0 或 1。

  • 搶佔式執行個體按秒計費,建議您結合具體任務執行耗時來選擇合適的保留時長。

  • 執行個體回收前 5 分鐘阿里雲會通過 ECS 系統事件向您傳送通知。

1

SpotInterruptionBehavior

string

搶佔執行個體中斷模式。取值範圍:

預設值:Terminate。

Terminate

RamRoleName

string

執行個體 RAM 角色名稱。您可以使用 RAM API ListRoles 查詢您已建立的執行個體 RAM 角色。

RAMTestName

SecurityEnhancementStrategy

string

是否開啟安全性加固。取值範圍:

  • Active:啟用安全性加固,只對系統映像生效。

  • Deactive:不啟用安全性加固,對所有映像類型生效。

Active

ResourceGroupId

string

執行個體所在的企業資源群組 ID。

rg-bp67acfmxazb4p****

HpcClusterId

string

執行個體所屬的 HPC 叢集 ID。

hpc-bp67acfmxazb4p****

DryRun

boolean

是否只預檢此次請求。取值範圍:

  • true:傳送檢查請求,不會建立執行個體。檢查項包括是否填寫了必需參數、請求格式、業務限制和 ECS 庫存。如果檢查不通過,則返回對應錯誤。如果檢查通過,則返回錯誤碼DryRunOperation

  • false(預設):傳送正常請求,通過檢查後直接建立執行個體。

false

DedicatedHostId

string

專有宿主機 ID。

您可以通過 DescribeDedicatedHosts 查詢專有宿主機 ID 列表。

重要 專有宿主機不支援建立搶佔式執行個體,指定DedicatedHostId參數後,會自動忽略請求中的SpotStrategySpotPriceLimit設定。

dh-bp67acfmxazb4p****

CreditSpecification

string

設定突發效能執行個體的運行模式。取值範圍:

Standard

DeletionProtection

boolean

執行個體釋放保護屬性,指定是否支援通過控制台或 API( DeleteInstance )釋放執行個體。

  • true:開啟執行個體釋放保護。

  • false(預設):關閉執行個體釋放保護。

說明

該屬性僅適用於按量付費執行個體,且只能限制手動釋放操作,對系統釋放操作不生效。

false

HibernationOptions.Configured

boolean

說明

該參數正在邀測中,暫不支援使用。

false

Affinity

string

專有宿主機執行個體是否與專有宿主機關聯。取值範圍:

  • default:執行個體不與專有宿主機關聯。已啟用節省停機模式的執行個體,停機後再次啟動時,若原專有宿主機可用資源不足,則執行個體被放置在自動部署資源池的其它專有宿主機上。

  • host:執行個體與專有宿主機關聯。已啟用節省停機模式的執行個體,停機後再次啟動時,仍放置在原專有宿主機上。若原專有宿主機可用資源不足,則執行個體重啟失敗。

預設值為 default。

default

Tenancy

string

是否在專有宿主機上建立執行個體。取值範圍:

  • default:在非專有宿主機上建立執行個體。

  • host:在專有宿主機上建立執行個體。若您不指定DedicatedHostId,則由阿里雲自動選擇專有宿主機部署執行個體。

預設值為 default。

default

StorageSetId

string

儲存集 ID。

ss-bp1j4i2jdf3owlhe****

StorageSetPartitionNumber

integer

儲存集中的最大分區數量。取值範圍:大於等於 2。

2

HttpEndpoint

string

是否啟用執行個體中繼資料的存取通道。取值範圍:

  • enabled:啟用。

  • disabled:停用。

預設值為 enabled。

說明

有關執行個體中繼資料的資訊,請參見執行個體中繼資料概述

enabled

HttpTokens

string

存取執行個體中繼資料時是否強制使用加固模式(IMDSv2)。取值範圍:

  • optional:不強制使用。

  • required:強制使用。設定該取值後,普通模式無法存取執行個體中繼資料。

預設值為 optional。

說明

有關存取執行個體中繼資料的模式,請參見執行個體中繼資料存取模式

optional

HttpPutResponseHopLimit

integer

說明

該參數暫未開放使用。

0

PrivatePoolOptions.MatchCriteria

string

執行個體啟動的私有池容量選項。彈性保障服務或容量預定服務在生效後會產生私有池容量,供執行個體啟動時選擇。取值範圍:

  • Open:開放模式。將自動匹配開放類型的私有池容量。如果沒有符合條件的私有池容量,則使用公共池資源啟動。該模式下無需設定PrivatePoolOptions.Id參數。

  • Target:指定模式。使用指定的私有池容量啟動執行個體,如果該私有池容量不可用,則執行個體會啟動失敗。該模式下必須指定私有池 ID,即PrivatePoolOptions.Id參數為必填項。

  • None:不使用模式。執行個體啟動將不使用私有池容量。

預設值為 None。

以下任一場景,執行個體啟動的私有池容量選項只能取值None或不傳值。

  • 建立搶佔式執行個體。

  • 在專有宿主機 DDH 上建立 ECS 執行個體。

Open

PrivatePoolOptions.Id

string

私有池 ID。即彈性保障服務 ID 或容量預定服務 ID。

eap-bp67acfmxazb4****

DataDisk

array<object>

資料磁碟列表。

object

PerformanceLevel

string

建立 ESSD 雲端硬碟作為資料磁碟使用時,設定雲端硬碟的效能等級。N 的取值必須和DataDisk.N.Category=cloud_essd中的 N 保持一致。取值範圍:

  • PL0:單碟最高隨機讀寫 IOPS 1 萬。

  • PL1(預設):單碟最高隨機讀寫 IOPS 5 萬。

  • PL2:單碟最高隨機讀寫 IOPS 10 萬。

  • PL3:單碟最高隨機讀寫 IOPS 100 萬。

有關如何選擇 ESSD 效能等級,請參見 ESSD 雲端硬碟

PL2

Description

string

資料磁碟描述。長度為 2~256 個英文或中文字元,不能以http://https://開頭。

TestDescription

SnapshotId

string

建立資料磁碟 N 使用的快照。N 的取值範圍為 1~16。

  • 指定參數DataDisk.N.SnapshotId後,參數DataDisk.N.Size會被忽略,實際建立的雲端硬碟大小為指定的快照的大小。

  • 不能使用早於 2013 年 7 月 15 日(含)建立的快照,請求會報錯被拒絕。

s-bp17441ohwka0yuh****

Size

integer

第 n 個資料磁碟的容量大小,N 的取值範圍為 1~16,記憶體單位為 GiB。取值範圍:

  • cloud_efficiency:20~32768。

  • cloud_ssd:20~32768。

  • cloud_essd:具體取值範圍與 DataDisk.N.PerformanceLevel的取值有關。
    • PL0:1~65,536。

    • PL1:20~65,536。

    • PL2:461~65,536。

    • PL3:1261

2000

Device

string

資料磁碟的掛載點。

說明

該參數僅用於全映像(整機映像)場景。您可以通過將此參數設定為全映像中資料磁碟對應的掛載點,並修改對應的DataDisk.N.SizeDataDisk.N.Category參數,達到修改全映像中資料磁碟磁碟種類和大小的目的。

/dev/xvdb

DiskName

string

資料磁碟名稱。長度為 2~128 個字元,支援 Unicode 中 letter 分類下的字元(其中包括英文、中文和數字等)。可以包含半形冒號(:)、底線(_)、半形句號(.)或者短劃線(-)。

DataDiskName

Category

string

資料磁碟 N 的雲端硬碟種類。取值範圍:

  • cloud_efficiency:高效雲端硬碟。

  • cloud_ssd:SSD 雲端硬碟。

  • cloud_essd:ESSD 雲端硬碟。

  • cloud:普通雲端硬碟。

  • cloud_auto:ESSD AutoPL 雲端硬碟。

  • cloud_essd_entry:ESSD Entry 雲端硬碟。
    說明

    僅當InstanceType設定為ecs.u1ecs.e規格族時,該參數支援cloud_essd_entry

  • elastic_ephemeral_disk_standard:彈性臨時碟-標準版。

  • elastic_ephemeral_disk_premium:彈性臨時碟-進階版。

I/O 優化執行個體的預設值為 cloud_efficiency,非 I/O 優化執行個體的預設值為 cloud。

cloud_ssd

DeleteWithInstance

boolean

資料磁碟是否隨執行個體釋放。

  • true:是。

  • false:否。

預設值為 true。

true

KMSKeyId

string

雲端硬碟使用的 KMS 金鑰 ID。

0e478b7a-4262-4802-b8cb-00d****

EncryptAlgorithm

string

說明

該參數暫未開放使用。

null

Encrypted

boolean

資料磁碟 N 是否加密。

  • true:是。

  • false:否。

預設值為 false。

false

StorageClusterId

string

專屬區塊儲存叢集 ID。如果您在建立 ECS 執行個體時,需要使用專屬區塊儲存叢集中的雲端硬碟資源作為資料磁碟,請設定該參數。

dbsc-j5e1sf2vaf5he8m2****

Arn

array<object>

說明

該參數正在邀測中,暫不支援使用。

object

RoleType

string

說明

該參數正在邀測中,暫不支援使用。

Primary

Rolearn

string

說明

該參數正在邀測中,暫不支援使用。

acs:ram::123456789012****:role/adminrole

AssumeRoleFor

integer

說明

該參數正在邀測中,暫不支援使用。

1234567890

Tag

array<object>

標籤列表。

object

標籤列表。

key

string

標籤鍵。

說明

為提高相容性,建議您盡量使用 Tag.N.Key 參數。

Test

Key

string

執行個體、雲端硬碟和主網卡的標籤鍵。N 的取值範圍:1~20。一旦傳入該值,則不允許為空字串。最多支援 128 個字元,不能以aliyunacs:開頭,不能包含http://https://

TestKey

Value

string

執行個體、雲端硬碟和主網卡的標籤值。N 的取值範圍:1~20。一旦傳入該值,可以為空字串。最多支援 128 個字元,不能包含http://或者https://

TestValue

value

string

標籤值。

說明

為提高相容性,建議您盡量使用 Tag.N.Value 參數。

Test

SystemDisk

object

系統磁碟相關參數,目前專屬區塊儲存叢集 ID(StorageClusterId)需要通過該參數設定參數值。

StorageClusterId

string

專屬區塊儲存叢集 ID。如果您在建立 ECS 執行個體時,需要使用專屬區塊儲存叢集中的雲端硬碟資源作為系統磁碟,請設定該參數。

dbsc-j5e1sf2vaf5he8m2****

返回參數

名稱

類型

描述

樣本值

object

RequestId

string

請求 ID。

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

InstanceId

string

執行個體 ID。

i-bp67acfmxazb4p****

OrderId

string

訂單 ID。該參數只有建立包年包月 ECS 執行個體(請求參數InstanceChargeType=PrePaid)時有返回值。

1234567890

TradePrice

number

訂單成交價。

0.165

樣本

正常返回樣本

JSON格式

{
  "RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****",
  "InstanceId": "i-bp67acfmxazb4p****",
  "OrderId": "1234567890",
  "TradePrice": 0.165
}

錯誤碼

HTTP status code

錯誤碼

錯誤資訊

描述

400 InvalidStorageClusterId.CapacityNotEnough The remaining capacity of the current dedicated storage cluster is less than the size of disk.
400 InvalidStorageClusterId.StatusNotSupport The current status of the dedicated storage cluster cannot create a cloud disk yet.
400 InvalidStorageClusterId.ZoneIdEmpty The specified param ZoneId cannot be empty when StorageClusterId given.
400 InvalidStorageClusterId.PerformanceLevelNotMatch The current dedicated storage cluster cannot create this performance level of disk.
400 InvalidStorageClusterId.CategoryNotMatch The current dedicated storage cluster cannot create this category of disk.
400 InvalidStorageClusterId.DiskSizeEmpty The specified param DiskSize cannot be empty when StorageClusterId given.
400 InvalidInstanceType.ValueUnauthorized The specified InstanceType is not authorized.
400 InvalidInternetChargeType.ValueNotSupported The specified InternetChargeType is not valid.
400 InvalidParameter The specified parameter "InternetMaxBandwidthOut" is not valid.
400 InvalidSystemDiskCategory.ValueNotSupported The specified parameter " SystemDisk.Category " is not valid.
400 InvalidDataDiskSize.ValueNotSupported The specified DataDisk.n.Size beyond the permitted range, or the capacity of snapshot exceeds the size limit of the specified disk category.
400 InvalidInstanceType.ValueNotSupported The specified InstanceType does not exist or beyond the permitted range.
400 InvalidDescription.Malformed The specified parameter "Description" is not valid.
400 InvalidHostName.Malformed The specified parameter "HostName" is not valid.
400 InvalidPassword.Malformed The specified parameter "Password" is not valid.
400 InvalidPasswordParam.Mismatch The input password should be null when passwdInherit is true.
400 InvalidDiskName.Malformed The specified parameter "SystemDisk.DiskName or DataDisk.n.DiskName" is not valid.
400 InvalidDiskDescription.Malformed The specified parameter "SystemDisk.DiskDescription" or "DataDisk.n.Description" is not valid.
400 InvalidDataDiskCategory.ValueNotSupported The specified parameter "DataDisk.n.Category" is not valid.
400 InvalidDataDevice.Malformed The specified parameter "DataDisk.n.Device" is not valid.
400 InvalidNodeControllerId.Malformed The specified parameter "NodeControllerId" is not valid.
400 InvalidInnerIpAddress.Malformed The specified parameter "InnerIpAddress" is not valid.
400 InvalidInnerIpAddress.Unusable The specified InnerIpAddress is already used or not found in usable ip range.
400 OperationDenied The specified parameter "VlanId" is not valid or vlan has not enough IP address.
400 InvalidParameter.Conflict The specified image does not support the specified instance type.
400 ImageNotSupportCloudInit The specified image does not support cloud-init.
400 InvalidSnapshotId.BasedSnapshotTooOld The specified snapshot is created before 2013-07-15.
400 QuotaExceed.AfterpayInstance The maximum number of Pay-As-You-Go instances is exceeded: %s.
400 InvalidMarketImageChargeType.NotSupport The specified chargeType of marketImage is unsupported.
400 InvalidInstanceName.Malformed The specified parameter "InstanceName" is not valid.
400 InvalidParameter.Mismatch Specified security group and virtual switch are not in the same VPC.
400 InvalidNetworkType.Mismatch Specified parameter InternetMaxBandwidthIn or InternetMaxBandwidthOut conflict with instance network type.
400 InvalidPrivateIpAddress Specified private IP address is not in the CIDR block of virtual switch.
400 InvalidPrivateIpAddress.Malformed Specified private IP address is invalid.
400 InvalidPrivateIpAddress.Duplicated Specified private IP address is duplicated.
400 QuotaExceeded.PrivateIpAddress Don't have enough private IPs in this switch.
400 QuotaExceeded Living instances quota exceeded in this VPC.
400 IncorrectVSwitchStatus The current status of virtual switch does not support this operation.
400 ResourceNotAvailable Resource you requested is not available in this region or zone.
400 MissingParameter The input parameter "VSwitchId" that is mandatory for processing this request is not supplied.
400 InvalidDiskCategory.Mismatch The specified disk categories' combination is not supported.
400 InvalidIoOptimizedValue.ValueNotSupported IoOptimized value not supported.
400 MissingParamter The specified parameter "Period" is not null.
400 InvalidPeriod The specified period is not valid.
400 InstanceDiskCategoryLimitExceed The specified DataDisk.n.Size beyond the permitted range, or the capacity of snapshot exceeds the size limit of the specified disk category.
400 InvalidParameter.Bandwidth The specified parameter Bandwidth is not valid.
400 InvalidIPAddress.AlreadyUsed The specified IPAddress is already used by other resource.
400 InvalidUserData.SizeExceeded The specified parameter "UserData" exceeds the size.
400 InvalidUserData.NotSupported The specified parameter "UserData" only support the vpc and IoOptimized Instance.
400 InstanceDiskNumber.LimitExceed The total number of specified disk in an instance exceeds.
400 Account.Arrearage Your account has an outstanding payment.
400 InvalidDiskCategory.ValueNotSupported The specified parameter "DiskCategory" is not valid.
400 InvalidAutoRenewPeriod.ValueNotSupported The specified autoRenewPeriod is not valid.
400 InvalidSpotStrategy The specified SpotStrategy is not valid.
400 InvalidSpotParam.EmptyZoneID The specified ZoneId is empty when SpotStrategy is set.
400 InvalidSpotPriceLimit The specified SpotPriceLimitis not valid.
400 InvalidSpotDuration The specified SpotDuration is not valid.
400 InvalidSpotAuthorized The specified Spot param is unauthorized.
400 InvalidSpotPrepaid The specified Spot type is not support PrePay Instance.
400 InvalidSpotAliUid The specified UID is not authorized to use SPOT instance.
400 InvalidTagKey.Malformed The specified Tag.n.Key is not valid.
400 RegionUnauthorized %s
400 Zone.NotOnSale %s
400 InvalidSystemDiskSize.ValueNotSupported %s
400 InvalidParameter.EncryptedIllegal %s
400 InvalidParameter.EncryptedNotSupported %s
400 EncryptedOption.Conflict %s
400 InvalidSpotPriceLimit.LowerThanPublicPrice The specified parameter "soptPriceLimit" can't be lower than current public price.
400 InvalidHpcClusterId.Unnecessary The specified HpcClusterId is unnecessary.
400 InvalidVSwitchId.Necessary The VSwitchId is necessary.
400 InvalidHpcClusterId.Necessary The HpcClusterId is necessary.
400 InvalidHpcClusterId.NotFound The specified HpcClusterId is not found.
400 InvalidHpcClusterId.Creating The specified HpcClusterId is creating.
400 InvalidPeriodUnit.ValueNotSupported The specified parameter PeriodUnit is not valid.
400 IncorrectImageStatus Encrypted snapshots do not support this operation.
400 InvalidTagValue.Malformed The specified Tag.n.Value is not valid.
400 InvalidSecurityGroup.NotInDefaultVpc %s
400 VpcNotFound Vpc is not found according to the specified VSwitch or the vpc does not belong to you.
400 InvalidSpotInterruptionBehavior %s
400 OperationDenied.IllegalPaymentPolicy The current payment policy is illegal, please connect your service provider to authenticate relative agreement.
400 InvalidDeploymentOnHost %s
400 InvalidInstanceChargeType.NotSupport The Dedicated host not support the specified Instance charge type.
400 InvalidNetworkType.NotSupported The classic networkType not support create ECS on dedicatedHost.
400 InvalidDedicatedHostId.NotFound The specified DedicatedHostId does not exist.
400 InvalidDedicatedHostStatus.NotSupport Operation denied due to dedicated host status.
400 IncorrectDedicatedHostStatus The current status of the resource does not support this operation.
400 ChargeTypeViolation.PostPaidDedicatedHost Prepaid instance onto postpaid dedicated host is not allowed.
400 InvalidPeriod.ExceededDedicatedHost Instance expired date can't exceed dedicated host expired date.
400 DedicatedHostType.Unmatched The specified DedicatedHostType doesn?t match the instance type.
400 NoAvaliableDedicatedHost There's no enough resource on the specified dedicated host.
400 InvalidParameter.Affinity The specified Affinity is invalid.
400 InvalidParameter.Tenancy The specified Tenancy is invalid.
400 InvalidParam.Tenancy The specified Tenancy is invalid.
400 InvalidParameter.CreditSpecification The specified CreditSpecification is not supported in this region.
400 InvalidInstanceType.NotSupported The specified instanceType is not supported by the deployment set.
400 InvalidVpcZone.NotSupported Zone of the specified VSwitch is not available for creating, please try in other zones.
400 IncorrectDefaultVpcStatus The status of the default VPC is invalid.
400 IoOptimized.NotSupported The specified instance must be IoOptimized instance when kmsKeyId is not empty.
400 InvalidClientToken.ValueNotSupported The ClientToken provided is invalid.
400 InvalidCapacityReservationId.NotFound The specified CapacityReservationId does not exist.
400 LackResource There's no enough resource on the specified capacity reservation.
400 Duplicate.TagKey The Tag.N.Key contain duplicate key.
400 InvalidParameter.Arns The specified Arns is not valid.
400 InvalidOperation.NotSupportEnterpriseGroup The specified instance type doesn't support enterprise level security group.
400 InvalidOperation.MultiGroupType The specified instance can't join different types of security group.
400 InvalidAccountStatus.PayAmountLimitExceeded Your account is being restricted, because you have no default payment method or you are not authorized.
400 InvalidPerformanceLevel.Malformed The specified parameter DataDisk.n.PerformanceLevel is not valid.
400 InvalidSecurityGroup.NetworkType %s
400 QuotaExceeded.PrepayDataDiskCapacity The quota of prepay data disk capacity exceeds.
400 InvalidCustomInstanceType.NotSupported The specified custom instance type is invalid.
400 InvalidOperation.EniCountExceeded The maximum number of eni in a enterprise security group is exceeded.
400 AccountForbidden.ProductCreationLimited The commodity must be officially operated by Aliyun and in pay-as-you-go billing method.
400 UnexpectedImageFamily.ImageIdSupplied The input parameter ImageFamily must be null when image id is set.
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 InvalidHttpEndpoint.NotSupported The specified HttpEndpoint not supported, you can use enabled(default) or disabled.
400 InvalidHttpTokens.NotSupported The specified HttpTokens not supported, you can use optional(default) or required.
400 InvalidHttpPutResponseHopLimit.NotSupported The specified HttpPutResponseHopLimit not supported, more than 1 and less than 64 is reasonable.
400 InvalidOperation.VpcHasEnabledAdvancedNetworkFeature The specified vpc has enabled advanced network feature.
400 InvalidChargeType.CapacityReservationNotSupported %s
400 InvalidPerformanceLevel.ValueNotSupported The current ZoneId or InstanceType does not support PL0 of cloud_essd.
400 InvalidKMSKeyId.NotSymmetric The specified parameter KmsKeyId must be symmetric.
400 InvalidDedicatedHostClusterId.NotFound The specified DedicatedHostClusterId does not exist.
400 InvalidDedicatedHostClusterId.InValid The specified Dedicated Host Cluster is invalid.
400 InvalidOperation.UserNotSupported Reseller user do not support purchase at the moment.
400 InvalidDeploymentSetId.NotFound The parameter DeploymentSetId is invalid.
400 MissingParameter.PrivatePoolOptionsId The specified PrivatePoolOptions.Id should not be null.
400 Invalid.PrivatePoolOptionsId The specified PrivatePoolOptions.Id is invalid.
400 DedicatedHostNotSupported DedicatedHost is not supported for PrivatePool.
400 SpotNotSupported Spot is not supported for PrivatePool.
400 ClassicNetworkNotSupported Classic network is not supported for PrivatePool.
400 Invalid.InstanceId Instance does not exist.
400 Invalid.PrivatePoolOptions.MatchCriteria Target mode does not support this operation.
400 MissingParameter.PrivatePoolOptions.Id The specified PrivatePoolOptions.Id should not be null.
400 Invalid.PrivatePoolOptions.Id The PrivatePool does not exist.
400 Invalid.InstanceType The InstanceType does not match the PrivatePool.
400 Invalid.InstanceChargeType The InstanceChargeType does not match the PrivatePool.
400 Invalid.ZoneId The ZoneId does not match the PrivatePool.
400 Invalid.PrivatePoolOptions.NoStock The PrivatePool has been used up.
400 InvalidPlatform.ValueNotSupported The Platform does not match the PrivatePool.
400 Invalid.PrivatePoolOptions.status The PrivatePool is expired or inactive.
400 InvalidAliUid The PrivatePool does not belong to the user of the Instance.
400 HibernationConfigured.InstanceTypeNotSupport The specified instance type is not support.
400 HibernationConfigured.ImageNotEncrypted The hibernation configured instance only support encrypted image.
400 HibernationConfigured.MemorySizeTooBig The hibernation configured instance memory size is too big.
400 InvalidSystemDiskSize.LessThanMemSize The specified parameter SystemDisk.Size is less than the memory size.
400 InvalidCloudBoxZone.OperationNotSupported The cloud box zone does not support creating prepaid or encrypted resources.
400 InvalidInternetMaxBandwidthOut.Malformed The specified parameter InternetMaxBandwidthOut is not valid.
400 InvalidInternetMaxBandwidthIn.Malformed The specified parameter InternetMaxBandwidthIn is not valid.
400 InvalidParameter.CloudboxNotSupported %s
400 NotSupportSnapshotEncrypted.ShareImage Shared snapshot creating encrypted disks with native snapshot encrypt is not supported.
400 QuotaExceed.DiskCapacity The used capacity of disk type has exceeded the quota in the zone, %s.
400 InvalidParameter.DataEncryptedKeyCreateFailed Create kms data encrypted key fail. If you need further assistance, you can contact the KMS Technical Support.
400 InvalidDiskCategory.NotSupported The specified disk category is not supported.
400 InvalidDestinationZone.DeploymentSetMismatch Error happened, %s.
400 NoPermission.Price The operation requires price permission. Please either apply for permission from your main account, or set the parameter AutoPay as true.
400 InvalidParameter.DedicatedRegionNotSupported The specified action is rejected because the specified ECS instance in the dedicated region does not support public IP.
400 InvalidParameter.KmsNotEnabled Failed to perform this operation because KMS is not activated.
400 InvalidParameter.Encrypted.KmsNotEnable Failed to perform this operation because KMS is not activated.
400 InvalidParam.EncryptedMismatch Creating encrypted disks with shared encrypted image requires replacing encryption keys.
400 InvalidParameter.Encrypted Creating non-encrypted disks with encrypted snapshots is not supported.
400 QuotaExceeded.InternetBandwidth %s.
400 InvalidVSwitchId.NotFound The specified VSwitch does not exist in the specified region.
400 OperationDenied.TestAccountRetricted Test-account for testing has been prohibited from creating instance in this region. Please contact 400181.
401 InvalidRamRole.NotEcsRole The specified ram role is not authorized for ecs, please check your role policy.
500 InternalError The request processing has failed due to some unknown error.
500 InvalidImage.OSType The image OSType does not support this instance type.
403 InvalidDiskCategory.NotSupported The specified disk category is not support the specified instance type.
403 ImageNotSubscribed The specified image has not be subscribed.
403 OperationDenied The specified Image is disabled or is deleted.
403 InvalidSystemDiskCategory.ValueUnauthorized The disk category is not authorized.
403 InvalidSnapshotId.NotReady The specified snapshot has not completed yet.
403 InstanceDiskCategoryLimitExceed The total size of specified disk category in an instance exceeds.
403 InvalidDevice.InUse The specified device has been occupied.
403 ImageRemovedInMarket The specified market image is not available, Or the specified user defined image includes product code because it is based on an image subscribed from marketplace, and that image in marketplace includeing exact the same product code has been removed.
403 CategoryNotSupported The specified zone does not offer the specified disk category.
403 OperationDenied.NoStock The requested resource is sold out in the specified zone; try other types of resources or other regions and zones.
403 QuotaExceed.PortableCloudDisk The quota of portable cloud disk exceeds.
403 SecurityGroupInstanceLimitExceed The maximum number of instances in a security group is exceeded.
403 NodeControllerUnavailable The Node Controller is temporarily unavailable.
403 RegionUnauthorized There is no authority to create instance in the specified region.
403 InvalidSnapshotId.NotDataDiskSnapshot The specified snapshot is system disk snapshot.
403 DeleteWithInstance.Conflict The specified disk is not a portable disk and cannot be set to DeleteWithInstance attribute.
403 InstanceDiskNumLimitExceed The number of specified disk in an instance exceeds.
403 IoOptimized.NotSupported The specified image is not support IoOptimized Instance.
403 ImageNotSupportInstanceType The specified image don't support the InstanceType instance.
403 InvalidDiskSize.TooSmall Specified disk size is less than the size of snapshot.
403 InvalidDiskCategory.Mismatch The specified disk categories combination is not supported.
403 QuotaExceed.BuyImage The specified image is from the image market, You have not bought it or your quota has been exceeded.
403 InvalidVSwitchId.NotFound The VSwitchId provided does not exist in our records.
403 InvalidParameter.ResourceOwnerAccount ResourceOwnerAccount is Invalid.
403 InvalidUserData.Forbidden User not authorized to input the parameter "UserData", please apply for permission "UserData".
403 Zone.NotOpen The specified zone is not granted to you to buy resources yet.
403 Zone.NotOnSale The specified zone is not available for purchase.
403 InvalidClusterId.NotFound The specified clusterId does not exist.
403 InvalidResourceType.NotSupported %s
403 InvalidInstanceType.ValueNotSupported The specified InstanceType does not exist or beyond the permitted range.
403 InvalidInstanceType.ZoneNotSupported The specified zone does not support this instancetype.
403 InvalidPayMethod The specified pay method is not valid.
403 OperationDenied.ImageNotValid The specified Image is disabled or is deleted.
403 InvalidUserData.Base64FormatInvalid The specified UserData is not valid.
403 InstanceType.Offline %s
403 DependencyViolation.WindowsInstance The instance creating is window, cannot use ssh key pair to login.
403 RealNameAuthenticationError Your account has not passed the real-name authentication yet.
403 InvalidNetworkType.MismatchRamRole Ram role cannot be applied to instances of Classic network type.
403 InvalidUser.PassRoleForbidden The RAM user does not have the privilege to pass a RAM role.
403 InvalidImage.NotSupported The specified image does not support vSGX instance.
403 InvalidAccountStatus.NotEnoughBalance Your account does not have enough balance.
403 IncorrectVpcStatus Current VPC status does not support this operation.
403 InvalidParameter.NotMatch %s
403 OperationDenied.InvalidNetworkType %s
403 InvalidSpotInterruptionBehavior.ClassicNetworkNotSupport The specified SpotInterruptionBehavior does not support Classic network Instance.
403 InvalidSpotInterruptionBehavior.LocalDiskNotSupport The specified SpotInterruptionBehavior does not support local disk instance.
403 QuotaExceed.PostPaidDisk Living postPaid disks quota exceeded.
403 QuotaExceed.DeploymentSetInstanceQuotaFull Instance quota in one deployment set exceeded.
403 InvalidVSwitch.DefaultVSwitchNotSupport The specified zone in vpc can't support create default vSwitch.
403 OperationDenied.LocalDiskUnsupported The configuration change is not allowed when the specified instance has local disks mounted.
403 OperationDenied.InconsistentNetwork The specified security group and vswitch are not in the same vpc.
403 DefaultVswitch.Existed The default vswitch for VPC already exists.
403 InvalidChargeType.ValueNotSupported Deletion protection is only valid for postPaid instance, not for prePaid or spot instance.
403 IncorrectInstanceStatus The current status of the resource does not support this operation.
403 CategoryViolation The specified instance does not support this operation because of its disk category.
403 ResourcesNotInSameZone The specified instance and dedicated host are not in the same zone.
403 InvalidRegion.NotSupport The specified region does not support byok.
403 UserNotInTheWhiteList The user is not in byok white list.
403 InvalidParameter.KMSKeyId.KMSUnauthorized ECS service have no right to access your 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 InvalidDisk.SystemDiskSize The specified SystemDiskSize beyond the permitted range.
403 InsufficientBalance Your account does not have enough balance.
403 Mayi.InternalError The request processing has failed due to some unknown error.
403 InvalidNetworkType The network type is not support in this region.
403 InvalidAccountStatus Your account status is invalid, please contact customer service.
403 QuotaExceeded.PrivateIpAddress %s
403 InvalidVSwitchId.IpInvalid %s
403 OperationDenied.PerformanceLevelNotMatch The specified DataDisk.n.PerformanceLevel and DataDisk.n.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
403 OperationDenied.RegionIdNotSupported Region not support spot duration instance.
403 OperationDenied.FlavorNotSupported Flavor not support spot duration instance.
403 OperationDenied.TimestampNotSupported Timestamp not support spot duration instance.
403 OperationDenied.PrepayNotAvailable Prepay instance is not available now.
403 OperationDenied.PaygNotAvailable Pay-as-you-go instance is not available now.
403 EnterpriseGroupLimited.MutliGroupType The specified instance can not join multi SecurityGroup types.
403 EnterpriseGroupLimited.InstanceType The specified instance type does not support Enterprise SecurityGroup.
403 InternalError.AllocateUnderlayIp Allocate underlay ip for the instance error.
403 OperationDenied.BidOwnResource Bid user can not own resource.
403 OperationDenied.CloudSSDNotSupported The specified available zone does not offer the cloud_ssd disk, use cloud_essd instead.
403 InvalidVPCStatus.NotWorking The specified VPC subnet status is not working.
403 QuotaExceed.ElasticQuota No additional quota is available for the specified ECS instance type.
403 QuotaExceeded.PostpaidDataDiskCapacity The quota of postpaid data disk capacity exceeds.
403 InvalidImageFamily.MissingAvailableImage There is no available image related to the specified image family.
403 InvalidRegionId.NotSupportEncryptAlgorithm The current region does not support creating encrypted disks with EncryptAlgorithm.
403 InvalidOperation.ResourceManagedByCloudProduct %s
403 Forbidden.OnlySupportEnterpriseGroup %s
403 HibernationConfigured.InstanceOperationForbidden The operation is not permitted due to limit of the hibernation configured instance.
403 InstanceDiskLimitExceeded The amount of the disk on instance reach its limits.
403 InvalidInstanceType.NotSupportDiskCategory The instanceType of the specified instance does not support this disk category.
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 InvalidOperation.PublicIpAddressNoStock The public IP address for the specified Region or ChargeType of the instance is out of stock. Please try another Region or ChargeType.
403 InvalidParameter.KMSKeyId.CMKNotEnabled 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.
403 InvalidEncrypted.NotMatchDiskDefaultEncryption Enabling disk default encryption prevents the creation of non-encrypted disks.
403 InvalidEncrypted.NotMatchSnapshot The specified parameter Encrypted must be set to true when creating disks with encrypted snapshots.
404 InvalidStorageClusterId.NotExist The specified StorageClusterId does not exist in current region.
404 InvalidRegionId.NotFound The RegionId provided does not exist in our records.
404 IoOptimized.NotSupported The specified instancetype is not support IoOptimized instance.
404 InvalidZoneId.NotFound The ZoneId provided does not exist in our records.
404 InvalidSecurityGroupId.NotFound The specified SecurityGroupId does not exist.
404 InvalidDataDiskSnapshotId.NotFound The specified parameter "DataDisk.n.SnapshotId" is not valid.
404 InvalidClusterId.NotFound The ClusterId provided does not exist in our records.
404 OperationDenied The specified Image is disabled or is deleted.
404 InvalidVSwitchId.NotFound Specified virtual switch does not exist.
404 InvalidImageId.NotFound The specified ImageId does not exist.
404 InvalidInstanceChargeType.NotFound The InstanceChargeType does not exist in our records.
404 DependencyViolation.IoOptimized The specified instancetype must be IoOptimized instance.
404 PaymentMethodNotFound No payment method has been registered on the account.
404 HOSTNAME_ILLEGAL The specified parameter Hostname is not valid.
404 InvalidSystemDiskSize.LessThanImageSize The specified parameter SystemDisk.Size is less than the image size.
404 InvalidSystemDiskSize.LessThanMinSize The specified parameter SystemDisk.Size is less than the min size.
404 InvalidSystemDiskSize.MoreThanMaxSize The specified SystemDisk.Size parameter exceeds the maximum size.
404 InvalidParameter The specified vm bandwidth is not valid.
404 InvalidSystemDiskSize The specified parameter SystemDisk.Size is invalid.
404 InvalidKeyPairName.NotFound The specified parameter KeyPairName does not exist in our records.
404 InvalidRamRole.NotFound The specified RAMRoleName does not exist.
404 InvalidResourceGroup.NotFound The ResourceGroup provided does not exist in our records.
404 InvalidMarketImage.NotFound The specified marketplace image does not exist, please change the imageId and try again.
404 DeploymentSet.NotFound The specified deployment set does not exist.
404 InvalidInstanceType.ValueNotSupported The specified InstanceType does not exist or beyond the permitted range.
404 InvalidParameter.KMSKeyId.NotFound The specified KMSKeyId does not exist.
404 InvalidDiskIds.NotPortable The specified DiskId is not portable.
429 Throttling.Resource The request throttle by resource operation.
409 OperationConflict Request was denied due to conflict with a previous request,please try again later.

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

變更歷史

更多資訊,參考變更詳情