Melakukan perpanjangan secara manual Instansi langganan Database Apsara for MongoDB.
Deskripsi operasi
Make sure that you fully understand the billing methods and pricing of ApsaraDB for MongoDB before you call this operation. For more information about the pricing of ApsaraDB for MongoDB, visit the pricing tab of the product buy page.
This operation is only applicable to instances that use the subscription billing method.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dds:RenewDBInstance |
update |
*Instance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ClientToken |
string |
No |
Token klien yang digunakan untuk memastikan idempotensi permintaan. Anda dapat menggunakan klien untuk menghasilkan nilai, tetapi Anda harus memastikan bahwa token bersifat unik di antara permintaan yang berbeda. Token hanya boleh berisi karakter ASCII dan tidak boleh melebihi 64 karakter. |
ETnLKlblzczshOTUbOCzxxxxxxxxxx |
| DBInstanceId |
string |
Yes |
ID instans. |
dds-bpxxxxxxxx |
| Period |
integer |
Yes |
Periode langganan instans. Unit: bulan. Nilai valid: 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, dan 36. |
1 |
| AutoPay |
boolean |
No |
Apakah akan mengaktifkan pembayaran otomatis. Nilai valid:
Nilai default: true. |
true |
| BusinessInfo |
string |
No |
Informasi bisnis. |
{“ActivityId":"000000000"} |
| CouponNo |
string |
No |
Apakah akan menggunakan kupon. Nilai default: null. Nilai valid:
|
default |
| AutoRenew |
boolean |
No |
Apakah akan mengaktifkan perpanjangan otomatis. Nilai valid:
Nilai default: false. Valid values:
|
true |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
B118EF45-9633-4EE3-8405-42ED4373721B |
| OrderId |
string |
The ID of the order. |
203317xxxxxxxx |
Contoh
Respons sukses
JSONformat
{
"RequestId": "B118EF45-9633-4EE3-8405-42ED4373721B",
"OrderId": "203317xxxxxxxx"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | TokenServiceError | Request token is duplicated. | |
| 403 | ClassicNetworkNotSupport | Classic network has not been supported, try to use VPC. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.