Pembelian Retensi Cache Baru
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
esa:PurchaseCacheReserve |
create |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| QuotaGb |
integer |
No |
Spesifikasi retensi cache (satuan: GB). |
512000 |
| CrRegion |
string |
No |
Wilayah retensi cache
|
HK |
| AutoRenew |
boolean |
No |
Apakah akan diperpanjang secara otomatis:
|
true |
| Period |
integer |
No |
Periode pembelian (satuan: bulan). |
3 |
| ChargeType |
string |
No |
Jenis penagihan
|
PREPAY |
| AutoPay |
boolean |
No |
Apakah akan dibayar secara otomatis. Nilai default adalah false.
Valid values:
|
true |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Struktur respons. |
||
| RequestId |
string |
ID permintaan. |
30423A7F-A83D-1E24-B80E-86DD25790758 |
| OrderId |
string |
ID pesanan. |
31223****11 |
| InstanceId |
string |
ID instance. |
xcdn-ad*****s11w |
Contoh
Respons sukses
JSONformat
{
"RequestId": "30423A7F-A83D-1E24-B80E-86DD25790758",
"OrderId": "31223****11",
"InstanceId": "xcdn-ad*****s11w\n"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | CheckOrderFailed | Invalid order parameter. | Invalid order parameter. |
| 400 | InternalError | An internal exception occurred, please try again later. | An inner exception was triggered. Please try again later. |
| 400 | InvalidSiteICP | The specified website does not have an ICP filing or the filing information is invalid. Make sure your website is filed and try again. | The specified website does not have an ICP filing or the filing information is invalid. Make sure your website is filed and try again. |
| 400 | InvalidSiteName | Invalid website name. Check and try again. | Invalid website name. Check and try again. |
| 400 | SYSTEM.NoSpecificCodeFailed | Invalid subscription duration. Check and try again. | Invalid subscription duration. Check and try again. |
| 400 | CheckPlanFailed | Invalid plan name or code. Check and try again. | Invalid plan name or code. Check and try again. |
| 400 | SubSiteUnavailable | Subdomains are allowed only in Enterprise plans. Upgrade your plan to add a subdomain to ESA. | Subdomains are allowed only in Enterprise plans. Upgrade your plan to add a subdomain to ESA. |
| 400 | InsufficientAvailableQuota | Your account balance is insufficient. | Your account is in arrears, please pay the arrears before purchasing. |
| 400 | InsufficientBalance | Your account balance is insufficient. | Your account balance is insufficient, please recharge before purchasing. |
| 400 | InvalidComponent | The order parameters is invalid. | The order parameters is invalid. |
| 400 | RamAuthFailed | The sub-account has no operation permission. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.