---
type: resource-type
title: virtualMachines
description: azure resource type Microsoft.NetworkCloud/virtualMachines
name: virtualMachines
lexicon: azure
resource_type: Microsoft.NetworkCloud/virtualMachines
---
`Microsoft.NetworkCloud/virtualMachines`, a resource type of the azure lexicon.

## Properties

- `name` (`string`, required): The name of the virtual machine.
- `properties` (`virtualMachines_VirtualMachineProperties`, required): The list of the resource properties.
- `extendedLocation` (`virtualMachines_AzureResourceManagerCommonTypesExtendedLocation`, optional): The extended location of the resource. This property is required when creating the resource.
- `identity` (`virtualMachines_ManagedServiceIdentity`, optional): The managed service identities assigned to this resource.
- `location` (`string`, optional): The geo-location where the resource lives
- `resources` (`any[]`, optional)
- `tags` (`Record<string, unknown>`, optional): Resource tags.

## Attributes

- `id`

## Governed by

- [AZR023](/rules/AZR023.md): VM missing managed disk — use managed disks for better reliability and management
- [AZR024](/rules/AZR024.md): VM missing boot diagnostics — enable for troubleshooting startup failures
