Skip to main content

List All Virtual Machines

Lists all of the virtual machines in the specified subscription. Use the nextLink property in the response to get the next page of virtual machines.

External Documentation

To learn more, visit the Azure documentation.

Parameters

ParameterDescription
Status OnlystatusOnly=true enables fetching run time status of all Virtual Machines in the subscription.
Subscription IDSubscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

Example Output

{
"nextLink": "The URI to fetch the next page of VMs. Call ListNext() with this URI to fetch the next page of Virtual Machines.",
"value": [
{
"id": "Resource Id",
"location": "Resource location",
"name": "Resource name",
"tags": {},
"type": "Resource type"
}
]
}

Workflow Library Example

List All Virtual Machines with Azure and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop