Skip to main content

Azure Compute Virtual Machine Run Command

An Azure Virtual Machine Run Command allows you to execute scripts on a VM through the VM agent. This is useful for troubleshooting, recovery, and general machine configuration. For full details see the Run Command documentation.

Supported Methods​

  • GET: Get a specific Compute Virtual Machine Run Command by identifier
  • SEARCH: Search for Compute Virtual Machine Run Command resources by parent resource

IAM Permissions​

  • Microsoft.Compute/virtualMachines/runCommands/read

azure-compute-virtual-machine​

Links to virtual machines associated with this resource.

azure-storage-account​

Links to the parent storage account.

azure-storage-blob-container​

Links to blob containers within the storage account.

azure-managedidentity-user-assigned-identity​

Links to user-assigned managed identities associated with this resource.

http​

Links to HTTP/HTTPS endpoints referenced by this resource.

dns​

Links to DNS names that resolve to this resource.