CmdID / az / az storage / az storage directory / az storage directory metadata
az storage directory metadata update
Set one or more user-defined name-value pairs for the specified directory. Azure CLI reference
6 options Its page in the Azure CLI reference
Options
--disallow-trailing-dotIf true, the trailing dot will be trimmed from the target URI.--metadata--name, -nThe directory name.--share-name, -sThe file share name.--snapshotA string that represents the snapshot version, if applicable.--timeoutRequest timeout in seconds.