azure-storage-files-shares
Public Attributes | List of all members
Azure::Storage::Files::Shares::UploadFileFromOptions Struct Referencefinal

Optional parameters for Azure::Storage::Files::Shares::ShareFileClient::UploadFrom.

#include <share_options.hpp>

Public Attributes

Models::FileHttpHeaders HttpHeaders
 
Storage::Metadata Metadata
 
Models::FileSmbProperties SmbProperties
 
Azure::Nullable< std::string > FilePermission
 
struct {
   int64_t   SingleUploadThreshold = 4 * 1024 * 1024
 
   int64_t   ChunkSize = 4 * 1024 * 1024
 
   int32_t   Concurrency = 5
 
TransferOptions
 Options for parallel transfer.
 

Member Data Documentation

◆ ChunkSize

int64_t Azure::Storage::Files::Shares::UploadFileFromOptions::ChunkSize = 4 * 1024 * 1024

The maximum number of bytes in a single request.

◆ Concurrency

int32_t Azure::Storage::Files::Shares::UploadFileFromOptions::Concurrency = 5

The maximum number of threads that may be used in a parallel transfer.

◆ FilePermission

Azure::Nullable<std::string> Azure::Storage::Files::Shares::UploadFileFromOptions::FilePermission

If specified the permission (security descriptor) shall be set for the directory. This option can be used if Permission size is <= 8KB, else SmbProperties.PermissionKey shall be used. Default value: 'inherit'. If SDDL is specified as input, it must have owner, group and dacl.

◆ HttpHeaders

Models::FileHttpHeaders Azure::Storage::Files::Shares::UploadFileFromOptions::HttpHeaders

The standard HTTP header system properties to set.

◆ Metadata

Storage::Metadata Azure::Storage::Files::Shares::UploadFileFromOptions::Metadata

Name-value pairs associated with the file as metadata.

◆ SingleUploadThreshold

int64_t Azure::Storage::Files::Shares::UploadFileFromOptions::SingleUploadThreshold = 4 * 1024 * 1024

File smaller than this will be uploaded with a single upload operation. This value cannot be larger than 4 MiB.

◆ SmbProperties

Models::FileSmbProperties Azure::Storage::Files::Shares::UploadFileFromOptions::SmbProperties

SMB properties to set for the destination file.


The documentation for this struct was generated from the following file: