---
title: "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/deviceCapacityCheck"
method: POST
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/deviceCapacityCheck"
tags: ["DeviceCapacityCheck"]
---

# POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/deviceCapacityCheck

`POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/deviceCapacityCheck`

Posts the device capacity request info to check feasibility.

## Path parameters

- `subscriptionId` string, required
- `resourceGroupName` string, required
- `deviceName` string, required

## Query parameters

- `api-version` string, required
- `capacityName` string

## Request body

- DeviceCapacityRequestInfo — Object for Capturing DeviceCapacityRequestInfo
  - `properties` DeviceCapacityRequestInfoProperties, required — Properties of Device Capacity Request Info containing VM's to be checked and their corresponding results.
    - `vmPlacementQuery` array[], required — Array containing the sizes of the VMs for checking if its feasible to create them on the appliance.
      - string[]
    - `vmPlacementResults` VmPlacementRequestResult[] — Array of the VMs of the sizes in VmSizes can be provisioned on the appliance.
      - `vmSize` string[] — List of VM sizes being checked.
      - `isFeasible` boolean — Boolean value indicating if the VM(s) in VmSize can be created.
      - `messageCode` string — MessageCode indicating reason for success or failure.
      - `message` string — Localized message to be displayed to the user to explain the check result.

## Response `200`

Successfully checked the feasibility of resource creation.

## Other responses

- `202` — Accepted the request to check the feasibility of resource creation.
- `default` — Error response describing why the operation failed.

## Changes

- **2026-07-13** (2019-03-01) `0ab925cce842` — 3 warning, 2 info
  - deleted the `path` request parameter `resourceGroupName`
  - deleted the `path` request parameter `subscriptionId`
  - deleted the `query` request parameter `api-version`
  - api tag `DataBoxEdgeDevices` added
  - …1 more
- **2026-07-13** (2019-03-01) `55d6fd1bc40c` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/azure/apis/databoxedge-microsoft-databoxedge-databoxedge/changes/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/:deviceName/deviceCapacityCheck/post.md)

---

[API](https://skmtc.dev/azure/apis/databoxedge-microsoft-databoxedge-databoxedge.md) · [All operations](https://skmtc.dev/azure/apis/databoxedge-microsoft-databoxedge-databoxedge/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/databoxedge-microsoft-databoxedge-databoxedge/revisions/6a5fd6f7c11c/schema)
