Azure

This page documents Azure-specific details for the Discover Assets feature.

Prerequisites

  • Your Azure subscription must be added to MechCloud using federated identity. Follow the Azure onboarding guide to connect your subscription.

  • The application registered for MechCloud must have at least the Reader role on the subscription to discover resources.

How Discovery Works

When you run Discover Assets against an Azure subscription MechCloud queries Azure Resource Manager APIs to enumerate resources across the selected regions. The results are rendered in a hierarchical view that reflects Azure's resource organization:

  • Regions - top-level grouping (e.g. eastus, westeurope)

  • Virtual networks - within each region

  • Subnets - within each virtual network

  • Compute resources - resources such as virtual machines and managed disks

  • Regional resources - resources scoped to a region such as public IPs and network interfaces

Virtual networks and subnets are displayed with their contained resources so you can see which virtual machines sit inside which subnet and which managed disks are attached to which VM.

Resource Cards

Each discovered resource is displayed as a card with key attributes:

Virtual Machines

  • VM size (e.g. Standard_B2s, Standard_D4s_v5)

  • Private and public IP addresses

  • Attached managed disks

  • Current power state

Managed Disks

  • Disk SKU (e.g. StandardSSD_LRS, Premium_LRS)

  • Size in GB

  • Attached VM (if any)

Public IPs

  • IP address

  • Associated resource (if any)

  • Allocation method and status

Lifecycle Operations

The following operations are available directly from the discovery view:

Operation
Scope
Description

Start

VM

Start a stopped virtual machine

Stop

VM

Stop a running virtual machine

Reboot

VM

Restart a running virtual machine

Delete

VM, Disk, Public IP, VNet, Subnet

Remove the resource

All operations are available at the individual resource level and in bulk.

Cascading Deletes: When deleting a virtual network or subnet MechCloud automatically identifies and removes dependent resources such as VMs, NICs, disks and public IPs in the correct order. No manual cleanup is required.

Identifying Waste

Use Discover Assets to spot resources that are incurring cost without providing value:

  • Unattached managed disks - disks not attached to any VM continue to incur storage charges

  • Unused public IPs - public IP addresses not associated with any active resource can still be billed

  • Stopped VMs with attached disks - compute may stop billing depending on state, but managed disks continue to be billed

These resources can be deleted directly from the discovery UI with a single click.

Last updated