Update storage CL to group changes to return types together (#1932)

This commit is contained in:
Ahson Khan 2021-03-17 23:55:31 -07:00 committed by GitHub
parent 9152e3dc33
commit 72c082d98c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 15 deletions

View File

@ -13,23 +13,21 @@
- Changed the return type of `StartCopyFromUri` and `StartCopyIncremental` API from a `Response<T>` to the particular `Operation<T>` type called `StartCopyBlobOperation` directly.
- String conversion functions of extensible enums were renamed from `Get()` to `ToString()`.
- Moved `SecondaryHostForRetryReads` out of retry options, now it's under `BlobClientOptions`.
- Changed return type of `BlobServiceClient::GetUserDelegationKey` to `UserDelegationKey`.
- Changed return type of `BlobServiceClient::GetProperties` to `BlobServiceProperties`.
- Changed return type of `BlobServiceClient::GetAccountInfo` to `AccountInfo`.
- Changed return type of `BlobServiceClient::GetStatistics` to `ServiceStatistics`.
- Changed return type of `BlobContainerClient::GetProperties` to `BlobContainerProperties`.
- Changed return type of `BlobContainerClient::GetAccessPolicy` to `BlobContainerAccessPolicy`.
- Changed return type of `BlobClient::GetProperties` to `BlobProperties`.
- Changed return type of `BlobClinet::GetTags` to `std::map<std::string, std::string>`.
- Changed the return types of the following APIs:
- `BlobServiceClient::DeleteBlobContainer` now returns `Azure::Core::Response<Models::DeleteBlobContainerResult>`.
- `BlobServiceClient::GetUserDelegationKey` now returns `UserDelegationKey`.
- `BlobServiceClient::GetProperties` now returns `BlobServiceProperties`.
- `BlobServiceClient::GetAccountInfo` now returns `AccountInfo`.
- `BlobServiceClient::GetStatistics` now returns `ServiceStatistics`.
- `BlobContainerClient::DeleteBlob` now returns `Azure::Core::Response<Models::DeleteBlobResult>`.
- `BlobContainerClient::GetProperties` now returns `BlobContainerProperties`.
- `BlobContainerClient::GetAccessPolicy` now returns `BlobContainerAccessPolicy`.
- `BlobClient::GetProperties` now returns `BlobProperties`.
- `BlobClinet::GetTags` now returns `std::map<std::string, std::string>`.
- Removed `PreviousShareSnapshot` from `GetShareFileRangeListOptions`, use `ShareFileClient::GetRangeListDiff` instead.
- Removed `Blob` from the name of lease options and return types, like `AcquireBlobLeaseOptions` was renamed to `AcquireLeaseOptions`.
- Removed `Blob` prefix from the name of structs `BlobGeoReplication`, `BlobLeaseStatus`, `BlobLeaseState`, `BlobLeaseDurationType`, `BlobAnalyticsLogging`, `BlobMetrics`, `BlobCorsRule`, `BlobRetentionPolicy`, `BlobStaticWebsite`, `BlobArchiveStatus` and `BlobGeoReplictionStatus`.
### Other Changes and Improvements
- Changed return type of `BlobServiceClient::DeleteBlobContainer` to `Azure::Core::Response<Models::DeleteBlobContainerResult>`.
- Changed return type of `BlobContainerClient::DeleteBlob` to `Azure::Core::Response<Models::DeleteBlobResult>`.
## 12.0.0-beta.8 (2021-02-12)
### Breaking Changes

View File

@ -11,12 +11,13 @@
- Changed the return type of `StartCopy` API from a `Response<T>` to the particular `Operation<T>` type called `StartCopyShareFileOperation` directly.
- String conversion functions of extensible enums were renamed from `Get()` to `ToString()`.
- Changed the return types of the following APIs:
- `ShareClient::GetAccessPolicy` now returns `ShareAccessPolicy`.
- `ShareClient::GetPermission` now returns `Azure::Response<std::string>`.
- Renamed `GetSharePropertiesResult` to `ShareProperties`.
- Renamed `GetShareStatisticsResult` to `ShareStatistics`.
- Renamed `GetShareDirectoryPropertiesResult` to `ShareDirectoryProperties`.
- Renamed `GetShareFilePropertiesResult` to `FileServiceProperties`.
- Changed the return type of `ShareClient::GetAccessPolicy` to `ShareAccessPolicy`.
- `ShareClient::GetPermission` now returns `Azure::Response<std::string>`.
- Removed `Share` from the names of return types and option types.
## 12.0.0-beta.8 (2021-02-12)