文档

DescribePrice - 查询云服务器ECS资源的最新价格

更新时间:

调用DescribePrice查询云服务器ECS资源的最新价格。

接口说明

  • 查询不同类型资源的价格时,必需参数也有所不同,具体说明如下:
    • 参数ResourceType=instance时,您必须同时指定参数InstanceType
    • 参数ResourceType=disk时,您必须同时指定参数DataDisk.1.CategoryDataDisk.1.Size。查询disk资源的价格时,只返回云盘按量付费的价格,即参数PriceUnit只能取值为Hour
    • 查询ResourceType=ddh时,您必须同时指定参数DedicatedHostType
    • 查询ResourceType=ElasticityAssurance时,必须同时指定参数InstanceType
    • 查询ResourceType=CapacityReservation时,必须同时指定参数InstanceType
  • 查询ResourceType=bandwidth时,只返回按流量计费(PayByTraffic)的价格。
  • 参数ResourceType=instance时,仅支持查询四块以内数据盘的价格。
  • 默认查询付费方式(ChargeType)为按量付费(PostPaid)的价格,您可以通过指定PriceUnit参数查询云服务器 ECS 不同计费周期的价格。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

下表是API对应的授权信息,可以在RAM权限策略语句的Action元素中使用,用来给RAM用户或RAM角色授予调用此API的权限。具体说明如下:

  • 操作:是指具体的权限点。
  • 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。
  • 资源类型:是指操作中支持授权的资源类型。具体说明如下:
    • 对于必选的资源类型,用背景高亮的方式表示。
    • 对于不支持资源级授权的操作,用全部资源表示。
  • 条件关键字:是指云产品自身定义的条件关键字。
  • 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。
操作访问级别资源类型条件关键字关联操作
ecs:DescribePriceRead
  • 全部资源
    *

请求参数

名称类型必填描述示例值
RegionIdstring

地域 ID。您可以调用 DescribeRegions 查看最新的阿里云地域列表。

cn-hangzhou
ResourceTypestring

目标资源的类型。取值范围:

  • instance:查询 ECS 实例的最新价格列表。当取值为instance时,必须同时指定参数InstanceType
  • disk:查询云盘的最新价格列表。当取值为disk时,必须同时指定参数DataDisk.1.CategoryDataDisk.1.Size
  • bandwidth:查询带宽的最新价格列表。
  • ddh:查询专有宿主机的最新价格列表。
  • ElasticityAssurance:查询弹性保障服务的价格信息。当取值为ElasticityAssurance时,必须同时指定参数InstanceType
  • CapacityReservation:查询容量预定服务的价格信息。当取值为CapacityReservation时,必须同时指定参数InstanceType

默认值:instance。

instance
ImageIdstring

仅当参数 ResourceType 的值为 instance 时,该参数生效。

镜像 ID,表示启动实例时希望装载的运行环境。您可以调用 DescribeImages 查询您可用的镜像资源。如果不指定,默认查询 Linux 系统镜像的价格。

centos_7_05_64_20G_alibase_20181212.vhd
InstanceTypestring

实例的资源规格。参数ResourceType的值为instance时,您必须同时指定该参数。更多详情,请参见实例规格族,也可以调用 DescribeInstanceTypes 接口获得最新的规格表。

ecs.g6.large
DedicatedHostTypestring

专有宿主机的规格。您可以调用 DescribeDedicatedHostTypes 接口获得最新的专有宿主机规格表。

ddh.c5
IoOptimizedstring

查询的实例是否为 I/O 优化实例。取值范围:

  • none:非 I/O 优化。
  • optimized:I/O 优化。

当 InstanceType 为系列 I的规格时,默认值为 none。

当 InstanceType 为非系列 I的规格时,默认值为 optimized。

optimized
InstanceNetworkTypestring

实例的网络类型。取值范围:

  • classic:实例的网络类型为经典网络(Classic)。
  • vpc:实例的网络类型为专有网络(VPC)。

默认值:vpc。

vpc
InternetChargeTypestring

网络带宽计费方式。取值范围:

  • PayByBandwidth:按固定带宽计费。
  • PayByTraffic:按带宽流量计费。

默认值:PayByTraffic。

PayByTraffic
InternetMaxBandwidthOutinteger

公网出带宽最大值,单位为 Mbit/s(Megabit per second)。取值范围:0~100。

默认值:0。

5
SystemDisk.Categorystring

系统盘的云盘种类。取值范围:

  • cloud:普通云盘。

  • cloud_efficiency:高效云盘。

  • cloud_ssd:SSD 云盘。

  • ephemeral_ssd:本地 SSD 盘。

  • cloud_essd:ESSD 云盘。

  • cloud_auto:ESSD AutoPL 云盘。

  • cloud_essd_entry:ESSD Entry 云盘。

参数默认值说明:

  • 当 InstanceType 为已停售的实例规格,且参数IoOptimized取值为none时,该参数默认值为cloud
  • 其它情况下,该参数默认值为cloud_efficiency
说明 查询系统盘价格时,必须同时指定ImageId
cloud_ssd
SystemDisk.Sizeinteger

系统盘大小,单位为 GiB。取值范围:20~500。

默认值:max{20, 参数 ImageId 对应的镜像大小}。

80
SystemDisk.PerformanceLevelstring

系统盘类型为 ESSD 云盘时,区分性能等级。仅当SystemDiskCategory=cloud_essd 时该参数有效。取值范围:

PL0。 PL1(默认)。 PL2。 PL3。

PL1
DataDisk.1.Sizeinteger

为提高扩展性,建议您使用DataDisk.N.Size参数。

2000
DataDisk.1.Categorystring

为提高扩展性,建议您使用DataDisk.N.Category参数。

cloud_ssd
DataDisk.1.PerformanceLevelstring

为提高扩展性,建议您使用DataDisk.N.PerformanceLevel参数。

PL1
DataDisk.2.Sizeinteger

为提高扩展性,建议您使用DataDisk.N.Size参数。

200
DataDisk.2.Categorystring

为提高扩展性,建议您使用DataDisk.N.Category参数。

cloud_ssd
DataDisk.2.PerformanceLevelstring

为提高扩展性,建议您使用DataDisk.N.PerformanceLevel参数。

PL1
DataDisk.3.Sizeinteger

为提高扩展性,建议您使用DataDisk.N.Size参数。

2000
DataDisk.3.Categorystring

为提高扩展性,建议您使用DataDisk.N.Category参数。

cloud_ssd
DataDisk.3.PerformanceLevelstring

为提高扩展性,建议您使用DataDisk.N.PerformanceLevel参数。

PL1
DataDisk.4.Sizeinteger

为提高扩展性,建议您使用DataDisk.N.Size参数。

2000
DataDisk.4.Categorystring

为提高扩展性,建议您使用DataDisk.N.Category参数。

cloud_ssd
DataDisk.4.PerformanceLevelstring

为提高扩展性,建议您使用DataDisk.N.PerformanceLevel参数。

PL1
Periodinteger

云服务器 ECS 的计费时长。取值范围:

  • 当参数 PriceUnit 取值为 Month 时:1~9。
  • 当参数 PriceUnit 取值为 Year 时:1~5。
  • 当参数 PriceUnit 取值为 Hour 时:1。
  • 当参数 PriceUnit 取值为 Week 时:1~4。

默认值:1。

1
PriceUnitstring

查询云服务器 ECS 不同计费周期的价格。取值范围:

  • Month:按月计费的价格单位。
  • Year:按年计费的价格单位。
  • Hour(默认):按小时计费的价格单位。
  • Week:按周计费的价格单位。
Year
Amountinteger

查询批量购买某种配置的云服务器 ECS 的价格。取值范围:1~1000。

默认值:1。

1
OfferingTypestring

预留实例券的付款类型。取值范围:

  • No Upfront:零预付。
  • Partial Upfront:部分预付。
  • All Upfront:全预付。
All Upfront
InstanceAmountinteger

在一个实例规格内,需要预留的实例的总数量。

取值范围:1~1000。

100
Scopestring

预留实例券的范围。取值范围:

  • Region:地域级别。
  • Zone:可用区级别。

默认值:Region。

Zone
Platformstring

实例使用的镜像的操作系统类型。取值范围:

  • Windows:Windows Server 类型的操作系统。
  • Linux:Linux 及类 Unix 类型的操作系统。
Linux
Capacityinteger

容量大小,单位为 GiB。

1024
AssuranceTimesstring

弹性保障的总次数。取值:Unlimited,目前仅支持在服务生效期内的无限次模式。

默认值:Unlimited。

Unlimited
InstanceCpuCoreCountinteger

弹性保障内支持实例的 vCPU 总数量。调用 API 时系统会根据用户指定的 InstanceType 换算出需要弹性保证内支持实例的数量(向上取整)。

说明 当调用 API 查询弹性保障价格时,参数 InstanceCoreCpuCount 和 InstanceAmount 只能指定其中一个。
1024
Ispstring

互联网服务运营商,取值范围:

  • cmcc:移动。
  • telecom:电信。
  • unicom:联通。
  • multiCarrier:多线。
cmcc
InstanceTypeListarray

实例规格。目前仅支持无限次保障服务设置单个实例规格。

string

实例规格。目前仅支持无限次保障服务设置单个实例规格。

ecs.c6.xlarge
SpotStrategystring

按量付费实例的抢占策略。取值范围:

  • NoSpot:正常按量付费实例。
  • SpotWithPriceLimit:设置上限价格的抢占式实例。
  • SpotAsPriceGo:系统自动出价,最高按量付费价格。

默认值:NoSpot。

说明 PriceUnit=HourPeriod=1时,该参数才有效。由于PriceUnit默认值为HourPeriod默认值为1,因此您在设置该参数值时,无需设置PriceUnitPeriod参数值。
NoSpot
SpotDurationinteger

抢占式实例的保留时长,单位为小时。 默认值:1。取值范围:

  • 1:创建后阿里云会保证实例运行 1 小时不会被自动释放;超过 1 小时后,系统会自动比较出价与市场价格、检查资源库存,来决定实例的持有和回收。
  • 0:创建后,阿里云不保证实例运行 1 小时,系统会自动比较出价与市场价格、检查资源库存,来决定实例的持有和回收。

实例回收前 5 分钟阿里云会通过 ECS 系统事件向您发送通知。抢占式实例按秒计费,建议您结合具体任务执行耗时来选择合适的保留时长。

说明 当 SpotStrategy 值为 SpotWithPriceLimit 或 SpotAsPriceGo 时该参数生效。
1
ZoneIdstring

可用区 ID。

说明 抢占式实例不同可用区价格可能不同,查询抢占式实例价格时,建议传入 ZoneId 查询指定可用区的抢占式实例价格。
cn-hagzhou-i
DataDiskobject []

数据盘列表集合。

Categorystring

第 N 块数据盘的云盘种类。取值范围:

  • cloud:普通云盘。

  • cloud_efficiency:高效云盘。

  • cloud_ssd:SSD 云盘。

  • ephemeral_ssd:本地 SSD 盘。

  • cloud_essd:ESSD 云盘。

  • cloud_auto:ESSD AutoPL 云盘。

  • cloud_essd_entry:ESSD Entry 云盘。

N 的取值范围:1~16。

cloud_ssd
Sizelong

第 N 块数据盘的容量大小,内存单位为 GiB。取值范围:

  • cloud:5~2000。

  • cloud_efficiency:20~32768。

  • cloud_ssd:20~32768。

  • cloud_auto:40~32768。

  • cloud_essd_entry:10~32768。

  • cloud_essd:具体取值范围与DataDisk.N.PerformanceLevel的取值有关。

    • PL0:40~32768。
    • PL1:20~32768。
    • PL2:461~32768。
    • PL3:1261~32768。
  • ephemeral_ssd:5~800。

N 的取值范围:1~16。

2000
PerformanceLevelstring

第 N 块数据盘类型为 ESSD 云盘时,区分性能等级。仅当DataDisk.N.Category=cloud_essd时该参数有效。取值范围:

  • PL0。
  • PL1(默认)。
  • PL2。
  • PL3。

N 的取值范围:1~16。

PL1
SchedulerOptions.DedicatedHostIdstring

仅当参数 ResourceType 的值为 instance 时,该参数生效。

专有宿主机 ID。您可以通过DescribeDedicatedHosts 查询专有宿主机 ID 列表。

dh-bp67acfmxazb4p****

返回参数

名称类型描述示例值
object
RequestIdstring

请求 ID。

473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
PriceInfoobject

价格信息类型(Price),包括价格和优惠规则。

Rulesobject []

活动规则。

Descriptionstring

活动规则描述。

买满1年,立享官网价格8.5折优惠。
RuleIdlong

活动规则 ID。

587
Priceobject

价格。

OriginalPricefloat

原价。

4368
ReservedInstanceHourPricefloat

0 预付或部分预付的预留实例券的小时价。

1
DiscountPricefloat

折扣。

655.2
Currencystring

货币单位。

中国站:CNY。

国际站:USD。

CNY
TradePricefloat

最终价,为原价减去折扣。

3712.8
DetailInfosobject []

价格的详细信息。

说明 该返回值正在邀测中,暂未开放使用。
Resourcestring

资源名称。

instance
OriginalPricefloat

原价。

4368
DiscountPricefloat

折扣价。

655.2
TradePricefloat

成交价。

3712.8
SubRulesobject []

定价规则子集。

Descriptionstring

规则子集描述。

买满1年,立享官网价格8.5折优惠
RuleIdlong

活动规则 ID。

587

示例

正常返回示例

JSON格式

{
  "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": {
        "ResourcePriceModel": [
          {
            "Resource": "instance",
            "OriginalPrice": 4368,
            "DiscountPrice": 655.2,
            "TradePrice": 3712.8,
            "SubRules": {
              "Rule": [
                {
                  "Description": "买满1年,立享官网价格8.5折优惠",
                  "RuleId": 587
                }
              ]
            }
          }
        ]
      }
    }
  }
}

错误码

HTTP status code错误码错误信息描述
400InvalidSpotAuthorizedThe specified Spot param is unauthorized.指定的 SpotDuration 参数值未获得授权。
400Invalid.ZoneIdThe specified ZoneId is not valid.-
400InvalidInstanceType.ValueUnauthorizedThe specified InstanceType is not authorized.指定的实例规格未授权使用。
400InvalidInstanceType.ValueNotSupportedThe specified InstanceType does not exist or beyond the permitted range.您指定的实例规格不存在,或者您没有权限操作此规格的实例。
400InvalidInternetChargeType.ValueNotSupportedThe specified InternetChargeType is not valid.暂不支持指定的网络付费类型的实例,请确认相关参数是否正确。
400InvalidInternetMaxBandwidthOut.ValueNotSupportedThe specified parameter "InternetMaxBandwidthOut" is not valid.-
400InvalidSystemDiskCategory.ValueNotSupportedThe specified parameter "SystemDisk.Category" is not valid.-
400InvalidDataDiskSize.ValueNotSupportedThe 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 超出允许范围,或者快照的容量超过指定磁盘类别的大小限制。
400InvalidDataDiskCategory.ValueNotSupportedThe specified parameter "DataDisk.n.Category" is not valid.-
400InvalidParameter.ConflictThe specified image does not support the specified instance type.指定的镜像不能用于指定的实例规格。
400InvalidNetworkType.MismatchSpecified parameter "InternetChargeType" conflict with instance network type.-
400InvalidDiskCategory.MismatchThe specified disk categories' combination is not supported.-
400InvalidIoOptimizedValue.ValueNotSupportedIoOptimized value not supported.不支持指定的I/O优化值。
400InvalidPeriodThe specified period is not valid.指定的时段不合法。
400InvalidDataDiskCategory.ValueNotSupportedThe specified parameter " DataDisk.n.Category " is not valid.-
400InvalidSystemDiskCategory.ValueNotSupportedThe specified parameter " SystemDisk.Category " is not valid.-
400InstanceDiskCategoryLimitExceedThe 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 超出允许范围,或者快照的容量超过了指定磁盘类别的大小限制。
400InvalidInternetMaxBandwidthOut.ValueNotSupportedThe specified vm bandwidth is not valid.指定的虚拟机带宽无效。
400InvalidSystemDiskCategory.ValueNotSupportedThe specified parameter SystemDisk.Category is not valid.-
400InvalidInternetMaxBandwidthOut.ValueNotSupportedThe specified parameter Bandwidth is not valid.指定的 Bandwidth 不合法。
400InstanceDiskNumber.LimitExceedThe total number of specified disk in an instance exceeds.实例下磁盘数目超过限制。
400InvalidDiskCategory.ValueNotSupportedThe specified parameter "DiskCategory" is not valid.-
400InvalidInternetMaxBandwidthOut.ValueNotSupported%s参数 InternetMaxBandwidthOut 无效。
400InvalidDataDiskCategory.ValueNotSupported%s指定的数据磁盘类型无效。%s为变量,将根据调用API的实际情况动态返回错误信息。
400InvalidSystemDiskCategory.ValueNotSupported%s当前操作不支持此系统磁盘类型。
400InvalidParameter.Conflict%s您输入的参数无效,请检查参数之间是否冲突。%s为变量,将根据调用API的实际情况动态返回错误信息。
400InvalidInternetChargeType.ValueNotSupported%s暂不支持指定的网络计费方式,请确认相关参数是否正确。
400InvalidInstanceType.ValueNotSupported%s该操作暂不支持指定的实例类型。
400RegionUnauthorized%s该地域未被授权。%s为变量,将根据调用API的实际情况动态返回错误信息。
400InvalidSystemDiskSize.ValueNotSupported%s当前操作不支持设置的系统盘大小。
400InvalidDataDiskSize.ValueNotSupported%s指定的数据盘容量无效。%s为变量,将根据调用API的实际情况动态返回错误信息。
400InvalidSystemDiskCategory.ValueNotSupportedThe specified parameter "SystemDisk.Size" is not valid.-
400InvalidSystemDiskSize.LessThanImageSizeThe specified parameter "SystemDisk.Size" is less than the image size.-
400InvalidDataDiskCategory.ValueNotSupportedThe specified parameter "DataDisk.Category" is not valid.-
400InvalidDataDiskSize.ValueNotSupportedThe specified parameter "DataDisk.Size" is not valid.-
400ThrottlingRequest was denied due to request throttling.请求被流控。
400Throttling.UserRequest was denied due to user flow control.-
400PriceNotFoundThe price of your queried resource is not available now, please try other resources.未找到价格,请修改相应的参数值重试。
400InvalidResourceType.ValueNotSupportedThe specified parameter ResourceType is not valid.指定的资源类型不合法。
400InvalidPriceUnit.ValueNotSupportedThe specified parameter PriceUnit is not valid.指定的单价不合法。
400InvalidInternetMaxBandwidthOut.ValueNotSupportedThe specified parameter InternetMaxBandwidthOut is not valid.指定的公网出带宽最大值不合法。
400EncryptedOption.Conflict%s参数不支持(加密盘)。%s为变量,将根据调用API的实际情况动态返回错误信息。
400IncorrectImageStatusThe specified image is an Alibaba Cloud Marketplace image. The sale of this image has ended. For more information, contact the image service provider.指定的镜像为阿里云市场镜像。此镜像的售卖已经结束。更多信息请联系镜像服务提供商。
400InvalidInstanceType.ValueUnauthorizedThe specified instanceType is not authorized.指定的实例规格未授权使用。
400OperationDeniedThe current operation is not supported due to unfinished Temporary Upgrade.-
400InvalidPerformanceLevel.MalformedThe specified parameter DataDisk.n.PerformanceLevel is not valid.-
400InvalidCapacity.ValueNotSupportedThe specified parameter Capacity is not valid.-
400InvalidActivity.NotSupportedThe specified discount activity is not supported.-
400InvalidEncrypted.NotMatchEncryptAlgorithmThe specified parameter Encrypted must be true when EncryptAlgorithm is not empty.-
400InvalidEncrypted.NotMatchKmsKeyIdThe specified parameter Encrypted must be true when KmsKeyId is not empty.-
400InvalidEncrypted.NotMatchSnapshotThe specified parameter Encrypted is different from the Encrypted of the snapshot.-
400InvalidEncryptAlgorithm.NotMatchSnapshotThe specified parameter EncryptAlgorithm is different from the encrypt algorithm of the snapshot.-
400InvalidKmsKeyId.NotMatchSnapshotThe specified parameter KmsKeyId is different from the KmsKeyId of the snapshot.-
400InvalidEncryptAlgorithmThe specified parameter EncryptAlgorithm is not valid.-
400InvalidAssuranceTimes.NotSupportedThe value of AssuranceTimes is not supported.AssuranceTimes参数值不支持。
400InvalidParameter.PlatformThe specified parameter Platform is invalid.指定的 Platform 参数非法。
400InvalidOperation.InstanceRenewWithDowngradeInPlanThe operation is denied due to the specified instance has renew with downgrade record in plan.存在未生效的续费降配订单。订单生效前不允许此操作。
403ImageNotSubscribedThe specified image has not be subscribed.指定的镜像未在云市场镜像中订阅。
403OperationDeniedThe specified Image is disabled or is deleted.指定的镜像被禁用或被删除。
403InvalidSystemDiskCategory.ValueUnauthorizedThe disk category is not authorized.该磁盘类别未经授权。
403InstanceDiskCategoryLimitExceedThe total size of specified disk category in an instance exceeds.磁盘种类总容量超过实例限制。
403ImageRemovedInMarketThe 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.指定的市场镜像不可用,或者指定的用户定义镜像包含产品代码,因为它基于从市场订购的镜像,并且市场中包含完全相同的产品代码的镜像已被删除。
403QuotaExceed.PortableCloudDiskThe quota of portable cloud disk exceeds.可卸载磁盘数量已达上限。
403ForbbidenUser not authorized to operate on the specified resource.用户未被授权操作指定的资源。
403InstanceDiskNumLimitExceedThe number of specified disk in an instance exceeds.实例下磁盘数目超过限制。
403IoOptimized.NotSupportedThe specified image is not support IoOptimized Instance.指定的镜像不支持 I/O 优化型实例。
403ImageNotSupportInstanceTypeThe specified image don't support the InstanceType instance.指定的镜像不支持选定实例规格的实例。
403InvalidDiskSize.TooSmallSpecified disk size is less than the size of snapshot.指定的磁盘容量小于快照容量。
403OperationDeniedThe type of the disk does not support the operation.此磁盘种类不支持指定的操作。
403InvalidDiskCategory.MismatchThe specified disk categories combination is not supported.不支持的磁盘种类搭配。
403InvalidDiskCategory.NotSupportedThe specified disk category is not support the specified instance type.指定的磁盘种类不支持该实例规格。
403InvalidDiskCategory.NotSupportedThe upgrade operation of instance does not support this category of disk.实例的升级操作不支持此类磁盘。
403QuotaExceed.BuyImageThe specified image is from the image market, you have not bought it or your quota has been exceeded.您暂时不能使用指定的市场镜像。
403InvalidParameter.ResourceOwnerAccountResourceOwnerAccount is Invalid.指定的 ResourceOwnerAccount 不合法。
403RegionUnauthorizedThere is no authority to create instance in the specified region.用户未被授权在指定的地域创建实例。
403OperationDeniedThe resource is out of usage.该实例不在运行状态,请您启动实例或检查操作是否合理。
403InstanceType.Offline%s实例规格因停售、供货不足等原因,不支持该操作。
403OperationDeniedThe specified parameter InstanceNetworkType is not authorized.用户未被授权指定的实例网络类型。
403InvalidAmount.MalformedThe specified parameter Amount is not valid.参数 Amount 格式错误。
403InvalidDiskSize.TooSmallSpecified system disk size is less than the size of image.-
403InvalidChargeType.MarketImageThe specified chargeType of marketplace image is invalid.-
403InvalidDiskIds.NotFoundSome of the specified disks do not exist.指定的磁盘不存在。
403InvalidDiskCategory.NotSupportedThe specified disk category is not supported.指定的云盘类型不支持当前操作。
403PrePaidInstance.ExpiredThe prePaid instance has expired.包年包月实例已到期。
403OperationDenied.PerformanceLevelNotMatchThe specified DataDisk.n.PerformanceLevel and DataDisk.n.Size do not match.-
403InvalidAction.UnauthorizedThe specified action is not valid.指定的操作无效。
403InvalidRegionId.NotSupportEncryptAlgorithmThe current region does not support creating encrypted disks with EncryptAlgorithm.-
403InvalidIspType.ValueNotSupported%s-
403UnsupportedIspChargeType%s-
403UnsupportedIspClassicNetwork%s-
403InvalidIspBandwidthOut%s-
403UnsupportedIspNetworkChargeType%s-
403InvalidIspUID%s-
403UnsupportedIspRegion%s-
403InvalidInstanceType.NotSupportDiskCategoryThe instanceType of the specified instance does not support this disk category.指定的实例规格(InstanceType)不支持当前实例的云盘类别。请尝试更换其它实例规格。关于实例规格支持的云盘类型,请参见实例规格族文档。
403InvalidOperation.PublicIpAddressNoStockThe public IP address for the specified Region or ChargeType of the instance is out of stock. Please try another Region or ChargeType.在指定的地域或付费类型条件下,实例公网IP地址库存不足。请尝试使用其它地域或付费类型。
404InvalidRegionId.NotFoundThe RegionId provided does not exist in our records.提供的RegionId不存在
404InvalidImageId.NotFoundThe specified ImageId does not exist.指定的镜像在该用户账号下不存在,请您检查镜像 ID 是否正确。
404IoOptimized.NotSupportedThe specified instancetype is not support IoOptimized instance.-
404InvalidInstanceChargeType.NotFoundThe InstanceChargeType does not exist in our records.指定的实例计费方式不存在。
404DependencyViolation.IoOptimizedThe specified instancetype must be IoOptimized instance.指定的实例规格必须为I/O优化实例,请您检查实例规格是否正确。
404InvalidSystemDiskSize.LessThanImageSizeThe specified parameter SystemDisk.Size is less than the image size.指定的参数 SystemDisk.Size 小于镜像文件大小数值。
404InvalidSystemDiskSize.LessThanMinSizeThe specified parameter SystemDisk.Size is less than the minimum size.指定的 SystemDisk.Size 低于最小值。
404InvalidSystemDiskSize.MoreThanMaxSizeThe specified parameter SystemDisk.Size is more than the maximum size.-
404InvalidSystemDiskSize.ValueNotSupportedThe specified parameter SystemDisk.Size is invalid.指定的 SystemDisk.Size 不合法。
404InvalidInstanceType.MissingThe InstanceType parameter that is mandatory for processing the request is not provided.InstanceType 参数为必填参数。
404InvalidNetworkType.ValueNotSupportedThe specified parameter NetworkType is not valid.指定的网络类型不合法。
404InvalidDiskCategory.MissingThe DataDisk.1.Category parameter that is mandatory for processing the request is not provided.没有指定数据盘类型。
404Invalid.InstanceId.NotFoundThe Instance provided does not exist.指定的实例不存在。
404InvalidMarketImage.NotFoundThe specified marketplace image does not exist, please change the imageId and try again.指定的市场镜像不存在,请更改参数后重试。
404InvalidDiskIds.NotPortableThe specified DiskId is not portable.指定的磁盘是不可移植的。
404InvalidSystemDisk.NotFoundThe specified system disk does not exist.指定的系统盘不存在。
404InvalidResourceGroup.NotFoundThe ResourceGroup provided does not exist in our records.资源组并不在记录中。
404InvalidDedicatedHostType.MissingThe dedicatedHostType parameter that is mandatory for processing the request is not provided.-
404InvalidDedicatedHostId.NotFoundThe specified SchedulerOptions.DedicatedHostId does not exist.-
500InternalErrorThe request processing has failed due to some unknown error.内部错误,请重试。
500InternalError%s内部错误。

访问错误中心查看更多错误码。

变更历史

变更时间变更内容概要操作
2024-01-30OpenAPI 错误码发生变更看变更集
变更项变更内容
错误码OpenAPI 错误码发生变更
    错误码 403 变更
    删除错误码:400
    删除错误码:404
    删除错误码:500
2023-10-18OpenAPI 错误码发生变更看变更集
变更项变更内容
错误码OpenAPI 错误码发生变更
    错误码 400 变更
    删除错误码:403
    删除错误码:404
    删除错误码:500
2023-05-08OpenAPI 错误码发生变更看变更集
变更项变更内容
错误码OpenAPI 错误码发生变更
    错误码 403 变更
    删除错误码:400
    删除错误码:404
    删除错误码:500
2023-03-27OpenAPI 错误码发生变更看变更集
变更项变更内容
错误码OpenAPI 错误码发生变更
    错误码 400 变更
    错误码 404 变更
    删除错误码:403
    删除错误码:500
  • 本页导读 (1)
文档反馈