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

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

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

Get file shares limits.

## 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.

- FileShareLimitsResponse — Response structure for file share limits API.
  - `properties` FileShareLimitsOutput, required — File share limits API result.
    - `limits` FileShareLimits, required — File share-related limits in the specified subscription/location.
      - `maxFileShares` integer, required — The maximum number of file shares that can be created.
      - `maxFileShareSnapshots` integer, required — The maximum number of snapshots allowed per file share.
      - `maxFileShareSubnets` integer, required — The maximum number of subnets that can be associated with a file share.
      - `maxFileSharePrivateEndpointConnections` integer, required — The maximum number of private endpoint connections allowed for a file share.
      - `minProvisionedStorageGiB` integer, required — The minimum provisioned storage in GiB for a file share.
      - `maxProvisionedStorageGiB` integer, required — The maximum provisioned storage in GiB for a file share.
      - `minProvisionedIOPerSec` integer, required — The minimum provisioned IOPS (Input/Output Operations Per Second) for a file share.
      - `maxProvisionedIOPerSec` integer, required — The maximum provisioned IOPS (Input/Output Operations Per Second) for a file share.
      - `minProvisionedThroughputMiBPerSec` integer, required — The minimum provisioned throughput in MiB/s for a file share.
      - `maxProvisionedThroughputMiBPerSec` integer, required — The maximum provisioned throughput in MiB/s for a file share.
    - `provisioningConstants` FileShareProvisioningConstants, required — Constants used for calculating recommended values of file share provisioning properties.
      - `baseIOPerSec` integer, required — Base IO per second.
      - `scalarIOPerSec` number, double, required — Scalar IO per second.
      - `baseThroughputMiBPerSec` integer, required — Base throughput in MiB per second.
      - `scalarThroughputMiBPerSec` number, double, required — Scalar throughput in MiB per second.
      - `guardrailIOPerSecScalar` number, double, required — Guardrail scalar IO per second.
      - `guardrailThroughputScalar` number, double, required — Guardrail scalar throughput in MiB per second.

## 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)
