Package version:
OptionalabortAn implementation of the AbortSignalLike interface to signal the request to cancel the operation.
For example, use the @azure/abort-controller to create an AbortSignal.
OptionalcontentOptional. Content type to set on the File.
OptionalcopyOptional. Specifies the option to copy file security descriptor from source file or to set it using the value which is defined by the header value of x-ms-file-permission or x-ms-file-permission-key.
OptionaldestinationLease access condition for destination file. Required if the destination file has an active infinite lease.
OptionalfileOptional. If specified the permission (security descriptor) shall be set for the directory/file.
OptionalfileOptional. Available for version 2023-06-01 and later. Specifies the format in which the permission is returned. Acceptable values are SDDL or binary. If x-ms-file-permission-format is unspecified or explicitly set to SDDL, the permission is returned in SDDL format. If x-ms-file-permission-format is explicitly set to binary, the permission is returned as a base64 string representing the binary encoding of the permission
OptionalfileOptional. Key of the permission to be set for the directory/file. Note: Only one of the filePermission or filePermissionKey should be specified.
OptionalignoreOptional. A boolean value that specifies whether the ReadOnly attribute on a preexisting destination file should be respected. If true, the rename will succeed, otherwise, a previous file at the destination with the ReadOnly attribute set will cause the rename to fail.
OptionalmetadataA name-value pair to associate with a file storage object.
OptionalreplaceOptional. A boolean value for if the destination file already exists, whether this request will overwrite the file or not. If true, the rename will succeed and will overwrite the destination file. If not provided or if false and the destination file does exist, the request will not overwrite the destination file. If provided and the destination file doesn’t exist, the rename will succeed. Note: This value does not override the x-ms-file-copy-ignore-read-only header value.
OptionalsourceLease access condition for source file. Required if the source file has an active infinite lease.
OptionaltimeoutOptional. The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.
Optionaltracing
Options to configure the ShareFileClient.rename operation.