Mengkloning snapshot file atau folder untuk Instans Edisi Dasar.
Deskripsi operasi
Request description
PolarFsInstanceIdis required. It specifies the PolarDB instance for the operation.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:ClonePolarFsBasicSnapshot |
none |
*全部资源
|
None | None |
Sintaks permintaan
POST HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| PolarFsInstanceId |
string |
No |
ID Instans Polarlakebase. |
pfs-test***** |
| DBClusterId |
string |
No |
ID Kluster database. |
pc-************** |
| SourcePath |
string |
No |
Jalur sumber Sumber daya file. Parameter ini kosong jika tipenya adalah local. |
/test |
| TargetPath |
string |
No |
Jalur tujuan. |
/testclone |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The ID of the request. |
CED079B7-A408-41A1-BFF1-EC608E****** |
| SourcePath |
string |
The source path of the file resource. |
/test |
| TargetPath |
string |
The destination path. |
/testclone |
| DBClusterId |
string |
The cluster ID. |
pc-bp150t3**** |
| PolarFsInstanceId |
string |
The ID of the Polarlakebase instance. |
pfs-2ze0i7***** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "CED079B7-A408-41A1-BFF1-EC608E******",
"SourcePath": "/test",
"TargetPath": "/testclone",
"DBClusterId": "pc-bp150t3****",
"PolarFsInstanceId": "pfs-2ze0i7*****"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.