Membuat cermin penyimpanan cadangan.
Deskripsi operasi
After a backup vault is created, the backup vault is in the INITIALIZING state, and the system automatically runs an initialization task to initialize the backup vault. After the initialization task is completed, the backup vault is in the CREATED state.Call this operation in the region where the mirror vault resides, which is specified by the VaultRegionId parameter.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
hbr:CreateReplicationVault |
create |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| VaultRegionId |
string |
Yes |
ID wilayah tempat penyimpanan cadangan berada. |
cn-shanghai |
| VaultName |
string |
Yes |
Nama penyimpanan cadangan. Panjang nama harus 1 hingga 64 karakter. |
mirrorvaultname |
| Description |
string |
No |
Deskripsi penyimpanan cadangan. Panjang deskripsi harus 0 hingga 255 karakter. |
description |
| VaultStorageClass |
string |
No |
Tipe penyimpanan penyimpanan cadangan. Nilai valid: STANDARD, yang menunjukkan penyimpanan standar. |
STANDARD |
| ReplicationSourceVaultId |
string |
Yes |
ID vault sumber. |
v-********************* |
| ReplicationSourceRegionId |
string |
Yes |
ID wilayah tempat vault sumber berada. |
cn-hangzhou |
| RedundancyType |
string |
No |
Tipe redundansi data penyimpanan cadangan. Nilai valid:
|
LRS |
| EncryptType |
string |
No |
Metode yang digunakan untuk mengenkripsi data sumber. Parameter ini hanya valid jika Anda mengatur parameter VaultType ke STANDARD atau OTS_BACKUP. Nilai valid:
|
HBR_PRIVATE |
| KmsKeyId |
string |
No |
Customer master key (CMK) yang dibuat di KMS atau alias kunci. Parameter ini hanya diperlukan jika Anda mengatur parameter EncryptType ke KMS. |
alias/test |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
| VaultId |
string |
The ID of the backup vault. |
v-********************* |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| Code |
string |
The response code. The status code 200 indicates that the request was successful. |
200 |
| Message |
string |
The returned message. If the request was successful, "successful" is returned. If the request failed, an error message is returned. |
successful |
| TaskId |
string |
The ID of the job that is used to initialize the backup vault. You can call the DescribeTask operation to query the job status. |
t-********************* |
Contoh
Respons sukses
JSONformat
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
"VaultId": "v-*********************",
"Success": true,
"Code": "200",
"Message": "successful",
"TaskId": "t-*********************"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.