Memperpanjang masa berlaku instans tertentu. Operasi ini tidak berlaku untuk instans ECS, RDS, atau Redis. Untuk memperpanjang instans tersebut, gunakan API perpanjangan khusus yang sesuai dengan masing-masing produk.
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, dalam satuan bulan. Nilai yang valid:
|
6 |
| ClientToken |
string |
No |
Token client untuk memastikan idempotensi permintaan. |
ASKJHKLASJHAFSLKJH |
| ProductType |
string |
No |
Jenis produk. |
rds |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|
||
| Code |
string |
Kode status. |
Success |
| Message |
string |
Pesan error. |
Successful! |
| RequestId |
string |
ID permintaan. |
6000EE23-274B-4E07-A697-FF2E999520A4 |
| Success |
boolean |
Menunjukkan 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. | Invalid user identity. |
| 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.