azure-storage-files-datalake_12.0.0-beta.7
Pre-release
Pre-release
12.0.0-beta.7 (2021-02-03)
New Features
- Added
Owner
,Permissions
, andGroup
toGetDataLakePathAccessControlResult
. DownloadDataLakeFileResult
now has a new fieldFileSize
.- Added support for
GetAccessPolicy
andSetAccessPolicy
inDataLakeFileSystemClient
. - Moved all protocol layer generated result types to
Details
namespace. - Renamed
FileSystem
type returned fromListDataLakeFileSystems
to beFileSystemItem
. Member object nameFileSystems
is renamed toItems
. - Renamed
Path
type returned fromListDataLakePaths
to bePathItem
. Member object namePaths
is renamed toItems
. - Added support for specifying public access type when creating a file system.
- Added
DataLakeDirectoryClient::ListPathsSinglePage
API to list DataLake paths under certain directory. - Added
Metadata
,AccessType
,HasImmutabilityPolicy
,HasLegalHold
,LeaseDuration
,LeaseState
andLeaseStatus
toFileSystemItem
. - Added new type
LeaseDurationType
to indicate if a lease duration is fixed or infinite. - Added
RequestId
in each return type for REST API calls, except for concurrent APIs. - Added
UpdateAccessControlListRecursiveSinglePage
to update the access control recursively for a datalake path. - Added
RemoveAccessControlListRecursiveSinglePage
to remove the access control recursively for a datalake path.
Breaking Changes
- Removed
GetDfsUri
in all clients since they are currently implementation details. - Removed
Data
suffix forFlushData
andAppendData
and modified all related structs to align the change. DataLakePathClient
can no longer set permissions withSetAccessControl
, instead, a new APISetPermissions
is created for such functionality. Renamed the original API toSetAccessControlList
to be more precise.ContentRange
inDownloadDataLakeFileResult
is nowAzure::Core::Http::Range
.- Removed
ContentRange
inPathGetPropertiesResult
. - Renamed
ContentLength
inGetDataLakePathPropertiesResult
andCreateDataLakePathResult
toFileSize
to be more accurate. - Renamed
GetUri
toGetUrl
. - Added
DataLakeLeaseClient
, all lease related APIs are moved toDataLakeLeaseClient
. - Changed lease duration to be
std::chrono::seconds
. - Removed
Directory
inListPathsSinglePageOptions
. - Removed unused type
AccountResourceType
andPathLeaseAction
. - Changed all previous
LeaseDuration
members to a new type namedLeaseDurationType
. startsOn
parameter forGetUserDelegationKey
was changed to optional.- Removed
PreviousContinuationToken
fromListFileSystemsSinglePageResult
. Concurrency
,ChunkSize
andInitialChunkSize
were moved intoDownloadDataLakeFileToOptions::TansferOptions
.Concurrency
,ChunkSize
andSingleUploadThreshold
were moved intoUploadDataLakeFileFromOptions::TransferOptions
.- Removed
Rename
fromDataLakeDirectoryClient
andDataLakeFileClient
. Instead, addedRenameFile
andRenameSubdirectory
toDataLakeDirectoryClient
and addedRenameFile
andRenameDirectory
toDataLakeFileSystemClient
. - Rename APIs now return the client of the resource it is renaming to.
- Removed
Mode
for rename operations' options, that originally controls the rename mode. Now it is fixed to legacy mode. - Changed
SetAccessControlRecursive
toSetAccessControlRecursiveListSinglePage
, to mark that it is a single page operation, and removed themode
parameter, separated the modify/delete functionality to two new APIs. - Moved
SetAccessControlRecursiveListSinglePage
toDataLakePathClient
. - Changed
MaxRecord
toMaxEntries
,ForceFlag
toContinueOnFailure
to be more accurate names. - Type for ETag was changed to
Azure::Core::ETag
. - Type for
IfMatch
andIfNoneMatch
was changed toAzure::Core::ETag
. - Renamed
ListDataLakeFileSystemsIncludeItem
toListDataLakeFileSystemsIncludeFlags
. - Removed
DataLakeDirectoryClient::Delete
andDataLakeDirectoryClient::DeleteIfExists
. AddedDataLakeDirectoryClient::DeleteEmpty
,DataLakeDirectoryClient::DeleteEmptyIfExists
,DataLakeDirectoryClient::DeleteRecursive
andDataLakeDirectoryClient::DeleteRecursiveIfExists
instead. - Removed
ContinuationToken
inDeleteDataLakePathResult
andDeleteDataLakeDirectoryResult
, as they will never be returned for HNS enabled accounts. - Renamed
DataLakeFileClient::Read
toDataLakeFileClient::Download
. Also changed the memberAzure::Core::Nullable<bool> RangeGetContentMd5
in the option to beAzure::Core::Nullable<HashAlgorithm> RangeHashAlgorithm
instead. - Moved some less commonly used properties into a details data structure for
Download
,DownloadTo
andListFileSystemsSinglePage
API, and enriched the content of the mentioned details data structure.
Other Changes and Improvements
- Changed
DataLakeFileClient::Flush
'sendingOffset
parameter's name toposition
. - Renamed
DataLakePathClient::GetAccessControls
toDataLakePathClient::GetAccessControlList
. - Removed unused parameters, options, results and functions in protocol layer.