Memperpanjang instans tertentu. Operasi ini tidak dapat digunakan untuk memperpanjang instans ECS, RDS, atau Redis. Untuk memperpanjang instans tersebut, panggil API perpanjangan khusus untuk produk tertentu.
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 bulan. Nilai valid:
|
6 |
| ClientToken |
string |
No |
Token klien untuk memastikan idempotensi permintaan. |
ASKJHKLASJHAFSLKJH |
| ProductType |
string |
No |
Tipe produk. |
rds |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The status code. |
Success |
| Message |
string |
The error message. |
Successful! |
| RequestId |
string |
The request ID. |
6000EE23-274B-4E07-A697-FF2E999520A4 |
| Success |
boolean |
Indicates whether the request was successful. |
true |
| Data |
object |
The returned data. |
|
| OrderId |
string |
The order ID. |
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.