Compute

Compute

Microsoft.Compute

Resource types
34 of 34 supported
Data plane
3 types emulated
API versions
68 newest 2026-04-01
Ships as
Plugin 2026.11
Plan
Standard and above

Data as of 2026-11-20

Resource types

The Resource Types supported by Locally for the Microsoft.Compute plugin are shown below. You can click into a type to see more information.

Note: This is generated from the latest version of the plugin (2026.11) as of 2026-11-20, and may differ in older versions. We aim to keep this information accurate and up to date; if you find something we're missing, then please let us know.

API versions

The latest API version that Locally supports for Microsoft.Compute is 2026-04-01. All 68 versions it supports are listed below.

Stable59

2026-04-01 2026-03-03 2026-03-02 2026-03-01 2025-12-03 2025-11-01 2025-06-05 2025-04-01 2025-03-03 2025-01-02 2024-11-04 2024-11-01 2024-07-01 2024-03-03 2024-03-02 2024-03-01 2023-10-02 2023-09-01 2023-07-03 2023-07-01 2023-04-02 2023-03-01 2023-01-02 2022-11-01 2022-09-04 2022-08-03 2022-08-01 2022-07-02 2022-04-04 2022-03-03 2022-03-02 2022-03-01 2022-01-03 2021-12-01 2021-11-01 2021-10-01 2021-08-01 2021-07-01 2021-04-01 2021-03-01 2020-12-01 2020-09-30 2020-06-30 2020-06-01 2020-05-01 2019-12-01 2019-11-01 2019-07-01 2019-04-01 2019-03-01 2018-10-01 2018-09-30 2018-06-01 2018-04-01 2017-12-01 2017-09-01 2017-03-30 2016-03-30 2015-06-15

Preview9

2026-10-05-preview 2026-09-05-preview 2026-05-05-preview 2025-02-01-preview 2024-06-01-preview 2024-03-01-preview 2021-06-01-preview 2020-10-01-preview 2016-04-30-preview

Features

  • Virtual Machines backed by a container in Docker or Podman: Linux VMs run Ubuntu 24.04, and Windows VMs run PowerShell on Linux.
  • Custom Script Extension runs for real and reports its output, downloading fileUris from Locally's Storage with a key, a SAS or the VM's managed identity.
  • Run Commands: az vm run-command invoke and managed Run Commands run in the VM and return their real output.
  • cloud-init runs a Linux VM's customData or userData on first boot.
  • VMAccess resets a VM's password or SSH key.
  • Managed identity: scripts in the VM can get tokens for its system-assigned and user-assigned identities.
  • Power operations: start, stop, deallocate, restart, redeploy and reimage.
  • Scale set instances are backed by a container each, like a standalone VM.
  • Connecting with locally connect through a public IP, a load balancer NAT rule or a Bastion, checking the VM's username and password or SSH key.
  • VM sizes and images are checked against Azure's catalogue, and a retired size is refused. Refresh the catalogue with locally refresh-reference-data.
  • Managed disks: a VM's OS and data disks are created as disk resources, and an attached disk can't be deleted.
  • Chaos Engineering can refuse, drop or slow down locally connect sessions, cut open ones, or restart, freeze or kill VMs. Team

Limitations

Disks

  • Disks aren't attached to a VM's container, so a VM can't see its data disks.
  • Disks have no contents. Granting access returns a placeholder SAS URL, so a disk can't be downloaded or uploaded.

Virtual Machine Scale Sets

  • A rolling upgrade completes as soon as it starts, so there's never one to cancel.
  • Extensions and Run Commands on a scale set or its instances are saved, but don't run at this time.
  • Instances can't be reached through a Bastion with locally connect.

Virtual Machines

  • Anything written inside a VM is lost when it's stopped, deallocated, restarted or redeployed at this time.
  • Azure's predefined Run Commands, such as IPConfig, aren't available. A managed Run Command using one is refused, and az vm run-command invoke reports success without running it.
  • Boot diagnostics returns placeholder blob URLs, and the serial console and the Instance Metadata Service aren't available.
  • Connecting to a Virtual Machine using locally connect connects to an emulator rather than an actual Virtual Machine.
  • Extensions other than Custom Script and VMAccess report success without running anything. If you'd like Locally to emulate a particular Virtual Machine Extension, please open an issue.
  • Linux VMs are backed by the container image ubuntu:24.04 and Windows VMs are backed by the container image mcr.microsoft.com/powershell:lts-ubuntu-22.04, whichever image they were created from. We plan to support changing this in a future release.
  • Locally does not restrict the CPU and memory of the container to match the VM specifications, and disks aren't attached to the VM's container at this time.
  • On ARM Hosts (including Apple Silicon) the Windows Custom Script Extension and managed Run Commands on Windows VMs report success without running.

A local cloud for you and your AI agents.

Your Azure infrastructure, running on your machine. Deploy in seconds, break things freely, and ship to Azure when you're ready.