Queries the latest prices of specified resources. You can query the latest prices of ECS instances, disks, dedicated hosts, elasticity assurance services, and capacity reservation services based on resource type. The response includes promotion rules, prices, and discounts.
Operation description
The parameter settings vary based on the resource type:
When
ResourceType=instance, you must also specifyInstanceType. By default, the price of the pay-as-you-go (PostPaid) billing method (ChargeType) is queried. You can specify thePriceUnitparameter to query Elastic Compute Service (ECS) prices for different billing cycles.When
ResourceType=disk, you must also specifyDataDisk.1.CategoryandDataDisk.1.Size. When you query the price ofdiskresources, only the pay-as-you-go price of disks is returned. This means that thePriceUnitparameter can only be set toHour.When
ResourceType=diskperformance, you must also specifyDataDisk.1.CategoryandDataDisk.1.ProvisionedIops.When
ResourceType=ddh, you must also specifyDedicatedHostType.When
ResourceType=ElasticityAssurance, you must also specifyInstanceType.When
ResourceType=CapacityReservation, you must also specifyInstanceType.When
ResourceType=bandwidth, only the pay-by-traffic (PayByTraffic) price is returned.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecs:DescribePrice |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. You can call DescribeRegions to query the most recent region list. |
cn-hangzhou |
| ResourceType |
string |
No |
The type of the resource. Valid values:
Default value: instance. |
instance |
| ImageId |
string |
No |
This parameter takes effect only when ResourceType is set to instance. The image ID, which specifies the runtime environment to load when the instance starts. You can call DescribeImages to query available image resources. If you do not specify this parameter, the price of a Linux image is queried by default. |
centos_7_05_64_20G_alibase_20181212.vhd |
| InstanceType |
string |
No |
The instance type. You must specify this parameter when |
ecs.g6.large |
| DedicatedHostType |
string |
No |
The dedicated host type. You can call DescribeDedicatedHostTypes to query the most recent list of dedicated host types. |
ddh.c5 |
| IoOptimized |
string |
No |
Specifies whether the queried instance is an I/O optimized instance. Valid values:
If InstanceType is a Series I instance type, the default value is none. If InstanceType is not a Series I instance type, the default value is optimized. |
optimized |
| InstanceNetworkType |
string |
No |
The network type of the instance. Valid values:
Default value: vpc. |
vpc |
| InternetChargeType |
string |
No |
The billing method for network bandwidth. Valid values:
Default value: PayByTraffic. |
PayByTraffic |
| InternetMaxBandwidthOut |
integer |
No |
The maximum outbound public bandwidth, in Mbit/s. Valid values: 0 to 100. Default value: 0. |
5 |
| SystemDisk.Category |
string |
No |
The category of the system disk. You must also specify
Default value description:
|
cloud_ssd |
| SystemDisk.Size |
integer |
No |
The size of the system disk, in GiB. Valid values:
Default value: max{20, image size of the specified ImageId parameter}. |
80 |
| SystemDisk.PerformanceLevel |
string |
No |
The performance level of the system disk when the disk type is ESSD. This parameter is valid only when PL0. PL1 (default). PL2. PL3. |
PL1 |
| DataDisk.1.Size |
integer |
No |
The capacity of the data disk. We recommend that you use the |
2000 |
| DataDisk.1.Category |
string |
No |
The disk type. We recommend that you use the Valid values:
|
cloud_ssd |
| DataDisk.1.PerformanceLevel |
string |
No |
The performance level of the data disk. We recommend that you use the |
PL1 |
| DataDisk.2.Size |
integer |
No |
The capacity of the data disk. We recommend that you use the |
200 |
| DataDisk.2.Category |
string |
No |
The disk type. We recommend that you use the Valid values:
|
cloud_ssd |
| DataDisk.2.PerformanceLevel |
string |
No |
The performance level of the data disk. We recommend that you use the |
PL1 |
| DataDisk.3.Size |
integer |
No |
The capacity of the data disk. We recommend that you use the |
2000 |
| DataDisk.3.Category |
string |
No |
The disk type. We recommend that you use the Valid values:
|
cloud_ssd |
| DataDisk.3.PerformanceLevel |
string |
No |
The performance level of the data disk. We recommend that you use the |
PL1 |
| DataDisk.4.Size |
integer |
No |
The capacity of the data disk. We recommend that you use the |
2000 |
| DataDisk.4.Category |
string |
No |
The disk type. We recommend that you use the Valid values:
|
cloud_ssd |
| DataDisk.4.PerformanceLevel |
string |
No |
The performance level of the data disk. We recommend that you use the |
PL1 |
| Period |
integer |
No |
The billing duration of Elastic Compute Service (ECS). Valid values:
Default value: 1. |
1 |
| PriceUnit |
string |
No |
The pricing unit for querying Elastic Compute Service (ECS) prices across different billing cycles. Valid values:
|
Year |
| Amount |
integer |
No |
The number of Elastic Compute Service (ECS) instances that you want to purchase in batch. You can use this parameter to query the price of batch purchasing instances of a specific configuration. Valid values: 1 to 1000. Default value: 1. |
1 |
| OfferingType |
string |
No |
The payment option of the reserved instance. Valid values:
|
All Upfront |
| InstanceAmount |
integer |
No |
The total number of instances to reserve within an instance type. Valid values: 1 to 1000. |
100 |
| Scope |
string |
No |
The scope of the reserved instance. Valid values:
Default value: Region. |
Zone |
| Platform |
string |
No |
The operating system type of the image used by the instance. Valid values:
|
Linux |
| Capacity |
integer |
No |
The capacity, in GiB. |
1024 |
| AssuranceTimes |
string |
No |
The total number of times that the elasticity assurance can be applied. Set the value to Unlimited. Only the unlimited mode within the service effective period is supported. Default value: Unlimited. |
Unlimited |
| InstanceCpuCoreCount |
integer |
No |
The total number of vCPUs supported by the elasticity assurance. When you call this operation, the system calculates the number of instances required by the elasticity assurance based on the specified InstanceType (rounded up). Note
When you call this operation to query the price of an elasticity assurance, you can specify only one of InstanceCoreCpuCount and InstanceAmount. |
1024 |
| Isp |
string |
No |
The Internet Service Provider (ISP). Valid values:
|
cmcc |
| InstanceTypeList |
array |
No |
The instance type. Only a single instance type can be specified for the unlimited elasticity assurance service. |
ecs.g6.xlarge |
|
string |
No |
The instance type. Only a single instance type can be specified for the unlimited elasticity assurance service. |
ecs.c6.xlarge |
|
| SpotStrategy |
string |
No |
The bidding policy for pay-as-you-go instances. Valid values:
Default value: NoSpot. Note
This parameter takes effect only when |
NoSpot |
| SpotDuration |
integer |
No |
The protection period of the spot instance, in hours. Default value: 1. Valid values:
Alibaba Cloud sends an ECS system event notification 5 minutes before the instance is released. Spot instances are billed by second. Select an appropriate protection period based on the expected task execution duration. Note
This parameter takes effect only when SpotStrategy is set to SpotWithPriceLimit or SpotAsPriceGo. |
1 |
| ZoneId |
string |
No |
The zone ID. Note
Spot instance prices may vary across zones. When you query spot instance prices, specify ZoneId to query the price in a specific zone. |
cn-hagzhou-i |
| DataDisk |
array<object> |
No |
The list of data disks. |
|
|
object |
No |
The list of data disks. |
||
| Category |
string |
No |
The category of data disk N. Valid values:
Valid values of N: 1 to 16. |
cloud_ssd |
| Size |
integer |
No |
The size of data disk N, in GiB. Valid values:
Valid values of N: 1 to 16. |
2000 |
| PerformanceLevel |
string |
No |
The performance level of data disk N when the disk type is ESSD. This parameter is valid only when
Valid values of N: 1 to 16. |
PL1 |
| ProvisionedIops |
integer |
No |
The provisioned read/write IOPS of the ESSD AutoPL disk. Valid values: 0 to min{50,000, 1000 × capacity - baseline performance}. Baseline performance = min{1,800 + 50 × capacity, 50000}. Note
This parameter is supported only when |
40000 |
| SchedulerOptions.DedicatedHostId |
string |
No |
This parameter takes effect only when ResourceType is set to instance. The dedicated host ID. You can call DescribeDedicatedHosts to query the list of dedicated host IDs. |
dh-bp67acfmxazb4p**** |
| StartTime |
string |
No |
The effective period when the time-sharing elasticity assurance takes effect. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC+0. For more information, see ISO 8601. |
2020-10-30T06:32:00Z |
| RecurrenceRules |
array<object> |
No |
The list of recurrence rules for the time-sharing elasticity assurance. Note
The time-sharing elasticity assurance feature is available only in specific regions and for specific users. To use this feature, submit a ticket. |
|
|
object |
No |
The recurrence rule for the time-sharing elasticity assurance. Note
|
||
| StartHour |
integer |
No |
The effective period start hour of the time-sharing assurance. The value must be a whole hour. Note
You must specify both StartHour and EndHour, and the difference between them must be at least 4 hours. |
4 |
| RecurrenceType |
string |
No |
The type of the recurrence rule. Valid values:
Note
You must specify both |
Daily |
| EndHour |
integer |
No |
The end hour of the time-sharing assurance. The value must be a whole hour. |
10 |
| RecurrenceValue |
string |
No |
The value of the recurrence rule.
Note
You must specify both |
5 |
| SchedulerOptions.DeploymentSetStrategy |
string |
No |
The deployment set strategy. Valid values:
Note
Only when the strategy is set to ProximityLooseDispersion does the API response include the price details for "Resource": "deploymentSet". Other deployment set strategies are free of charge, so the API response does not include price information for "Resource": "deploymentSet". |
ProximityLooseDispersion |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
| PriceInfo |
object |
The price information, including the price and promotion rules. |
|
| Rules |
object |
||
| Rule |
array<object> |
The promotional rules. |
|
|
object |
|||
| Description |
string |
The description of the promotional rule. |
买满1年,立享官网价格8.5折优惠。 |
| RuleId |
integer |
The rule ID. |
587 |
| Price |
object |
The price. |
|
| OriginalPrice |
number |
The original price. |
4368 |
| ReservedInstanceHourPrice |
number |
The hourly price of a No Upfront or Partial Upfront Reserved Instance Voucher. |
1 |
| DiscountPrice |
number |
The discount amount. |
655.2 |
| Currency |
string |
The currency. CNY for sites in the Chinese mainland. USD for international sites. |
CNY |
| TradePrice |
number |
The trade price, calculated as |
3712.8 |
| DetailInfos |
object |
||
| DetailInfo |
array<object> |
The detailed price information for the instance configuration. Note
This parameter is returned only when |
|
|
array<object> |
|||
| OriginalPrice |
number |
The original price. |
4368 |
| DiscountPrice |
number |
The discount amount. |
655.2 |
| Resource |
string |
The name of the resource component. Valid values:
|
instanceType |
| SubRules |
object |
||
| Rule |
array<object> |
The pricing sub-rules for this resource component. |
|
|
object |
|||
| Description |
string |
The description of the pricing sub-rule. |
买满1年,立享官网价格8.5折优惠 |
| RuleId |
integer |
The rule ID. |
587 |
| TradePrice |
number |
The trade price of this resource component. |
3712.8 |
| RelatedPrice |
object |
The related price. |
|
| MarketplaceImagePrice |
object |
The price of the marketplace image. |
|
| Currency |
string |
The currency. CNY for sites in the Chinese mainland. USD for international sites. |
CNY |
| OriginalPrice |
number |
The original price. |
100 |
| DiscountPrice |
number |
The discount amount. |
0 |
| TradePrice |
number |
The trade price, calculated as |
100 |
Examples
Success response
JSON format
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
"PriceInfo": {
"Rules": {
"Rule": [
{
"Description": "买满1年,立享官网价格8.5折优惠。",
"RuleId": 587
}
]
},
"Price": {
"OriginalPrice": 4368,
"ReservedInstanceHourPrice": 1,
"DiscountPrice": 655.2,
"Currency": "CNY",
"TradePrice": 3712.8,
"DetailInfos": {
"DetailInfo": [
{
"OriginalPrice": 4368,
"DiscountPrice": 655.2,
"Resource": "instanceType",
"SubRules": {
"Rule": [
{
"Description": "买满1年,立享官网价格8.5折优惠",
"RuleId": 587
}
]
},
"TradePrice": 3712.8
}
]
}
},
"RelatedPrice": {
"MarketplaceImagePrice": {
"Currency": "CNY",
"OriginalPrice": 100,
"DiscountPrice": 0,
"TradePrice": 100
}
}
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter.RecurrenceRules | The specified parameter RecurrenceRules is invalid. | The specified parameter "RecurrenceRules" is invalid. |
| 400 | InvalidRecurrenceRules.CountLimitExceeded | The count of RecurrenceRules exceeds the limit. | The number of parameter RecurrenceRules exceeds the limit value. |
| 400 | InvalidRecurrenceRulesStartHourEndHour.TooShort | The recurrence hour between RecurrenceRules.StartHour and RecurrenceRules.EndHour is too short. | The effective time between parameter RecurrenceRules.StartHour and RecurrenceRules.EndHour is less than the minimum requirement. |
| 400 | InvalidParameter.RecurrenceRulesStartHourEndHour | The specified parameter RecurrenceRules.StartHour or RecurrenceRules.EndHour is invalid. | The parameter RecurrenceRules.StartHour or RecurrenceRules.EndHour specified for the RecurrenceRules does not conform to the specification. |
| 400 | InvalidParameter.RecurrenceRulesRecurrenceValueMonthly | The specified parameter RecurrenceRules.RecurrenceValue for Monthly is invalid. | The parameter RecurrenceRules.RecurrenceValue specified for the RecurrenceRules.RecurrenceType = Monthly does not conform to the specification. |
| 400 | InvalidParameter.RecurrenceRulesRecurrenceValueWeekly | The specified parameter RecurrenceRules.RecurrenceValue for Weekly is invalid. | The parameter RecurrenceRules.RecurrenceType specified for RecurrenceRules.RecurrenceValue = Weekly is out of specification. |
| 400 | InvalidParameter.RecurrenceRulesRecurrenceValueDaily | The specified parameter RecurrenceRules.RecurrenceValue for Daily is invalid. | The parameter RecurrenceRules.RecurrenceType specified for RecurrenceRules.RecurrenceValue = Daily does not conform to the specification. |
| 400 | InvalidParameter.RecurrenceRulesRecurrenceType | The specified parameter RecurrenceRules.RecurrenceType is invalid. | The specified parameter RecurrenceRules.RecurrenceType does not conform to specification. |
| 400 | InvalidStartTime.NotSupported | The StartTime of TimeDivisionElasticityAssurance cannot between any of active time ranges. | |
| 400 | InvalidSpotAuthorized | The specified Spot param is unauthorized. | You are not authorized to set the SpotDuration parameter. |
| 400 | Invalid.ZoneId | The specified ZoneId is not valid. | The specified ZoneId is invalid. |
| 400 | InvalidInstanceType.ValueUnauthorized | The specified InstanceType is not authorized. | |
| 400 | InvalidInstanceType.ValueNotSupported | The specified InstanceType does not exist or beyond the permitted range. | The specified instance type does not exist or you are not authorized to manage instances of this instance type. |
| 400 | InvalidInternetChargeType.ValueNotSupported | The specified InternetChargeType is not valid. | The specified InternetChargeType parameter is invalid. |
| 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. | |
| 400 | InvalidSystemDiskCategory.ValueNotSupported | The specified parameter "SystemDisk.Category" is not valid. | The specified parameter system disk specification is invalid. |
| 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. | The specified DataDisk.N.Size parameter is invalid or the snapshot size exceeds the maximum capacity allowed for the specified disk category. |
| 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. | The specified image cannot be used for instances of 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. | The specified IoOptimized value is not supported. |
| 400 | InvalidPeriod | The specified period is not valid. | The specified period is invalid. |
| 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. | The specified DataDisk.N.Size parameter is invalid or the snapshot size exceeds the maximum capacity allowed for the specified disk category. |
| 400 | InstanceDiskNumber.LimitExceed | The total number of specified disk in an instance exceeds. | The number of disks on an instance exceeds the upper limit. |
| 400 | InvalidSystemDiskSize.LessThanImageSize | The specified parameter "SystemDisk.Size" is less than the image 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. | The price of the specified resource does not exist. Modify the parameter value and try again later. |
| 400 | InvalidResourceType.ValueNotSupported | The specified parameter ResourceType is not valid. | The specified resource type is not supported. |
| 400 | InvalidPriceUnit.ValueNotSupported | The specified parameter PriceUnit is not valid. | The specified PriceUnit parameter is invalid. |
| 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. | The specified image is an Alibaba Cloud Marketplace image that is no longer sold. For more information about the image, contact the image 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. | |
| 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. | When creating a disk from an encrypted snapshot, you must set the Encrypted parameter to 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. | The specified AssuranceTimes parameter is invalid. |
| 400 | InvalidParameter.Platform | The specified parameter Platform is invalid. | |
| 400 | InvalidOperation.InstanceRenewWithDowngradeInPlan | The operation is denied due to the specified instance has renew with downgrade record in plan. | There are renewal downgrade orders that have not yet taken effect. This operation is not allowed before the order takes effect. |
| 400 | OperationDenied.TestAccountRetricted | Test-account for testing has been prohibited from creating instance in this region. Please contact 400181. | Test accounts are not allowed to create instances in the local region. Please contact Cost and Resource Center @ Gao Chong (400181) |
| 400 | UnsupportedIspNetworkChargeType | The network charge type is not supported when specifying ISP. | The network charge type is not supported when specifying ISP. |
| 400 | EncryptedOption.Conflict | Disk encryption attributes conflict. | Disk encryption attributes conflict. |
| 400 | InvalidSystemDiskSize.ValueNotSupported | The specified parameter SystemDisk.Size is invalid | The specified SystemDisk.Size parameter is invalid. |
| 400 | UnsupportedIspChargeType | The specified Isp does not support the charge type. | The specified Isp does not support the charge type. |
| 400 | InvalidInstanceType.NotSupported | The specified instanceType is not supported by the image architecture. | The specified image schema does not support this instance type. |
| 400 | InvalidDiskCategory.ValueNotSupported | The specified parameter "DiskCategory" is not valid. | The specified cloud disk type DiskCategory is invalid. |
| 400 | InvalidMarketImage.NotAuthorized | The specified marketplace image is not authorized for your channel, please use other image. | The specified marketplace image is not authorized for your channel, please use other image. |
| 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. | The specified image is disabled or deleted. |
| 403 | InvalidSystemDiskCategory.ValueUnauthorized | The disk category is not authorized. | You are not authorized to use the specified disk category. |
| 403 | InstanceDiskCategoryLimitExceed | The total size of specified disk category in an instance exceeds. | The total size of disks of the specified category exceeds the maximum capacity allowed for an instance. |
| 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. | The specified Alibaba Cloud Marketplace image is unavailable, or the specified custom image contains the product code of the Alibaba Cloud Marketplace image from which the custom image is derived and the Alibaba Cloud Marketplace image was removed from Alibaba Cloud Marketplace. |
| 403 | QuotaExceed.PortableCloudDisk | The quota of portable cloud disk exceeds. | |
| 403 | Forbbiden | User not authorized to operate on the specified resource. | You are not authorized to operate the specified resource. |
| 403 | InstanceDiskNumLimitExceed | The number of specified disk in an instance exceeds. | The number of specified disks exceeds the upper limit for an instance. |
| 403 | IoOptimized.NotSupported | The specified image is not support IoOptimized Instance. | |
| 403 | ImageNotSupportInstanceType | The specified image don't support the InstanceType instance. | The specified image does not support the selected instance type. |
| 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. | The specified ResourceOwnerAccount parameter is invalid. |
| 403 | RegionUnauthorized | There is no authority to create instance in the specified region. | You are not authorized to create instances 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. | The specified Amount parameter is invalid. |
| 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. | The specified operation is invalid. |
| 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. | The instance type does not support the current disk category. Try another instance type. For information about the disk categories supported by instance types, see the instance family documentation. |
| 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. | Under the conditions of the specified region or payment type, the public IP address inventory of the instance is insufficient. Please try another region or payment type. |
| 403 | UnsupportedIspRegion | The specified region does not support Isp. | The specified region does not support Isp |
| 403 | InvalidIspBandwidthOut | The specified parameter InternetMaxBandwidthOut should be larger than 0 when specifying parameter Isp. | The specified parameter InternetMaxBandwidthOut should be larger than 0 when specifying parameter Isp. |
| 403 | InstanceType.Offline | The specified InstanceType has been offline | The specified instance type is retired. Select another instance type. |
| 403 | InvalidIspUID | The current account does not have permission to specify the Isp parameter. | The current account does not have permission to specify the Isp parameter. |
| 403 | UnsupportedIspClassicNetwork | The Isp parameter is not supported in the classic network. | The Isp parameter is not supported in the classic network. |
| 403 | InvalidIspType.ValueNotSupported | The specified parameter Isp is invalid. | The specified parameter Isp is invalid |
| 403 | InvalidSystemDiskCategory.ValueNotSupported | The specified parameter SystemDisk.Category is not valid. | The specified SystemDisk.Category value is not supported. |
| 403 | InvalidDataDiskCategory.ValueNotSupported | The specified Category of Data Disk is not valid. | The specified data disk type is not supported. |
| 404 | InvalidRegionId.NotFound | The RegionId provided does not exist in our records. | Region information error |
| 404 | OperationDenied | The specified Image is disabled or is deleted. | |
| 404 | InvalidImageId.NotFound | The specified ImageId does not exist. | The specified image does not exist in this account. Check whether the image ID is correct. |
| 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. | The specified SystemDisk.Size value is smaller than the lower limit. |
| 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. | The specified SystemDisk.Size parameter is invalid. |
| 404 | InvalidInstanceType.Missing | The InstanceType parameter that is mandatory for processing the request is not provided. | The InstanceType parameter is required. |
| 404 | InvalidInstanceType.ValueNotSupported | The specified InstanceType does not exist or beyond the permitted range. | |
| 404 | InvalidNetworkType.ValueNotSupported | The specified parameter NetworkType is not valid. | The specified NetworkType parameter is invalid. |
| 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. | The specified Alibaba Cloud Marketplace image does not exist. Modify the ImageId parameter and try again. |
| 404 | InvalidDiskIds.NotPortable | The specified DiskId is not portable. | |
| 404 | InvalidSystemDisk.NotFound | The specified system disk does not exist. | The specified system disk does not exist. |
| 404 | InvalidResourceGroup.NotFound | The ResourceGroup provided does not exist in our records. | The specified resource group does not exist. |
| 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. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.