すべてのプロダクト
Search
ドキュメントセンター

Elastic Compute Service:DescribePrice

最終更新日:Jun 29, 2026

指定されたリソースの最新価格をクエリします。リソースタイプに基づいて、ECS インスタンス、クラウドディスク、専用ホスト、エラスティシティアシュアランスサービス、およびキャパシティリザベーションサービスの最新価格をクエリできます。応答にはプロモーションルール、価格、および割引が含まれます。

操作説明

パラメータ設定はリソースタイプによって異なります:

  • ResourceType=instance の場合、InstanceType も指定する必要があります。 デフォルトでは、従量課金 (PostPaid) の支払い方法 (ChargeType) の価格がクエリされます。PriceUnit パラメーターを指定して、異なる課金サイクルの Elastic Compute Service (ECS) 価格をクエリできます。

  • ResourceType=disk の場合、DataDisk.1.CategoryDataDisk.1.Size も指定する必要があります。disk リソースの価格をクエリする場合、ディスクの従量課金価格のみが返されます。つまり、PriceUnit パラメーターは Hour にのみセットできます。

  • ResourceType=diskperformance の場合、DataDisk.1.CategoryDataDisk.1.ProvisionedIops も指定する必要があります。

  • ResourceType=ddh の場合、DedicatedHostType も指定する必要があります。

  • ResourceType=ElasticityAssurance の場合、InstanceType も指定する必要があります。

  • ResourceType=CapacityReservation の場合、InstanceType も指定する必要があります。

  • ResourceType=bandwidth の場合、トラフィック課金 (PayByTraffic) の価格のみが返されます。

今すぐお試しください

この API を OpenAPI Explorer でお試しください。手作業による署名は必要ありません。呼び出しに成功すると、入力したパラメーターに基づき、資格情報が組み込まれた SDK コードが自動的に生成されます。このコードをダウンロードしてローカルで使用できます。

テスト

RAM 認証

下表に、この API を呼び出すために必要な認証情報を示します。認証情報は、RAM (Resource Access Management) ポリシーを使用して定義できます。以下で各列名について説明します。

  • アクション:特定のリソースに対して実行可能な操作。ポリシー構文ではAction要素として指定します。

  • API:アクションを具体的に実行するための API。

  • アクセスレベル:各 API に対して事前定義されているアクセスの種類。有効な値:create、list、get、update、delete。

  • リソースタイプ:アクションが作用するリソースの種類。リソースレベルでの権限をサポートするかどうかを示すことができます。ポリシーの有効性を確保するため、アクションの対象として適切なリソースを指定してください。

    • リソースレベルの権限を持つ API の場合、必要なリソースタイプはアスタリスク (*) でマークされます。ポリシーのResource要素で対応する ARN を指定してください。

    • リソースレベルの権限を持たない API の場合、「すべてのリソース」と表示され、ポリシーのResource要素でアスタリスク (*) でマークされます。

  • 条件キー:サービスによって定義された条件のキー。このキーにより、きめ細やかなアクセス制御が可能になります。この制御は、アクション単体に適用することも、特定のリソースに対するアクションに適用することもできます。Alibaba Cloud は、サービス固有の条件キーに加えて、すべての RAM 統合サービスに適用可能な一連の共通条件キーを提供しています。

  • 依存アクション:ある特定のアクションを実行するために、前提として実行が必要となる他のアクション。依存アクションの権限も RAM ユーザーまたは RAM ロールに付与する必要があります。

アクション

アクセスレベル

リソースタイプ

条件キー

依存アクション

ecs:DescribePrice

get

*All Resource

*

なし なし

リクエストパラメーター

パラメーター

必須 / 任意

説明

RegionId

string

必須

リージョン ID。 DescribeRegions を呼び出して、最新のリージョンリストをクエリできます。

cn-hangzhou

ResourceType

string

任意

リソースのタイプ。有効な値:

  • instance: ECS インスタンスの最新価格リストを照会します。このパラメーターが instance に設定されている場合、InstanceType も指定する必要があります。

  • disk: ディスクの最新価格リストを照会します。このパラメーターが disk に設定されている場合、DataDisk.1.CategoryDataDisk.1.Size も指定する必要があります。

  • diskperformance: ESSD AutoPL ディスクのプロビジョニングパフォーマンスの最新価格リストを照会します。DataDisk.1.CategoryDataDisk.1.ProvisionedIops も指定する必要があります。

  • bandwidth: 帯域幅の最新価格リストを照会します。

  • ddh: 専用ホストの最新価格リストを照会します。

  • ElasticityAssurance: エラスティシティアシュアランスサービスの価格を照会します。このパラメーターが ElasticityAssurance に設定されている場合、InstanceType も指定する必要があります。

  • CapacityReservation: キャパシティリザベーションサービスの価格を照会します。このパラメーターが CapacityReservation に設定されている場合、InstanceType も指定する必要があります。

デフォルト値: instance。

instance

ImageId

string

任意

このパラメーターは、ResourceType が instance にセットされている場合にのみ効果があります。

イメージ ID。インスタンスの起動時にロードする実行環境を指定します。 DescribeImages を呼び出して、利用可能なイメージリソースをクエリできます。このパラメーターを指定しない場合、デフォルトで Linux イメージの価格がクエリされます。

centos_7_05_64_20G_alibase_20181212.vhd

InstanceType

string

任意

インスタンスタイプ。ResourceTypeinstance にセットされている場合、このパラメーターを指定する必要があります。詳細については、インスタンスファミリー を参照してください。 DescribeInstanceTypes を呼び出して、最新のインスタンスタイプリストをクエリすることもできます。

ecs.g6.large

DedicatedHostType

string

任意

専用ホストタイプ。 DescribeDedicatedHostTypes を呼び出して、最新の専用ホストタイプリストをクエリできます。

ddh.c5

IoOptimized

string

任意

照会するインスタンスが I/O 最適化インスタンスかどうかを指定します。有効な値:

  • none: I/O 最適化なし。

  • optimized: I/O 最適化。

InstanceType が シリーズ I のインスタンスタイプの場合、デフォルト値は none です。

InstanceType が シリーズ I のインスタンスタイプでない場合、デフォルト値は optimized です。

optimized

InstanceNetworkType

string

任意

インスタンスのネットワークタイプ。有効な値:

  • vpc: Virtual Private Cloud (VPC)。

  • classic: クラシックネットワーク。クラシックネットワークは利用できなくなりました。詳細については、廃止のお知らせ を参照してください。

デフォルト値: vpc。

vpc

InternetChargeType

string

任意

ネットワーク帯域幅の支払い方法。有効な値:

  • PayByBandwidth: 帯域幅課金。

  • PayByTraffic: トラフィック課金。

デフォルト値: PayByTraffic。

PayByTraffic

InternetMaxBandwidthOut

integer

任意

アウトバウンドパブリック帯域幅の最大値 (Mbit/s 単位)。有効な値: 0~100。

デフォルト値: 0。

5

SystemDisk.Category

string

任意

システムディスクのカテゴリ。システムディスクの価格をクエリする場合、ImageId も指定する必要があります。有効な値:

  • cloud: 基本ディスク。

  • cloud_efficiency: Ultra ディスク。

  • cloud_ssd: 標準 SSD。

  • ephemeral_ssd: ローカル SSD。

  • cloud_essd: ESSD (エンタープライズ SSD)。

  • cloud_auto: ESSD AutoPL ディスク。

デフォルト値の説明:

  • InstanceType が廃止されたインスタンスタイプで、IoOptimizednone にセットされている場合、デフォルト値は cloud です。

  • その他の場合、デフォルト値は cloud_efficiency です。

cloud_ssd

SystemDisk.Size

integer

任意

システムディスクのサイズ (GiB 単位)。有効な値:

  • 基本ディスク: 20~500。

  • ESSD:
    • PL0: 1~2048。

    • PL1: 20~2048。

    • PL2: 461~2048。

    • PL3: 1261~2048。

  • ESSD AutoPL ディスク: 1~2048。

  • その他のディスクカテゴリ: 20~2048。

デフォルト値: max{20, 指定された ImageId パラメーターのイメージサイズ}。

80

SystemDisk.PerformanceLevel

string

任意

ディスクタイプが ESSD の場合のシステムディスクのパフォーマンスレベル。このパラメーターは SystemDiskCategory=cloud_essd の場合にのみ有効です。有効な値:

PL0。 PL1 (デフォルト)。 PL2。 PL3。

PL1

DataDisk.1.Size

integer

任意

データディスクの容量。

スケーラビリティを向上させるため、DataDisk.N.Size パラメーターの使用を推奨します。

2000

DataDisk.1.Category

string

任意

ディスクタイプ。

スケーラビリティを向上させるため、DataDisk.N.Category パラメーターの使用を推奨します。

列挙値:

  • cloud :

    基本ディスク。

  • cloud_efficiency :

    Ultra ディスク。

  • cloud_ssd :

    標準 SSD。

  • cloud_auto :

    ESSD AutoPL ディスク。

  • cloud_regional_disk_auto :

    リージョナル ESSD。

  • cloud_essd :

    ESSD (エンタープライズ SSD)。

  • elastic_ephemeral_disk_standard :

    エラスティックエフェメラルディスク - 標準。

  • cloud_essd_entry :

    ESSD Entry ディスク。

  • elastic_ephemeral_disk_premium :

    エラスティックエフェメラルディスク - Premium。

cloud_ssd

DataDisk.1.PerformanceLevel

string

任意

データディスクのパフォーマンスレベル。

スケーラビリティを向上させるため、DataDisk.N.PerformanceLevel パラメーターの使用を推奨します。

PL1

DataDisk.2.Size

integer

任意

データディスクの容量。

スケーラビリティを向上させるため、DataDisk.N.Size パラメーターの使用を推奨します。

200

DataDisk.2.Category

string

任意

ディスクタイプ。

スケーラビリティを向上させるため、DataDisk.N.Category パラメーターの使用を推奨します。

列挙値:

  • cloud :

    基本ディスク。

  • cloud_efficiency :

    Ultra ディスク。

  • cloud_ssd :

    標準 SSD。

  • cloud_auto :

    ESSD AutoPL ディスク。

  • cloud_regional_disk_auto :

    リージョナル ESSD。

  • cloud_essd :

    ESSD (エンタープライズ SSD)。

  • elastic_ephemeral_disk_standard :

    エラスティックエフェメラルディスク - 標準。

  • cloud_essd_entry :

    ESSD Entry ディスク。

  • elastic_ephemeral_disk_premium :

    エラスティックエフェメラルディスク - Premium。

cloud_ssd

DataDisk.2.PerformanceLevel

string

任意

データディスクのパフォーマンスレベル。

スケーラビリティを向上させるため、DataDisk.N.PerformanceLevel パラメーターの使用を推奨します。

PL1

DataDisk.3.Size

integer

任意

データディスクの容量。

スケーラビリティを向上させるため、DataDisk.N.Size パラメーターの使用を推奨します。

2000

DataDisk.3.Category

string

任意

ディスクタイプ。

スケーラビリティを向上させるため、DataDisk.N.Category パラメーターの使用を推奨します。

列挙値:

  • cloud :

    基本ディスク。

  • cloud_efficiency :

    Ultra ディスク。

  • cloud_ssd :

    標準 SSD。

  • cloud_auto :

    ESSD AutoPL ディスク。

  • cloud_regional_disk_auto :

    リージョナル ESSD。

  • cloud_essd :

    ESSD (エンタープライズ SSD)。

  • elastic_ephemeral_disk_standard :

    エラスティックエフェメラルディスク - 標準。

  • cloud_essd_entry :

    ESSD Entry ディスク。

  • elastic_ephemeral_disk_premium :

    エラスティックエフェメラルディスク - Premium。

cloud_ssd

DataDisk.3.PerformanceLevel

string

任意

データディスクのパフォーマンスレベル。

スケーラビリティを向上させるため、DataDisk.N.PerformanceLevel パラメーターの使用を推奨します。

PL1

DataDisk.4.Size

integer

任意

データディスクの容量。

スケーラビリティを向上させるため、DataDisk.N.Size パラメーターの使用を推奨します。

2000

DataDisk.4.Category

string

任意

ディスクタイプ。

スケーラビリティを向上させるため、DataDisk.N.Category パラメーターの使用を推奨します。

列挙値:

  • cloud :

    基本ディスク。

  • cloud_efficiency :

    Ultra ディスク。

  • cloud_ssd :

    標準 SSD。

  • cloud_auto :

    ESSD AutoPL ディスク。

  • cloud_regional_disk_auto :

    リージョナル ESSD。

  • cloud_essd :

    ESSD (エンタープライズ SSD)。

  • elastic_ephemeral_disk_standard :

    エラスティックエフェメラルディスク - 標準。

  • cloud_essd_entry :

    ESSD Entry ディスク。

  • elastic_ephemeral_disk_premium :

    エラスティックエフェメラルディスク - Premium。

cloud_ssd

DataDisk.4.PerformanceLevel

string

任意

データディスクのパフォーマンスレベル。

スケーラビリティを向上させるため、DataDisk.N.PerformanceLevel パラメーターの使用を推奨します。

PL1

Period

integer

任意

Elastic Compute Service (ECS) の課金期間。有効な値:

  • PriceUnit パラメーターが Month にセットされている場合: 1~9。

  • PriceUnit パラメーターが Year にセットされている場合: 1~5。

  • PriceUnit パラメーターが Hour にセットされている場合: 1。

デフォルト値: 1。

1

PriceUnit

string

任意

異なる課金サイクルの Elastic Compute Service (ECS) 価格をクエリするための料金単位。有効な値:

  • Month: 月単位の料金。

  • Year: 年単位の料金。

  • Hour (デフォルト): 時間単位の料金。

Year

Amount

integer

任意

バッチで購入する Elastic Compute Service (ECS) インスタンスの数。このパラメーターを使用して、特定の構成のインスタンスをバッチ購入する場合の価格をクエリできます。有効な値: 1~1000。

デフォルト値: 1。

1

OfferingType

string

任意

リザーブドインスタンスの支払い方法。有効な値:

  • No Upfront: 前払いなし。

  • Partial Upfront: 一部前払い。

  • All Upfront: 全額前払い。

All Upfront

InstanceAmount

integer

任意

インスタンスタイプ内で予約するインスタンスの合計数。

有効な値: 1~1000。

100

Scope

string

任意

リザーブドインスタンスの範囲。有効な値:

  • Region: リージョン。

  • Zone: ゾーン。

デフォルト値: Region。

Zone

Platform

string

任意

インスタンスが使用するイメージのオペレーティングシステムタイプ。有効な値:

  • Windows: Windows サーバーオペレーティングシステム。

  • Linux: Linux および Unix 系オペレーティングシステム。

Linux

Capacity

integer

任意

容量 (GiB 単位)。

1024

AssuranceTimes

string

任意

エラスティシティアシュアランスを適用できる合計回数。値を Unlimited にセットします。サービス有効期間内の無制限版モードのみがサポートされます。

デフォルト値: Unlimited。

Unlimited

InstanceCpuCoreCount

integer

任意

エラスティシティアシュアランスでサポートされる vCPU の合計数。この操作を呼び出すと、指定された InstanceType に基づいてエラスティシティアシュアランスに必須のインスタンス数が計算されます (切り上げ)。

説明

この操作を呼び出してエラスティシティアシュアランスの価格をクエリする場合、InstanceCoreCpuCount と InstanceAmount のいずれか一方のみを指定できます。

1024

Isp

string

任意

インターネットサービスプロバイダー (ISP)。有効な値:

  • cmcc: China Mobile。

  • telecom: China Telecom。

  • unicom: China Unicom。

  • multiCarrier: マルチ ISP。

cmcc

InstanceTypeList

array

任意

インスタンスタイプ。無制限版エラスティシティアシュアランスサービスには、単一のインスタンスタイプのみを指定できます。

ecs.g6.xlarge

string

任意

インスタンスタイプ。無制限版エラスティシティアシュアランスサービスには、単一のインスタンスタイプのみを指定できます。

ecs.c6.xlarge

SpotStrategy

string

任意

従量課金インスタンスの入札ポリシー。有効な値:

  • NoSpot: 通常の従量課金インスタンス。

  • SpotWithPriceLimit: 値幅制限付きのスポットインスタンス。

  • SpotAsPriceGo: 従量課金価格を最大値とする市場価格のスポットインスタンス。

デフォルト値: NoSpot。

説明

このパラメーターは PriceUnit=Hour かつ Period=1 の場合にのみ効果があります。PriceUnit のデフォルト値は HourPeriod のデフォルト値は 1 であるため、このパラメーターを指定する際に PriceUnitPeriod をセットする必要はありません。

NoSpot

SpotDuration

integer

任意

スポットインスタンスの保護期間 (時間単位)。デフォルト値: 1。有効な値:

  • 1: スポットインスタンスの作成後、Alibaba Cloud はインスタンスが 1 時間自動的にリリースされないことを保証します。1 時間後、システムは入札価格と市場価格を自動的に比較し、リソースの可用性を確認して、インスタンスを保持するか自動リリースするかを決定します。

  • 0: スポットインスタンスの作成後、Alibaba Cloud はインスタンスが 1 時間実行されることを保証しません。システムは入札価格と市場価格を自動的に比較し、リソースの可用性を確認して、インスタンスを保持するか自動リリースするかを決定します。

Alibaba Cloud はインスタンスがリリースされる 5 分前に ECS システムイベント通知を送信します。スポットインスタンスは秒単位で課金されます。予想されるタスク実行時間に基づいて適切な保護期間を選択してください。

説明

このパラメーターは SpotStrategy が SpotWithPriceLimit または SpotAsPriceGo にセットされている場合にのみ効果があります。

1

ZoneId

string

任意

ゾーン ID。

説明

スポットインスタンスの価格はゾーンによって異なる場合があります。スポットインスタンスの価格をクエリする場合、ZoneId を指定して特定のゾーンの価格をクエリしてください。

cn-hagzhou-i

DataDisk

array<object>

任意

データディスクのリスト。

object

任意

データディスクのリスト。

Category

string

任意

データディスク N のカテゴリ。有効な値:

  • cloud: 基本ディスク。

  • cloud_efficiency: Ultra ディスク。

  • cloud_ssd: 標準 SSD。

  • ephemeral_ssd: ローカル SSD。

  • cloud_essd: ESSD (エンタープライズ SSD)。

  • cloud_auto: ESSD AutoPL ディスク。

N の有効な値: 1~16。

cloud_ssd

Size

integer

任意

データディスク N のサイズ (GiB 単位)。有効な値:

  • cloud: 5~2000。

  • cloud_efficiency: 20~32768。

  • cloud_ssd: 20~32768。

  • cloud_auto: 1~32768。

  • cloud_essd: 有効な値は DataDisk.N.PerformanceLevel の値によって異なります。
    • PL0: 1~32768。

    • PL1: 20~32768。

    • PL2: 461~32768。

    • PL3: 1261~32768。

  • ephemeral_ssd: 5~800。

N の有効な値: 1~16。

2000

PerformanceLevel

string

任意

ディスクタイプが ESSD の場合のデータディスク N のパフォーマンスレベル。このパラメーターは DataDisk.N.Category=cloud_essd の場合にのみ有効です。有効な値:

  • PL0。

  • PL1 (デフォルト)。

  • PL2。

  • PL3。

N の有効な値: 1~16。

PL1

ProvisionedIops

integer

任意

ESSD AutoPL ディスクのプロビジョニング読み取り/書き込み IOPS。有効な値: 0~min{50,000, 1000 × 容量 - ベースラインパフォーマンス}。

ベースラインパフォーマンス = min{1,800 + 50 × 容量, 50000}。

説明

このパラメーターは DiskCategorycloud_auto にセットされている場合にのみサポートされます。詳細については、ESSD AutoPL ディスク を参照してください。

40000

SchedulerOptions.DedicatedHostId

string

任意

このパラメーターは、ResourceType が instance にセットされている場合にのみ効果があります。

専用ホスト ID。 DescribeDedicatedHosts を呼び出して、専用ホスト ID のリストをクエリできます。

dh-bp67acfmxazb4p****

StartTime

string

任意

タイムシェアリングエラスティシティアシュアランスが効果を発揮する有効期間。ISO 8601 標準の yyyy-MM-ddTHH:mm:ssZ 形式で時間を指定します。時間は協定世界時 (UTC) である必要があります。詳細については、ISO 8601 を参照してください。

2020-10-30T06:32:00Z

RecurrenceRules

array<object>

任意

タイムシェアリングエラスティシティアシュアランスの繰り返し頻度ルールのリスト。

説明

タイムシェアリングエラスティシティアシュアランス機能は、特定のリージョンおよび特定のユーザーのみが利用できます。この機能を使用するには、チケットを送信 してください。

object

任意

タイムシェアリングエラスティシティアシュアランスの繰り返し頻度ルール。

説明
  • 繰り返し頻度ルールを変更する場合、変更前後の合計アシュアランス期間は同じである必要があります。変更例の詳細については、繰り返し頻度ルールの変更 を参照してください。

  • 変更された繰り返し頻度ルールは翌日に効果を発揮します。

StartHour

integer

任意

タイムシェアリングアシュアランスの有効期間の開始時間 (時)。値は整数時間である必要があります。

説明

StartHour と EndHour の両方を指定する必要があり、両者の差は少なくとも 4 時間である必要があります。

4

RecurrenceType

string

任意

繰り返し頻度ルールのタイプ。有効な値:

  • Daily: 毎日の繰り返し頻度。

  • Weekly: 毎週の繰り返し頻度。

  • Monthly: 毎月の繰り返し頻度。

説明

RecurrenceTypeRecurrenceValue の両方を指定する必要があります。

Daily

EndHour

integer

任意

タイムシェアリングアシュアランスの終了時間 (時)。値は整数時間である必要があります。

10

RecurrenceValue

string

任意

繰り返し頻度ルールの値。

  • RecurrenceTypeDaily にセットされている場合、1 つの値のみを指定できます。有効な値: 1~31。この値は繰り返し間の日数間隔を示します。

  • RecurrenceTypeWeekly にセットされている場合、カンマ (,) で区切って複数の値を指定できます。日曜日、月曜日、火曜日、水曜日、木曜日、金曜日、土曜日の値はそれぞれ 0、1、2、3、4、5、6 です。例えば、1,2 は月曜日と火曜日を示します。

  • RecurrenceTypeMonthly にセットされている場合、形式は A-B です。A と B の有効な値: 1~31。B は A 以上である必要があります。例えば、1-5 は毎月 1 日から 5 日を示します。

説明

RecurrenceTypeRecurrenceValue の両方を指定する必要があります。

5

SchedulerOptions.DeploymentSetStrategy

string

任意

デプロイメントセットの戦略。有効な値:

  • Availability: 高可用性。

  • AvailabilityGroup: デプロイメントセットグループ高可用性。

  • LowLatency: 低ネットワーク

ProximityLooseDispersion

レスポンスフィールド

フィールド

説明

object

RequestId

string

リクエスト ID

473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

PriceInfo

object

The price information, including the price and promotion rules.

Rules

object

Rule

array<object>

プロモーションルールです。

object

Description

string

プロモーションルールの説明です。

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

RuleId

integer

ルール ID です。

587

Price

object

価格。

OriginalPrice

number

定価です。

4368

ReservedInstanceHourPrice

number

No Upfront または Partial Upfront リザーブドインスタンスバウチャーの時間単価です。

1

DiscountPrice

number

割引額です。

655.2

Currency

string

通貨です。

中国本土のサイトでは CNY です。

国際サイトでは USD です。

CNY

TradePrice

number

取引価格です。OriginalPrice - DiscountPrice で計算されます。

3712.8

DetailInfos

object

DetailInfo

array<object>

インスタンス構成の詳細な料金情報です。

説明

このパラメーターは、ResourceTypeinstance の場合にのみ返されます。

array<object>

OriginalPrice

number

定価です。

4368

DiscountPrice

number

割引額です。

655.2

Resource

string

リソースコンポーネントの名前です。有効値:

  • instanceType:インスタンス

  • bandwidth:帯域幅

  • image:イメージ

  • systemDisk:システムディスク

  • dataDisk:データディスク

instanceType

SubRules

object

Rule

array<object>

このリソースコンポーネントの料金サブルールです。

object

Description

string

料金サブルールの説明です。

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

RuleId

integer

ルール ID です。

587

TradePrice

number

このリソースコンポーネントの取引価格です。

3712.8

RelatedPrice

object

関連価格。

MarketplaceImagePrice

object

マーケットプレイスイメージの料金です。

Currency

string

通貨です。

中国本土のサイトでは CNY です。

国際サイトでは USD です。

CNY

OriginalPrice

number

定価です。

100

DiscountPrice

number

割引額です。

0

TradePrice

number

取引価格です。OriginalPrice - DiscountPrice で計算されます。

100

成功レスポンス

JSONJSON

{
  "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
      }
    }
  }
}

エラーコード

HTTP ステータスコード

エラーコード

エラーメッセージ

説明

400 InvalidParameter.RecurrenceRules The specified parameter RecurrenceRules is invalid.
400 InvalidRecurrenceRules.CountLimitExceeded The count of RecurrenceRules exceeds the limit.
400 InvalidRecurrenceRulesStartHourEndHour.TooShort The recurrence hour between RecurrenceRules.StartHour and RecurrenceRules.EndHour is too short.
400 InvalidParameter.RecurrenceRulesStartHourEndHour The specified parameter RecurrenceRules.StartHour or RecurrenceRules.EndHour is invalid.
400 InvalidParameter.RecurrenceRulesRecurrenceValueMonthly The specified parameter RecurrenceRules.RecurrenceValue for Monthly is invalid.
400 InvalidParameter.RecurrenceRulesRecurrenceValueWeekly The specified parameter RecurrenceRules.RecurrenceValue for Weekly is invalid.
400 InvalidParameter.RecurrenceRulesRecurrenceValueDaily The specified parameter RecurrenceRules.RecurrenceValue for Daily is invalid.
400 InvalidParameter.RecurrenceRulesRecurrenceType The specified parameter RecurrenceRules.RecurrenceType is invalid.
400 InvalidStartTime.NotSupported The StartTime of TimeDivisionElasticityAssurance cannot between any of active time ranges.
400 InvalidSpotAuthorized The specified Spot param is unauthorized.
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.
400 InvalidSystemDiskCategory.ValueNotSupported The specified parameter "SystemDisk.Category" is not valid.
400 InvalidDataDiskSize.ValueNotSupported The specified DataDisk.n.Size beyond the permitted range, or the capacity of snapshot exceeds the size limit of the specified disk category.
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.
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.
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.
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.
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.
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.
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.
400 OperationDenied.TestAccountRetricted Test-account for testing has been prohibited from creating instance in this region. Please contact 400181.
400 UnsupportedIspNetworkChargeType The network charge type is not supported when specifying ISP.
400 EncryptedOption.Conflict Disk encryption attributes conflict.
400 InvalidSystemDiskSize.ValueNotSupported The specified parameter SystemDisk.Size is invalid
400 UnsupportedIspChargeType The specified Isp does not support the charge type.
400 InvalidInstanceType.NotSupported The specified instanceType is not supported by the image architecture.
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.
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.
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.
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.
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.
403 UnsupportedIspRegion The specified region does not support Isp.
403 InvalidIspBandwidthOut The specified parameter InternetMaxBandwidthOut should be larger than 0 when specifying parameter Isp.
403 InstanceType.Offline The specified InstanceType has been offline
403 InvalidIspUID The current account does not have permission to specify the Isp parameter.
403 UnsupportedIspClassicNetwork The Isp parameter is not supported in the classic network.
403 InvalidIspType.ValueNotSupported The specified parameter Isp is invalid.
403 InvalidSystemDiskCategory.ValueNotSupported The specified parameter SystemDisk.Category is not valid.
403 InvalidDataDiskCategory.ValueNotSupported The specified Category of Data Disk is not valid.
404 InvalidRegionId.NotFound The RegionId provided does not exist in our records.
404 OperationDenied The specified Image is disabled or is deleted.
404 InvalidImageId.NotFound The specified ImageId does not exist.
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.
404 InvalidInstanceType.Missing The InstanceType parameter that is mandatory for processing the request is not provided.
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.

完全なリストについては、「エラーコード」をご参照ください。

変更履歴

完全なリストについては、「変更履歴」をご参照ください。