LinuxVirtualMachine
Resource Icon

Resource Overview
Azure Linux Virtual Machine is a virtual machine (VM) that runs a Linux operating system on Microsoft’s Azure cloud computing platform.
Server workloads can be executed by configuring the VM size (SKU), operating system image, authentication method (password/SSH key), disk configuration, network interface connections, and Cloud-init initialization scripts.
Associated Resources
Parent Resources
Connected Resources
- AvailabilitySet
- Disk
- NetworkInterface
- Backup
- Metric
- PrivateLoadBalancer
- PublicLoadBalancer
- ApplicationGateway
Resource Configuration
included_vnet_name: Name of the Virtual Network to which the Virtual Machine belongslinked_availability_set_name: Name of the Availability Set to apply to the Virtual Machinesize: Size configuration of the Virtual Machine for running workloads
Image Settings (source_image)
source_image.type: Whether to use a custom image ID -recommended,custom_id,custom_inputsource_image.image_id: ID of the image used to create the VMsource_image.image: Image used to create the VMsource_image.publisher: Publisher of the image used to create the VMsource_image.offer: Offer of the image used to create the VMsource_image.sku: Pricing tier (SKU) of the image used to create the VM
Authentication Settings
enable_ssh_key_authentication: Whether to use SSH keys to authenticate the administrator account -true,falseadmin_username: Administrator username for the VM - 1 ~ 64 charactersadmin_password: Administrator password for the VM - 12 ~ 72 charactersssh_public_key: Public SSH key for the VM - maximum 600 characters
OS Disk Settings
os_disk_caching: Caching type for the internal OS disk -ReadWrite,ReadOnly,Nonestorage_account_type: Storage type for backing up the internal OS disk -Standard_LRS,StandardSSD_LRS,Premium_LRSdisk_size_gb: Size of the internal OS disk (GB) -32~32767
Additional Disk Attachments (disk_attachment)
disk_attachment.lun: Logical unit number of the diskdisk_attachment.host_caching: Disk caching configuration -None,ReadOnly,ReadWrite
Network Settings
linked_network_interface_names: List of Network Interface namesprimary_network_interface_name: Name of the primary Network Interface connected to the Virtual Machine
Initialization Script
cloudinit_config: Script content to be automatically executed when the server is created
Tags
tag: Tags used to categorize resources - maximum 512 characters,key:value