Membuat titik akses untuk sistem file CPFS for Lingjun.
Deskripsi operasi
Membuat titik akses untuk sistem file CPFS for Lingjun.
Coba sekarang
Test
RAM authorization
Sintaks permintaan
GET / HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah. |
cn-hangzhou |
| FileSystemId |
string |
Yes |
ID sistem file.
|
bmcpfs-099394bd928c**** |
| Description |
string |
No |
Deskripsi titik akses. Batasan:
|
Description |
| RootDirectory |
object |
No |
Direktori root titik akses. Nilai default: "/". |
|
| RootPath |
string |
No |
Direktori root titik akses. Nilai harus diawali dan diakhiri dengan garis miring (/). |
/test/ |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema respons. |
||
| RequestId |
string |
ID permintaan. |
98696EF0-1607-4E9D-B01D-F20930B6**** |
| AccessPointId |
string |
ID titik akses. |
ap-ie15yd**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "98696EF0-1607-4E9D-B01D-F20930B6****",
"AccessPointId": "ap-ie15yd****"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidRequest | The request is invalid. | Permintaan tidak valid. |
| 400 | InvalidParameter.FileSystem | Invalid FileSystem in ResourceIds. | |
| 400 | InvalidFilesystemType.NotSupport | This Api does not support this fileSystem type. | Operasi saat ini tidak mendukung tipe sistem file ini. |
| 400 | FeatureOrAPI.NotSupported | The Feature/API is not supported in this region now. | |
| 403 | Forbbiden.Ram | User not authorized to operate on the specified resource, or this API doesn't support RAM. | Anda tidak diizinkan melakukan operasi pada Sumber daya yang ditentukan, atau operasi API ini tidak mendukung RAM. |
| 403 | AccessPoint.ExceedsLimit | Access point exceeds limit - There is already 1000 access points in filesystem. | Jumlah titik akses melebihi batas. Sistem file sudah memiliki 1000 titik akses. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.