全部產品
Search
文件中心

Elastic Compute Service:CreateInstance - 建立執行個體

更新時間:Apr 10, 2026

本介面是阿里雲 ECS 中用於建立執行個體的介面,支援建立一台訂用帳戶或隨用隨付的 ECS 執行個體。您可通過此介面,依據自身需求靈活配置各類參數,實現執行個體的個人化建立。

介面說明

說明

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

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

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

使用須知

  • 建立執行個體會涉及資源計費,請確保您已瞭解Elastic Compute Service 的計費方式。更多資訊,請參見計費概述

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

  • 建立Virtual Private Cloud 類型執行個體前,請預先在相應的阿里雲地區建立 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

*全部資源

*

  • 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,則取值範圍不能超過Dedicated Host的訂閱時間長度。取值範圍:

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

Dedicated Host ID。

您可以通過 DescribeDedicatedHosts 查詢Dedicated Host ID 列表。

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

dh-bp67acfmxazb4p****

CreditSpecification

string

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

Standard

DeletionProtection

boolean

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

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

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

說明

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

false

HibernationOptions.Configured

boolean

說明

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

false

Affinity

string

Dedicated Host執行個體是否與Dedicated Host關聯。取值範圍:

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

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

預設值為 default。

default

Tenancy

string

是否在Dedicated Host上建立執行個體。取值範圍:

  • default:在非Dedicated Host上建立執行個體。

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

預設值為 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或不傳值。

  • 建立搶佔式執行個體。

  • 建立傳統網路類型的 ECS 執行個體。

  • 在Dedicated Host 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~65,536。

  • cloud:5~2000。

說明

該參數的取值必須大於等於參數SnapshotId指定的快照的大小。

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 金鑰識別碼。

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

EncryptAlgorithm

string

說明

該參數暫未開放使用。

null

Encrypted

boolean

資料盤 N 是否加密。

  • true:是。

  • false:否。

預設值為 false。

false

StorageClusterId

string

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

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

系統硬碟相關參數,目前專屬Block Storage叢集 ID(StorageClusterId)需要通過該參數設定參數值。

StorageClusterId

string

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

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. 指定的 DataDisk.n.Size 超出允許範圍,或者快照的容量超過指定磁碟類別的大小限制。
400 InvalidInstanceType.ValueNotSupported The specified InstanceType does not exist or beyond the permitted range. 您指定的執行個體規格不存在,或者您沒有許可權操作此規格的執行個體。
400 InvalidDescription.Malformed The specified parameter "Description" is not valid. 指定的資源描述格式不合法。長度為2-256個字元,不能以http://和https://開頭。
400 InvalidHostName.Malformed The specified parameter "HostName" is not valid. 指定的參數 HostName 不合法
400 InvalidPassword.Malformed The specified parameter "Password" is not valid. 指定的參數 Password 不合法
400 InvalidPasswordParam.Mismatch The input password should be null when passwdInherit is true. 啟用 PasswdInherit 後,使用者名稱密碼應該設定為空白。
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. 參數SyatemDisk.DiskDescription或DataDisk.n.Description不合法。
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. 指定的 InnerIpAddress 不可用。
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. 該鏡像不支援CloudInit。
400 InvalidSnapshotId.BasedSnapshotTooOld The specified snapshot is created before 2013-07-15. 指定的快照建立於 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. InstanceName參數不符合規則。
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. 指定的私人 IP 位址不屬於交換器的 CIDR 網段。
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. 指定的虛擬交換器處於 pending 狀態,無法刪除。
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. 不支援指定的I/O最佳化值。
400 MissingParamter The specified parameter "Period" is not null. 操作中缺少了必要的參數 "Period"
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. 指定的 DataDisk.n.Size 超出允許範圍,或者快照的容量超過了指定磁碟類別的大小限制。
400 InvalidParameter.Bandwidth The specified parameter Bandwidth is not valid. 指定的 Bandwidth 不合法。
400 InvalidIPAddress.AlreadyUsed The specified IPAddress is already used by other resource. 其他資源正在使用指定的 IpAddress 。
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. 指定的參數雲端硬碟類型DiskCategory無效。
400 InvalidAutoRenewPeriod.ValueNotSupported The specified autoRenewPeriod is not valid. 指定的參數 AutoRenewPeriod 不合法。
400 InvalidSpotStrategy The specified SpotStrategy is not valid. 指定的 SpotStrategy 參數無效。
400 InvalidSpotParam.EmptyZoneID The specified ZoneId is empty when SpotStrategy is set. 設定 SpotStrategy 時 ZoneId 為空白。
400 InvalidSpotPriceLimit The specified SpotPriceLimitis not valid. 指定的 SpotPriceLimit 參數有誤。
400 InvalidSpotDuration The specified SpotDuration is not valid. 指定的 SpotDuration 參數有誤。
400 InvalidSpotAuthorized The specified Spot param is unauthorized. 指定的 SpotDuration 參數值未獲得授權。
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 該地區未被授權。%s為變數,將根據調用API的實際情況動態返回錯誤資訊。
400 Zone.NotOnSale %s 該可用性區域暫時關閉了售賣。%s為變數,將根據調用API的實際情況動態返回錯誤資訊。
400 InvalidSystemDiskSize.ValueNotSupported %s 當前操作不支援設定的系統硬碟大小。
400 InvalidParameter.EncryptedIllegal %s 您輸入的參數無效,請確認您的加密是否合法。%s為變數,將根據調用 API 的實際情況動態返回錯誤資訊。
400 InvalidParameter.EncryptedNotSupported %s 您輸入的參數無效,暫時不支援您的加密操作。%s為變數,將根據調用API的實際情況動態返回錯誤資訊。
400 EncryptedOption.Conflict %s 參數不支援(加密盤)。%s為變數,將根據調用API的實際情況動態返回錯誤資訊。
400 InvalidSpotPriceLimit.LowerThanPublicPrice The specified parameter "soptPriceLimit" can't be lower than current public price. 搶佔式執行個體出價低於當前市場價格
400 InvalidHpcClusterId.Unnecessary The specified HpcClusterId is unnecessary. 無需指定參數 HpcClusterId。
400 InvalidVSwitchId.Necessary The VSwitchId is necessary. 參數 VSwitchId 不可為空。
400 InvalidHpcClusterId.Necessary The HpcClusterId is necessary. 參數 HpcClusterId 不可為空。
400 InvalidHpcClusterId.NotFound The specified HpcClusterId is not found. 指定的參數 HpcClusterId 不存在。
400 InvalidHpcClusterId.Creating The specified HpcClusterId is creating. 指定的 HPC 叢集正在建立中。
400 InvalidPeriodUnit.ValueNotSupported The specified parameter PeriodUnit is not valid. 參數 PeriodUnit 無效。
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. 根據指定的 Vswitch 找不到對應的 VPC ,或該 VPC 不屬於您。
400 InvalidSpotInterruptionBehavior %s SpotInterruptionBehavior 不支援。
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. 此Dedicated Host不支援指定的付費類型的執行個體。
400 InvalidNetworkType.NotSupported The classic networkType not support create ECS on dedicatedHost. DDH上不能建立傳統網路執行個體
400 InvalidDedicatedHostId.NotFound The specified DedicatedHostId does not exist. 指定的Dedicated Host不存在。
400 InvalidDedicatedHostStatus.NotSupport Operation denied due to dedicated host status. Dedicated Host當前的狀態不支援此操作。
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. 訂用帳戶的執行個體無法添加到隨用隨付的Dedicated Host上。
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. 指定的Dedicated Host類型與執行個體類型不符。
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. 您指定的參數 Tenancy 無效。
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. 指定的可用性區域不支援建立 DefaultVswitch ,請嘗試其他可用性區域。
400 IncorrectDefaultVpcStatus The status of the default VPC is invalid. 預設 VPC 的狀態無效。
400 IoOptimized.NotSupported The specified instance must be IoOptimized instance when kmsKeyId is not empty. 設定 KMSKeyId 後,您必須使用 I/O 最佳化執行個體。
400 InvalidClientToken.ValueNotSupported The ClientToken provided is invalid. 指定的 ClientToken 不合法。
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. 該Arns參數無效,請檢查後重新傳遞。
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. 指定資料盤的參數 PerformanceLevel 無效
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. 集團上雲客戶只能購買隨用隨付的 ECS,且不能購買第三方的商品比如由鏡像市場提供的鏡像。請檢查參數,傳入合格參數重試。
400 UnexpectedImageFamily.ImageIdSupplied The input parameter ImageFamily must be null when image id is set. 當填寫鏡像ID時,參數ImageFamily必須為空白。
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. 指定的參數 HttpEndpoint 值非法,請使用enabled(預設)或者disabled。
400 InvalidHttpTokens.NotSupported The specified HttpTokens not supported, you can use optional(default) or required. 指定的參數 HttpTokens 值非法,請使用optional(預設)或者required。
400 InvalidHttpPutResponseHopLimit.NotSupported The specified HttpPutResponseHopLimit not supported, more than 1 and less than 64 is reasonable. 指定的參數 HttpPutResponseHopLimit 值非法,取值範圍必須大於等於1且小於等於64。
400 InvalidOperation.VpcHasEnabledAdvancedNetworkFeature The specified vpc has enabled advanced network feature. 該VPC開啟了高階特性,不能建立低規格的ECS。
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. 加密使用的KMSKey必須為對稱式加密密鑰。
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. PrivatePoolOptions.Id 參數不應為空白。
400 Invalid.PrivatePoolOptionsId The specified PrivatePoolOptions.Id is invalid. PrivatePoolOptions.Id 參數有誤。
400 DedicatedHostNotSupported DedicatedHost is not supported for PrivatePool. 私人池不支援Dedicated Host。
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. Target模式不支援本次操作。
400 MissingParameter.PrivatePoolOptions.Id The specified PrivatePoolOptions.Id should not be null. PrivatePoolOptions.Id 參數不可為空。
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. 指定的Platform參數與私人池不匹配。
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. 如果執行個體加入的部署集是Lowlatency策略,且此部署集已有執行個體加入,此執行個體必須在已有執行個體所在可用性區域
400 NoPermission.Price The operation requires price permission. Please either apply for permission from your main account, or set the parameter AutoPay as true. 該操作需要價格許可權。請向您的主賬戶申請許可權,或將參數AutoPay設定為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. 您需要開通Key Management Service。
400 InvalidParameter.Encrypted.KmsNotEnable Failed to perform this operation because KMS is not activated. 您需要開通KMS密鑰託管服務。
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. 您當前帳號下,隨用隨付ECS執行個體的按固定頻寬計費公網頻寬超過了總頻寬配額限制。
400 InvalidVSwitchId.NotFound The specified VSwitch does not exist in the specified region. 指定地區不存在指定的 vSwitch。
400 OperationDenied.TestAccountRetricted Test-account for testing has been prohibited from creating instance in this region. Please contact 400181. 測試帳號不允許在本地區建立執行個體。請聯絡成本與資源中心@高沖(400181)
401 InvalidRamRole.NotEcsRole The specified ram role is not authorized for ecs, please check your role policy. 指定的 RAM 角色無權使用 ECS,請檢查您的角色策略。
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. 指定的虛擬交換器 ID 不存在。
403 InvalidParameter.ResourceOwnerAccount ResourceOwnerAccount is Invalid. 指定的 ResourceOwnerAccount 不合法。
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. 指定的 ClusterId 不存在。
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. 指定的可用性區域裡不支援指定的 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. 指定的執行個體是 Windows 作業系統,此類執行個體不支援 SSH 金鑰對登入。
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. 執行個體 RAM 角色不能被用於傳統網路類型的執行個體,RAM 角色只能使用在 VPC 類型的執行個體上。
403 InvalidUser.PassRoleForbidden The RAM user does not have the privilege to pass a RAM role. 該 RAM 使用者無權傳遞 RAM 角色。
403 InvalidImage.NotSupported The specified image does not support vSGX instance. 指定的鏡像不支援 vSGX 執行個體。
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. 指定的安全性群組和交換器沒有在同一個 VPC 下。
403 DefaultVswitch.Existed The default vswitch for VPC already exists. 當前VPC中已經有了預設交換器。
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. 指定的執行個體和Dedicated Host不在同一個地區下。
403 InvalidRegion.NotSupport The specified region does not support byok. 該地區不支援BYOK。
403 UserNotInTheWhiteList The user is not in byok white list. 您不在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 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. 輸入的網路類型NetworkType不再支援。
403 InvalidAccountStatus Your account status is invalid, please contact customer service.
403 QuotaExceeded.PrivateIpAddress %s 指定的交換器VSwitch下內網IP不足。
403 InvalidVSwitchId.IpInvalid %s 指定的私網 IP 無效。
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 標籤數超過可以配置的最大數量。%s為變數,將根據調用API的實際情況動態返回錯誤資訊。
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. 指定的執行個體不能同時加入普通安全性群組和企業安全性群組。您可以調用 DescribeSecurityGroups 查詢指定安全性群組的類型。
403 EnterpriseGroupLimited.InstanceType The specified instance type does not support Enterprise SecurityGroup.
403 InternalError.AllocateUnderlayIp Allocate underlay ip for the instance error. 執行個體分配UnderlayIp失敗。
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. 指定的可用性區域不支援 cloud_ssd 類型的磁碟,請嘗試使用 cloud_essd 類型的磁碟重試。
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. 您在當前地區選擇的執行個體規格所要建立的台數超出系統限額,您可以選擇其他地區、執行個體規格或減少台數重新購買,也可以前往ECS管理主控台或配額中心申請提高限額。
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. 指定的執行個體規格(InstanceType)不支援當前執行個體的雲端硬碟類別。請嘗試更換其它執行個體規格。關於執行個體規格支援的雲端硬碟類型,請參見執行個體規格類型系列文檔。
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. 在指定的地區或付費類型條件下,執行個體公網IP地址庫存不足。請嘗試使用其它地區或付費類型。
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.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. 當使用加密快照建立磁碟時,指定的參數Encrypted必須設定為true。
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. 指定的安全性群組在該使用者帳號下不存在,請您檢查安全性群組 ID 是否正確。
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. 指定的虛擬交換器 ID 不存在。
404 InvalidImageId.NotFound The specified ImageId does not exist. 指定的鏡像在該使用者帳號下不存在,請您檢查鏡像 ID 是否正確。
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. 指定的 SystemDisk.Size 不合法。
404 InvalidKeyPairName.NotFound The specified parameter KeyPairName does not exist in our records.
404 InvalidRamRole.NotFound The specified RAMRoleName does not exist. 指定的 RamRoleName 不存在。
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. 指定的參數 KMSKeyId 不存在。
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. 請求操作的資源與之前的請求衝突

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

變更歷史

更多資訊,參考變更詳情