Membuat penyimpanan cadangan.
Deskripsi operasi
-
Each Alibaba Cloud account can create a maximum of 100 backup vaults.
-
After a backup vault is created, its status is INITIALIZING and an initialization task automatically starts. After the task is successfully completed, the status changes to CREATED. The backup vault can be used for backup jobs only when its status is CREATED.
PentingBefore you call this operation, make sure that you understand the billing methods and pricing of Cloud Backup.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
hbr:CreateVault |
create |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| VaultRegionId |
string |
Yes |
ID wilayah penyimpanan cadangan. |
cn-shanghai |
| VaultName |
string |
Yes |
Nama penyimpanan cadangan. Nama harus terdiri dari 1 hingga 64 karakter. |
backupvaultname |
| Description |
string |
No |
Deskripsi penyimpanan cadangan. Deskripsi dapat terdiri dari 0 hingga 255 karakter. |
description |
| VaultType |
string |
No |
Jenis penyimpanan cadangan. Nilai valid:
Valid values:
|
STANDARD |
| VaultStorageClass |
string |
No |
Kelas penyimpanan penyimpanan cadangan.
|
STANDARD |
| WormEnabled |
boolean |
No |
Apakah akan mengaktifkan penguncian cadangan. |
false |
| EncryptType |
string |
No |
Jenis enkripsi data sumber. Parameter ini hanya valid jika Anda mengatur VaultType ke STANDARD atau OTS_BACKUP. Nilai valid:
Valid values:
|
KMS |
| KmsKeyId |
string |
No |
ID atau alias kunci KMS. Parameter ini hanya diperlukan jika Anda mengatur EncryptType ke KMS. |
alias/yzs-hhht |
| Replication |
boolean |
No |
Apakah akan membuat vault replikasi. |
true |
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.
|
true |
| Code |
string |
The return code. A value of 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 backup vault initialization task. Use the DescribeTask operation to query the task 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.