---
title: "Returns a list of Azure Bare Metal Instances in the specified subscription."
method: GET
path: "/subscriptions/{subscriptionId}/providers/Microsoft.BareMetalInfrastructure/bareMetalInstances"
tags: ["Bare Metal Instances"]
---

# Returns a list of Azure Bare Metal Instances in the specified subscription.

`GET /subscriptions/{subscriptionId}/providers/Microsoft.BareMetalInfrastructure/bareMetalInstances`

Returns a list of Azure Bare Metal Instances in the specified subscription. The operations returns various properties of each Azure Bare Metal Instance.

## Parameters

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

## Response `200`

OK

- AzureBareMetalInstancesListResult — The response from the List Azure Bare Metal Instances operation.
  - `value` AzureBareMetalInstance[] — The list of Azure Bare Metal Instances. — unresolved $ref
  - `nextLink` string — The URL to get the next set of Azure Bare Metal Instances.

## Other responses

- `default` — Error response describing why the operation failed.

---

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