Memodifikasi nama, deskripsi, atau Recovery Point Objective (RPO) dari grup konsisten pasangan replikasi.
Deskripsi operasi
Operasi API
-
Untuk informasi mengenai wilayah yang mendukung fitur grup konsisten pasangan replikasi, lihat Ikhtisar replikasi asinkron.
-
Grup konsisten pasangan replikasi harus berada dalam status Created (
created) atau Stopped (stopped).
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 dari grup konsisten pasangan replikasi. |
cn-beijing |
| ReplicaGroupId |
string |
Yes |
ID grup konsisten pasangan replikasi. Anda dapat memanggil DescribeDiskReplicaGroups untuk mengkueri ID grup konsisten pasangan replikasi. |
pg-myreplica**** |
| GroupName |
string |
No |
Nama grup konsisten pasangan replikasi. Nama harus terdiri dari 2 hingga 128 karakter. Nama harus diawali dengan huruf atau karakter Tionghoa dan tidak boleh diawali dengan |
myreplicagrouptest |
| Description |
string |
No |
Deskripsi grup konsisten pasangan replikasi. Deskripsi harus terdiri dari 2 hingga 256 karakter dan tidak boleh diawali dengan |
This is description. |
| RPO |
integer |
No |
RPO grup konsisten pasangan replikasi. Satuan: detik. Nilai 900 didukung. |
900 |
| ClientToken |
string |
No |
Token klien untuk memastikan idempotensi permintaan. Hasilkan nilai unik untuk parameter ini dari klien Anda. Nilai ClientToken hanya boleh berisi karakter ASCII dan tidak boleh melebihi 64 karakter. Untuk informasi selengkapnya, lihat How to ensure idempotence. |
123e4567-e89b-12d3-a456-42665544**** |
| Bandwidth |
integer |
No |
Bandwidth. Satuan: Kbps. Catatan
Parameter ini tidak tersedia. |
null |
| EnableRtc |
boolean |
No |
Menentukan apakah akan mengaktifkan kontrol waktu replikasi. |
true |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Badan respons. |
||
| RequestId |
string |
ID permintaan. |
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. | An internal error has occurred. |
| 403 | OperationDenied | The operation is not allowed. | The operation is not supported. |
| 403 | OperationDenied.GroupHasPair | The group cannot be deleted due to not empty. | The replication pair-consistent group contains replication pairs and cannot be deleted. |
| 403 | OperationDenied.InvalidStatus | The operation is not allowed in current status. | The operation is not supported in the current state. |
| 403 | OperationDenied.OperateNotAllowedForPrimary | Operation is not allowed on the primary site. | The operation is not allowed on the primary site. |
| 403 | OperationDenied.OperateNotAllowedForStandby | Operation is not allowed on the secondary site. | The operation is not allowed on the secondary site. |
| 403 | Forbidden | User is not authorized to operate. | You are not authorized to manage the resource. Check the account permissions or contact the Alibaba Cloud account. |
| 403 | Forbidden.Action | User is not authorized to operate this action. | You are not authorized to perform this operation. Check the account permissions or contact the Alibaba Cloud account. |
| 404 | NoSuchResource | The specified resource does not exist. | The specified resource does not exist. |
| 504 | RequestTimeout | The request is timeout, please try again later. | The request has timed out. Try again later. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.