Azure File Storage - Rename directory action

The Rename directory action renames an existing directory within the same file share in Azure File Storage. The source directory must exist, and the destination directory must not already exist unless you enable Replace if exists.

Input

Input fieldDescription
Source pathEnter the path of the existing directory to rename. For example, hrdata/old_reports.
Destination pathEnter the new path for the directory. For example, hrdata/new_reports. The destination must not already exist unless Replace if exists is enabled.
Replace if existsEnable to overwrite the existing destination.
Ignore read-onlyEnable to rename only if the destination has the read-only attribute. Requires Replace if exists to also be true.
MetadataSpecify key-value metadata pairs to set on the renamed directory. Each call replaces all existing metadata. Keys must follow C# identifier naming rules.
HeadersSpecify HTTP request headers to customize file permissions, attributes, timestamps, lease validation, client request tracking, and trailing dot behavior.

Output

Output fieldDescription
Status codeHTTP status code of the operation.
Response headersHTTP response headers including ETag, last modified, file creation time, last write time, permission key, attributes, file ID, parent ID, and request ID.

Last updated: