Mengubah nama, deskripsi, atau Recovery Point Objective (RPO) kelompok konsisten pasangan replikasi.
Deskripsi operasi
Description
-
For information about the regions that support the replication pair-consistent group feature, see Overview of asynchronous replication.
-
The replication pair-consistent group must be in the Created (
created) or Stopped (stopped) state.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ebs:ModifyDiskReplicaGroup |
update |
*DiskReplicaGroup
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah kelompok konsisten pasangan replikasi. |
cn-beijing |
| ReplicaGroupId |
string |
Yes |
ID kelompok konsisten pasangan replikasi. Panggil DescribeDiskReplicaGroups untuk mengkueri ID kelompok konsisten pasangan replikasi. |
pg-myreplica**** |
| GroupName |
string |
No |
Nama kelompok konsisten pasangan replikasi. Panjang nama harus 2 hingga 128 karakter. Nama harus diawali dengan huruf atau karakter Tionghoa dan tidak dapat diawali dengan |
myreplicagrouptest |
| Description |
string |
No |
Deskripsi kelompok konsisten pasangan replikasi. Panjang deskripsi harus 2 hingga 256 karakter dan tidak dapat diawali dengan |
This is description. |
| RPO |
integer |
No |
Recovery point objective (RPO) kelompok konsisten pasangan replikasi. Unit: detik. Nilai 900 didukung. |
900 |
| ClientToken |
string |
No |
Token klien yang digunakan untuk memastikan idempotensi permintaan. Buat nilai unik untuk parameter ini dari klien Anda. Nilai ClientToken hanya dapat berisi karakter ASCII dan panjangnya tidak boleh melebihi 64 karakter. Untuk informasi lebih lanjut, lihat How to ensure idempotence. |
123e4567-e89b-12d3-a456-42665544**** |
| Bandwidth |
integer |
No |
Bandwidth. Unit: Kbps. Catatan
Parameter ini tidak tersedia. |
null |
| EnableRtc |
boolean |
No |
Apakah akan mengaktifkan pengatur waktu replikasi (RTC). Nilai valid:
Catatan
Jika parameter ini diatur ke true, RTC diaktifkan untuk kelompok konsisten pasangan replikasi. RTC juga diaktifkan untuk semua pasangan replikasi asinkron yang ditambahkan ke kelompok. |
true |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
C123F94F-4E38-19AE-942A-A8D6F44F**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "C123F94F-4E38-19AE-942A-A8D6F44F****"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | The request processing has failed due to some unknown error, exception or failure. | |
| 403 | OperationDenied | The operation is not allowed. | |
| 403 | OperationDenied.GroupHasPair | The group cannot be deleted due to not empty. | |
| 403 | OperationDenied.InvalidStatus | The operation is not allowed in current status. | |
| 403 | OperationDenied.OperateNotAllowedForPrimary | Operation is not allowed on the primary site. | |
| 403 | OperationDenied.OperateNotAllowedForStandby | Operation is not allowed on the secondary site. | |
| 403 | Forbidden | User is not authorized to operate. | |
| 403 | Forbidden.Action | User is not authorized to operate this action. | |
| 404 | NoSuchResource | The specified resource does not exist. | |
| 504 | RequestTimeout | The request is timeout, please try again later. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.