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
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
nas:CreateCpfsAccessPoint |
create |
*Semua sumber daya
|
None | None |
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:
|
Deskripsi |
| 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/ |
|
No |
Daftar tag untuk titik akses CPFS. |
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. | Sistem file yang ditentukan dalam ResourceIds tidak valid. |
| 400 | InvalidFilesystemType.NotSupport | This Api does not support this fileSystem type. | Operasi saat ini tidak mendukung jenis sistem file ini. |
| 400 | FeatureOrAPI.NotSupported | The Feature/API is not supported in this region now. | Fitur atau API tidak didukung di wilayah ini. |
| 403 | Forbbiden.Ram | User not authorized to operate on the specified resource, or this API doesn't support RAM. | Verifikasi izin RAM akun Anda gagal. Buka konsol RAM untuk memastikan bahwa izin terkait NAS telah diberikan. |
| 403 | AccessPoint.ExceedsLimit | Access point exceeds limit - There is already 1000 access points in filesystem. | Batas titik akses terlampaui. Sistem file sudah memiliki 1000 titik akses. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.