Condividi tramite


UploadDirectoryOptions Class

Definition

Represents a set of options that may be specified for upload directory operation

public sealed class UploadDirectoryOptions : Microsoft.Azure.Storage.DataMovement.DirectoryOptions
type UploadDirectoryOptions = class
    inherit DirectoryOptions
Public NotInheritable Class UploadDirectoryOptions
Inherits DirectoryOptions
Inheritance
UploadDirectoryOptions

Constructors

UploadDirectoryOptions()

Properties

BlobType

Gets or sets type of destination blob. This option takes effect only when uploading to Azure blob storage. If blob type is not specified, BlockBlob is used.

EncryptionScope

Gets or sets a value which specifies the name of the encryption scope to use to encrypt the data provided in the request. This value only takes effect when destination is Azure Blob Service.

FollowSymlink

Gets or sets whether to follow symlinked directories. This option only works in Unix/Linux platforms.

PreserveSMBAttributes

Gets or sets a flag that indicates whether to preserve SMB attributes during uploading. If set to true, destination Azure File's attributes will be set as source local file's attributes. SMB attributes includes last write time, creation time and FileAttributes. FileAttributes will be converted to CloudFileNtfsAttributes, and then set to destination Azure File. This flag only takes effect when uploading from local file to Azure File Service. Preserving SMB attributes is only supported on Windows.

PreserveSMBPermissions

Gets or sets a value that indicates whether to preserve SMB permissions during uploading. Preserving SMB permissions is only supported on Windows.

Recursive

Gets or sets a boolean that indicates whether to include subdirectories when doing a directory transfer operation.

(Inherited from DirectoryOptions)
SearchPattern

Gets or sets a string that will be used to match against the names of files.

(Inherited from DirectoryOptions)

Applies to