Skip to content

[BUG]FileShare property shareUsageBytes never returned #28499

Open
@ChenxiJiang333

Description

@ChenxiJiang333

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    MgmtThis issue is related to a management-plane library.Service AttentionWorkflow: This issue is responsible by Azure service team.StorageStorage Service (Queues, Blobs, Files)bugThis issue requires a change to an existing behavior in the product in order to be resolved.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions