Remove ShareStats. (#1946)

This commit is contained in:
Kan Tang 2021-03-19 15:48:01 +08:00 committed by GitHub
parent de28afadc6
commit 8fa71e0f31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 10 deletions

View File

@ -29,8 +29,7 @@
- Renamed `ShareRetentionPolicy` to `RetentionPolicy`.
- Renamed `ShareProtocolSettings` to `ProtocolSettings`.
- Renamed `CopyStatusType` to `CopyStatus`
- Removed `FileRangeWriteType`.
- Removed `ShareFileRangeList`.
- Removed `FileRangeWriteType`, `ShareFileRangeList` and `ShareStats`.
## 12.0.0-beta.8 (2021-02-12)

View File

@ -358,14 +358,6 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares {
SmbSettings Settings; // Settings for SMB protocol.
};
// Stats for the share.
struct ShareStats
{
int64_t ShareUsageInBytes
= int64_t(); // The approximate size of the data stored in bytes. Note that this value may
// not include all recently created or recently resized files.
};
// Signed identifier.
struct SignedIdentifier
{
@ -635,6 +627,14 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares {
std::vector<Core::Http::HttpRange> ClearRanges;
};
// Stats for the share.
struct ShareStats
{
int64_t ShareUsageInBytes
= int64_t(); // The approximate size of the data stored in bytes. Note that this value may
// not include all recently created or recently resized files.
};
// Specify one of the following options: - Update: Writes the bytes specified by the request
// body into the specified range. The Range and Content-Length headers must match to perform the
// update. - Clear: Clears the specified range and releases the space used in storage for that