Azure / azure-rest-api-specs

The source for REST API specifications for Microsoft Azure.
MIT License
2.69k stars 5.11k forks source link

[BUG]FileShare property shareUsageBytes never returned #28499

Open ChenxiJiang333 opened 7 months ago

ChenxiJiang333 commented 7 months ago

API Spec link

https://github.com/Azure/azure-rest-api-specs/blob/main/specification/storage/resource-manager/Microsoft.Storage/stable/2023-04-01/file.json#L852

API Spec version

2023-04-01

Describe the bug

When call the api to get file share's information, the property shareUsageBytes was never found in the response though there're files stored in the file share.

Expected behavior

Have property shareUsageBytes in the response once there's capacity used in the file share.

Actual behavior

Return properties with the contents below that does not include shareUsageBytes:

"properties":{"leaseStatus":"unlocked","leaseState":"available","accessTier":"TransactionOptimized","accessTierChangeTime":"2024-03-27T02:14:37.0000000Z","lastModifiedTime":"2024-03-27T02:14:37.0000000Z","shareQuota":5120,"enabledProtocols":"SMB"}}]}

Reproduction Steps

Send requests to get or list file shares.

Environment

No response

microsoft-github-policy-service[bot] commented 7 months ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @xgithubtriage.