Creates a directory or file.
Operation description
- This operation is only available to some users.
- This operation supports only General-purpose NAS file systems that use the Server Message Block (SMB) protocol and have Resource Access Management (RAM) enabled.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
FileSystemId | string | Yes | The ID of the file system. | 1ca404**** |
Path | string | Yes | The absolute path of the directory or file. The path must start and end with a forward slash (/) and must be 2 to 1024 characters in length. | /test/ |
Type | string | Yes | The type of the object. Valid values:
| File |
Owner | string | No | The ID of the portable account. The ID must be a 16-digit string. The string can contain digits and lowercase letters. | 378cc7630f26**** |
OwnerAccessInheritable | boolean | No | Specifies whether to share the directory. Valid values:
Note
| false |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "2D69A58F-345C-4FDE-88E4-BF518948****"
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history