Melakukan perpanjangan untuk instans tertentu. Operasi ini tidak mendukung perpanjangan instans ECS, RDS, atau Redis. Untuk memperpanjang instans tersebut, panggil API perpanjangan khusus dari layanan yang bersangkutan.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
bss:ModifyInstance |
create |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ProductCode |
string |
Yes |
Kode produk. |
rds |
| InstanceId |
string |
Yes |
ID instans. |
rm-skjdhaskjdh |
| RenewPeriod |
integer |
Yes |
Periode perpanjangan untuk Instansi langganan. Unit: bulan. Nilai valid:
|
6 |
| ClientToken |
string |
No |
Token klien yang digunakan untuk memastikan idempotensi permintaan. |
ASKJHKLASJHAFSLKJH |
| ProductType |
string |
No |
Tipe produk. |
rds |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
Kode status. |
Success |
| Message |
string |
Paket error. |
Successful! |
| RequestId |
string |
ID permintaan. |
6000EE23-274B-4E07-A697-FF2E999520A4 |
| Success |
boolean |
Apakah permintaan berhasil. |
true |
| Data |
object |
Data yang dikembalikan. |
|
| OrderId |
string |
ID pesanan. |
202657601410661 |
Contoh
Respons sukses
JSONformat
{
"Code": "Success",
"Message": "Successful!",
"RequestId": "6000EE23-274B-4E07-A697-FF2E999520A4",
"Success": true,
"Data": {
"OrderId": "202657601410661"
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NotApplicable | This API is not applicable for caller. | |
| 400 | NotAuthorized | This API is not authorized for caller. | |
| 400 | InvalidOwner | The specified owner doesn't belong to caller. | Identitas pengguna salah. |
| 400 | ResourceStatusError | The resource status error. | |
| 400 | ResourceNotExists | The specific resource is not exists. | |
| 500 | InternalError | The request processing has failed due to some unknown error. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.