Mengkueri semua informasi paket untuk server aplikasi sederhana di wilayah tertentu.
Deskripsi operasi
Anda dapat mengkueri semua informasi paket untuk server aplikasi sederhana di wilayah tertentu, termasuk ID paket, kapasitas disk, tipe disk, dan harga paket.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah. Anda dapat memanggil ListRegions untuk mengkueri wilayah yang tersedia untuk server aplikasi sederhana. |
cn-hangzhou |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Plans |
array<object> |
Informasi paket. |
|
|
object |
Informasi paket. |
||
| Core |
integer |
Jumlah vCPU. |
2 |
| Bandwidth |
integer |
Bandwidth puncak. Unit: Mbit/s. |
200 |
| DiskSize |
integer |
Kapasitas disk. Unit: GiB. |
40 |
| Flow |
integer |
Kuota transfer data bulanan. Unit: GB. |
400 |
| Tokens |
integer |
||
| PlanId |
string |
ID paket. |
swas.s2.c2m1s40b3t04 |
| DiskType |
string |
Tipe disk. Nilai valid:
|
ESSD |
| Currency |
string |
Unit mata uang. Nilai valid:
Catatan
Unit mata uang adalah CNY di situs Tiongkok (aliyun.com) dan USD di situs Internasional (alibabacloud.com). |
CNY |
| SupportPlatform |
string |
Jenis sistem operasi yang didukung oleh paket. |
["Linux","Windows"] |
| PlanType |
string |
Tipe paket. Nilai valid:
Catatan
Untuk informasi lebih lanjut, lihat Keluarga instans. |
NORMAL |
| PublicIpNum |
string |
Jumlah alamat IP publik. |
1 |
| IspType |
string |
Jenis jalur jaringan publik.
|
BGP |
| Memory |
number |
Ukuran memori. Unit: GiB. |
1 |
| OriginPrice |
string |
Harga bulanan paket server aplikasi sederhana. |
60 |
| RequestId |
string |
ID permintaan. |
20758A-585D-4A41-A9B2-28DA8F4F534F |
Contoh
Respons sukses
JSONformat
{
"Plans": [
{
"Core": 2,
"Bandwidth": 200,
"DiskSize": 40,
"Flow": 400,
"Tokens": 0,
"PlanId": "swas.s2.c2m1s40b3t04",
"DiskType": "ESSD",
"Currency": "CNY",
"SupportPlatform": "[\"Linux\",\"Windows\"]",
"PlanType": "NORMAL",
"PublicIpNum": "1",
"IspType": "BGP",
"Memory": 1,
"OriginPrice": "60"
}
],
"RequestId": "20758A-585D-4A41-A9B2-28DA8F4F534F"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | RegionIdNotMatchHost | The parameter regionId does not match the endpoint host. | |
| 500 | InternalError | An error occurred while processing your request. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.