Clones a file or directory snapshot for a PolarFileSystem (PolarFS) Basic Edition instance.
Operation description
Description
The
PolarFsInstanceIdparameter is required. This parameter specifies the PolarFS instance for the operation.
Try it now
Test
RAM authorization
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PolarFsInstanceId |
string |
No |
The ID of the PolarFS instance. |
pfs-test***** |
| DBClusterId |
string |
No |
The ID of the database cluster. |
pc-************** |
| SourcePath |
string |
No |
The source path of the file resource. This parameter is empty when the type is local. |
/test |
| TargetPath |
string |
No |
The destination path. |
/testclone |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
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 ID of the cluster. |
pc-bp150t3**** |
| PolarFsInstanceId |
string |
The ID of the PolarFS instance. |
pfs-2ze0i7***** |
Examples
Success response
JSON format
{
"RequestId": "CED079B7-A408-41A1-BFF1-EC608E******",
"SourcePath": "/test",
"TargetPath": "/testclone",
"DBClusterId": "pc-bp150t3****",
"PolarFsInstanceId": "pfs-2ze0i7*****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.