---
title: "POST /subscriptions/{subscriptionId}/providers/Microsoft.FileShares/locations/{location}/getUsageData"
method: POST
path: "/subscriptions/{subscriptionId}/providers/Microsoft.FileShares/locations/{location}/getUsageData"
tags: ["InformationalOperations"]
---

# POST /subscriptions/{subscriptionId}/providers/Microsoft.FileShares/locations/{location}/getUsageData

`POST /subscriptions/{subscriptionId}/providers/Microsoft.FileShares/locations/{location}/getUsageData`

Get file shares usage data.

## Parameters

- `../../../../../../common-types/resource-management/v6/types.json#/components/parameters/ApiVersionParameter` — unresolved $ref
- `../../../../../../common-types/resource-management/v6/types.json#/components/parameters/SubscriptionIdParameter` — unresolved $ref
- `../../../../../../common-types/resource-management/v6/types.json#/components/parameters/LocationParameter` — unresolved $ref

## Response `200`

The request has succeeded.

- FileShareUsageDataResponse — Response structure for file shares usage in the specified subscription/location.
  - `properties` FileShareUsageDataOutput, required — File shares usage result.
    - `liveShares` LiveSharesUsageData, required — Usage data for live shares.
      - `fileShareCount` integer, required — The number of active file shares.

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/azure/apis/fileshares-microsoft-fileshares-fileshares.md) · [All operations](https://skmtc.net/azure/apis/fileshares-microsoft-fileshares-fileshares/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/fileshares-microsoft-fileshares-fileshares/revisions/d1bbbc6c5d58/schema)
