Membuat direktori di sistem file.
Deskripsi operasi
Hanya sistem file NAS General-purpose yang menggunakan Protokol NFS yang mendukung fitur ini.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
nas:CreateDir |
create |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| FileSystemId |
string |
Yes |
ID sistem file. |
31a8e4**** |
| RootDirectory |
string |
Yes |
Nama direktori.
Catatan
|
/test |
| OwnerUserId |
integer |
Yes |
ID pengguna pemilik direktori. Nilai valid: 0 hingga 4294967295. |
1 |
| OwnerGroupId |
integer |
Yes |
ID kelompok pemilik direktori. Nilai valid: 0 hingga 4294967295. |
123 |
| Permission |
string |
Yes |
Izin POSIX yang diterapkan pada jalur direktori root. Nilai harus berupa angka oktal yang valid, seperti 0755. |
0755 |
| Recursion |
boolean |
No |
Apakah akan membuat direktori bertingkat. Nilai valid:
|
true |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Respons. |
||
| RequestId |
string |
ID permintaan. |
BC7C825C-5F65-4B56-BEF6-98C56C7C**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "BC7C825C-5F65-4B56-BEF6-98C56C7C****"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | InvalidProtocolType.NotSupported | The specified protocol type does not supported. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.