Skip to content

Virtual Machines

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

Quick Example

<script>
var serviceDiscoveryRequests = serviceDiscoveryRequests || [];
serviceDiscoveryRequests.push({
    service: 'azure_virtual_machines',
    provider: 'azure',
    region: 'uksouth',
    source: 'live',
    attributes: ['name', 'vm_id', 'location', 'vm_size', 'os_type', 'provisioning_state']
});
</script>

<div data-sd-service="azure_virtual_machines" data-sd-source="live"></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