All Products
Search
Document Center

Elastic Compute Service:DescribePrice

Last Updated:Jul 04, 2026

Mengkueri harga terbaru resource tertentu. Anda dapat mengkueri harga terbaru Instans ECS, disk, host khusus, layanan jaminan elastisitas, dan layanan reservasi kapasitas berdasarkan tipe resource. Respons mencakup aturan promosi, harga, dan diskon.

Deskripsi operasi

Pengaturan parameter bervariasi berdasarkan tipe resource:

  • Saat ResourceType=instance, Anda juga harus menentukan InstanceType. Secara default, harga metode penagihan bayar sesuai pemakaian (PostPaid) (ChargeType) dikueri. Anda dapat menentukan parameter PriceUnit untuk mengkueri harga Elastic Compute Service (ECS) untuk siklus penagihan yang berbeda.

  • Saat ResourceType=disk, Anda juga harus menentukan DataDisk.1.Category dan DataDisk.1.Size. Saat Anda mengkueri harga resource disk, hanya harga bayar sesuai pemakaian dari disk yang dikembalikan. Ini berarti parameter PriceUnit hanya dapat diatur ke Hour.

  • Saat ResourceType=diskperformance, Anda juga harus menentukan DataDisk.1.Category dan DataDisk.1.ProvisionedIops.

  • Saat ResourceType=ddh, Anda juga harus menentukan DedicatedHostType.

  • Saat ResourceType=ElasticityAssurance, Anda juga harus menentukan InstanceType.

  • Saat ResourceType=CapacityReservation, Anda juga harus menentukan InstanceType.

  • Saat ResourceType=bandwidth, hanya harga bayar per trafik (PayByTraffic) yang dikembalikan.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tabel berikut menjelaskan otorisasi yang diperlukan untuk memanggil API ini. Anda dapat menentukannya dalam kebijakan Resource Access Management (RAM). Kolom pada tabel dijelaskan sebagai berikut:

  • Action: Aksi yang dapat digunakan dalam elemen Action pada pernyataan kebijakan izin RAM untuk memberikan izin guna melakukan operasi tersebut.

  • API: API yang dapat Anda panggil untuk melakukan aksi tersebut.

  • Access level: Tingkat akses yang telah ditentukan untuk setiap API. Nilai yang valid: create, list, get, update, dan delete.

  • Resource type: Jenis resource yang mendukung otorisasi untuk melakukan aksi tersebut. Ini menunjukkan apakah aksi tersebut mendukung izin tingkat resource. Resource yang ditentukan harus kompatibel dengan aksi tersebut. Jika tidak, kebijakan tersebut tidak akan berlaku.

    • Untuk API dengan izin tingkat resource, jenis resource yang diperlukan ditandai dengan tanda bintang (*). Tentukan Nama Sumber Daya Alibaba Cloud (ARN) yang sesuai dalam elemen Resource pada kebijakan.

    • Untuk API tanpa izin tingkat resource, ditampilkan sebagai All Resources. Gunakan tanda bintang (*) dalam elemen Resource pada kebijakan.

  • Condition key: Kunci kondisi yang didefinisikan oleh layanan. Kunci ini memungkinkan kontrol granular, berlaku baik hanya untuk aksi maupun untuk aksi yang terkait dengan resource tertentu. Selain kunci kondisi spesifik layanan, Alibaba Cloud menyediakan serangkaian common condition keys yang berlaku di semua layanan yang didukung RAM.

  • Dependent action: Aksi dependen yang diperlukan untuk menjalankan aksi tersebut. Untuk menyelesaikan aksi tersebut, pengguna RAM atau role RAM harus memiliki izin untuk melakukan semua aksi dependen.

Action

Access level

Resource type

Condition key

Dependent action

ecs:DescribePrice

get

*全部资源

*

None None

Parameter permintaan

Parameter

Type

Required

Description

Example

RegionId

string

Yes

ID wilayah. Anda dapat memanggil DescribeRegions untuk mengkueri daftar wilayah terbaru.

cn-hangzhou

ResourceType

string

No

Tipe resource. Nilai valid:

  • instance: mengkueri daftar harga terbaru Instans ECS. Saat parameter ini diatur ke instance, Anda juga harus menentukan InstanceType.

  • disk: mengkueri daftar harga terbaru disk. Saat parameter ini diatur ke disk, Anda juga harus menentukan DataDisk.1.Category dan DataDisk.1.Size.

  • diskperformance: mengkueri daftar harga terbaru performa yang disediakan untuk disk ESSD AutoPL. Anda juga harus menentukan DataDisk.1.Category dan DataDisk.1.ProvisionedIops.

  • bandwidth: mengkueri daftar harga terbaru bandwidth.

  • ddh: mengkueri daftar harga terbaru host khusus.

  • ElasticityAssurance: mengkueri harga layanan jaminan elastisitas. Saat parameter ini diatur ke ElasticityAssurance, Anda juga harus menentukan InstanceType.

  • CapacityReservation: mengkueri harga layanan reservasi kapasitas. Saat parameter ini diatur ke CapacityReservation, Anda juga harus menentukan InstanceType.

Nilai default: instance.

instance

ImageId

string

No

Parameter ini hanya berlaku saat ResourceType diatur ke instance.

ID image, yang menentukan lingkungan runtime untuk dimuat saat Instans dimulai. Anda dapat memanggil DescribeImages untuk mengkueri resource image yang tersedia. Jika Anda tidak menentukan parameter ini, harga image Linux dikueri secara default.

centos_7_05_64_20G_alibase_20181212.vhd

InstanceType

string

No

Tipe instans. Anda harus menentukan parameter ini saat ResourceType diatur ke instance. Untuk detail lebih lanjut, lihat keluarga instans. Anda juga dapat memanggil DescribeInstanceTypes untuk mengkueri daftar tipe instans terbaru.

ecs.g6.large

DedicatedHostType

string

No

Tipe host spesifikasi khusus. Anda dapat memanggil DescribeDedicatedHostTypes untuk mengkueri daftar tipe host spesifikasi khusus terbaru.

ddh.c5

IoOptimized

string

No

Apakah instans yang dikueri adalah instans yang dioptimalkan I/O. Nilai valid:

  • none: non-optimalisasi I/O.

  • optimized: dioptimalkan I/O.

Jika InstanceType adalah tipe instans Seri I, nilai defaultnya adalah none.

Jika InstanceType bukan tipe instans Seri I, nilai defaultnya adalah optimized.

optimized

InstanceNetworkType

string

No

Jenis jaringan instans. Nilai valid:

  • vpc: Virtual Private Cloud (VPC).

  • classic: jaringan klasik. Jaringan klasik tidak lagi tersedia. Untuk informasi lebih lanjut, lihat Pemberitahuan penghentian.

Nilai default: vpc.

vpc

InternetChargeType

string

No

Metode penagihan untuk lebar pita jaringan. Nilai valid:

  • PayByBandwidth: bayar per bandwidth.

  • PayByTraffic: bayar per trafik.

Nilai default: PayByTraffic.

PayByTraffic

InternetMaxBandwidthOut

integer

No

Bandwidth publik arah keluar maksimum, dalam Mbit/s. Nilai valid: 0 hingga 100.

Nilai default: 0.

5

SystemDisk.Category

string

No

Kategori disk sistem. Anda juga harus menentukan ImageId saat mengkueri harga disk sistem. Nilai valid:

  • cloud: disk dasar.

  • cloud_efficiency: disk ultra.

  • cloud_ssd: SSD standar.

  • ephemeral_ssd: SSD lokal.

  • cloud_essd: SSD Perusahaan (ESSD).

  • cloud_auto: disk ESSD AutoPL.

Deskripsi nilai default:

  • Jika InstanceType adalah tipe instans yang dihentikan dan IoOptimized diatur ke none, nilai defaultnya adalah cloud.

  • Dalam kasus lain, nilai defaultnya adalah cloud_efficiency.

cloud_ssd

SystemDisk.Size

integer

No

Ukuran disk sistem, dalam GiB. Nilai valid:

  • Disk dasar: 20 hingga 500.

  • ESSD:
    • PL0: 1 hingga 2048.

    • PL1: 20 hingga 2048.

    • PL2: 461 hingga 2048.

    • PL3: 1261 hingga 2048.

  • Disk ESSD AutoPL: 1 hingga 2048.

  • Kategori disk lainnya: 20 hingga 2048.

Nilai default: max{20, ukuran image dari parameter ImageId yang ditentukan}.

80

SystemDisk.PerformanceLevel

string

No

Tingkat kinerja disk sistem saat tipe disk adalah ESSD. Parameter ini hanya valid saat SystemDiskCategory=cloud_essd. Nilai valid:

PL0. PL1 (default). PL2. PL3.

PL1

DataDisk.1.Size

integer

No

Kapasitas disk data.

Kami menyarankan Anda menggunakan parameter DataDisk.N.Size untuk skalabilitas yang lebih baik.

2000

DataDisk.1.Category

string

No

Tipe disk.

Kami menyarankan Anda menggunakan parameter DataDisk.N.Category untuk skalabilitas yang lebih baik.

Valid values:

  • cloud :

    Disk dasar.

  • cloud_efficiency :

    Disk ultra.

  • cloud_ssd :

    SSD standar.

  • cloud_auto :

    Disk ESSD AutoPL.

  • cloud_regional_disk_auto :

    ESSD Regional.

  • cloud_essd :

    SSD Perusahaan.

  • elastic_ephemeral_disk_standard :

    Disk efemeral elastis - Standar.

  • cloud_essd_entry :

    Disk ESSD Entry.

  • elastic_ephemeral_disk_premium :

    Disk efemeral elastis - Premium.

cloud_ssd

DataDisk.1.PerformanceLevel

string

No

Tingkat kinerja disk data.

Kami menyarankan Anda menggunakan parameter DataDisk.N.PerformanceLevel untuk skalabilitas yang lebih baik.

PL1

DataDisk.2.Size

integer

No

Kapasitas disk data.

Kami menyarankan Anda menggunakan parameter DataDisk.N.Size untuk skalabilitas yang lebih baik.

200

DataDisk.2.Category

string

No

Tipe disk.

Kami menyarankan Anda menggunakan parameter DataDisk.N.Category untuk skalabilitas yang lebih baik.

Valid values:

  • cloud :

    Disk dasar.

  • cloud_efficiency :

    Disk ultra.

  • cloud_ssd :

    SSD standar.

  • cloud_auto :

    Disk ESSD AutoPL.

  • cloud_regional_disk_auto :

    ESSD Regional.

  • cloud_essd :

    SSD Perusahaan.

  • elastic_ephemeral_disk_standard :

    Disk efemeral elastis - Standar.

  • cloud_essd_entry :

    Disk ESSD Entry.

  • elastic_ephemeral_disk_premium :

    Disk efemeral elastis - Premium.

cloud_ssd

DataDisk.2.PerformanceLevel

string

No

Tingkat kinerja disk data.

Kami menyarankan Anda menggunakan parameter DataDisk.N.PerformanceLevel untuk skalabilitas yang lebih baik.

PL1

DataDisk.3.Size

integer

No

Kapasitas disk data.

Kami menyarankan Anda menggunakan parameter DataDisk.N.Size untuk skalabilitas yang lebih baik.

2000

DataDisk.3.Category

string

No

Tipe disk.

Kami menyarankan Anda menggunakan parameter DataDisk.N.Category untuk skalabilitas yang lebih baik.

Valid values:

  • cloud :

    Disk dasar.

  • cloud_efficiency :

    Disk ultra.

  • cloud_ssd :

    SSD standar.

  • cloud_auto :

    Disk ESSD AutoPL.

  • cloud_regional_disk_auto :

    ESSD Regional.

  • cloud_essd :

    SSD Perusahaan.

  • elastic_ephemeral_disk_standard :

    Disk efemeral elastis - Standar.

  • cloud_essd_entry :

    Disk ESSD Entry.

  • elastic_ephemeral_disk_premium :

    Disk efemeral elastis - Premium.

cloud_ssd

DataDisk.3.PerformanceLevel

string

No

Tingkat kinerja disk data.

Kami menyarankan Anda menggunakan parameter DataDisk.N.PerformanceLevel untuk skalabilitas yang lebih baik.

PL1

DataDisk.4.Size

integer

No

Kapasitas disk data.

Kami menyarankan Anda menggunakan parameter DataDisk.N.Size untuk skalabilitas yang lebih baik.

2000

DataDisk.4.Category

string

No

Tipe disk.

Kami menyarankan Anda menggunakan parameter DataDisk.N.Category untuk skalabilitas yang lebih baik.

Valid values:

  • cloud :

    Disk dasar.

  • cloud_efficiency :

    Disk ultra.

  • cloud_ssd :

    SSD standar.

  • cloud_auto :

    Disk ESSD AutoPL.

  • cloud_regional_disk_auto :

    ESSD Regional.

  • cloud_essd :

    SSD Perusahaan.

  • elastic_ephemeral_disk_standard :

    Disk efemeral elastis - Standar.

  • cloud_essd_entry :

    Disk ESSD Entry.

  • elastic_ephemeral_disk_premium :

    Disk efemeral elastis - Premium.

cloud_ssd

DataDisk.4.PerformanceLevel

string

No

Tingkat kinerja disk data.

Kami menyarankan Anda menggunakan parameter DataDisk.N.PerformanceLevel untuk skalabilitas yang lebih baik.

PL1

Period

integer

No

Durasi penagihan Elastic Compute Service (ECS). Nilai valid:

  • Jika parameter PriceUnit diatur ke Month: 1 hingga 9.

  • Jika parameter PriceUnit diatur ke Year: 1 hingga 5.

  • Jika parameter PriceUnit diatur ke Hour: 1.

Nilai default: 1.

1

PriceUnit

string

No

Unit harga untuk mengkueri harga Elastic Compute Service (ECS) di berbagai siklus penagihan. Nilai valid:

  • Month: unit harga bulanan.

  • Year: unit harga tahunan.

  • Hour (default): unit harga per jam.

Year

Amount

integer

No

Jumlah instans Elastic Compute Service (ECS) yang ingin Anda beli secara batch. Anda dapat menggunakan parameter ini untuk mengkueri harga pembelian batch instans dengan konfigurasi tertentu. Nilai valid: 1 hingga 1000.

Nilai default: 1.

1

OfferingType

string

No

Opsi pembayaran Instans terjadwal. Nilai valid:

  • No Upfront: tanpa pembayaran di muka.

  • Partial Upfront: sebagian di muka.

  • All Upfront: lunas di muka.

All Upfront

InstanceAmount

integer

No

Jumlah total instans yang akan dipesan dalam satu tipe instans.

Nilai valid: 1 hingga 1000.

100

Scope

string

No

Cakupan Instans terjadwal. Nilai valid:

  • Wilayah: regional.

  • Zone: zonal.

Nilai default: Wilayah.

Zone

Platform

string

No

Tipe sistem operasi image yang digunakan oleh instans. Nilai valid:

  • Windows: sistem operasi Windows Server.

  • Linux: sistem operasi Linux dan sejenis Unix.

Linux

Capacity

integer

No

Kapasitas, dalam GiB.

1024

AssuranceTimes

string

No

Jumlah total kali jaminan elastisitas dapat diterapkan. Atur nilainya ke Tanpa Batas. Hanya mode unlimited dalam periode efektif layanan yang didukung.

Nilai default: Tanpa Batas.

Unlimited

InstanceCpuCoreCount

integer

No

Jumlah total vCPU yang didukung oleh jaminan elastisitas. Saat Anda memanggil operasi ini, sistem menghitung jumlah instans yang diperlukan oleh jaminan elastisitas berdasarkan InstanceType yang ditentukan (dibulatkan ke atas).

Catatan

Saat Anda memanggil operasi ini untuk mengkueri harga jaminan elastisitas, Anda hanya dapat menentukan salah satu dari InstanceCoreCpuCount dan InstanceAmount.

1024

Isp

string

No

Penyedia Layanan Internet (ISP). Nilai valid:

  • cmcc: China Mobile.

  • telecom: China Telecom.

  • unicom: China Unicom.

  • multiCarrier: multi-ISP.

cmcc

InstanceTypeList

array

No

Tipe instans. Hanya satu tipe instans yang dapat ditentukan untuk layanan jaminan elastisitas unlimited.

ecs.g6.xlarge

string

No

Tipe instans. Hanya satu tipe instans yang dapat ditentukan untuk layanan jaminan elastisitas unlimited.

ecs.c6.xlarge

SpotStrategy

string

No

Kebijakan penawaran untuk instans bayar sesuai pemakaian. Nilai valid:

  • NoSpot: instans bayar sesuai pemakaian reguler.

  • SpotWithPriceLimit: spot instans dengan batas harga maksimum.

  • SpotAsPriceGo: spot instans dengan harga pasar dan harga bayar sesuai pemakaian sebagai batas atas.

Nilai default: NoSpot.

Catatan

Parameter ini hanya berlaku saat PriceUnit=Hour dan Period=1. Karena nilai default PriceUnit adalah Hour dan nilai default Period adalah 1, Anda tidak perlu mengatur PriceUnit atau Period saat menentukan parameter ini.

NoSpot

SpotDuration

integer

No

Periode perlindungan spot instans, dalam jam. Nilai default: 1. Nilai valid:

  • 1: Setelah spot instans dibuat, Alibaba Cloud memastikan bahwa instans tidak dilepaskan secara otomatis selama 1 jam. Setelah 1 jam, sistem secara otomatis membandingkan harga penawaran dengan harga pasar dan memeriksa ketersediaan resource untuk menentukan apakah akan mempertahankan pelepasan otomatis instans.

  • 0: Setelah spot instans dibuat, Alibaba Cloud tidak memastikan bahwa instans berjalan selama 1 jam. Sistem secara otomatis membandingkan harga penawaran dengan harga pasar dan memeriksa ketersediaan resource untuk menentukan apakah akan mempertahankan pelepasan otomatis instans.

Alibaba Cloud mengirimkan notifikasi peristiwa sistem ECS 5 menit sebelum instans dilepaskan. Spot instans ditagih per detik. Pilih periode perlindungan yang sesuai berdasarkan durasi eksekusi tugas yang diharapkan.

Catatan

Parameter ini hanya berlaku saat SpotStrategy diatur ke SpotWithPriceLimit atau SpotAsPriceGo.

1

ZoneId

string

No

ID zona.

Catatan

Harga spot instans dapat bervariasi antar zona. Saat Anda mengkueri harga spot instans, tentukan ZoneId untuk mengkueri harga di zona tertentu.

cn-hagzhou-i

DataDisk

array<object>

No

Daftar disk data.

object

No

Daftar disk data.

Category

string

No

Kategori disk data N. Nilai valid:

  • cloud: disk dasar.

  • cloud_efficiency: disk ultra.

  • cloud_ssd: SSD standar.

  • ephemeral_ssd: SSD lokal.

  • cloud_essd: SSD Perusahaan (ESSD).

  • cloud_auto: disk ESSD AutoPL.

Nilai valid N: 1 hingga 16.

cloud_ssd

Size

integer

No

Ukuran disk data N, dalam GiB. Nilai valid:

  • cloud: 5 hingga 2000.

  • cloud_efficiency: 20 hingga 32768.

  • cloud_ssd: 20 hingga 32768.

  • cloud_auto: 1 hingga 32768.

  • cloud_essd: Nilai valid bergantung pada nilai DataDisk.N.PerformanceLevel.
    • PL0: 1 hingga 32768.

    • PL1: 20 hingga 32768.

    • PL2: 461 hingga 32768.

    • PL3: 1261 hingga 32768.

  • ephemeral_ssd: 5 hingga 800.

Nilai valid N: 1 hingga 16.

2000

PerformanceLevel

string

No

Tingkat kinerja disk data N saat tipe disk adalah ESSD. Parameter ini hanya valid saat DataDisk.N.Category=cloud_essd. Nilai valid:

  • PL0.

  • PL1 (default).

  • PL2.

  • PL3.

Nilai valid N: 1 hingga 16.

PL1

ProvisionedIops

integer

No

IOPS baca/tulis yang disediakan dari disk ESSD AutoPL. Nilai valid: 0 hingga min{50.000, 1000 × kapasitas - garis dasar kinerja}.

Garis dasar kinerja = min{1.800 + 50 × kapasitas, 50000}.

Catatan

Parameter ini hanya didukung saat DiskCategory diatur ke cloud_auto. Untuk informasi lebih lanjut, lihat Disk ESSD AutoPL.

40000

SchedulerOptions.DedicatedHostId

string

No

Parameter ini hanya berlaku saat ResourceType diatur ke instance.

ID host spesifikasi khusus. Anda dapat memanggil DescribeDedicatedHosts untuk mengkueri daftar ID host spesifikasi khusus.

dh-bp67acfmxazb4p****

StartTime

string

No

Periode efektif saat jaminan elastisitas berbagi waktu mulai berlaku. Tentukan waktu dalam standar ISO 8601 dengan format yyyy-MM-ddTHH:mm:ssZ. Waktu harus dalam UTC+0. Untuk informasi lebih lanjut, lihat ISO 8601.

2020-10-30T06:32:00Z

RecurrenceRules

array<object>

No

Daftar aturan pengulangan untuk jaminan elastisitas pengatur waktu.

Catatan

Fitur jaminan elastisitas pengatur waktu hanya tersedia di wilayah tertentu dan untuk pengguna tertentu. Untuk menggunakan fitur ini, ajukan tiket.

object

No

Aturan pengulangan untuk jaminan elastisitas berbagi waktu.

Catatan
  • Saat Anda memodifikasi aturan pengulangan, total durasi jaminan sebelum dan setelah modifikasi harus sama. Untuk contoh modifikasi lebih lanjut, lihat Memodifikasi aturan pengulangan.

  • Aturan pengulangan yang dimodifikasi berlaku pada hari berikutnya.

StartHour

integer

No

Jam mulai periode efektif jaminan berbagi waktu. Nilainya harus berupa jam penuh.

Catatan

Anda harus menentukan StartHour dan EndHour, dan selisih di antaranya harus setidaknya 4 jam.

4

RecurrenceType

string

No

Tipe aturan pengulangan. Nilai valid:

  • Daily: pengulangan harian.

  • Weekly: pengulangan mingguan.

  • Monthly: pengulangan bulanan.

Catatan

Anda harus menentukan RecurrenceType dan RecurrenceValue.

Daily

EndHour

integer

No

Jam akhir jaminan berbagi waktu. Nilainya harus berupa jam penuh.

10

RecurrenceValue

string

No

Nilai aturan pengulangan.

  • Jika RecurrenceType diatur ke Daily, Anda hanya dapat menentukan satu nilai. Nilai valid: 1 hingga 31. Nilai ini menunjukkan interval dalam hari antara pengulangan.

  • Jika RecurrenceType diatur ke Weekly, Anda dapat menentukan beberapa nilai yang dipisahkan oleh koma (,). Nilai untuk Minggu, Senin, Selasa, Rabu, Kamis, Jumat, dan Sabtu adalah 0, 1, 2, 3, 4, 5, dan 6. Misalnya, 1,2 menunjukkan Senin dan Selasa.

  • Jika RecurrenceType diatur ke Monthly, formatnya adalah A-B. Nilai valid A dan B: 1 hingga 31. B harus lebih besar atau sama dengan A. Misalnya, 1-5 menunjukkan tanggal 1 hingga 5 setiap bulan.

Catatan

Anda harus menentukan RecurrenceType dan RecurrenceValue.

5

SchedulerOptions.DeploymentSetStrategy

string

No

Strategi set penyebaran. Nilai valid:

  • Availability: ketersediaan tinggi.

  • AvailabilityGroup: ketersediaan tinggi grup set penyebaran.

  • LowLatency: latensi jaringan rendah.

  • ProximityLooseDispersion: dispersi longgar kedekatan.

Catatan

Hanya saat strategi diatur ke ProximityLooseDispersion, respons API menyertakan detail harga untuk "Resource": "deploymentSet". Strategi set penyebaran lainnya gratis, sehingga respons API tidak menyertakan informasi harga untuk "Resource": "deploymentSet".

ProximityLooseDispersion

Elemen respons

Element

Type

Description

Example

object

RequestId

string

ID permintaan.

473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

PriceInfo

object

Informasi harga, termasuk harga dan aturan promosi.

Rules

object

Rule

array<object>

Aturan kampanye.

object

Description

string

Deskripsi aturan kampanye.

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

RuleId

integer

ID aturan kampanye.

587

Price

object

Harga.

OriginalPrice

number

Harga asli.

4368

ReservedInstanceHourPrice

number

Harga per jam reserved instance dengan opsi pembayaran No Upfront atau Partial Upfront.

1

DiscountPrice

number

Diskon.

655.2

Currency

string

Satuan mata uang.

Situs Tiongkok: CNY.

Situs internasional: USD.

CNY

TradePrice

number

Harga akhir, yaitu harga asli dikurangi diskon.

3712.8

DetailInfos

object

DetailInfo

array<object>

Detail harga dari konfigurasi.

Catatan

Parameter ini dikembalikan hanya ketika ResourceType = instance.

array<object>

OriginalPrice

number

Harga asli.

4368

DiscountPrice

number

Harga diskon.

655.2

Resource

string

Nama konfigurasi. Nilai yang valid:

  • instanceType: instans.

  • bandwidth: bandwidth.

  • image: image.

  • systemDisk: disk sistem.

  • dataDisk: data disk.

instanceType

SubRules

object

Rule

array<object>

Subset aturan penetapan harga.

object

Description

string

Deskripsi subset aturan.

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

RuleId

integer

ID aturan kampanye.

587

TradePrice

number

Harga transaksi.

3712.8

RelatedPrice

object

Harga terkait.

MarketplaceImagePrice

object

Harga image Marketplace.

Currency

string

Satuan mata uang.

Situs Tiongkok: CNY.

Situs internasional: USD.

CNY

OriginalPrice

number

Harga asli.

100

DiscountPrice

number

Diskon.

0

TradePrice

number

Harga akhir, yaitu harga asli dikurangi diskon.

100

Contoh

Respons sukses

JSONformat

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

Kode kesalahan

HTTP status code

Error code

Error message

Description

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.

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.