DescribePrice

更新时间:
复制 MD 格式

Use this operation to query the latest prices for specified resources by resource type, such as ECS instances, cloud disks, dedicated hosts, Elastic Assurance, and Capacity Reservation. The response includes promotional rules, prices, and discounts.

Operation description

Parameter settings vary depending on the resource type you are querying:

  • If you set ResourceType to instance, you must also specify InstanceType. By default, this operation returns prices for the pay-as-you-go billing method (PostPaid). You can specify the PriceUnit parameter to query prices for different ECS billing cycles.

  • If you set ResourceType to disk, you must also specify DataDisk.1.Category and DataDisk.1.Size. When you query prices for disk resources, this operation returns only pay-as-you-go prices, so the PriceUnit parameter must be set to Hour.

  • If you set ResourceType to diskperformance, you must also specify DataDisk.1.Category and DataDisk.1.ProvisionedIops.

  • If you set ResourceType to ddh, you must also specify DedicatedHostType.

  • If you set ResourceType to ElasticityAssurance, you must also specify InstanceType.

  • If you set ResourceType to CapacityReservation, you must also specify InstanceType.

  • If you set ResourceType to bandwidth, this operation returns only pay-by-traffic (PayByTraffic) prices.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

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 the DescribeRegions operation to query the list of Alibaba Cloud regions.

cn-hangzhou

ResourceType

string

No

The type of the resource for which you want to query the price. Valid values:

  • instance: Query the prices of ECS instances. If you set this parameter to instance, you must also specify the InstanceType parameter.

  • disk: Query the prices of cloud disks. If you set this parameter to disk, you must also specify the DataDisk.1.Category and DataDisk.1.Size parameters.

  • diskperformance: Query the prices of the provisioned performance of an ESSD AutoPL cloud disk. You must also specify the DataDisk.1.Category and DataDisk.1.ProvisionedIops parameters.

  • bandwidth: Query the prices of network bandwidth.

  • ddh: Query the prices of dedicated hosts.

  • ElasticityAssurance: Query the prices of Elasticity Assurance. If you set this parameter to ElasticityAssurance, you must also specify the InstanceType parameter.

  • CapacityReservation: Query the prices of Capacity Reservation. If you set this parameter to CapacityReservation, you must also specify the InstanceType parameter.

Default value: instance.

instance

ImageId

string

No

This parameter is valid only when ResourceType is set to instance.

The ID of the image. The image provides the runtime environment for the instance. You can call the DescribeImages operation to query available images. If you do not specify this parameter, the system queries prices for Linux instances by default.

centos_7_05_64_20G_alibase_20181212.vhd

InstanceType

string

No

The instance type. This parameter is required when ResourceType is set to instance. For more information, see Instance type families or call the DescribeInstanceTypes operation to query the instance types.

ecs.g6.large

DedicatedHostType

string

No

The dedicated host type. You can call the DescribeDedicatedHostTypes operation to query dedicated host types.

ddh.c5

IoOptimized

string

No

Specifies whether the instance is I/O optimized. Valid values:

  • none: non-I/O-optimized.

  • optimized: I/O-optimized.

For generation I instances, the default value is none.

For other instance types, the default value is optimized.

optimized

InstanceNetworkType

string

No

The network type of the instance. Valid values:

  • classic: classic network

  • vpc: VPC

Default value: vpc.

vpc

InternetChargeType

string

No

The billing method for network usage. Valid values:

  • PayByBandwidth: pay-by-bandwidth

  • PayByTraffic: pay-by-traffic

Default value: PayByTraffic.

PayByTraffic

InternetMaxBandwidthOut

integer

No

The maximum outbound public bandwidth. Unit: Mbit/s. Valid values: 0–100.

Default value: 0.

5

SystemDisk.Category

string

No

The category of the system disk. You must specify ImageId when you query the price of a system disk. Valid values:

  • cloud: basic cloud disk

  • cloud_efficiency: efficiency cloud disk

  • cloud_ssd: SSD cloud disk

  • ephemeral_ssd: local SSD

  • cloud_essd: ESSD

  • cloud_auto: ESSD AutoPL

  • cloud_essd_entry: ESSD Entry

  • For retired instance types where IoOptimized is none, the default value is cloud.

  • In other cases, the default value is cloud_efficiency.After January 30, 2026, for instance types that support only ESSDs, the default value will be changed from cloud_efficiency to cloud_essd at PL0. For more information, see the change announcement.

cloud_ssd

SystemDisk.Size

integer

No

The size of the system disk. Unit: GiB. Valid values:

  • Basic cloud disk: 20–500.

  • ESSD cloud disk:

    • PL0: 1–2048.

    • PL1: 20–2048.

    • PL2: 461–2048.

    • PL3: 1261–2048.

  • ESSD AutoPL cloud disk: 1–2048.

  • Other cloud disk categories: 20–2048.

Default value: max{20, ImageSize}, which is the greater of 20 and the size of the specified image (ImageId).

80

SystemDisk.PerformanceLevel

string

No

The performance level of the ESSD when used as a system disk. This parameter is valid only when SystemDisk.Category is set to cloud_essd. Valid values:

PL0
PL1 (Default)
PL2
PL3


PL1

DataDisk.1.Size

integer

No

The size of data disk 1.

For better scalability, we recommend that you use the DataDisk.N.Size parameter.

2000

DataDisk.1.Category

string

No

The category of data disk 1.

For better scalability, we recommend that you use the DataDisk.N.Category parameter.

Valid values:

  • cloud :

    basic cloud disk

  • cloud_efficiency :

    efficiency cloud disk

  • cloud_ssd :

    SSD cloud disk

  • cloud_auto :

    ESSD AutoPL

  • cloud_regional_disk_auto :

    zone-redundant ESSD

  • cloud_essd :

    ESSD

  • elastic_ephemeral_disk_standard :

    standard elastic ephemeral disk

  • cloud_essd_entry :

    ESSD Entry

  • elastic_ephemeral_disk_premium :

    premium elastic ephemeral disk

cloud_ssd

DataDisk.1.PerformanceLevel

string

No

The performance level of data disk 1.

For better scalability, we recommend that you use the DataDisk.N.PerformanceLevel parameter.

PL1

DataDisk.2.Size

integer

No

The size of data disk 2.

For better scalability, we recommend that you use the DataDisk.N.Size parameter.

200

DataDisk.2.Category

string

No

The category of data disk 2.

For better scalability, we recommend that you use the DataDisk.N.Category parameter.

Valid values:

  • cloud :

    basic cloud disk

  • cloud_efficiency :

    efficiency cloud disk

  • cloud_ssd :

    SSD cloud disk

  • cloud_auto :

    ESSD AutoPL

  • cloud_regional_disk_auto :

    zone-redundant ESSD

  • cloud_essd :

    ESSD

  • elastic_ephemeral_disk_standard :

    standard elastic ephemeral disk

  • cloud_essd_entry :

    ESSD Entry

  • elastic_ephemeral_disk_premium :

    premium elastic ephemeral disk

cloud_ssd

DataDisk.2.PerformanceLevel

string

No

The performance level of data disk 2.

For better scalability, we recommend that you use the DataDisk.N.PerformanceLevel parameter.

PL1

DataDisk.3.Size

integer

No

The size of data disk 3.

For better scalability, we recommend that you use the DataDisk.N.Size parameter.

2000

DataDisk.3.Category

string

No

The category of data disk 3.

For better scalability, we recommend that you use the DataDisk.N.Category parameter.

Valid values:

  • cloud :

    basic cloud disk

  • cloud_efficiency :

    efficiency cloud disk

  • cloud_ssd :

    SSD cloud disk

  • cloud_auto :

    ESSD AutoPL

  • cloud_regional_disk_auto :

    zone-redundant ESSD

  • cloud_essd :

    ESSD

  • elastic_ephemeral_disk_standard :

    standard elastic ephemeral disk

  • cloud_essd_entry :

    ESSD Entry

  • elastic_ephemeral_disk_premium :

    premium elastic ephemeral disk

cloud_ssd

DataDisk.3.PerformanceLevel

string

No

The performance level of data disk 3.

For better scalability, we recommend that you use the DataDisk.N.PerformanceLevel parameter.

PL1

DataDisk.4.Size

integer

No

The size of data disk 4.

For better scalability, we recommend that you use the DataDisk.N.Size parameter.

2000

DataDisk.4.Category

string

No

The category of data disk 4.

For better scalability, we recommend that you use the DataDisk.N.Category parameter.

Valid values:

  • cloud :

    basic cloud disk

  • cloud_efficiency :

    efficiency cloud disk

  • cloud_ssd :

    SSD cloud disk

  • cloud_auto :

    ESSD AutoPL

  • cloud_regional_disk_auto :

    zone-redundant ESSD

  • cloud_essd :

    ESSD

  • elastic_ephemeral_disk_standard :

    standard elastic ephemeral disk

  • cloud_essd_entry :

    ESSD Entry

  • elastic_ephemeral_disk_premium :

    premium elastic ephemeral disk

cloud_ssd

DataDisk.4.PerformanceLevel

string

No

The performance level of data disk 4.

For better scalability, we recommend that you use the DataDisk.N.PerformanceLevel parameter.

PL1

Period

integer

No

The billing duration of the resource. This parameter is used with PriceUnit. Valid values:

  • If PriceUnit is set to Month: 1–9.

  • If PriceUnit is set to Year: 1–5.

  • If PriceUnit is set to Hour: 1.

  • If PriceUnit is set to Week: 1–4.

Default value: 1.

1

PriceUnit

string

No

The billing cycle of the resource. Valid values:

  • Month: For monthly pricing.

  • Year: For yearly pricing.

  • Hour (Default): For hourly pricing.

  • Week: For weekly pricing.

Year

Amount

integer

No

The number of resources for which to query prices. Valid values: 1–1000.

Default value: 1.

1

OfferingType

string

No

The payment option for the reserved instance. Valid values:

  • No Upfront

  • Partial Upfront

  • All Upfront

All Upfront

InstanceAmount

integer

No

The number of instances to include in the reserved instance offering.

Valid values: 1–1000.

100

Scope

string

No

The scope of the reserved instance. Valid values:

  • Region: region-scoped

  • Zone: zone-scoped

Default value: Region.

Zone

Platform

string

No

The operating system of the instance. Valid values:

  • Windows: Windows Server

  • Linux: Linux

Linux

Capacity

integer

No

The memory capacity for the elasticity assurance. Unit: GiB.

1024

AssuranceTimes

string

No

The number of times the elasticity assurance can be used. Set this to Unlimited, which allows the assurance to be used any number of times during its effective period.

Default value: Unlimited.

Unlimited

InstanceCpuCoreCount

integer

No

The total number of vCPUs for instances that are covered by the elasticity assurance. When you call this operation, the system calculates the number of supported instances based on the specified InstanceType and rounds the value up to the nearest integer.

Note

When you query the price of an elasticity assurance, you can specify only one of the InstanceCpuCoreCount and InstanceAmount parameters.

1024

Isp

string

No

The Internet service provider (ISP). Valid values:

  • cmcc: China Mobile

  • telecom: China Telecom

  • unicom: China Unicom

  • multiCarrier: BGP (Multi-ISP)

cmcc

InstanceTypeList

array

No

The instance type. You can specify only one instance type for an elasticity assurance of the Unlimited type.

ecs.g6.xlarge

string

No

The instance type. You can specify only one instance type for an elasticity assurance of the Unlimited type.

ecs.c6.xlarge

SpotStrategy

string

No

The preemption policy for the pay-as-you-go instance. Valid values:

  • NoSpot: A regular pay-as-you-go instance.

  • SpotWithPriceLimit: A spot instance for which you specify a maximum hourly price.

  • SpotAsPriceGo: A spot instance where the system automatically bids up to the pay-as-you-go price.

Default value: NoSpot.

Note

This parameter applies only when you query hourly prices, where PriceUnit is Hour and Period is 1. Because these are the default values, you do not need to set them when you use SpotStrategy.

NoSpot

SpotDuration

integer

No

The protection period of the spot instance. Unit: hours. Default value: 1. Valid values:

  • 1: Alibaba Cloud does not automatically release the instance within 1 hour. After the 1-hour protection period ends, the system checks the market price and resource inventory to determine whether to retain or release the instance.

  • 0: The instance has no protection period. The system checks the market price and resource inventory to determine whether to retain or release the instance.

Alibaba Cloud sends you an ECS system event five minutes before the instance is released. Spot instances are billed by the second. Select a protection period based on the time required to complete your task.

Note

This parameter is valid only when SpotStrategy is set to SpotWithPriceLimit or SpotAsPriceGo.

1

ZoneId

string

No

The ID of the availability zone.

Note

The prices of spot instances may vary by availability zone. When you query the price of a spot instance, specify ZoneId to query the price for a specific availability 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:

  • cloud: basic cloud disk

  • cloud_efficiency: efficiency cloud disk

  • cloud_ssd: SSD cloud disk

  • ephemeral_ssd: local SSD

  • cloud_essd: ESSD

  • cloud_auto: ESSD AutoPL

  • cloud_essd_entry: ESSD Entry

The value of N can be 1–16.

cloud_ssd

Size

integer

No

The size of data disk N. Unit: GiB. Valid values:

  • cloud: 5–2000

  • cloud_efficiency: 20–32768

  • cloud_ssd: 20–32768

  • cloud_auto: 1–32768

  • cloud_essd_entry: 10–32768

  • cloud_essd: The value range depends on the DataDisk.N.PerformanceLevel.

    • PL0: 1–32768

    • PL1: 20–32768

    • PL2: 461–32768

    • PL3: 1261–32768

  • ephemeral_ssd: 5–800

The value of N can be 1–16.

2000

PerformanceLevel

string

No

The performance level of data disk N when it is an ESSD. This parameter is valid only when DataDisk.N.Category is set to cloud_essd. Valid values:

  • PL0

  • PL1 (Default)

  • PL2

  • PL3

The value of N can be 1–16.

PL1

ProvisionedIops

integer

No

The provisioned read/write IOPS for the ESSD AutoPL cloud disk. Valid values: 0–min{50000, 1000 * Capacity - Baseline IOPS}.

Baseline IOPS = min{1800 + 50 * Capacity, 50000}.

Note

This parameter is valid only when DataDisk.N.Category is set to cloud_auto. For more information, see ESSD AutoPL cloud disks.

40000

SchedulerOptions.DedicatedHostId

string

No

This parameter is valid only when ResourceType is set to instance.

The ID of the dedicated host. You can call the DescribeDedicatedHosts operation to query dedicated host IDs.

dh-bp67acfmxazb4p****

StartTime

string

No

The time when the time-based elasticity assurance takes effect. The time must be specified in UTC and formatted as yyyy-MM-ddTHH:mm:ssZ in accordance with the ISO 8601 standard.

2020-10-30T06:32:00Z

RecurrenceRules

array<object>

No

The list of recurrence rules for the time-based elasticity assurance.

Note

The time-based elasticity assurance feature is available only in specific regions and to specific users. To use this feature, submit a ticket.

object

No

The recurrence rule for the time-based elasticity assurance.

Note
  • When you modify a recurrence rule, the total assurance duration before and after the modification must be the same. For more examples, see Modify recurrence rules.

  • The modified recurrence rule takes effect the next day.

StartHour

integer

No

The start time of the time-based assurance. The value must be on the hour.

Note

Both StartHour and EndHour are required. The interval between them must be at least 4 hours.

4

RecurrenceType

string

No

The recurrence type of the rule. Valid values:

  • Daily: repeats on a daily basis.

  • Weekly: repeats on a weekly basis.

  • Monthly: repeats on a monthly basis.

Note

You must specify both RecurrenceType and RecurrenceValue.

Daily

EndHour

integer

No

The end time of the time-based assurance. The value must be on the hour.

10

RecurrenceValue

string

No

The recurrence value.

  • If RecurrenceType is set to Daily, this parameter takes a single value that specifies the recurrence interval in days. Valid values: 1–31.

  • If RecurrenceType is set to Weekly, this parameter can have multiple values separated by commas (,). The values 0, 1, 2, 3, 4, 5, and 6 correspond to Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, and Saturday. For example, 1,2 specifies Monday and Tuesday.

  • If RecurrenceType is set to Monthly, the value must be in the A–B format. The values of A and B must be between 1 and 31, and B must be greater than or equal to A. For example, 1–5 specifies the first to the fifth day of each month.

Note

You must specify both RecurrenceType and RecurrenceValue.

5

SchedulerOptions.DeploymentSetStrategy

string

No

The deployment set strategy. Valid values:

  • Availability: high availability

  • AvailabilityGroup: high availability for deployment set groups

  • LowLatency: low latency

  • ProximityLooseDispersion: proximity loose dispersion

Note

Only the ProximityLooseDispersion strategy incurs a fee. The API response includes price details for the deployment set (where Resource is deploymentSet) only when this strategy is used. Other deployment set strategies are free of charge.

ProximityLooseDispersion

Response elements

Element

Type

Description

Example

object

RequestId

string

The request ID.

473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

PriceInfo

object

Details about the price and promotional 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 details.

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 OriginalPrice - DiscountPrice.

3712.8

DetailInfos

object

DetailInfo

array<object>

The detailed price information for the instance configuration.

Note

This parameter is returned only when ResourceType is set to instance.

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: instance

  • bandwidth: bandwidth

  • image: image

  • systemDisk: system disk

  • dataDisk: data disk

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 prices.

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 OriginalPrice - DiscountPrice.

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.