Skip to content

Virtual Machines

Provider: Azure
Service ID: azure_virtual_machines
Rendering: Standard table with expandable detail rows

Quick Example

<!-- 1. the key, once per page -->
<script>window.lpEmbed = { accessKey: 'lp_ak_YOUR_ACCESS_KEY' };</script>

<!-- 2. the loader, once per page -->
<script src="https://lightpane.io/embed/lp.js"></script>

<!-- 3. one container per pane -->
<div data-lp-service="azure_virtual_machines"
     data-lp-account="YOUR_ACCOUNT_HANDLE"
     data-lp-region="uksouth"
     data-lp-attributes="name,vm_id,location,vm_size,os_type,provisioning_state"></div>

Default Attributes

When no attributes array is specified, these columns are displayed:

attributes: ['name', 'vm_id', 'location', 'vm_size', 'os_type', 'provisioning_state', 'private_ip', 'resource_group']

All Attributes

Attribute Display Name Format Description
name Name text From API field: name
vm_id VM ID azure_resource_name From API field: id
location Location text From API field: location
vm_size VM size text From API field: hardware_profile.vm_size
os_type OS type text From API field: storage_profile.os_disk.os_type
provisioning_state Provisioning state status_badge From API field: provisioning_state
power_state Power state status_badge From API field: instance_view.statuses[1].display_status
os_disk_size OS disk size (GB) text From API field: storage_profile.os_disk.disk_size_gb
private_ip Private IP text From API field: private_ip
public_ip Public IP text From API field: public_ip
resource_group Resource group azure_resource_group From API field: id
tags Tags tags_table All tags/labels as a key-value table

= included in default view

Sort Order

Results are sorted by: name