GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/virtualMachines/?api-version=2023-09-01

Gets all the virtual machines under the specified subscription for the specified location.

Servers

Path parameters

Name Type Required Description
location String Yes

The location for which virtual machines under the subscription are queried.

subscriptionId String Yes

Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.