本介面用於查詢指定資源的最新價格,支援根據資源類型查詢ECS執行個體、雲端硬碟、專屬宿主機、彈性保障服務、容量預定服務的最新價格,包括活動規則、價格、折扣等資訊。
介面說明
查詢不同類型資源的價格時,參數設定也有所不同:
ResourceType=instance時,必須同時指定參數InstanceType。 預設查詢付費方式(ChargeType)為按量計費(PostPaid)的價格,您可以透過指定PriceUnit參數查詢雲端伺服器 ECS 不同計費週期的價格。ResourceType=disk時,必須同時指定參數DataDisk.1.Category和DataDisk.1.Size。查詢disk資源的價格時,只返回雲端硬碟按量計費的價格,即參數PriceUnit只能取值為Hour。ResourceType=diskperformance時,必須同時指定參數DataDisk.1.Category和DataDisk.1.ProvisionedIops。ResourceType=ddh時,您必須同時指定參數DedicatedHostType。ResourceType=ElasticityAssurance時,必須同時指定參數InstanceType。ResourceType=CapacityReservation時,必須同時指定參數InstanceType。ResourceType=bandwidth時,只返回按流量計費(PayByTraffic)的價格。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
ecs:DescribePrice |
get |
*全部資源。
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| RegionId |
string |
是 |
地域 ID。您可以呼叫 DescribeRegions 查看最新的阿里雲地域清單。 |
cn-hangzhou |
| ResourceType |
string |
否 |
目標資源的類型。取值範圍:
預設值:instance。 |
instance |
| ImageId |
string |
否 |
僅當參數 ResourceType 的值為 instance 時,該參數生效。 映像 ID,表示啟動執行個體時希望裝載的執行環境。您可以呼叫 DescribeImages 查詢您可用的映像資源。如果不指定,預設查詢 Linux 系統映像的價格。 |
centos_7_05_64_20G_alibase_20181212.vhd |
| InstanceType |
string |
否 |
執行個體的資源規格。參數 |
ecs.g6.large |
| DedicatedHostType |
string |
否 |
專屬宿主機的規格。您可以呼叫 DescribeDedicatedHostTypes 介面獲得最新的專屬宿主機規格表。 |
ddh.c5 |
| IoOptimized |
string |
否 |
查詢的執行個體是否為 I/O 最佳化執行個體。取值範圍:
當 InstanceType 為系列 I的規格時,預設值為 none。 當 InstanceType 為非系列 I的規格時,預設值為 optimized。 |
optimized |
| InstanceNetworkType |
string |
否 |
執行個體的網路類型。取值範圍:
預設值:vpc。 |
vpc |
| InternetChargeType |
string |
否 |
網路頻寬計費方式。取值範圍:
預設值:PayByTraffic。 |
PayByTraffic |
| InternetMaxBandwidthOut |
integer |
否 |
公網出頻寬最大值,單位為 Mbit/s(Megabit per second)。取值範圍:0~100。 預設值:0。 |
5 |
| SystemDisk.Category |
string |
否 |
系統磁碟的雲端硬碟種類。查詢系統磁碟價格時,必須同時指定
參數預設值說明:
|
cloud_ssd |
| SystemDisk.Size |
integer |
否 |
系統磁碟大小,單位為 GiB。取值範圍:
預設值:max{20, 參數 ImageId 對應的映像大小}。 |
80 |
| SystemDisk.PerformanceLevel |
string |
否 |
系統磁碟類型為 ESSD 雲端硬碟時,區分效能等級。僅當 PL0。 PL1(預設)。 PL2。 PL3。 |
PL1 |
| SystemDisk.StorageClusterId |
string |
否 |
專屬區塊儲存叢集 ID。如果您需要使用專屬區塊儲存叢集中的雲端硬碟資源作為系統磁碟,請設定該參數。 |
dbsc-j5e1sf2vaf5he8m2**** |
| DataDisk.1.Size |
integer |
否 |
資料磁碟容量。 為提高擴充性,建議您使用 |
2000 |
| DataDisk.1.Category |
string |
否 |
磁碟類型。 為提高擴充性,建議您使用 枚舉值:
|
cloud_ssd |
| DataDisk.1.PerformanceLevel |
string |
否 |
資料磁碟的效能等級。 為提高擴充性,建議您使用 |
PL1 |
| DataDisk.2.Size |
integer |
否 |
資料磁碟容量。 為提高擴充性,建議您使用 |
200 |
| DataDisk.2.Category |
string |
否 |
磁碟類型。 為提高擴充性,建議您使用 枚舉值:
|
cloud_ssd |
| DataDisk.2.PerformanceLevel |
string |
否 |
資料磁碟的效能等級。 為提高擴充性,建議您使用 |
PL1 |
| DataDisk.3.Size |
integer |
否 |
資料磁碟容量。 為提高擴充性,建議您使用 |
2000 |
| DataDisk.3.Category |
string |
否 |
磁碟類型。 為提高擴充性,建議您使用 枚舉值:
|
cloud_ssd |
| DataDisk.3.PerformanceLevel |
string |
否 |
資料磁碟的效能等級。 為提高擴充性,建議您使用 |
PL1 |
| DataDisk.4.Size |
integer |
否 |
資料磁碟容量。 為提高擴充性,建議您使用 |
2000 |
| DataDisk.4.Category |
string |
否 |
磁碟類型。 為提高擴充性,建議您使用 枚舉值:
|
cloud_ssd |
| DataDisk.4.PerformanceLevel |
string |
否 |
資料磁碟的效能等級。 為提高擴充性,建議您使用 |
PL1 |
| Period |
integer |
否 |
雲端伺服器 ECS 的計費時長。取值範圍:
預設值:1。 |
1 |
| PriceUnit |
string |
否 |
查詢雲端伺服器 ECS 不同計費週期的價格。取值範圍:
。 |
Year |
| Amount |
integer |
否 |
查詢批量購買某種組態的雲端伺服器 ECS 的價格。取值範圍:1~1000。 預設值:1。 |
1 |
| OfferingType |
string |
否 |
預留執行個體券的付款類型。取值範圍:
|
All Upfront |
| InstanceAmount |
integer |
否 |
在一個執行個體規格內,需要預留的執行個體的總數量。 取值範圍:1~1000。 |
100 |
| Scope |
string |
否 |
預留執行個體券的範圍。取值範圍:
預設值:Region。 |
Zone |
| Platform |
string |
否 |
執行個體使用的映像的作業系統類型。取值範圍:
|
Linux |
| Capacity |
integer |
否 |
容量大小,單位為 GiB。 |
1024 |
| AssuranceTimes |
string |
否 |
彈性保障的總次數。取值:Unlimited,目前僅支援在服務生效期內的無限次模式。 預設值:Unlimited。 |
Unlimited |
| InstanceCpuCoreCount |
integer |
否 |
彈性保障內支援執行個體的 vCPU 總數量。呼叫 API 時系統會根據使用者指定的 InstanceType 換算出需要彈性保證內支援執行個體的數量(無條件進位)。 說明
當呼叫 API 查詢彈性保障價格時,參數 InstanceCoreCpuCount 和 InstanceAmount 只能指定其中一個。 |
1024 |
| Isp |
string |
否 |
網際網路服務營運商,取值範圍:
|
cmcc |
| InstanceTypeList |
array |
否 |
執行個體規格。目前僅支援無限次保障服務設定單個執行個體規格。 |
ecs.g6.xlarge |
|
string |
否 |
執行個體規格。目前僅支援無限次保障服務設定單個執行個體規格。 |
ecs.c6.xlarge |
|
| SpotStrategy |
string |
否 |
按量計費執行個體的搶占策略。取值範圍:
預設值:NoSpot。 說明
當 |
NoSpot |
| SpotDuration |
integer |
否 |
搶占式執行個體的保留時長,單位為小時。 預設值:1。取值範圍:
執行個體回收前 5 分鐘阿里雲會透過 ECS 系統事件向您傳送通知。搶占式執行個體按秒計費,建議您結合具體任務執行耗時來選擇合適的保留時長。 說明
當 SpotStrategy 值為 SpotWithPriceLimit 或 SpotAsPriceGo 時該參數生效。 |
1 |
| ZoneId |
string |
否 |
可用區 ID。 說明
搶占式執行個體不同可用區價格可能不同,查詢搶占式執行個體價格時,建議傳入 ZoneId 查詢指定可用區的搶占式執行個體價格。 |
cn-hagzhou-i |
| DataDisk |
array<object> |
否 |
資料磁碟清單集合。 |
|
|
object |
否 |
資料磁碟清單集合。 |
||
| Category |
string |
否 |
第 N 個資料磁碟的雲端硬碟種類。取值範圍:
N 的取值範圍:1~16。 |
cloud_ssd |
| PerformanceLevel |
string |
否 |
第 N 個資料磁碟類型為 ESSD 雲端硬碟時,區分效能等級。僅當
N 的取值範圍:1~16。 |
PL1 |
| ProvisionedIops |
integer |
否 |
ESSD AutoPL 雲端硬碟預配置的讀寫 IOPS。可能值:0~min{50,000, 1000*容量-基準效能}。 基準效能=min{1,800+50*容量, 50000}。 說明
當 |
40000 |
| Size |
integer |
否 |
第 N 個資料磁碟的容量大小,計量單位為 GiB。取值範圍:
N 的取值範圍:1~16。 |
2000 |
| StorageClusterId |
string |
否 |
專屬區塊儲存叢集 ID。如果您需要使用專屬區塊儲存叢集中的雲端硬碟資源作為資料磁碟,請設定該參數。 |
dbsc-j5e1sf2vaf5he8m2**** |
| SchedulerOptions.DedicatedHostId |
string |
否 |
僅當參數 ResourceType 的值為 instance 時,該參數生效。 專屬宿主機 ID。您可以透過 DescribeDedicatedHosts 查詢專屬宿主機 ID 清單。 |
dh-bp67acfmxazb4p**** |
| StartTime |
string |
否 |
分時彈性保障服務生效時間。時間格式以 ISO 8601 為標準,需要使用 UTC +0 時間,格式為 yyyy-MM-ddTHH:mm:ssZ。更多資訊,請參閱 ISO 8601。 |
2020-10-30T06:32:00Z |
| RecurrenceRules |
array<object> |
否 |
彈性保障-分時保障重複規則清單。 說明
彈性保障-分時保障功能目前僅對部分地域和使用者開放,若您有使用需求,請提交工單。 |
|
|
object |
否 |
彈性保障-分時保障重複規則。 說明
|
||
| EndHour |
integer |
否 |
分時保障結束時間,取值必須為整點。 |
10 |
| RecurrenceType |
string |
否 |
重複規則的策略類型。取值範圍:
說明
必須同時指定 |
Daily |
| RecurrenceValue |
string |
否 |
重複規則執行數值。
說明
必須同時指定 |
5 |
| StartHour |
integer |
否 |
分時保障生效時間,取值必須為整點。 說明
同時指定 StartHour 和 EndHour,且兩者至少需要相差 4 小時。 |
4 |
| SchedulerOptions.DeploymentSetStrategy |
string |
否 |
部署集策略。取值範圍:
說明
僅當策略設定為 ProximityLooseDispersion 時,API 回應中會包含 "Resource": "deploymentSet" 對應的價格詳情。其他部署集策略免費,故 API 回應中不會包含 "Resource": "deploymentSet" 的價格資訊。 |
ProximityLooseDispersion |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| PriceInfo |
object |
價格資訊類型(Price),包括價格和優惠規則。 |
|
| Price |
object |
價格。 |
|
| Currency |
string |
貨幣單位。 中國站:CNY。 國際站:USD。 |
CNY |
| DetailInfos |
object |
||
| DetailInfo |
array<object> |
配置明細價格資訊。 說明
僅當 ResourceType = instance 時傳回。 |
|
|
array<object> |
|||
| DiscountPrice |
number |
折扣價。 |
655.2 |
| OriginalPrice |
number |
原價。 |
4368 |
| Resource |
string |
配置名稱。可能值:
|
instanceType |
| SubRules |
object |
||
| Rule |
array<object> |
定價規則子集。 |
|
|
object |
|||
| Description |
string |
規則子集描述。 |
買滿1年,立享官網價格8.5折優惠 |
| RuleId |
integer |
活動規則 ID。 |
587 |
| TradePrice |
number |
成交價。 |
3712.8 |
| DiscountPrice |
number |
折扣。 |
655.2 |
| OriginalPrice |
number |
原價。 |
4368 |
| ReservedInstanceHourPrice |
number |
0 預付或部分預付的預留執行個體券的小時價。 |
1 |
| TradePrice |
number |
最終價,為原價減去折扣。 |
3712.8 |
| RelatedPrice |
object |
關聯價格。 |
|
| MarketplaceImagePrice |
object |
市場映像價格。 |
|
| Currency |
string |
貨幣單位。 中國站:CNY。 國際站:USD。 |
CNY |
| DiscountPrice |
number |
折扣。 |
0 |
| OriginalPrice |
number |
原價。 |
100 |
| TradePrice |
number |
最終價,為原價減去折扣。 |
100 |
| Rules |
object |
||
| Rule |
array<object> |
活動規則。 |
|
|
object |
|||
| Description |
string |
活動規則描述。 |
買滿1年,立享官網價格8.5折優惠 |
| RuleId |
integer |
活動規則 ID。 |
587 |
| RequestId |
string |
請求 ID。 |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
樣本
正常返回樣本
JSON格式
{
"PriceInfo": {
"Price": {
"Currency": "CNY",
"DetailInfos": {
"DetailInfo": [
{
"DiscountPrice": 655.2,
"OriginalPrice": 4368,
"Resource": "instanceType",
"SubRules": {
"Rule": [
{
"Description": "買滿1年,立享官網價格8.5折優惠",
"RuleId": 587
}
]
},
"TradePrice": 3712.8
}
]
},
"DiscountPrice": 655.2,
"OriginalPrice": 4368,
"ReservedInstanceHourPrice": 1,
"TradePrice": 3712.8
},
"RelatedPrice": {
"MarketplaceImagePrice": {
"Currency": "CNY",
"DiscountPrice": 0,
"OriginalPrice": 100,
"TradePrice": 100
}
},
"Rules": {
"Rule": [
{
"Description": "買滿1年,立享官網價格8.5折優惠",
"RuleId": 587
}
]
}
},
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | InvalidParameter.RecurrenceRules | The specified parameter RecurrenceRules is invalid. | 指定的參數「RecurrenceRules」不合法。 |
| 400 | InvalidRecurrenceRules.CountLimitExceeded | The count of RecurrenceRules exceeds the limit. | 參數 RecurrenceRules 的個數超過限定值。 |
| 400 | InvalidRecurrenceRulesStartHourEndHour.TooShort | The recurrence hour between RecurrenceRules.StartHour and RecurrenceRules.EndHour is too short. | 參數 RecurrenceRules.StartHour 和 RecurrenceRules.EndHour 之間的生效時間小於最小要求。 |
| 400 | InvalidParameter.RecurrenceRulesStartHourEndHour | The specified parameter RecurrenceRules.StartHour or RecurrenceRules.EndHour is invalid. | 為 RecurrenceRules 指定的參數 RecurrenceRules.StartHour 或 RecurrenceRules.EndHour 不符合規範。 |
| 400 | InvalidParameter.RecurrenceRulesRecurrenceValueMonthly | The specified parameter RecurrenceRules.RecurrenceValue for Monthly is invalid. | 為 RecurrenceRules.RecurrenceType=Monthly 指定的參數 RecurrenceRules.RecurrenceValue 不符合規範。 |
| 400 | InvalidParameter.RecurrenceRulesRecurrenceValueWeekly | The specified parameter RecurrenceRules.RecurrenceValue for Weekly is invalid. | 為 RecurrenceRules.RecurrenceType=Weekly 指定的參數 RecurrenceRules.RecurrenceValue 不符合規範。 |
| 400 | InvalidParameter.RecurrenceRulesRecurrenceValueDaily | The specified parameter RecurrenceRules.RecurrenceValue for Daily is invalid. | 為 RecurrenceRules.RecurrenceType=Daily 指定的參數 RecurrenceRules.RecurrenceValue 不符合規範。 |
| 400 | InvalidParameter.RecurrenceRulesRecurrenceType | The specified parameter RecurrenceRules.RecurrenceType is invalid. | 指定的參數 RecurrenceRules.RecurrenceType 不符合規範。 |
| 400 | InvalidStartTime.NotSupported | The StartTime of TimeDivisionElasticityAssurance cannot between any of active time ranges. | |
| 400 | InvalidSpotAuthorized | The specified Spot param is unauthorized. | 指定的 SpotDuration 參數值未獲得授權。 |
| 400 | Invalid.ZoneId | The specified ZoneId is not valid. | 可用區與私有集區不匹配。 |
| 400 | InvalidInstanceType.ValueUnauthorized | The specified InstanceType is not authorized. | |
| 400 | InvalidInstanceType.ValueNotSupported | The specified InstanceType does not exist or beyond the permitted range. | 指定的執行個體規格不合法(超出可選範圍)。 |
| 400 | InvalidInternetChargeType.ValueNotSupported | The specified InternetChargeType is not valid. | 指定的網路計費方式不合法。 |
| 400 | InvalidInternetMaxBandwidthOut.ValueNotSupported | The specified parameter "InternetMaxBandwidthOut" is not valid. | |
| 400 | AccountForbidden.ProductCreationLimited | The commodity must be officially operated by Aliyun and in pay-as-you-go billing method. | 集團上雲客戶只能購買隨用隨付的 ECS,且不能購買第三方的商品例如由映像市場提供的映像。請檢查參數,傳入符合條件的參數重試。 |
| 400 | InvalidSystemDiskCategory.ValueNotSupported | The specified parameter "SystemDisk.Category" is not valid. | 指定的 SystemDisk.Size 不合法。 |
| 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 | InvalidDataDiskCategory.ValueNotSupported | The specified parameter "DataDisk.n.Category" is not valid. | |
| 400 | InvalidParameter.Conflict | The specified image does not support the specified instance type. | 參數衝突。 |
| 400 | InvalidNetworkType.Mismatch | Specified parameter "InternetChargeType" conflict with instance network type. | |
| 400 | InvalidDiskCategory.Mismatch | The specified disk categories' combination is not supported. | |
| 400 | InvalidIoOptimizedValue.ValueNotSupported | IoOptimized value not supported. | 不支援指定的 I/O 最佳化值。 |
| 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 | InstanceDiskNumber.LimitExceed | The total number of specified disk in an instance exceeds. | 執行個體下磁碟數目超過限制。 |
| 400 | InvalidSystemDiskSize.LessThanImageSize | The specified parameter "SystemDisk.Size" is less than the image size. | 指定的參數 SystemDisk.Size 小於映像檔案大小數值。 |
| 400 | Throttling | Request was denied due to request throttling. | 請求被流量控制。 |
| 400 | Throttling.User | Request was denied due to user flow control. | |
| 400 | PriceNotFound | The price of your queried resource is not available now, please try other resources. | 未找到價格,請修改相應的參數值重試。 |
| 400 | InvalidResourceType.ValueNotSupported | The specified parameter ResourceType is not valid. | 指定的資源類型不合法。 |
| 400 | InvalidPriceUnit.ValueNotSupported | The specified parameter PriceUnit is not valid. | 指定的 PriceUnit 參數無效。 |
| 400 | IncorrectImageStatus | The specified image is an Alibaba Cloud Marketplace image. The sale of this image has ended. For more information, contact the image service provider. | 複製映像失敗。 |
| 400 | OperationDenied | The current operation is not supported due to unfinished Temporary Upgrade. | |
| 400 | InvalidPerformanceLevel.Malformed | The specified parameter DataDisk.n.PerformanceLevel is not valid. | 指定的參數 PerformanceLevel 無效。 |
| 400 | InvalidCapacity.ValueNotSupported | The specified parameter Capacity is not valid. | |
| 400 | InvalidActivity.NotSupported | The specified discount activity is not supported. | |
| 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 | InvalidEncrypted.NotMatchSnapshot | The specified parameter Encrypted is different from the Encrypted of the snapshot. | 以加密快照建立磁碟時需指定 Encrypted 參數為 true。 |
| 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 | InvalidAssuranceTimes.NotSupported | The value of AssuranceTimes is not supported. | AssuranceTimes 參數值不支援。 |
| 400 | InvalidParameter.Platform | The specified parameter Platform is invalid. | 指定的 Platform 參數無效。 |
| 400 | InvalidOperation.InstanceRenewWithDowngradeInPlan | The operation is denied due to the specified instance has renew with downgrade record in plan. | 存在未生效的續費降配訂單。訂單生效前不允許此操作。 |
| 400 | OperationDenied.TestAccountRetricted | Test-account for testing has been prohibited from creating instance in this region. Please contact 400181. | 測試帳號不允許在本地域建立執行個體。請聯絡成本與資源中心@高沖(400181)。 |
| 400 | UnsupportedIspNetworkChargeType | The network charge type is not supported when specifying ISP. | 此執行個體的網路計費類型不支援指定 ISP。 |
| 400 | EncryptedOption.Conflict | Disk encryption attributes conflict. | 磁碟加密屬性衝突。 |
| 400 | InvalidSystemDiskSize.ValueNotSupported | The specified parameter SystemDisk.Size is invalid | 指定的 SystemDisk.Size 不合法。 |
| 400 | UnsupportedIspChargeType | The specified Isp does not support the charge type. | 您指定的付費類型不支援 Isp 參數。 |
| 400 | InvalidInstanceType.NotSupported | The specified instanceType is not supported by the image architecture. | 不支援指定的 InstanceType。 |
| 400 | InvalidDiskCategory.ValueNotSupported | The specified parameter "DiskCategory" is not valid. | 指定的系統磁碟類型和資料磁碟類型不支援。 |
| 400 | InvalidMarketImage.NotAuthorized | The specified marketplace image is not authorized for your channel, please use other image. | 指定的市場映像未對您的通路授權,請使用其他映像。 |
| 400 | InvalidStartTime.ValueNotSupported | The specified startTime is out of the permitted range. | 指定的開始時間不在允許範圍內。 |
| 400 | MissingParameter.InstanceAmount | The specified parameter "InstanceAmount" can not be empty. | 指定的參數 InstanceAmount 不能為空。 |
| 400 | InvalidReservedInstanceOfferingType.ValueNotSupported | The specified OfferingType is not supported. | 不支援該產品類型。 |
| 400 | DiskExpiredOrInArrears | Your account has an overdue payment for the specified instance. | 指定的執行個體已欠費。 |
| 400 | InstanceExpiredOrInArrears | The specified operation is denied as your prepay instance is expired (prepay mode) or in arrears (afterpay mode). | 執行個體已過期或者欠費,請您續費或者結清後再進行操作。 |
| 400 | MissingParameter.ProvisionedIops | The ProvisionedIops parameter can not be empty. | ProvisionedIops 參數不能為空。 |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 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 | InstanceDiskCategoryLimitExceed | The total size of specified disk category in an instance exceeds. | 磁碟種類總容量超過執行個體限制。 |
| 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 | QuotaExceed.PortableCloudDisk | The quota of portable cloud disk exceeds. | |
| 403 | Forbbiden | User not authorized to operate on the specified resource. | 使用者未被授權操作指定的資源。 |
| 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 | InvalidDiskCategory.NotSupported | The specified disk category is not support the specified instance type. | |
| 403 | QuotaExceed.BuyImage | The specified image is from the image market, you have not bought it or your quota has been exceeded. | |
| 403 | InvalidParameter.ResourceOwnerAccount | ResourceOwnerAccount is Invalid. | 指定的 ResourceOwnerAccount 不合法。 |
| 403 | RegionUnauthorized | There is no authority to create instance in the specified region. | 使用者未被授權在指定的地域建立執行個體。 |
| 403 | InvalidInstanceType.ValueNotSupported | The specified InstanceType does not exist or beyond the permitted range. | |
| 403 | InvalidAmount.Malformed | The specified parameter Amount is not valid. | 參數 Amount 格式錯誤。 |
| 403 | InvalidChargeType.MarketImage | The specified chargeType of marketplace image is invalid. | |
| 403 | InvalidDiskIds.NotFound | Some of the specified disks do not exist. | |
| 403 | PrePaidInstance.Expired | The prePaid instance has expired. | 包年包月執行個體已到期。 |
| 403 | OperationDenied.PerformanceLevelNotMatch | The specified DataDisk.n.PerformanceLevel and DataDisk.n.Size do not match. | |
| 403 | InvalidAction.Unauthorized | The specified action is not valid. | 指定的操作無效。 |
| 403 | InvalidRegionId.NotSupportEncryptAlgorithm | The current region does not support creating encrypted disks with EncryptAlgorithm. | |
| 403 | InvalidInstanceType.NotSupportDiskCategory | The instanceType of the specified instance does not support this disk category. | 指定的執行個體規格(InstanceType)不支援目前執行個體的雲端硬碟類別。請嘗試更換其他執行個體規格。關於執行個體規格支援的雲端硬碟類型,請參見執行個體規格族文件。 |
| 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 | UnsupportedIspRegion | The specified region does not support Isp. | 指定的地域不支援 Isp。 |
| 403 | InvalidIspBandwidthOut | The specified parameter InternetMaxBandwidthOut should be larger than 0 when specifying parameter Isp. | 當指定了 Isp 參數時,指定的參數 InternetMaxBandwidthOut 必須大於 0。 |
| 403 | InstanceType.Offline | The specified InstanceType has been offline | 您指定的執行個體規格已下線,請選擇其它規格的執行個體。 |
| 403 | InvalidIspUID | The current account does not have permission to specify the Isp parameter. | 目前帳號沒有權限指定 Isp 參數。 |
| 403 | UnsupportedIspClassicNetwork | The Isp parameter is not supported in the classic network. | 傳統網路不支援指定 Isp 參數。 |
| 403 | InvalidIspType.ValueNotSupported | The specified parameter Isp is invalid. | 指定的 Isp 參數取值無效。 |
| 403 | InvalidSystemDiskCategory.ValueNotSupported | The specified parameter SystemDisk.Category is not valid. | 指定的 SystemDisk.Size 不合法。 |
| 403 | InvalidDataDiskCategory.ValueNotSupported | The specified Category of Data Disk is not valid. | 指定的參數 DataDisk.n.Category 不合法。 |
| 403 | InvalidAccountStatus | Your account status is invalid. please contact customer service. | 您的帳戶狀態無效。請聯絡客服。 |
| 404 | InvalidRegionId.NotFound | The RegionId provided does not exist in our records. | 指定的 RegionId 不存在,請檢查此產品在該地域是否可用。 |
| 404 | OperationDenied | The specified Image is disabled or is deleted. | |
| 404 | InvalidImageId.NotFound | The specified ImageId does not exist. | 指定的映像在該使用者帳號下不存在,請您檢查映像 ID 是否正確。 |
| 404 | IoOptimized.NotSupported | The specified instancetype is not support IoOptimized instance. | |
| 404 | InvalidInstanceChargeType.NotFound | The InstanceChargeType does not exist in our records. | |
| 404 | DependencyViolation.IoOptimized | The specified instancetype must be IoOptimized instance. | |
| 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 minimum size. | 指定的系統磁碟小於最低容量。 |
| 404 | InvalidSystemDiskSize.MoreThanMaxSize | The specified parameter SystemDisk.Size is more than the maximum size. | |
| 404 | InvalidInternetMaxBandwidthOut.ValueNotSupported | The specified vm bandwidth is not valid. | |
| 404 | InvalidSystemDiskSize.ValueNotSupported | The specified parameter SystemDisk.Size is invalid. | 指定的 SystemDisk.Size 不合法。 |
| 404 | InvalidInstanceType.Missing | The InstanceType parameter that is mandatory for processing the request is not provided. | InstanceType 參數為必填參數。 |
| 404 | InvalidInstanceType.ValueNotSupported | The specified InstanceType does not exist or beyond the permitted range. | |
| 404 | InvalidNetworkType.ValueNotSupported | The specified parameter NetworkType is not valid. | 指定的網路類型不合法。 |
| 404 | InvalidDiskCategory.Missing | The DataDisk.1.Category parameter that is mandatory for processing the request is not provided. | |
| 404 | Invalid.InstanceId.NotFound | The Instance provided does not exist. | 指定的執行個體不存在。 |
| 404 | InvalidMarketImage.NotFound | The specified marketplace image does not exist, please change the imageId and try again. | 指定的市場映像不存在,請變更參數後重試。 |
| 404 | InvalidDiskIds.NotPortable | The specified DiskId is not portable. | |
| 404 | InvalidSystemDisk.NotFound | The specified system disk does not exist. | 指定的系統磁碟不存在。 |
| 404 | InvalidResourceGroup.NotFound | The ResourceGroup provided does not exist in our records. | 資源群組並不在記錄中。 |
| 404 | InvalidDedicatedHostType.Missing | The dedicatedHostType parameter that is mandatory for processing the request is not provided. | |
| 404 | InvalidDedicatedHostId.NotFound | The specified SchedulerOptions.DedicatedHostId does not exist. |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。