1. Packages
  2. Azure Classic
  3. API Docs
  4. compute
  5. LinuxVirtualMachine

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
azure logo

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

    Manages a Linux Virtual Machine.

    Disclaimers

    Note This provider will automatically remove the OS Disk by default - this behaviour can be configured using the features configuration within the Provider configuration block.

    Note All arguments including the administrator login and password will be stored in the raw state as plain-text.

    Note This resource does not support Unmanaged Disks. If you need to use Unmanaged Disks you can continue to use the azure.compute.VirtualMachine resource instead.

    Note This resource does not support attaching existing OS Disks. You can instead capture an image of the OS Disk or continue to use the azure.compute.VirtualMachine resource instead.

    In this release there’s a known issue where the public_ip_address and public_ip_addresses fields may not be fully populated for Dynamic Public IP’s.

    Example Usage

    This example provisions a basic Linux Virtual Machine on an internal network.

    using System.IO;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    class MyStack : Stack
    {
        public MyStack()
        {
            var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
            {
                Location = "West Europe",
            });
            var exampleVirtualNetwork = new Azure.Network.VirtualNetwork("exampleVirtualNetwork", new Azure.Network.VirtualNetworkArgs
            {
                AddressSpaces = 
                {
                    "10.0.0.0/16",
                },
                Location = exampleResourceGroup.Location,
                ResourceGroupName = exampleResourceGroup.Name,
            });
            var exampleSubnet = new Azure.Network.Subnet("exampleSubnet", new Azure.Network.SubnetArgs
            {
                ResourceGroupName = exampleResourceGroup.Name,
                VirtualNetworkName = exampleVirtualNetwork.Name,
                AddressPrefixes = 
                {
                    "10.0.2.0/24",
                },
            });
            var exampleNetworkInterface = new Azure.Network.NetworkInterface("exampleNetworkInterface", new Azure.Network.NetworkInterfaceArgs
            {
                Location = exampleResourceGroup.Location,
                ResourceGroupName = exampleResourceGroup.Name,
                IpConfigurations = 
                {
                    new Azure.Network.Inputs.NetworkInterfaceIpConfigurationArgs
                    {
                        Name = "internal",
                        SubnetId = exampleSubnet.Id,
                        PrivateIpAddressAllocation = "Dynamic",
                    },
                },
            });
            var exampleLinuxVirtualMachine = new Azure.Compute.LinuxVirtualMachine("exampleLinuxVirtualMachine", new Azure.Compute.LinuxVirtualMachineArgs
            {
                ResourceGroupName = exampleResourceGroup.Name,
                Location = exampleResourceGroup.Location,
                Size = "Standard_F2",
                AdminUsername = "adminuser",
                NetworkInterfaceIds = 
                {
                    exampleNetworkInterface.Id,
                },
                AdminSshKeys = 
                {
                    new Azure.Compute.Inputs.LinuxVirtualMachineAdminSshKeyArgs
                    {
                        Username = "adminuser",
                        PublicKey = File.ReadAllText("~/.ssh/id_rsa.pub"),
                    },
                },
                OsDisk = new Azure.Compute.Inputs.LinuxVirtualMachineOsDiskArgs
                {
                    Caching = "ReadWrite",
                    StorageAccountType = "Standard_LRS",
                },
                SourceImageReference = new Azure.Compute.Inputs.LinuxVirtualMachineSourceImageReferenceArgs
                {
                    Publisher = "Canonical",
                    Offer = "UbuntuServer",
                    Sku = "16.04-LTS",
                    Version = "latest",
                },
            });
        }
    
    }
    
    package main
    
    import (
    	"io/ioutil"
    
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/compute"
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/network"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func readFileOrPanic(path string) pulumi.StringPtrInput {
    	data, err := ioutil.ReadFile(path)
    	if err != nil {
    		panic(err.Error())
    	}
    	return pulumi.String(string(data))
    }
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "exampleVirtualNetwork", &network.VirtualNetworkArgs{
    			AddressSpaces: pulumi.StringArray{
    				pulumi.String("10.0.0.0/16"),
    			},
    			Location:          exampleResourceGroup.Location,
    			ResourceGroupName: exampleResourceGroup.Name,
    		})
    		if err != nil {
    			return err
    		}
    		exampleSubnet, err := network.NewSubnet(ctx, "exampleSubnet", &network.SubnetArgs{
    			ResourceGroupName:  exampleResourceGroup.Name,
    			VirtualNetworkName: exampleVirtualNetwork.Name,
    			AddressPrefixes: pulumi.StringArray{
    				pulumi.String("10.0.2.0/24"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		exampleNetworkInterface, err := network.NewNetworkInterface(ctx, "exampleNetworkInterface", &network.NetworkInterfaceArgs{
    			Location:          exampleResourceGroup.Location,
    			ResourceGroupName: exampleResourceGroup.Name,
    			IpConfigurations: network.NetworkInterfaceIpConfigurationArray{
    				&network.NetworkInterfaceIpConfigurationArgs{
    					Name:                       pulumi.String("internal"),
    					SubnetId:                   exampleSubnet.ID(),
    					PrivateIpAddressAllocation: pulumi.String("Dynamic"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = compute.NewLinuxVirtualMachine(ctx, "exampleLinuxVirtualMachine", &compute.LinuxVirtualMachineArgs{
    			ResourceGroupName: exampleResourceGroup.Name,
    			Location:          exampleResourceGroup.Location,
    			Size:              pulumi.String("Standard_F2"),
    			AdminUsername:     pulumi.String("adminuser"),
    			NetworkInterfaceIds: pulumi.StringArray{
    				exampleNetworkInterface.ID(),
    			},
    			AdminSshKeys: compute.LinuxVirtualMachineAdminSshKeyArray{
    				&compute.LinuxVirtualMachineAdminSshKeyArgs{
    					Username:  pulumi.String("adminuser"),
    					PublicKey: readFileOrPanic("~/.ssh/id_rsa.pub"),
    				},
    			},
    			OsDisk: &compute.LinuxVirtualMachineOsDiskArgs{
    				Caching:            pulumi.String("ReadWrite"),
    				StorageAccountType: pulumi.String("Standard_LRS"),
    			},
    			SourceImageReference: &compute.LinuxVirtualMachineSourceImageReferenceArgs{
    				Publisher: pulumi.String("Canonical"),
    				Offer:     pulumi.String("UbuntuServer"),
    				Sku:       pulumi.String("16.04-LTS"),
    				Version:   pulumi.String("latest"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Example coming soon!

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    import * from "fs";
    
    const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
    const exampleVirtualNetwork = new azure.network.VirtualNetwork("exampleVirtualNetwork", {
        addressSpaces: ["10.0.0.0/16"],
        location: exampleResourceGroup.location,
        resourceGroupName: exampleResourceGroup.name,
    });
    const exampleSubnet = new azure.network.Subnet("exampleSubnet", {
        resourceGroupName: exampleResourceGroup.name,
        virtualNetworkName: exampleVirtualNetwork.name,
        addressPrefixes: ["10.0.2.0/24"],
    });
    const exampleNetworkInterface = new azure.network.NetworkInterface("exampleNetworkInterface", {
        location: exampleResourceGroup.location,
        resourceGroupName: exampleResourceGroup.name,
        ipConfigurations: [{
            name: "internal",
            subnetId: exampleSubnet.id,
            privateIpAddressAllocation: "Dynamic",
        }],
    });
    const exampleLinuxVirtualMachine = new azure.compute.LinuxVirtualMachine("exampleLinuxVirtualMachine", {
        resourceGroupName: exampleResourceGroup.name,
        location: exampleResourceGroup.location,
        size: "Standard_F2",
        adminUsername: "adminuser",
        networkInterfaceIds: [exampleNetworkInterface.id],
        adminSshKeys: [{
            username: "adminuser",
            publicKey: fs.readFileSync("~/.ssh/id_rsa.pub"),
        }],
        osDisk: {
            caching: "ReadWrite",
            storageAccountType: "Standard_LRS",
        },
        sourceImageReference: {
            publisher: "Canonical",
            offer: "UbuntuServer",
            sku: "16.04-LTS",
            version: "latest",
        },
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
    example_virtual_network = azure.network.VirtualNetwork("exampleVirtualNetwork",
        address_spaces=["10.0.0.0/16"],
        location=example_resource_group.location,
        resource_group_name=example_resource_group.name)
    example_subnet = azure.network.Subnet("exampleSubnet",
        resource_group_name=example_resource_group.name,
        virtual_network_name=example_virtual_network.name,
        address_prefixes=["10.0.2.0/24"])
    example_network_interface = azure.network.NetworkInterface("exampleNetworkInterface",
        location=example_resource_group.location,
        resource_group_name=example_resource_group.name,
        ip_configurations=[azure.network.NetworkInterfaceIpConfigurationArgs(
            name="internal",
            subnet_id=example_subnet.id,
            private_ip_address_allocation="Dynamic",
        )])
    example_linux_virtual_machine = azure.compute.LinuxVirtualMachine("exampleLinuxVirtualMachine",
        resource_group_name=example_resource_group.name,
        location=example_resource_group.location,
        size="Standard_F2",
        admin_username="adminuser",
        network_interface_ids=[example_network_interface.id],
        admin_ssh_keys=[azure.compute.LinuxVirtualMachineAdminSshKeyArgs(
            username="adminuser",
            public_key=(lambda path: open(path).read())("~/.ssh/id_rsa.pub"),
        )],
        os_disk=azure.compute.LinuxVirtualMachineOsDiskArgs(
            caching="ReadWrite",
            storage_account_type="Standard_LRS",
        ),
        source_image_reference=azure.compute.LinuxVirtualMachineSourceImageReferenceArgs(
            publisher="Canonical",
            offer="UbuntuServer",
            sku="16.04-LTS",
            version="latest",
        ))
    

    Example coming soon!

    Create LinuxVirtualMachine Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new LinuxVirtualMachine(name: string, args: LinuxVirtualMachineArgs, opts?: CustomResourceOptions);
    @overload
    def LinuxVirtualMachine(resource_name: str,
                            args: LinuxVirtualMachineArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def LinuxVirtualMachine(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            network_interface_ids: Optional[Sequence[str]] = None,
                            size: Optional[str] = None,
                            resource_group_name: Optional[str] = None,
                            admin_username: Optional[str] = None,
                            os_disk: Optional[LinuxVirtualMachineOsDiskArgs] = None,
                            max_bid_price: Optional[float] = None,
                            patch_mode: Optional[str] = None,
                            computer_name: Optional[str] = None,
                            custom_data: Optional[str] = None,
                            dedicated_host_group_id: Optional[str] = None,
                            dedicated_host_id: Optional[str] = None,
                            disable_password_authentication: Optional[bool] = None,
                            encryption_at_host_enabled: Optional[bool] = None,
                            eviction_policy: Optional[str] = None,
                            extensions_time_budget: Optional[str] = None,
                            identity: Optional[LinuxVirtualMachineIdentityArgs] = None,
                            license_type: Optional[str] = None,
                            location: Optional[str] = None,
                            additional_capabilities: Optional[LinuxVirtualMachineAdditionalCapabilitiesArgs] = None,
                            name: Optional[str] = None,
                            availability_set_id: Optional[str] = None,
                            allow_extension_operations: Optional[bool] = None,
                            boot_diagnostics: Optional[LinuxVirtualMachineBootDiagnosticsArgs] = None,
                            plan: Optional[LinuxVirtualMachinePlanArgs] = None,
                            platform_fault_domain: Optional[int] = None,
                            priority: Optional[str] = None,
                            provision_vm_agent: Optional[bool] = None,
                            proximity_placement_group_id: Optional[str] = None,
                            admin_ssh_keys: Optional[Sequence[LinuxVirtualMachineAdminSshKeyArgs]] = None,
                            secrets: Optional[Sequence[LinuxVirtualMachineSecretArgs]] = None,
                            secure_boot_enabled: Optional[bool] = None,
                            admin_password: Optional[str] = None,
                            source_image_id: Optional[str] = None,
                            source_image_reference: Optional[LinuxVirtualMachineSourceImageReferenceArgs] = None,
                            tags: Optional[Mapping[str, str]] = None,
                            user_data: Optional[str] = None,
                            virtual_machine_scale_set_id: Optional[str] = None,
                            vtpm_enabled: Optional[bool] = None,
                            zone: Optional[str] = None)
    func NewLinuxVirtualMachine(ctx *Context, name string, args LinuxVirtualMachineArgs, opts ...ResourceOption) (*LinuxVirtualMachine, error)
    public LinuxVirtualMachine(string name, LinuxVirtualMachineArgs args, CustomResourceOptions? opts = null)
    public LinuxVirtualMachine(String name, LinuxVirtualMachineArgs args)
    public LinuxVirtualMachine(String name, LinuxVirtualMachineArgs args, CustomResourceOptions options)
    
    type: azure:compute:LinuxVirtualMachine
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args LinuxVirtualMachineArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args LinuxVirtualMachineArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args LinuxVirtualMachineArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LinuxVirtualMachineArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LinuxVirtualMachineArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var linuxVirtualMachineResource = new Azure.Compute.LinuxVirtualMachine("linuxVirtualMachineResource", new()
    {
        NetworkInterfaceIds = new[]
        {
            "string",
        },
        Size = "string",
        ResourceGroupName = "string",
        AdminUsername = "string",
        OsDisk = new Azure.Compute.Inputs.LinuxVirtualMachineOsDiskArgs
        {
            Caching = "string",
            StorageAccountType = "string",
            DiffDiskSettings = new Azure.Compute.Inputs.LinuxVirtualMachineOsDiskDiffDiskSettingsArgs
            {
                Option = "string",
            },
            DiskEncryptionSetId = "string",
            DiskSizeGb = 0,
            Name = "string",
            WriteAcceleratorEnabled = false,
        },
        MaxBidPrice = 0,
        PatchMode = "string",
        ComputerName = "string",
        CustomData = "string",
        DedicatedHostGroupId = "string",
        DedicatedHostId = "string",
        DisablePasswordAuthentication = false,
        EncryptionAtHostEnabled = false,
        EvictionPolicy = "string",
        ExtensionsTimeBudget = "string",
        Identity = new Azure.Compute.Inputs.LinuxVirtualMachineIdentityArgs
        {
            Type = "string",
            IdentityIds = new[]
            {
                "string",
            },
            PrincipalId = "string",
            TenantId = "string",
        },
        LicenseType = "string",
        Location = "string",
        AdditionalCapabilities = new Azure.Compute.Inputs.LinuxVirtualMachineAdditionalCapabilitiesArgs
        {
            UltraSsdEnabled = false,
        },
        Name = "string",
        AvailabilitySetId = "string",
        AllowExtensionOperations = false,
        BootDiagnostics = new Azure.Compute.Inputs.LinuxVirtualMachineBootDiagnosticsArgs
        {
            StorageAccountUri = "string",
        },
        Plan = new Azure.Compute.Inputs.LinuxVirtualMachinePlanArgs
        {
            Name = "string",
            Product = "string",
            Publisher = "string",
        },
        PlatformFaultDomain = 0,
        Priority = "string",
        ProvisionVmAgent = false,
        ProximityPlacementGroupId = "string",
        AdminSshKeys = new[]
        {
            new Azure.Compute.Inputs.LinuxVirtualMachineAdminSshKeyArgs
            {
                PublicKey = "string",
                Username = "string",
            },
        },
        Secrets = new[]
        {
            new Azure.Compute.Inputs.LinuxVirtualMachineSecretArgs
            {
                Certificates = new[]
                {
                    new Azure.Compute.Inputs.LinuxVirtualMachineSecretCertificateArgs
                    {
                        Url = "string",
                    },
                },
                KeyVaultId = "string",
            },
        },
        SecureBootEnabled = false,
        AdminPassword = "string",
        SourceImageId = "string",
        SourceImageReference = new Azure.Compute.Inputs.LinuxVirtualMachineSourceImageReferenceArgs
        {
            Offer = "string",
            Publisher = "string",
            Sku = "string",
            Version = "string",
        },
        Tags = 
        {
            { "string", "string" },
        },
        UserData = "string",
        VirtualMachineScaleSetId = "string",
        VtpmEnabled = false,
        Zone = "string",
    });
    
    example, err := compute.NewLinuxVirtualMachine(ctx, "linuxVirtualMachineResource", &compute.LinuxVirtualMachineArgs{
    	NetworkInterfaceIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Size:              pulumi.String("string"),
    	ResourceGroupName: pulumi.String("string"),
    	AdminUsername:     pulumi.String("string"),
    	OsDisk: &compute.LinuxVirtualMachineOsDiskArgs{
    		Caching:            pulumi.String("string"),
    		StorageAccountType: pulumi.String("string"),
    		DiffDiskSettings: &compute.LinuxVirtualMachineOsDiskDiffDiskSettingsArgs{
    			Option: pulumi.String("string"),
    		},
    		DiskEncryptionSetId:     pulumi.String("string"),
    		DiskSizeGb:              pulumi.Int(0),
    		Name:                    pulumi.String("string"),
    		WriteAcceleratorEnabled: pulumi.Bool(false),
    	},
    	MaxBidPrice:                   pulumi.Float64(0),
    	PatchMode:                     pulumi.String("string"),
    	ComputerName:                  pulumi.String("string"),
    	CustomData:                    pulumi.String("string"),
    	DedicatedHostGroupId:          pulumi.String("string"),
    	DedicatedHostId:               pulumi.String("string"),
    	DisablePasswordAuthentication: pulumi.Bool(false),
    	EncryptionAtHostEnabled:       pulumi.Bool(false),
    	EvictionPolicy:                pulumi.String("string"),
    	ExtensionsTimeBudget:          pulumi.String("string"),
    	Identity: &compute.LinuxVirtualMachineIdentityArgs{
    		Type: pulumi.String("string"),
    		IdentityIds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		PrincipalId: pulumi.String("string"),
    		TenantId:    pulumi.String("string"),
    	},
    	LicenseType: pulumi.String("string"),
    	Location:    pulumi.String("string"),
    	AdditionalCapabilities: &compute.LinuxVirtualMachineAdditionalCapabilitiesArgs{
    		UltraSsdEnabled: pulumi.Bool(false),
    	},
    	Name:                     pulumi.String("string"),
    	AvailabilitySetId:        pulumi.String("string"),
    	AllowExtensionOperations: pulumi.Bool(false),
    	BootDiagnostics: &compute.LinuxVirtualMachineBootDiagnosticsArgs{
    		StorageAccountUri: pulumi.String("string"),
    	},
    	Plan: &compute.LinuxVirtualMachinePlanArgs{
    		Name:      pulumi.String("string"),
    		Product:   pulumi.String("string"),
    		Publisher: pulumi.String("string"),
    	},
    	PlatformFaultDomain:       pulumi.Int(0),
    	Priority:                  pulumi.String("string"),
    	ProvisionVmAgent:          pulumi.Bool(false),
    	ProximityPlacementGroupId: pulumi.String("string"),
    	AdminSshKeys: compute.LinuxVirtualMachineAdminSshKeyArray{
    		&compute.LinuxVirtualMachineAdminSshKeyArgs{
    			PublicKey: pulumi.String("string"),
    			Username:  pulumi.String("string"),
    		},
    	},
    	Secrets: compute.LinuxVirtualMachineSecretArray{
    		&compute.LinuxVirtualMachineSecretArgs{
    			Certificates: compute.LinuxVirtualMachineSecretCertificateArray{
    				&compute.LinuxVirtualMachineSecretCertificateArgs{
    					Url: pulumi.String("string"),
    				},
    			},
    			KeyVaultId: pulumi.String("string"),
    		},
    	},
    	SecureBootEnabled: pulumi.Bool(false),
    	AdminPassword:     pulumi.String("string"),
    	SourceImageId:     pulumi.String("string"),
    	SourceImageReference: &compute.LinuxVirtualMachineSourceImageReferenceArgs{
    		Offer:     pulumi.String("string"),
    		Publisher: pulumi.String("string"),
    		Sku:       pulumi.String("string"),
    		Version:   pulumi.String("string"),
    	},
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	UserData:                 pulumi.String("string"),
    	VirtualMachineScaleSetId: pulumi.String("string"),
    	VtpmEnabled:              pulumi.Bool(false),
    	Zone:                     pulumi.String("string"),
    })
    
    var linuxVirtualMachineResource = new com.pulumi.azure.compute.LinuxVirtualMachine("linuxVirtualMachineResource", com.pulumi.azure.compute.LinuxVirtualMachineArgs.builder()
        .networkInterfaceIds("string")
        .size("string")
        .resourceGroupName("string")
        .adminUsername("string")
        .osDisk(LinuxVirtualMachineOsDiskArgs.builder()
            .caching("string")
            .storageAccountType("string")
            .diffDiskSettings(LinuxVirtualMachineOsDiskDiffDiskSettingsArgs.builder()
                .option("string")
                .build())
            .diskEncryptionSetId("string")
            .diskSizeGb(0)
            .name("string")
            .writeAcceleratorEnabled(false)
            .build())
        .maxBidPrice(0.0)
        .patchMode("string")
        .computerName("string")
        .customData("string")
        .dedicatedHostGroupId("string")
        .dedicatedHostId("string")
        .disablePasswordAuthentication(false)
        .encryptionAtHostEnabled(false)
        .evictionPolicy("string")
        .extensionsTimeBudget("string")
        .identity(LinuxVirtualMachineIdentityArgs.builder()
            .type("string")
            .identityIds("string")
            .principalId("string")
            .tenantId("string")
            .build())
        .licenseType("string")
        .location("string")
        .additionalCapabilities(LinuxVirtualMachineAdditionalCapabilitiesArgs.builder()
            .ultraSsdEnabled(false)
            .build())
        .name("string")
        .availabilitySetId("string")
        .allowExtensionOperations(false)
        .bootDiagnostics(LinuxVirtualMachineBootDiagnosticsArgs.builder()
            .storageAccountUri("string")
            .build())
        .plan(LinuxVirtualMachinePlanArgs.builder()
            .name("string")
            .product("string")
            .publisher("string")
            .build())
        .platformFaultDomain(0)
        .priority("string")
        .provisionVmAgent(false)
        .proximityPlacementGroupId("string")
        .adminSshKeys(LinuxVirtualMachineAdminSshKeyArgs.builder()
            .publicKey("string")
            .username("string")
            .build())
        .secrets(LinuxVirtualMachineSecretArgs.builder()
            .certificates(LinuxVirtualMachineSecretCertificateArgs.builder()
                .url("string")
                .build())
            .keyVaultId("string")
            .build())
        .secureBootEnabled(false)
        .adminPassword("string")
        .sourceImageId("string")
        .sourceImageReference(LinuxVirtualMachineSourceImageReferenceArgs.builder()
            .offer("string")
            .publisher("string")
            .sku("string")
            .version("string")
            .build())
        .tags(Map.of("string", "string"))
        .userData("string")
        .virtualMachineScaleSetId("string")
        .vtpmEnabled(false)
        .zone("string")
        .build());
    
    linux_virtual_machine_resource = azure.compute.LinuxVirtualMachine("linuxVirtualMachineResource",
        network_interface_ids=["string"],
        size="string",
        resource_group_name="string",
        admin_username="string",
        os_disk={
            "caching": "string",
            "storage_account_type": "string",
            "diff_disk_settings": {
                "option": "string",
            },
            "disk_encryption_set_id": "string",
            "disk_size_gb": 0,
            "name": "string",
            "write_accelerator_enabled": False,
        },
        max_bid_price=0,
        patch_mode="string",
        computer_name="string",
        custom_data="string",
        dedicated_host_group_id="string",
        dedicated_host_id="string",
        disable_password_authentication=False,
        encryption_at_host_enabled=False,
        eviction_policy="string",
        extensions_time_budget="string",
        identity={
            "type": "string",
            "identity_ids": ["string"],
            "principal_id": "string",
            "tenant_id": "string",
        },
        license_type="string",
        location="string",
        additional_capabilities={
            "ultra_ssd_enabled": False,
        },
        name="string",
        availability_set_id="string",
        allow_extension_operations=False,
        boot_diagnostics={
            "storage_account_uri": "string",
        },
        plan={
            "name": "string",
            "product": "string",
            "publisher": "string",
        },
        platform_fault_domain=0,
        priority="string",
        provision_vm_agent=False,
        proximity_placement_group_id="string",
        admin_ssh_keys=[{
            "public_key": "string",
            "username": "string",
        }],
        secrets=[{
            "certificates": [{
                "url": "string",
            }],
            "key_vault_id": "string",
        }],
        secure_boot_enabled=False,
        admin_password="string",
        source_image_id="string",
        source_image_reference={
            "offer": "string",
            "publisher": "string",
            "sku": "string",
            "version": "string",
        },
        tags={
            "string": "string",
        },
        user_data="string",
        virtual_machine_scale_set_id="string",
        vtpm_enabled=False,
        zone="string")
    
    const linuxVirtualMachineResource = new azure.compute.LinuxVirtualMachine("linuxVirtualMachineResource", {
        networkInterfaceIds: ["string"],
        size: "string",
        resourceGroupName: "string",
        adminUsername: "string",
        osDisk: {
            caching: "string",
            storageAccountType: "string",
            diffDiskSettings: {
                option: "string",
            },
            diskEncryptionSetId: "string",
            diskSizeGb: 0,
            name: "string",
            writeAcceleratorEnabled: false,
        },
        maxBidPrice: 0,
        patchMode: "string",
        computerName: "string",
        customData: "string",
        dedicatedHostGroupId: "string",
        dedicatedHostId: "string",
        disablePasswordAuthentication: false,
        encryptionAtHostEnabled: false,
        evictionPolicy: "string",
        extensionsTimeBudget: "string",
        identity: {
            type: "string",
            identityIds: ["string"],
            principalId: "string",
            tenantId: "string",
        },
        licenseType: "string",
        location: "string",
        additionalCapabilities: {
            ultraSsdEnabled: false,
        },
        name: "string",
        availabilitySetId: "string",
        allowExtensionOperations: false,
        bootDiagnostics: {
            storageAccountUri: "string",
        },
        plan: {
            name: "string",
            product: "string",
            publisher: "string",
        },
        platformFaultDomain: 0,
        priority: "string",
        provisionVmAgent: false,
        proximityPlacementGroupId: "string",
        adminSshKeys: [{
            publicKey: "string",
            username: "string",
        }],
        secrets: [{
            certificates: [{
                url: "string",
            }],
            keyVaultId: "string",
        }],
        secureBootEnabled: false,
        adminPassword: "string",
        sourceImageId: "string",
        sourceImageReference: {
            offer: "string",
            publisher: "string",
            sku: "string",
            version: "string",
        },
        tags: {
            string: "string",
        },
        userData: "string",
        virtualMachineScaleSetId: "string",
        vtpmEnabled: false,
        zone: "string",
    });
    
    type: azure:compute:LinuxVirtualMachine
    properties:
        additionalCapabilities:
            ultraSsdEnabled: false
        adminPassword: string
        adminSshKeys:
            - publicKey: string
              username: string
        adminUsername: string
        allowExtensionOperations: false
        availabilitySetId: string
        bootDiagnostics:
            storageAccountUri: string
        computerName: string
        customData: string
        dedicatedHostGroupId: string
        dedicatedHostId: string
        disablePasswordAuthentication: false
        encryptionAtHostEnabled: false
        evictionPolicy: string
        extensionsTimeBudget: string
        identity:
            identityIds:
                - string
            principalId: string
            tenantId: string
            type: string
        licenseType: string
        location: string
        maxBidPrice: 0
        name: string
        networkInterfaceIds:
            - string
        osDisk:
            caching: string
            diffDiskSettings:
                option: string
            diskEncryptionSetId: string
            diskSizeGb: 0
            name: string
            storageAccountType: string
            writeAcceleratorEnabled: false
        patchMode: string
        plan:
            name: string
            product: string
            publisher: string
        platformFaultDomain: 0
        priority: string
        provisionVmAgent: false
        proximityPlacementGroupId: string
        resourceGroupName: string
        secrets:
            - certificates:
                - url: string
              keyVaultId: string
        secureBootEnabled: false
        size: string
        sourceImageId: string
        sourceImageReference:
            offer: string
            publisher: string
            sku: string
            version: string
        tags:
            string: string
        userData: string
        virtualMachineScaleSetId: string
        vtpmEnabled: false
        zone: string
    

    LinuxVirtualMachine Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The LinuxVirtualMachine resource accepts the following input properties:

    AdminUsername string
    The username of the local administrator used for the Virtual Machine. Changing this forces a new resource to be created.
    NetworkInterfaceIds List<string>
    . A list of Network Interface ID's which should be attached to this Virtual Machine. The first Network Interface ID in this list will be the Primary Network Interface on the Virtual Machine.
    OsDisk LinuxVirtualMachineOsDisk
    A os_disk block as defined below.
    ResourceGroupName string
    The name of the Resource Group in which the Linux Virtual Machine should be exist. Changing this forces a new resource to be created.
    Size string
    The SKU which should be used for this Virtual Machine, such as Standard_F2.
    AdditionalCapabilities LinuxVirtualMachineAdditionalCapabilities
    A additional_capabilities block as defined below.
    AdminPassword string
    The Password which should be used for the local-administrator on this Virtual Machine. Changing this forces a new resource to be created.
    AdminSshKeys List<LinuxVirtualMachineAdminSshKey>
    One or more admin_ssh_key blocks as defined below.
    AllowExtensionOperations bool
    Should Extension Operations be allowed on this Virtual Machine?
    AvailabilitySetId string
    Specifies the ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.
    BootDiagnostics LinuxVirtualMachineBootDiagnostics
    A boot_diagnostics block as defined below.
    ComputerName string
    Specifies the Hostname which should be used for this Virtual Machine. If unspecified this defaults to the value for the name field. If the value of the name field is not a valid computer_name, then you must specify computer_name. Changing this forces a new resource to be created.
    CustomData string
    The Base64-Encoded Custom Data which should be used for this Virtual Machine. Changing this forces a new resource to be created.
    DedicatedHostGroupId string
    The ID of a Dedicated Host Group that this Linux Virtual Machine should be run within. Conflicts with dedicated_host_id.
    DedicatedHostId string
    The ID of a Dedicated Host where this machine should be run on. Conflicts with dedicated_host_group_id.
    DisablePasswordAuthentication bool
    Should Password Authentication be disabled on this Virtual Machine? Defaults to true. Changing this forces a new resource to be created.
    EncryptionAtHostEnabled bool
    Should all of the disks (including the temp disk) attached to this Virtual Machine be encrypted by enabling Encryption at Host?
    EvictionPolicy string
    Specifies what should happen when the Virtual Machine is evicted for price reasons when using a Spot instance. At this time the only supported value is Deallocate. Changing this forces a new resource to be created.
    ExtensionsTimeBudget string
    Specifies the duration allocated for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. Defaults to 90 minutes (PT1H30M).
    Identity LinuxVirtualMachineIdentity
    An identity block as defined below.
    LicenseType string
    Specifies the BYOL Type for this Virtual Machine. Possible values are RHEL_BYOS and SLES_BYOS.
    Location string
    The Azure location where the Linux Virtual Machine should exist. Changing this forces a new resource to be created.
    MaxBidPrice double
    The maximum price you're willing to pay for this Virtual Machine, in US Dollars; which must be greater than the current spot price. If this bid price falls below the current spot price the Virtual Machine will be evicted using the eviction_policy. Defaults to -1, which means that the Virtual Machine should not be evicted for price reasons.
    Name string
    The name of the Linux Virtual Machine. Changing this forces a new resource to be created.
    PatchMode string
    Specifies the mode of in-guest patching to this Linux Virtual Machine. Possible values are AutomaticByPlatform and ImageDefault. Defaults to ImageDefault. For more informaton on patch modes please see the product documentation.
    Plan LinuxVirtualMachinePlan
    A plan block as defined below. Changing this forces a new resource to be created.
    PlatformFaultDomain int
    Specifies the Platform Fault Domain in which this Linux Virtual Machine should be created. Defaults to -1, which means this will be automatically assigned to a fault domain that best maintains balance across the available fault domains. Changing this forces a new Linux Virtual Machine to be created.
    Priority string
    Specifies the priority of this Virtual Machine. Possible values are Regular and Spot. Defaults to Regular. Changing this forces a new resource to be created.
    ProvisionVmAgent bool
    Should the Azure VM Agent be provisioned on this Virtual Machine? Defaults to true. Changing this forces a new resource to be created.
    ProximityPlacementGroupId string
    The ID of the Proximity Placement Group which the Virtual Machine should be assigned to.
    Secrets List<LinuxVirtualMachineSecret>
    One or more secret blocks as defined below.
    SecureBootEnabled bool
    Specifies whether secure boot should be enabled on the virtual machine. Changing this forces a new resource to be created.
    SourceImageId string
    The ID of the Image which this Virtual Machine should be created from. Changing this forces a new resource to be created.
    SourceImageReference LinuxVirtualMachineSourceImageReference
    A source_image_reference block as defined below. Changing this forces a new resource to be created.
    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to this Virtual Machine.
    UserData string
    The Base64-Encoded User Data which should be used for this Virtual Machine.
    VirtualMachineScaleSetId string
    Specifies the Orchestrated Virtual Machine Scale Set that this Virtual Machine should be created within. Changing this forces a new resource to be created.
    VtpmEnabled bool
    Specifies whether vTPM should be enabled on the virtual machine. Changing this forces a new resource to be created.
    Zone string
    The Zone in which this Virtual Machine should be created. Changing this forces a new resource to be created.
    AdminUsername string
    The username of the local administrator used for the Virtual Machine. Changing this forces a new resource to be created.
    NetworkInterfaceIds []string
    . A list of Network Interface ID's which should be attached to this Virtual Machine. The first Network Interface ID in this list will be the Primary Network Interface on the Virtual Machine.
    OsDisk LinuxVirtualMachineOsDiskArgs
    A os_disk block as defined below.
    ResourceGroupName string
    The name of the Resource Group in which the Linux Virtual Machine should be exist. Changing this forces a new resource to be created.
    Size string
    The SKU which should be used for this Virtual Machine, such as Standard_F2.
    AdditionalCapabilities LinuxVirtualMachineAdditionalCapabilitiesArgs
    A additional_capabilities block as defined below.
    AdminPassword string
    The Password which should be used for the local-administrator on this Virtual Machine. Changing this forces a new resource to be created.
    AdminSshKeys []LinuxVirtualMachineAdminSshKeyArgs
    One or more admin_ssh_key blocks as defined below.
    AllowExtensionOperations bool
    Should Extension Operations be allowed on this Virtual Machine?
    AvailabilitySetId string
    Specifies the ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.
    BootDiagnostics LinuxVirtualMachineBootDiagnosticsArgs
    A boot_diagnostics block as defined below.
    ComputerName string
    Specifies the Hostname which should be used for this Virtual Machine. If unspecified this defaults to the value for the name field. If the value of the name field is not a valid computer_name, then you must specify computer_name. Changing this forces a new resource to be created.
    CustomData string
    The Base64-Encoded Custom Data which should be used for this Virtual Machine. Changing this forces a new resource to be created.
    DedicatedHostGroupId string
    The ID of a Dedicated Host Group that this Linux Virtual Machine should be run within. Conflicts with dedicated_host_id.
    DedicatedHostId string
    The ID of a Dedicated Host where this machine should be run on. Conflicts with dedicated_host_group_id.
    DisablePasswordAuthentication bool
    Should Password Authentication be disabled on this Virtual Machine? Defaults to true. Changing this forces a new resource to be created.
    EncryptionAtHostEnabled bool
    Should all of the disks (including the temp disk) attached to this Virtual Machine be encrypted by enabling Encryption at Host?
    EvictionPolicy string
    Specifies what should happen when the Virtual Machine is evicted for price reasons when using a Spot instance. At this time the only supported value is Deallocate. Changing this forces a new resource to be created.
    ExtensionsTimeBudget string
    Specifies the duration allocated for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. Defaults to 90 minutes (PT1H30M).
    Identity LinuxVirtualMachineIdentityArgs
    An identity block as defined below.
    LicenseType string
    Specifies the BYOL Type for this Virtual Machine. Possible values are RHEL_BYOS and SLES_BYOS.
    Location string
    The Azure location where the Linux Virtual Machine should exist. Changing this forces a new resource to be created.
    MaxBidPrice float64
    The maximum price you're willing to pay for this Virtual Machine, in US Dollars; which must be greater than the current spot price. If this bid price falls below the current spot price the Virtual Machine will be evicted using the eviction_policy. Defaults to -1, which means that the Virtual Machine should not be evicted for price reasons.
    Name string
    The name of the Linux Virtual Machine. Changing this forces a new resource to be created.
    PatchMode string
    Specifies the mode of in-guest patching to this Linux Virtual Machine. Possible values are AutomaticByPlatform and ImageDefault. Defaults to ImageDefault. For more informaton on patch modes please see the product documentation.
    Plan LinuxVirtualMachinePlanArgs
    A plan block as defined below. Changing this forces a new resource to be created.
    PlatformFaultDomain int
    Specifies the Platform Fault Domain in which this Linux Virtual Machine should be created. Defaults to -1, which means this will be automatically assigned to a fault domain that best maintains balance across the available fault domains. Changing this forces a new Linux Virtual Machine to be created.
    Priority string
    Specifies the priority of this Virtual Machine. Possible values are Regular and Spot. Defaults to Regular. Changing this forces a new resource to be created.
    ProvisionVmAgent bool
    Should the Azure VM Agent be provisioned on this Virtual Machine? Defaults to true. Changing this forces a new resource to be created.
    ProximityPlacementGroupId string
    The ID of the Proximity Placement Group which the Virtual Machine should be assigned to.
    Secrets []LinuxVirtualMachineSecretArgs
    One or more secret blocks as defined below.
    SecureBootEnabled bool
    Specifies whether secure boot should be enabled on the virtual machine. Changing this forces a new resource to be created.
    SourceImageId string
    The ID of the Image which this Virtual Machine should be created from. Changing this forces a new resource to be created.
    SourceImageReference LinuxVirtualMachineSourceImageReferenceArgs
    A source_image_reference block as defined below. Changing this forces a new resource to be created.
    Tags map[string]string
    A mapping of tags which should be assigned to this Virtual Machine.
    UserData string
    The Base64-Encoded User Data which should be used for this Virtual Machine.
    VirtualMachineScaleSetId string
    Specifies the Orchestrated Virtual Machine Scale Set that this Virtual Machine should be created within. Changing this forces a new resource to be created.
    VtpmEnabled bool
    Specifies whether vTPM should be enabled on the virtual machine. Changing this forces a new resource to be created.
    Zone string
    The Zone in which this Virtual Machine should be created. Changing this forces a new resource to be created.
    adminUsername String
    The username of the local administrator used for the Virtual Machine. Changing this forces a new resource to be created.
    networkInterfaceIds List<String>
    . A list of Network Interface ID's which should be attached to this Virtual Machine. The first Network Interface ID in this list will be the Primary Network Interface on the Virtual Machine.
    osDisk LinuxVirtualMachineOsDisk
    A os_disk block as defined below.
    resourceGroupName String
    The name of the Resource Group in which the Linux Virtual Machine should be exist. Changing this forces a new resource to be created.
    size String
    The SKU which should be used for this Virtual Machine, such as Standard_F2.
    additionalCapabilities LinuxVirtualMachineAdditionalCapabilities
    A additional_capabilities block as defined below.
    adminPassword String
    The Password which should be used for the local-administrator on this Virtual Machine. Changing this forces a new resource to be created.
    adminSshKeys List<LinuxVirtualMachineAdminSshKey>
    One or more admin_ssh_key blocks as defined below.
    allowExtensionOperations Boolean
    Should Extension Operations be allowed on this Virtual Machine?
    availabilitySetId String
    Specifies the ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.
    bootDiagnostics LinuxVirtualMachineBootDiagnostics
    A boot_diagnostics block as defined below.
    computerName String
    Specifies the Hostname which should be used for this Virtual Machine. If unspecified this defaults to the value for the name field. If the value of the name field is not a valid computer_name, then you must specify computer_name. Changing this forces a new resource to be created.
    customData String
    The Base64-Encoded Custom Data which should be used for this Virtual Machine. Changing this forces a new resource to be created.
    dedicatedHostGroupId String
    The ID of a Dedicated Host Group that this Linux Virtual Machine should be run within. Conflicts with dedicated_host_id.
    dedicatedHostId String
    The ID of a Dedicated Host where this machine should be run on. Conflicts with dedicated_host_group_id.
    disablePasswordAuthentication Boolean
    Should Password Authentication be disabled on this Virtual Machine? Defaults to true. Changing this forces a new resource to be created.
    encryptionAtHostEnabled Boolean
    Should all of the disks (including the temp disk) attached to this Virtual Machine be encrypted by enabling Encryption at Host?
    evictionPolicy String
    Specifies what should happen when the Virtual Machine is evicted for price reasons when using a Spot instance. At this time the only supported value is Deallocate. Changing this forces a new resource to be created.
    extensionsTimeBudget String
    Specifies the duration allocated for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. Defaults to 90 minutes (PT1H30M).
    identity LinuxVirtualMachineIdentity
    An identity block as defined below.
    licenseType String
    Specifies the BYOL Type for this Virtual Machine. Possible values are RHEL_BYOS and SLES_BYOS.
    location String
    The Azure location where the Linux Virtual Machine should exist. Changing this forces a new resource to be created.
    maxBidPrice Double
    The maximum price you're willing to pay for this Virtual Machine, in US Dollars; which must be greater than the current spot price. If this bid price falls below the current spot price the Virtual Machine will be evicted using the eviction_policy. Defaults to -1, which means that the Virtual Machine should not be evicted for price reasons.
    name String
    The name of the Linux Virtual Machine. Changing this forces a new resource to be created.
    patchMode String
    Specifies the mode of in-guest patching to this Linux Virtual Machine. Possible values are AutomaticByPlatform and ImageDefault. Defaults to ImageDefault. For more informaton on patch modes please see the product documentation.
    plan LinuxVirtualMachinePlan
    A plan block as defined below. Changing this forces a new resource to be created.
    platformFaultDomain Integer
    Specifies the Platform Fault Domain in which this Linux Virtual Machine should be created. Defaults to -1, which means this will be automatically assigned to a fault domain that best maintains balance across the available fault domains. Changing this forces a new Linux Virtual Machine to be created.
    priority String
    Specifies the priority of this Virtual Machine. Possible values are Regular and Spot. Defaults to Regular. Changing this forces a new resource to be created.
    provisionVmAgent Boolean
    Should the Azure VM Agent be provisioned on this Virtual Machine? Defaults to true. Changing this forces a new resource to be created.
    proximityPlacementGroupId String
    The ID of the Proximity Placement Group which the Virtual Machine should be assigned to.
    secrets List<LinuxVirtualMachineSecret>
    One or more secret blocks as defined below.
    secureBootEnabled Boolean
    Specifies whether secure boot should be enabled on the virtual machine. Changing this forces a new resource to be created.
    sourceImageId String
    The ID of the Image which this Virtual Machine should be created from. Changing this forces a new resource to be created.
    sourceImageReference LinuxVirtualMachineSourceImageReference
    A source_image_reference block as defined below. Changing this forces a new resource to be created.
    tags Map<String,String>
    A mapping of tags which should be assigned to this Virtual Machine.
    userData String
    The Base64-Encoded User Data which should be used for this Virtual Machine.
    virtualMachineScaleSetId String
    Specifies the Orchestrated Virtual Machine Scale Set that this Virtual Machine should be created within. Changing this forces a new resource to be created.
    vtpmEnabled Boolean
    Specifies whether vTPM should be enabled on the virtual machine. Changing this forces a new resource to be created.
    zone String
    The Zone in which this Virtual Machine should be created. Changing this forces a new resource to be created.
    adminUsername string
    The username of the local administrator used for the Virtual Machine. Changing this forces a new resource to be created.
    networkInterfaceIds string[]
    . A list of Network Interface ID's which should be attached to this Virtual Machine. The first Network Interface ID in this list will be the Primary Network Interface on the Virtual Machine.
    osDisk LinuxVirtualMachineOsDisk
    A os_disk block as defined below.
    resourceGroupName string
    The name of the Resource Group in which the Linux Virtual Machine should be exist. Changing this forces a new resource to be created.
    size string
    The SKU which should be used for this Virtual Machine, such as Standard_F2.
    additionalCapabilities LinuxVirtualMachineAdditionalCapabilities
    A additional_capabilities block as defined below.
    adminPassword string
    The Password which should be used for the local-administrator on this Virtual Machine. Changing this forces a new resource to be created.
    adminSshKeys LinuxVirtualMachineAdminSshKey[]
    One or more admin_ssh_key blocks as defined below.
    allowExtensionOperations boolean
    Should Extension Operations be allowed on this Virtual Machine?
    availabilitySetId string
    Specifies the ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.
    bootDiagnostics LinuxVirtualMachineBootDiagnostics
    A boot_diagnostics block as defined below.
    computerName string
    Specifies the Hostname which should be used for this Virtual Machine. If unspecified this defaults to the value for the name field. If the value of the name field is not a valid computer_name, then you must specify computer_name. Changing this forces a new resource to be created.
    customData string
    The Base64-Encoded Custom Data which should be used for this Virtual Machine. Changing this forces a new resource to be created.
    dedicatedHostGroupId string
    The ID of a Dedicated Host Group that this Linux Virtual Machine should be run within. Conflicts with dedicated_host_id.
    dedicatedHostId string
    The ID of a Dedicated Host where this machine should be run on. Conflicts with dedicated_host_group_id.
    disablePasswordAuthentication boolean
    Should Password Authentication be disabled on this Virtual Machine? Defaults to true. Changing this forces a new resource to be created.
    encryptionAtHostEnabled boolean
    Should all of the disks (including the temp disk) attached to this Virtual Machine be encrypted by enabling Encryption at Host?
    evictionPolicy string
    Specifies what should happen when the Virtual Machine is evicted for price reasons when using a Spot instance. At this time the only supported value is Deallocate. Changing this forces a new resource to be created.
    extensionsTimeBudget string
    Specifies the duration allocated for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. Defaults to 90 minutes (PT1H30M).
    identity LinuxVirtualMachineIdentity
    An identity block as defined below.
    licenseType string
    Specifies the BYOL Type for this Virtual Machine. Possible values are RHEL_BYOS and SLES_BYOS.
    location string
    The Azure location where the Linux Virtual Machine should exist. Changing this forces a new resource to be created.
    maxBidPrice number
    The maximum price you're willing to pay for this Virtual Machine, in US Dollars; which must be greater than the current spot price. If this bid price falls below the current spot price the Virtual Machine will be evicted using the eviction_policy. Defaults to -1, which means that the Virtual Machine should not be evicted for price reasons.
    name string
    The name of the Linux Virtual Machine. Changing this forces a new resource to be created.
    patchMode string
    Specifies the mode of in-guest patching to this Linux Virtual Machine. Possible values are AutomaticByPlatform and ImageDefault. Defaults to ImageDefault. For more informaton on patch modes please see the product documentation.
    plan LinuxVirtualMachinePlan
    A plan block as defined below. Changing this forces a new resource to be created.
    platformFaultDomain number
    Specifies the Platform Fault Domain in which this Linux Virtual Machine should be created. Defaults to -1, which means this will be automatically assigned to a fault domain that best maintains balance across the available fault domains. Changing this forces a new Linux Virtual Machine to be created.
    priority string
    Specifies the priority of this Virtual Machine. Possible values are Regular and Spot. Defaults to Regular. Changing this forces a new resource to be created.
    provisionVmAgent boolean
    Should the Azure VM Agent be provisioned on this Virtual Machine? Defaults to true. Changing this forces a new resource to be created.
    proximityPlacementGroupId string
    The ID of the Proximity Placement Group which the Virtual Machine should be assigned to.
    secrets LinuxVirtualMachineSecret[]
    One or more secret blocks as defined below.
    secureBootEnabled boolean
    Specifies whether secure boot should be enabled on the virtual machine. Changing this forces a new resource to be created.
    sourceImageId string
    The ID of the Image which this Virtual Machine should be created from. Changing this forces a new resource to be created.
    sourceImageReference LinuxVirtualMachineSourceImageReference
    A source_image_reference block as defined below. Changing this forces a new resource to be created.
    tags {[key: string]: string}
    A mapping of tags which should be assigned to this Virtual Machine.
    userData string
    The Base64-Encoded User Data which should be used for this Virtual Machine.
    virtualMachineScaleSetId string
    Specifies the Orchestrated Virtual Machine Scale Set that this Virtual Machine should be created within. Changing this forces a new resource to be created.
    vtpmEnabled boolean
    Specifies whether vTPM should be enabled on the virtual machine. Changing this forces a new resource to be created.
    zone string
    The Zone in which this Virtual Machine should be created. Changing this forces a new resource to be created.
    admin_username str
    The username of the local administrator used for the Virtual Machine. Changing this forces a new resource to be created.
    network_interface_ids Sequence[str]
    . A list of Network Interface ID's which should be attached to this Virtual Machine. The first Network Interface ID in this list will be the Primary Network Interface on the Virtual Machine.
    os_disk LinuxVirtualMachineOsDiskArgs
    A os_disk block as defined below.
    resource_group_name str
    The name of the Resource Group in which the Linux Virtual Machine should be exist. Changing this forces a new resource to be created.
    size str
    The SKU which should be used for this Virtual Machine, such as Standard_F2.
    additional_capabilities LinuxVirtualMachineAdditionalCapabilitiesArgs
    A additional_capabilities block as defined below.
    admin_password str
    The Password which should be used for the local-administrator on this Virtual Machine. Changing this forces a new resource to be created.
    admin_ssh_keys Sequence[LinuxVirtualMachineAdminSshKeyArgs]
    One or more admin_ssh_key blocks as defined below.
    allow_extension_operations bool
    Should Extension Operations be allowed on this Virtual Machine?
    availability_set_id str
    Specifies the ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.
    boot_diagnostics LinuxVirtualMachineBootDiagnosticsArgs
    A boot_diagnostics block as defined below.
    computer_name str
    Specifies the Hostname which should be used for this Virtual Machine. If unspecified this defaults to the value for the name field. If the value of the name field is not a valid computer_name, then you must specify computer_name. Changing this forces a new resource to be created.
    custom_data str
    The Base64-Encoded Custom Data which should be used for this Virtual Machine. Changing this forces a new resource to be created.
    dedicated_host_group_id str
    The ID of a Dedicated Host Group that this Linux Virtual Machine should be run within. Conflicts with dedicated_host_id.
    dedicated_host_id str
    The ID of a Dedicated Host where this machine should be run on. Conflicts with dedicated_host_group_id.
    disable_password_authentication bool
    Should Password Authentication be disabled on this Virtual Machine? Defaults to true. Changing this forces a new resource to be created.
    encryption_at_host_enabled bool
    Should all of the disks (including the temp disk) attached to this Virtual Machine be encrypted by enabling Encryption at Host?
    eviction_policy str
    Specifies what should happen when the Virtual Machine is evicted for price reasons when using a Spot instance. At this time the only supported value is Deallocate. Changing this forces a new resource to be created.
    extensions_time_budget str
    Specifies the duration allocated for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. Defaults to 90 minutes (PT1H30M).
    identity LinuxVirtualMachineIdentityArgs
    An identity block as defined below.
    license_type str
    Specifies the BYOL Type for this Virtual Machine. Possible values are RHEL_BYOS and SLES_BYOS.
    location str
    The Azure location where the Linux Virtual Machine should exist. Changing this forces a new resource to be created.
    max_bid_price float
    The maximum price you're willing to pay for this Virtual Machine, in US Dollars; which must be greater than the current spot price. If this bid price falls below the current spot price the Virtual Machine will be evicted using the eviction_policy. Defaults to -1, which means that the Virtual Machine should not be evicted for price reasons.
    name str
    The name of the Linux Virtual Machine. Changing this forces a new resource to be created.
    patch_mode str
    Specifies the mode of in-guest patching to this Linux Virtual Machine. Possible values are AutomaticByPlatform and ImageDefault. Defaults to ImageDefault. For more informaton on patch modes please see the product documentation.
    plan LinuxVirtualMachinePlanArgs
    A plan block as defined below. Changing this forces a new resource to be created.
    platform_fault_domain int
    Specifies the Platform Fault Domain in which this Linux Virtual Machine should be created. Defaults to -1, which means this will be automatically assigned to a fault domain that best maintains balance across the available fault domains. Changing this forces a new Linux Virtual Machine to be created.
    priority str
    Specifies the priority of this Virtual Machine. Possible values are Regular and Spot. Defaults to Regular. Changing this forces a new resource to be created.
    provision_vm_agent bool
    Should the Azure VM Agent be provisioned on this Virtual Machine? Defaults to true. Changing this forces a new resource to be created.
    proximity_placement_group_id str
    The ID of the Proximity Placement Group which the Virtual Machine should be assigned to.
    secrets Sequence[LinuxVirtualMachineSecretArgs]
    One or more secret blocks as defined below.
    secure_boot_enabled bool
    Specifies whether secure boot should be enabled on the virtual machine. Changing this forces a new resource to be created.
    source_image_id str
    The ID of the Image which this Virtual Machine should be created from. Changing this forces a new resource to be created.
    source_image_reference LinuxVirtualMachineSourceImageReferenceArgs
    A source_image_reference block as defined below. Changing this forces a new resource to be created.
    tags Mapping[str, str]
    A mapping of tags which should be assigned to this Virtual Machine.
    user_data str
    The Base64-Encoded User Data which should be used for this Virtual Machine.
    virtual_machine_scale_set_id str
    Specifies the Orchestrated Virtual Machine Scale Set that this Virtual Machine should be created within. Changing this forces a new resource to be created.
    vtpm_enabled bool
    Specifies whether vTPM should be enabled on the virtual machine. Changing this forces a new resource to be created.
    zone str
    The Zone in which this Virtual Machine should be created. Changing this forces a new resource to be created.
    adminUsername String
    The username of the local administrator used for the Virtual Machine. Changing this forces a new resource to be created.
    networkInterfaceIds List<String>
    . A list of Network Interface ID's which should be attached to this Virtual Machine. The first Network Interface ID in this list will be the Primary Network Interface on the Virtual Machine.
    osDisk Property Map
    A os_disk block as defined below.
    resourceGroupName String
    The name of the Resource Group in which the Linux Virtual Machine should be exist. Changing this forces a new resource to be created.
    size String
    The SKU which should be used for this Virtual Machine, such as Standard_F2.
    additionalCapabilities Property Map
    A additional_capabilities block as defined below.
    adminPassword String
    The Password which should be used for the local-administrator on this Virtual Machine. Changing this forces a new resource to be created.
    adminSshKeys List<Property Map>
    One or more admin_ssh_key blocks as defined below.
    allowExtensionOperations Boolean
    Should Extension Operations be allowed on this Virtual Machine?
    availabilitySetId String
    Specifies the ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.
    bootDiagnostics Property Map
    A boot_diagnostics block as defined below.
    computerName String
    Specifies the Hostname which should be used for this Virtual Machine. If unspecified this defaults to the value for the name field. If the value of the name field is not a valid computer_name, then you must specify computer_name. Changing this forces a new resource to be created.
    customData String
    The Base64-Encoded Custom Data which should be used for this Virtual Machine. Changing this forces a new resource to be created.
    dedicatedHostGroupId String
    The ID of a Dedicated Host Group that this Linux Virtual Machine should be run within. Conflicts with dedicated_host_id.
    dedicatedHostId String
    The ID of a Dedicated Host where this machine should be run on. Conflicts with dedicated_host_group_id.
    disablePasswordAuthentication Boolean
    Should Password Authentication be disabled on this Virtual Machine? Defaults to true. Changing this forces a new resource to be created.
    encryptionAtHostEnabled Boolean
    Should all of the disks (including the temp disk) attached to this Virtual Machine be encrypted by enabling Encryption at Host?
    evictionPolicy String
    Specifies what should happen when the Virtual Machine is evicted for price reasons when using a Spot instance. At this time the only supported value is Deallocate. Changing this forces a new resource to be created.
    extensionsTimeBudget String
    Specifies the duration allocated for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. Defaults to 90 minutes (PT1H30M).
    identity Property Map
    An identity block as defined below.
    licenseType String
    Specifies the BYOL Type for this Virtual Machine. Possible values are RHEL_BYOS and SLES_BYOS.
    location String
    The Azure location where the Linux Virtual Machine should exist. Changing this forces a new resource to be created.
    maxBidPrice Number
    The maximum price you're willing to pay for this Virtual Machine, in US Dollars; which must be greater than the current spot price. If this bid price falls below the current spot price the Virtual Machine will be evicted using the eviction_policy. Defaults to -1, which means that the Virtual Machine should not be evicted for price reasons.
    name String
    The name of the Linux Virtual Machine. Changing this forces a new resource to be created.
    patchMode String
    Specifies the mode of in-guest patching to this Linux Virtual Machine. Possible values are AutomaticByPlatform and ImageDefault. Defaults to ImageDefault. For more informaton on patch modes please see the product documentation.
    plan Property Map
    A plan block as defined below. Changing this forces a new resource to be created.
    platformFaultDomain Number
    Specifies the Platform Fault Domain in which this Linux Virtual Machine should be created. Defaults to -1, which means this will be automatically assigned to a fault domain that best maintains balance across the available fault domains. Changing this forces a new Linux Virtual Machine to be created.
    priority String
    Specifies the priority of this Virtual Machine. Possible values are Regular and Spot. Defaults to Regular. Changing this forces a new resource to be created.
    provisionVmAgent Boolean
    Should the Azure VM Agent be provisioned on this Virtual Machine? Defaults to true. Changing this forces a new resource to be created.
    proximityPlacementGroupId String
    The ID of the Proximity Placement Group which the Virtual Machine should be assigned to.
    secrets List<Property Map>
    One or more secret blocks as defined below.
    secureBootEnabled Boolean
    Specifies whether secure boot should be enabled on the virtual machine. Changing this forces a new resource to be created.
    sourceImageId String
    The ID of the Image which this Virtual Machine should be created from. Changing this forces a new resource to be created.
    sourceImageReference Property Map
    A source_image_reference block as defined below. Changing this forces a new resource to be created.
    tags Map<String>
    A mapping of tags which should be assigned to this Virtual Machine.
    userData String
    The Base64-Encoded User Data which should be used for this Virtual Machine.
    virtualMachineScaleSetId String
    Specifies the Orchestrated Virtual Machine Scale Set that this Virtual Machine should be created within. Changing this forces a new resource to be created.
    vtpmEnabled Boolean
    Specifies whether vTPM should be enabled on the virtual machine. Changing this forces a new resource to be created.
    zone String
    The Zone in which this Virtual Machine should be created. Changing this forces a new resource to be created.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the LinuxVirtualMachine resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    PrivateIpAddress string
    The Primary Private IP Address assigned to this Virtual Machine.
    PrivateIpAddresses List<string>
    A list of Private IP Addresses assigned to this Virtual Machine.
    PublicIpAddress string
    The Primary Public IP Address assigned to this Virtual Machine.
    PublicIpAddresses List<string>
    A list of the Public IP Addresses assigned to this Virtual Machine.
    VirtualMachineId string
    A 128-bit identifier which uniquely identifies this Virtual Machine.
    Id string
    The provider-assigned unique ID for this managed resource.
    PrivateIpAddress string
    The Primary Private IP Address assigned to this Virtual Machine.
    PrivateIpAddresses []string
    A list of Private IP Addresses assigned to this Virtual Machine.
    PublicIpAddress string
    The Primary Public IP Address assigned to this Virtual Machine.
    PublicIpAddresses []string
    A list of the Public IP Addresses assigned to this Virtual Machine.
    VirtualMachineId string
    A 128-bit identifier which uniquely identifies this Virtual Machine.
    id String
    The provider-assigned unique ID for this managed resource.
    privateIpAddress String
    The Primary Private IP Address assigned to this Virtual Machine.
    privateIpAddresses List<String>
    A list of Private IP Addresses assigned to this Virtual Machine.
    publicIpAddress String
    The Primary Public IP Address assigned to this Virtual Machine.
    publicIpAddresses List<String>
    A list of the Public IP Addresses assigned to this Virtual Machine.
    virtualMachineId String
    A 128-bit identifier which uniquely identifies this Virtual Machine.
    id string
    The provider-assigned unique ID for this managed resource.
    privateIpAddress string
    The Primary Private IP Address assigned to this Virtual Machine.
    privateIpAddresses string[]
    A list of Private IP Addresses assigned to this Virtual Machine.
    publicIpAddress string
    The Primary Public IP Address assigned to this Virtual Machine.
    publicIpAddresses string[]
    A list of the Public IP Addresses assigned to this Virtual Machine.
    virtualMachineId string
    A 128-bit identifier which uniquely identifies this Virtual Machine.
    id str
    The provider-assigned unique ID for this managed resource.
    private_ip_address str
    The Primary Private IP Address assigned to this Virtual Machine.
    private_ip_addresses Sequence[str]
    A list of Private IP Addresses assigned to this Virtual Machine.
    public_ip_address str
    The Primary Public IP Address assigned to this Virtual Machine.
    public_ip_addresses Sequence[str]
    A list of the Public IP Addresses assigned to this Virtual Machine.
    virtual_machine_id str
    A 128-bit identifier which uniquely identifies this Virtual Machine.
    id String
    The provider-assigned unique ID for this managed resource.
    privateIpAddress String
    The Primary Private IP Address assigned to this Virtual Machine.
    privateIpAddresses List<String>
    A list of Private IP Addresses assigned to this Virtual Machine.
    publicIpAddress String
    The Primary Public IP Address assigned to this Virtual Machine.
    publicIpAddresses List<String>
    A list of the Public IP Addresses assigned to this Virtual Machine.
    virtualMachineId String
    A 128-bit identifier which uniquely identifies this Virtual Machine.

    Look up Existing LinuxVirtualMachine Resource

    Get an existing LinuxVirtualMachine resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: LinuxVirtualMachineState, opts?: CustomResourceOptions): LinuxVirtualMachine
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            additional_capabilities: Optional[LinuxVirtualMachineAdditionalCapabilitiesArgs] = None,
            admin_password: Optional[str] = None,
            admin_ssh_keys: Optional[Sequence[LinuxVirtualMachineAdminSshKeyArgs]] = None,
            admin_username: Optional[str] = None,
            allow_extension_operations: Optional[bool] = None,
            availability_set_id: Optional[str] = None,
            boot_diagnostics: Optional[LinuxVirtualMachineBootDiagnosticsArgs] = None,
            computer_name: Optional[str] = None,
            custom_data: Optional[str] = None,
            dedicated_host_group_id: Optional[str] = None,
            dedicated_host_id: Optional[str] = None,
            disable_password_authentication: Optional[bool] = None,
            encryption_at_host_enabled: Optional[bool] = None,
            eviction_policy: Optional[str] = None,
            extensions_time_budget: Optional[str] = None,
            identity: Optional[LinuxVirtualMachineIdentityArgs] = None,
            license_type: Optional[str] = None,
            location: Optional[str] = None,
            max_bid_price: Optional[float] = None,
            name: Optional[str] = None,
            network_interface_ids: Optional[Sequence[str]] = None,
            os_disk: Optional[LinuxVirtualMachineOsDiskArgs] = None,
            patch_mode: Optional[str] = None,
            plan: Optional[LinuxVirtualMachinePlanArgs] = None,
            platform_fault_domain: Optional[int] = None,
            priority: Optional[str] = None,
            private_ip_address: Optional[str] = None,
            private_ip_addresses: Optional[Sequence[str]] = None,
            provision_vm_agent: Optional[bool] = None,
            proximity_placement_group_id: Optional[str] = None,
            public_ip_address: Optional[str] = None,
            public_ip_addresses: Optional[Sequence[str]] = None,
            resource_group_name: Optional[str] = None,
            secrets: Optional[Sequence[LinuxVirtualMachineSecretArgs]] = None,
            secure_boot_enabled: Optional[bool] = None,
            size: Optional[str] = None,
            source_image_id: Optional[str] = None,
            source_image_reference: Optional[LinuxVirtualMachineSourceImageReferenceArgs] = None,
            tags: Optional[Mapping[str, str]] = None,
            user_data: Optional[str] = None,
            virtual_machine_id: Optional[str] = None,
            virtual_machine_scale_set_id: Optional[str] = None,
            vtpm_enabled: Optional[bool] = None,
            zone: Optional[str] = None) -> LinuxVirtualMachine
    func GetLinuxVirtualMachine(ctx *Context, name string, id IDInput, state *LinuxVirtualMachineState, opts ...ResourceOption) (*LinuxVirtualMachine, error)
    public static LinuxVirtualMachine Get(string name, Input<string> id, LinuxVirtualMachineState? state, CustomResourceOptions? opts = null)
    public static LinuxVirtualMachine get(String name, Output<String> id, LinuxVirtualMachineState state, CustomResourceOptions options)
    resources:  _:    type: azure:compute:LinuxVirtualMachine    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AdditionalCapabilities LinuxVirtualMachineAdditionalCapabilities
    A additional_capabilities block as defined below.
    AdminPassword string
    The Password which should be used for the local-administrator on this Virtual Machine. Changing this forces a new resource to be created.
    AdminSshKeys List<LinuxVirtualMachineAdminSshKey>
    One or more admin_ssh_key blocks as defined below.
    AdminUsername string
    The username of the local administrator used for the Virtual Machine. Changing this forces a new resource to be created.
    AllowExtensionOperations bool
    Should Extension Operations be allowed on this Virtual Machine?
    AvailabilitySetId string
    Specifies the ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.
    BootDiagnostics LinuxVirtualMachineBootDiagnostics
    A boot_diagnostics block as defined below.
    ComputerName string
    Specifies the Hostname which should be used for this Virtual Machine. If unspecified this defaults to the value for the name field. If the value of the name field is not a valid computer_name, then you must specify computer_name. Changing this forces a new resource to be created.
    CustomData string
    The Base64-Encoded Custom Data which should be used for this Virtual Machine. Changing this forces a new resource to be created.
    DedicatedHostGroupId string
    The ID of a Dedicated Host Group that this Linux Virtual Machine should be run within. Conflicts with dedicated_host_id.
    DedicatedHostId string
    The ID of a Dedicated Host where this machine should be run on. Conflicts with dedicated_host_group_id.
    DisablePasswordAuthentication bool
    Should Password Authentication be disabled on this Virtual Machine? Defaults to true. Changing this forces a new resource to be created.
    EncryptionAtHostEnabled bool
    Should all of the disks (including the temp disk) attached to this Virtual Machine be encrypted by enabling Encryption at Host?
    EvictionPolicy string
    Specifies what should happen when the Virtual Machine is evicted for price reasons when using a Spot instance. At this time the only supported value is Deallocate. Changing this forces a new resource to be created.
    ExtensionsTimeBudget string
    Specifies the duration allocated for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. Defaults to 90 minutes (PT1H30M).
    Identity LinuxVirtualMachineIdentity
    An identity block as defined below.
    LicenseType string
    Specifies the BYOL Type for this Virtual Machine. Possible values are RHEL_BYOS and SLES_BYOS.
    Location string
    The Azure location where the Linux Virtual Machine should exist. Changing this forces a new resource to be created.
    MaxBidPrice double
    The maximum price you're willing to pay for this Virtual Machine, in US Dollars; which must be greater than the current spot price. If this bid price falls below the current spot price the Virtual Machine will be evicted using the eviction_policy. Defaults to -1, which means that the Virtual Machine should not be evicted for price reasons.
    Name string
    The name of the Linux Virtual Machine. Changing this forces a new resource to be created.
    NetworkInterfaceIds List<string>
    . A list of Network Interface ID's which should be attached to this Virtual Machine. The first Network Interface ID in this list will be the Primary Network Interface on the Virtual Machine.
    OsDisk LinuxVirtualMachineOsDisk
    A os_disk block as defined below.
    PatchMode string
    Specifies the mode of in-guest patching to this Linux Virtual Machine. Possible values are AutomaticByPlatform and ImageDefault. Defaults to ImageDefault. For more informaton on patch modes please see the product documentation.
    Plan LinuxVirtualMachinePlan
    A plan block as defined below. Changing this forces a new resource to be created.
    PlatformFaultDomain int
    Specifies the Platform Fault Domain in which this Linux Virtual Machine should be created. Defaults to -1, which means this will be automatically assigned to a fault domain that best maintains balance across the available fault domains. Changing this forces a new Linux Virtual Machine to be created.
    Priority string
    Specifies the priority of this Virtual Machine. Possible values are Regular and Spot. Defaults to Regular. Changing this forces a new resource to be created.
    PrivateIpAddress string
    The Primary Private IP Address assigned to this Virtual Machine.
    PrivateIpAddresses List<string>
    A list of Private IP Addresses assigned to this Virtual Machine.
    ProvisionVmAgent bool
    Should the Azure VM Agent be provisioned on this Virtual Machine? Defaults to true. Changing this forces a new resource to be created.
    ProximityPlacementGroupId string
    The ID of the Proximity Placement Group which the Virtual Machine should be assigned to.
    PublicIpAddress string
    The Primary Public IP Address assigned to this Virtual Machine.
    PublicIpAddresses List<string>
    A list of the Public IP Addresses assigned to this Virtual Machine.
    ResourceGroupName string
    The name of the Resource Group in which the Linux Virtual Machine should be exist. Changing this forces a new resource to be created.
    Secrets List<LinuxVirtualMachineSecret>
    One or more secret blocks as defined below.
    SecureBootEnabled bool
    Specifies whether secure boot should be enabled on the virtual machine. Changing this forces a new resource to be created.
    Size string
    The SKU which should be used for this Virtual Machine, such as Standard_F2.
    SourceImageId string
    The ID of the Image which this Virtual Machine should be created from. Changing this forces a new resource to be created.
    SourceImageReference LinuxVirtualMachineSourceImageReference
    A source_image_reference block as defined below. Changing this forces a new resource to be created.
    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to this Virtual Machine.
    UserData string
    The Base64-Encoded User Data which should be used for this Virtual Machine.
    VirtualMachineId string
    A 128-bit identifier which uniquely identifies this Virtual Machine.
    VirtualMachineScaleSetId string
    Specifies the Orchestrated Virtual Machine Scale Set that this Virtual Machine should be created within. Changing this forces a new resource to be created.
    VtpmEnabled bool
    Specifies whether vTPM should be enabled on the virtual machine. Changing this forces a new resource to be created.
    Zone string
    The Zone in which this Virtual Machine should be created. Changing this forces a new resource to be created.
    AdditionalCapabilities LinuxVirtualMachineAdditionalCapabilitiesArgs
    A additional_capabilities block as defined below.
    AdminPassword string
    The Password which should be used for the local-administrator on this Virtual Machine. Changing this forces a new resource to be created.
    AdminSshKeys []LinuxVirtualMachineAdminSshKeyArgs
    One or more admin_ssh_key blocks as defined below.
    AdminUsername string
    The username of the local administrator used for the Virtual Machine. Changing this forces a new resource to be created.
    AllowExtensionOperations bool
    Should Extension Operations be allowed on this Virtual Machine?
    AvailabilitySetId string
    Specifies the ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.
    BootDiagnostics LinuxVirtualMachineBootDiagnosticsArgs
    A boot_diagnostics block as defined below.
    ComputerName string
    Specifies the Hostname which should be used for this Virtual Machine. If unspecified this defaults to the value for the name field. If the value of the name field is not a valid computer_name, then you must specify computer_name. Changing this forces a new resource to be created.
    CustomData string
    The Base64-Encoded Custom Data which should be used for this Virtual Machine. Changing this forces a new resource to be created.
    DedicatedHostGroupId string
    The ID of a Dedicated Host Group that this Linux Virtual Machine should be run within. Conflicts with dedicated_host_id.
    DedicatedHostId string
    The ID of a Dedicated Host where this machine should be run on. Conflicts with dedicated_host_group_id.
    DisablePasswordAuthentication bool
    Should Password Authentication be disabled on this Virtual Machine? Defaults to true. Changing this forces a new resource to be created.
    EncryptionAtHostEnabled bool
    Should all of the disks (including the temp disk) attached to this Virtual Machine be encrypted by enabling Encryption at Host?
    EvictionPolicy string
    Specifies what should happen when the Virtual Machine is evicted for price reasons when using a Spot instance. At this time the only supported value is Deallocate. Changing this forces a new resource to be created.
    ExtensionsTimeBudget string
    Specifies the duration allocated for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. Defaults to 90 minutes (PT1H30M).
    Identity LinuxVirtualMachineIdentityArgs
    An identity block as defined below.
    LicenseType string
    Specifies the BYOL Type for this Virtual Machine. Possible values are RHEL_BYOS and SLES_BYOS.
    Location string
    The Azure location where the Linux Virtual Machine should exist. Changing this forces a new resource to be created.
    MaxBidPrice float64
    The maximum price you're willing to pay for this Virtual Machine, in US Dollars; which must be greater than the current spot price. If this bid price falls below the current spot price the Virtual Machine will be evicted using the eviction_policy. Defaults to -1, which means that the Virtual Machine should not be evicted for price reasons.
    Name string
    The name of the Linux Virtual Machine. Changing this forces a new resource to be created.
    NetworkInterfaceIds []string
    . A list of Network Interface ID's which should be attached to this Virtual Machine. The first Network Interface ID in this list will be the Primary Network Interface on the Virtual Machine.
    OsDisk LinuxVirtualMachineOsDiskArgs
    A os_disk block as defined below.
    PatchMode string
    Specifies the mode of in-guest patching to this Linux Virtual Machine. Possible values are AutomaticByPlatform and ImageDefault. Defaults to ImageDefault. For more informaton on patch modes please see the product documentation.
    Plan LinuxVirtualMachinePlanArgs
    A plan block as defined below. Changing this forces a new resource to be created.
    PlatformFaultDomain int
    Specifies the Platform Fault Domain in which this Linux Virtual Machine should be created. Defaults to -1, which means this will be automatically assigned to a fault domain that best maintains balance across the available fault domains. Changing this forces a new Linux Virtual Machine to be created.
    Priority string
    Specifies the priority of this Virtual Machine. Possible values are Regular and Spot. Defaults to Regular. Changing this forces a new resource to be created.
    PrivateIpAddress string
    The Primary Private IP Address assigned to this Virtual Machine.
    PrivateIpAddresses []string
    A list of Private IP Addresses assigned to this Virtual Machine.
    ProvisionVmAgent bool
    Should the Azure VM Agent be provisioned on this Virtual Machine? Defaults to true. Changing this forces a new resource to be created.
    ProximityPlacementGroupId string
    The ID of the Proximity Placement Group which the Virtual Machine should be assigned to.
    PublicIpAddress string
    The Primary Public IP Address assigned to this Virtual Machine.
    PublicIpAddresses []string
    A list of the Public IP Addresses assigned to this Virtual Machine.
    ResourceGroupName string
    The name of the Resource Group in which the Linux Virtual Machine should be exist. Changing this forces a new resource to be created.
    Secrets []LinuxVirtualMachineSecretArgs
    One or more secret blocks as defined below.
    SecureBootEnabled bool
    Specifies whether secure boot should be enabled on the virtual machine. Changing this forces a new resource to be created.
    Size string
    The SKU which should be used for this Virtual Machine, such as Standard_F2.
    SourceImageId string
    The ID of the Image which this Virtual Machine should be created from. Changing this forces a new resource to be created.
    SourceImageReference LinuxVirtualMachineSourceImageReferenceArgs
    A source_image_reference block as defined below. Changing this forces a new resource to be created.
    Tags map[string]string
    A mapping of tags which should be assigned to this Virtual Machine.
    UserData string
    The Base64-Encoded User Data which should be used for this Virtual Machine.
    VirtualMachineId string
    A 128-bit identifier which uniquely identifies this Virtual Machine.
    VirtualMachineScaleSetId string
    Specifies the Orchestrated Virtual Machine Scale Set that this Virtual Machine should be created within. Changing this forces a new resource to be created.
    VtpmEnabled bool
    Specifies whether vTPM should be enabled on the virtual machine. Changing this forces a new resource to be created.
    Zone string
    The Zone in which this Virtual Machine should be created. Changing this forces a new resource to be created.
    additionalCapabilities LinuxVirtualMachineAdditionalCapabilities
    A additional_capabilities block as defined below.
    adminPassword String
    The Password which should be used for the local-administrator on this Virtual Machine. Changing this forces a new resource to be created.
    adminSshKeys List<LinuxVirtualMachineAdminSshKey>
    One or more admin_ssh_key blocks as defined below.
    adminUsername String
    The username of the local administrator used for the Virtual Machine. Changing this forces a new resource to be created.
    allowExtensionOperations Boolean
    Should Extension Operations be allowed on this Virtual Machine?
    availabilitySetId String
    Specifies the ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.
    bootDiagnostics LinuxVirtualMachineBootDiagnostics
    A boot_diagnostics block as defined below.
    computerName String
    Specifies the Hostname which should be used for this Virtual Machine. If unspecified this defaults to the value for the name field. If the value of the name field is not a valid computer_name, then you must specify computer_name. Changing this forces a new resource to be created.
    customData String
    The Base64-Encoded Custom Data which should be used for this Virtual Machine. Changing this forces a new resource to be created.
    dedicatedHostGroupId String
    The ID of a Dedicated Host Group that this Linux Virtual Machine should be run within. Conflicts with dedicated_host_id.
    dedicatedHostId String
    The ID of a Dedicated Host where this machine should be run on. Conflicts with dedicated_host_group_id.
    disablePasswordAuthentication Boolean
    Should Password Authentication be disabled on this Virtual Machine? Defaults to true. Changing this forces a new resource to be created.
    encryptionAtHostEnabled Boolean
    Should all of the disks (including the temp disk) attached to this Virtual Machine be encrypted by enabling Encryption at Host?
    evictionPolicy String
    Specifies what should happen when the Virtual Machine is evicted for price reasons when using a Spot instance. At this time the only supported value is Deallocate. Changing this forces a new resource to be created.
    extensionsTimeBudget String
    Specifies the duration allocated for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. Defaults to 90 minutes (PT1H30M).
    identity LinuxVirtualMachineIdentity
    An identity block as defined below.
    licenseType String
    Specifies the BYOL Type for this Virtual Machine. Possible values are RHEL_BYOS and SLES_BYOS.
    location String
    The Azure location where the Linux Virtual Machine should exist. Changing this forces a new resource to be created.
    maxBidPrice Double
    The maximum price you're willing to pay for this Virtual Machine, in US Dollars; which must be greater than the current spot price. If this bid price falls below the current spot price the Virtual Machine will be evicted using the eviction_policy. Defaults to -1, which means that the Virtual Machine should not be evicted for price reasons.
    name String
    The name of the Linux Virtual Machine. Changing this forces a new resource to be created.
    networkInterfaceIds List<String>
    . A list of Network Interface ID's which should be attached to this Virtual Machine. The first Network Interface ID in this list will be the Primary Network Interface on the Virtual Machine.
    osDisk LinuxVirtualMachineOsDisk
    A os_disk block as defined below.
    patchMode String
    Specifies the mode of in-guest patching to this Linux Virtual Machine. Possible values are AutomaticByPlatform and ImageDefault. Defaults to ImageDefault. For more informaton on patch modes please see the product documentation.
    plan LinuxVirtualMachinePlan
    A plan block as defined below. Changing this forces a new resource to be created.
    platformFaultDomain Integer
    Specifies the Platform Fault Domain in which this Linux Virtual Machine should be created. Defaults to -1, which means this will be automatically assigned to a fault domain that best maintains balance across the available fault domains. Changing this forces a new Linux Virtual Machine to be created.
    priority String
    Specifies the priority of this Virtual Machine. Possible values are Regular and Spot. Defaults to Regular. Changing this forces a new resource to be created.
    privateIpAddress String
    The Primary Private IP Address assigned to this Virtual Machine.
    privateIpAddresses List<String>
    A list of Private IP Addresses assigned to this Virtual Machine.
    provisionVmAgent Boolean
    Should the Azure VM Agent be provisioned on this Virtual Machine? Defaults to true. Changing this forces a new resource to be created.
    proximityPlacementGroupId String
    The ID of the Proximity Placement Group which the Virtual Machine should be assigned to.
    publicIpAddress String
    The Primary Public IP Address assigned to this Virtual Machine.
    publicIpAddresses List<String>
    A list of the Public IP Addresses assigned to this Virtual Machine.
    resourceGroupName String
    The name of the Resource Group in which the Linux Virtual Machine should be exist. Changing this forces a new resource to be created.
    secrets List<LinuxVirtualMachineSecret>
    One or more secret blocks as defined below.
    secureBootEnabled Boolean
    Specifies whether secure boot should be enabled on the virtual machine. Changing this forces a new resource to be created.
    size String
    The SKU which should be used for this Virtual Machine, such as Standard_F2.
    sourceImageId String
    The ID of the Image which this Virtual Machine should be created from. Changing this forces a new resource to be created.
    sourceImageReference LinuxVirtualMachineSourceImageReference
    A source_image_reference block as defined below. Changing this forces a new resource to be created.
    tags Map<String,String>
    A mapping of tags which should be assigned to this Virtual Machine.
    userData String
    The Base64-Encoded User Data which should be used for this Virtual Machine.
    virtualMachineId String
    A 128-bit identifier which uniquely identifies this Virtual Machine.
    virtualMachineScaleSetId String
    Specifies the Orchestrated Virtual Machine Scale Set that this Virtual Machine should be created within. Changing this forces a new resource to be created.
    vtpmEnabled Boolean
    Specifies whether vTPM should be enabled on the virtual machine. Changing this forces a new resource to be created.
    zone String
    The Zone in which this Virtual Machine should be created. Changing this forces a new resource to be created.
    additionalCapabilities LinuxVirtualMachineAdditionalCapabilities
    A additional_capabilities block as defined below.
    adminPassword string
    The Password which should be used for the local-administrator on this Virtual Machine. Changing this forces a new resource to be created.
    adminSshKeys LinuxVirtualMachineAdminSshKey[]
    One or more admin_ssh_key blocks as defined below.
    adminUsername string
    The username of the local administrator used for the Virtual Machine. Changing this forces a new resource to be created.
    allowExtensionOperations boolean
    Should Extension Operations be allowed on this Virtual Machine?
    availabilitySetId string
    Specifies the ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.
    bootDiagnostics LinuxVirtualMachineBootDiagnostics
    A boot_diagnostics block as defined below.
    computerName string
    Specifies the Hostname which should be used for this Virtual Machine. If unspecified this defaults to the value for the name field. If the value of the name field is not a valid computer_name, then you must specify computer_name. Changing this forces a new resource to be created.
    customData string
    The Base64-Encoded Custom Data which should be used for this Virtual Machine. Changing this forces a new resource to be created.
    dedicatedHostGroupId string
    The ID of a Dedicated Host Group that this Linux Virtual Machine should be run within. Conflicts with dedicated_host_id.
    dedicatedHostId string
    The ID of a Dedicated Host where this machine should be run on. Conflicts with dedicated_host_group_id.
    disablePasswordAuthentication boolean
    Should Password Authentication be disabled on this Virtual Machine? Defaults to true. Changing this forces a new resource to be created.
    encryptionAtHostEnabled boolean
    Should all of the disks (including the temp disk) attached to this Virtual Machine be encrypted by enabling Encryption at Host?
    evictionPolicy string
    Specifies what should happen when the Virtual Machine is evicted for price reasons when using a Spot instance. At this time the only supported value is Deallocate. Changing this forces a new resource to be created.
    extensionsTimeBudget string
    Specifies the duration allocated for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. Defaults to 90 minutes (PT1H30M).
    identity LinuxVirtualMachineIdentity
    An identity block as defined below.
    licenseType string
    Specifies the BYOL Type for this Virtual Machine. Possible values are RHEL_BYOS and SLES_BYOS.
    location string
    The Azure location where the Linux Virtual Machine should exist. Changing this forces a new resource to be created.
    maxBidPrice number
    The maximum price you're willing to pay for this Virtual Machine, in US Dollars; which must be greater than the current spot price. If this bid price falls below the current spot price the Virtual Machine will be evicted using the eviction_policy. Defaults to -1, which means that the Virtual Machine should not be evicted for price reasons.
    name string
    The name of the Linux Virtual Machine. Changing this forces a new resource to be created.
    networkInterfaceIds string[]
    . A list of Network Interface ID's which should be attached to this Virtual Machine. The first Network Interface ID in this list will be the Primary Network Interface on the Virtual Machine.
    osDisk LinuxVirtualMachineOsDisk
    A os_disk block as defined below.
    patchMode string
    Specifies the mode of in-guest patching to this Linux Virtual Machine. Possible values are AutomaticByPlatform and ImageDefault. Defaults to ImageDefault. For more informaton on patch modes please see the product documentation.
    plan LinuxVirtualMachinePlan
    A plan block as defined below. Changing this forces a new resource to be created.
    platformFaultDomain number
    Specifies the Platform Fault Domain in which this Linux Virtual Machine should be created. Defaults to -1, which means this will be automatically assigned to a fault domain that best maintains balance across the available fault domains. Changing this forces a new Linux Virtual Machine to be created.
    priority string
    Specifies the priority of this Virtual Machine. Possible values are Regular and Spot. Defaults to Regular. Changing this forces a new resource to be created.
    privateIpAddress string
    The Primary Private IP Address assigned to this Virtual Machine.
    privateIpAddresses string[]
    A list of Private IP Addresses assigned to this Virtual Machine.
    provisionVmAgent boolean
    Should the Azure VM Agent be provisioned on this Virtual Machine? Defaults to true. Changing this forces a new resource to be created.
    proximityPlacementGroupId string
    The ID of the Proximity Placement Group which the Virtual Machine should be assigned to.
    publicIpAddress string
    The Primary Public IP Address assigned to this Virtual Machine.
    publicIpAddresses string[]
    A list of the Public IP Addresses assigned to this Virtual Machine.
    resourceGroupName string
    The name of the Resource Group in which the Linux Virtual Machine should be exist. Changing this forces a new resource to be created.
    secrets LinuxVirtualMachineSecret[]
    One or more secret blocks as defined below.
    secureBootEnabled boolean
    Specifies whether secure boot should be enabled on the virtual machine. Changing this forces a new resource to be created.
    size string
    The SKU which should be used for this Virtual Machine, such as Standard_F2.
    sourceImageId string
    The ID of the Image which this Virtual Machine should be created from. Changing this forces a new resource to be created.
    sourceImageReference LinuxVirtualMachineSourceImageReference
    A source_image_reference block as defined below. Changing this forces a new resource to be created.
    tags {[key: string]: string}
    A mapping of tags which should be assigned to this Virtual Machine.
    userData string
    The Base64-Encoded User Data which should be used for this Virtual Machine.
    virtualMachineId string
    A 128-bit identifier which uniquely identifies this Virtual Machine.
    virtualMachineScaleSetId string
    Specifies the Orchestrated Virtual Machine Scale Set that this Virtual Machine should be created within. Changing this forces a new resource to be created.
    vtpmEnabled boolean
    Specifies whether vTPM should be enabled on the virtual machine. Changing this forces a new resource to be created.
    zone string
    The Zone in which this Virtual Machine should be created. Changing this forces a new resource to be created.
    additional_capabilities LinuxVirtualMachineAdditionalCapabilitiesArgs
    A additional_capabilities block as defined below.
    admin_password str
    The Password which should be used for the local-administrator on this Virtual Machine. Changing this forces a new resource to be created.
    admin_ssh_keys Sequence[LinuxVirtualMachineAdminSshKeyArgs]
    One or more admin_ssh_key blocks as defined below.
    admin_username str
    The username of the local administrator used for the Virtual Machine. Changing this forces a new resource to be created.
    allow_extension_operations bool
    Should Extension Operations be allowed on this Virtual Machine?
    availability_set_id str
    Specifies the ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.
    boot_diagnostics LinuxVirtualMachineBootDiagnosticsArgs
    A boot_diagnostics block as defined below.
    computer_name str
    Specifies the Hostname which should be used for this Virtual Machine. If unspecified this defaults to the value for the name field. If the value of the name field is not a valid computer_name, then you must specify computer_name. Changing this forces a new resource to be created.
    custom_data str
    The Base64-Encoded Custom Data which should be used for this Virtual Machine. Changing this forces a new resource to be created.
    dedicated_host_group_id str
    The ID of a Dedicated Host Group that this Linux Virtual Machine should be run within. Conflicts with dedicated_host_id.
    dedicated_host_id str
    The ID of a Dedicated Host where this machine should be run on. Conflicts with dedicated_host_group_id.
    disable_password_authentication bool
    Should Password Authentication be disabled on this Virtual Machine? Defaults to true. Changing this forces a new resource to be created.
    encryption_at_host_enabled bool
    Should all of the disks (including the temp disk) attached to this Virtual Machine be encrypted by enabling Encryption at Host?
    eviction_policy str
    Specifies what should happen when the Virtual Machine is evicted for price reasons when using a Spot instance. At this time the only supported value is Deallocate. Changing this forces a new resource to be created.
    extensions_time_budget str
    Specifies the duration allocated for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. Defaults to 90 minutes (PT1H30M).
    identity LinuxVirtualMachineIdentityArgs
    An identity block as defined below.
    license_type str
    Specifies the BYOL Type for this Virtual Machine. Possible values are RHEL_BYOS and SLES_BYOS.
    location str
    The Azure location where the Linux Virtual Machine should exist. Changing this forces a new resource to be created.
    max_bid_price float
    The maximum price you're willing to pay for this Virtual Machine, in US Dollars; which must be greater than the current spot price. If this bid price falls below the current spot price the Virtual Machine will be evicted using the eviction_policy. Defaults to -1, which means that the Virtual Machine should not be evicted for price reasons.
    name str
    The name of the Linux Virtual Machine. Changing this forces a new resource to be created.
    network_interface_ids Sequence[str]
    . A list of Network Interface ID's which should be attached to this Virtual Machine. The first Network Interface ID in this list will be the Primary Network Interface on the Virtual Machine.
    os_disk LinuxVirtualMachineOsDiskArgs
    A os_disk block as defined below.
    patch_mode str
    Specifies the mode of in-guest patching to this Linux Virtual Machine. Possible values are AutomaticByPlatform and ImageDefault. Defaults to ImageDefault. For more informaton on patch modes please see the product documentation.
    plan LinuxVirtualMachinePlanArgs
    A plan block as defined below. Changing this forces a new resource to be created.
    platform_fault_domain int
    Specifies the Platform Fault Domain in which this Linux Virtual Machine should be created. Defaults to -1, which means this will be automatically assigned to a fault domain that best maintains balance across the available fault domains. Changing this forces a new Linux Virtual Machine to be created.
    priority str
    Specifies the priority of this Virtual Machine. Possible values are Regular and Spot. Defaults to Regular. Changing this forces a new resource to be created.
    private_ip_address str
    The Primary Private IP Address assigned to this Virtual Machine.
    private_ip_addresses Sequence[str]
    A list of Private IP Addresses assigned to this Virtual Machine.
    provision_vm_agent bool
    Should the Azure VM Agent be provisioned on this Virtual Machine? Defaults to true. Changing this forces a new resource to be created.
    proximity_placement_group_id str
    The ID of the Proximity Placement Group which the Virtual Machine should be assigned to.
    public_ip_address str
    The Primary Public IP Address assigned to this Virtual Machine.
    public_ip_addresses Sequence[str]
    A list of the Public IP Addresses assigned to this Virtual Machine.
    resource_group_name str
    The name of the Resource Group in which the Linux Virtual Machine should be exist. Changing this forces a new resource to be created.
    secrets Sequence[LinuxVirtualMachineSecretArgs]
    One or more secret blocks as defined below.
    secure_boot_enabled bool
    Specifies whether secure boot should be enabled on the virtual machine. Changing this forces a new resource to be created.
    size str
    The SKU which should be used for this Virtual Machine, such as Standard_F2.
    source_image_id str
    The ID of the Image which this Virtual Machine should be created from. Changing this forces a new resource to be created.
    source_image_reference LinuxVirtualMachineSourceImageReferenceArgs
    A source_image_reference block as defined below. Changing this forces a new resource to be created.
    tags Mapping[str, str]
    A mapping of tags which should be assigned to this Virtual Machine.
    user_data str
    The Base64-Encoded User Data which should be used for this Virtual Machine.
    virtual_machine_id str
    A 128-bit identifier which uniquely identifies this Virtual Machine.
    virtual_machine_scale_set_id str
    Specifies the Orchestrated Virtual Machine Scale Set that this Virtual Machine should be created within. Changing this forces a new resource to be created.
    vtpm_enabled bool
    Specifies whether vTPM should be enabled on the virtual machine. Changing this forces a new resource to be created.
    zone str
    The Zone in which this Virtual Machine should be created. Changing this forces a new resource to be created.
    additionalCapabilities Property Map
    A additional_capabilities block as defined below.
    adminPassword String
    The Password which should be used for the local-administrator on this Virtual Machine. Changing this forces a new resource to be created.
    adminSshKeys List<Property Map>
    One or more admin_ssh_key blocks as defined below.
    adminUsername String
    The username of the local administrator used for the Virtual Machine. Changing this forces a new resource to be created.
    allowExtensionOperations Boolean
    Should Extension Operations be allowed on this Virtual Machine?
    availabilitySetId String
    Specifies the ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.
    bootDiagnostics Property Map
    A boot_diagnostics block as defined below.
    computerName String
    Specifies the Hostname which should be used for this Virtual Machine. If unspecified this defaults to the value for the name field. If the value of the name field is not a valid computer_name, then you must specify computer_name. Changing this forces a new resource to be created.
    customData String
    The Base64-Encoded Custom Data which should be used for this Virtual Machine. Changing this forces a new resource to be created.
    dedicatedHostGroupId String
    The ID of a Dedicated Host Group that this Linux Virtual Machine should be run within. Conflicts with dedicated_host_id.
    dedicatedHostId String
    The ID of a Dedicated Host where this machine should be run on. Conflicts with dedicated_host_group_id.
    disablePasswordAuthentication Boolean
    Should Password Authentication be disabled on this Virtual Machine? Defaults to true. Changing this forces a new resource to be created.
    encryptionAtHostEnabled Boolean
    Should all of the disks (including the temp disk) attached to this Virtual Machine be encrypted by enabling Encryption at Host?
    evictionPolicy String
    Specifies what should happen when the Virtual Machine is evicted for price reasons when using a Spot instance. At this time the only supported value is Deallocate. Changing this forces a new resource to be created.
    extensionsTimeBudget String
    Specifies the duration allocated for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. Defaults to 90 minutes (PT1H30M).
    identity Property Map
    An identity block as defined below.
    licenseType String
    Specifies the BYOL Type for this Virtual Machine. Possible values are RHEL_BYOS and SLES_BYOS.
    location String
    The Azure location where the Linux Virtual Machine should exist. Changing this forces a new resource to be created.
    maxBidPrice Number
    The maximum price you're willing to pay for this Virtual Machine, in US Dollars; which must be greater than the current spot price. If this bid price falls below the current spot price the Virtual Machine will be evicted using the eviction_policy. Defaults to -1, which means that the Virtual Machine should not be evicted for price reasons.
    name String
    The name of the Linux Virtual Machine. Changing this forces a new resource to be created.
    networkInterfaceIds List<String>
    . A list of Network Interface ID's which should be attached to this Virtual Machine. The first Network Interface ID in this list will be the Primary Network Interface on the Virtual Machine.
    osDisk Property Map
    A os_disk block as defined below.
    patchMode String
    Specifies the mode of in-guest patching to this Linux Virtual Machine. Possible values are AutomaticByPlatform and ImageDefault. Defaults to ImageDefault. For more informaton on patch modes please see the product documentation.
    plan Property Map
    A plan block as defined below. Changing this forces a new resource to be created.
    platformFaultDomain Number
    Specifies the Platform Fault Domain in which this Linux Virtual Machine should be created. Defaults to -1, which means this will be automatically assigned to a fault domain that best maintains balance across the available fault domains. Changing this forces a new Linux Virtual Machine to be created.
    priority String
    Specifies the priority of this Virtual Machine. Possible values are Regular and Spot. Defaults to Regular. Changing this forces a new resource to be created.
    privateIpAddress String
    The Primary Private IP Address assigned to this Virtual Machine.
    privateIpAddresses List<String>
    A list of Private IP Addresses assigned to this Virtual Machine.
    provisionVmAgent Boolean
    Should the Azure VM Agent be provisioned on this Virtual Machine? Defaults to true. Changing this forces a new resource to be created.
    proximityPlacementGroupId String
    The ID of the Proximity Placement Group which the Virtual Machine should be assigned to.
    publicIpAddress String
    The Primary Public IP Address assigned to this Virtual Machine.
    publicIpAddresses List<String>
    A list of the Public IP Addresses assigned to this Virtual Machine.
    resourceGroupName String
    The name of the Resource Group in which the Linux Virtual Machine should be exist. Changing this forces a new resource to be created.
    secrets List<Property Map>
    One or more secret blocks as defined below.
    secureBootEnabled Boolean
    Specifies whether secure boot should be enabled on the virtual machine. Changing this forces a new resource to be created.
    size String
    The SKU which should be used for this Virtual Machine, such as Standard_F2.
    sourceImageId String
    The ID of the Image which this Virtual Machine should be created from. Changing this forces a new resource to be created.
    sourceImageReference Property Map
    A source_image_reference block as defined below. Changing this forces a new resource to be created.
    tags Map<String>
    A mapping of tags which should be assigned to this Virtual Machine.
    userData String
    The Base64-Encoded User Data which should be used for this Virtual Machine.
    virtualMachineId String
    A 128-bit identifier which uniquely identifies this Virtual Machine.
    virtualMachineScaleSetId String
    Specifies the Orchestrated Virtual Machine Scale Set that this Virtual Machine should be created within. Changing this forces a new resource to be created.
    vtpmEnabled Boolean
    Specifies whether vTPM should be enabled on the virtual machine. Changing this forces a new resource to be created.
    zone String
    The Zone in which this Virtual Machine should be created. Changing this forces a new resource to be created.

    Supporting Types

    LinuxVirtualMachineAdditionalCapabilities, LinuxVirtualMachineAdditionalCapabilitiesArgs

    UltraSsdEnabled bool
    Should the capacity to enable Data Disks of the UltraSSD_LRS storage account type be supported on this Virtual Machine? Defaults to false.
    UltraSsdEnabled bool
    Should the capacity to enable Data Disks of the UltraSSD_LRS storage account type be supported on this Virtual Machine? Defaults to false.
    ultraSsdEnabled Boolean
    Should the capacity to enable Data Disks of the UltraSSD_LRS storage account type be supported on this Virtual Machine? Defaults to false.
    ultraSsdEnabled boolean
    Should the capacity to enable Data Disks of the UltraSSD_LRS storage account type be supported on this Virtual Machine? Defaults to false.
    ultra_ssd_enabled bool
    Should the capacity to enable Data Disks of the UltraSSD_LRS storage account type be supported on this Virtual Machine? Defaults to false.
    ultraSsdEnabled Boolean
    Should the capacity to enable Data Disks of the UltraSSD_LRS storage account type be supported on this Virtual Machine? Defaults to false.

    LinuxVirtualMachineAdminSshKey, LinuxVirtualMachineAdminSshKeyArgs

    PublicKey string
    The Public Key which should be used for authentication, which needs to be at least 2048-bit and in ssh-rsa format. Changing this forces a new resource to be created.
    Username string
    The Username for which this Public SSH Key should be configured. Changing this forces a new resource to be created.
    PublicKey string
    The Public Key which should be used for authentication, which needs to be at least 2048-bit and in ssh-rsa format. Changing this forces a new resource to be created.
    Username string
    The Username for which this Public SSH Key should be configured. Changing this forces a new resource to be created.
    publicKey String
    The Public Key which should be used for authentication, which needs to be at least 2048-bit and in ssh-rsa format. Changing this forces a new resource to be created.
    username String
    The Username for which this Public SSH Key should be configured. Changing this forces a new resource to be created.
    publicKey string
    The Public Key which should be used for authentication, which needs to be at least 2048-bit and in ssh-rsa format. Changing this forces a new resource to be created.
    username string
    The Username for which this Public SSH Key should be configured. Changing this forces a new resource to be created.
    public_key str
    The Public Key which should be used for authentication, which needs to be at least 2048-bit and in ssh-rsa format. Changing this forces a new resource to be created.
    username str
    The Username for which this Public SSH Key should be configured. Changing this forces a new resource to be created.
    publicKey String
    The Public Key which should be used for authentication, which needs to be at least 2048-bit and in ssh-rsa format. Changing this forces a new resource to be created.
    username String
    The Username for which this Public SSH Key should be configured. Changing this forces a new resource to be created.

    LinuxVirtualMachineBootDiagnostics, LinuxVirtualMachineBootDiagnosticsArgs

    StorageAccountUri string
    The Primary/Secondary Endpoint for the Azure Storage Account which should be used to store Boot Diagnostics, including Console Output and Screenshots from the Hypervisor.
    StorageAccountUri string
    The Primary/Secondary Endpoint for the Azure Storage Account which should be used to store Boot Diagnostics, including Console Output and Screenshots from the Hypervisor.
    storageAccountUri String
    The Primary/Secondary Endpoint for the Azure Storage Account which should be used to store Boot Diagnostics, including Console Output and Screenshots from the Hypervisor.
    storageAccountUri string
    The Primary/Secondary Endpoint for the Azure Storage Account which should be used to store Boot Diagnostics, including Console Output and Screenshots from the Hypervisor.
    storage_account_uri str
    The Primary/Secondary Endpoint for the Azure Storage Account which should be used to store Boot Diagnostics, including Console Output and Screenshots from the Hypervisor.
    storageAccountUri String
    The Primary/Secondary Endpoint for the Azure Storage Account which should be used to store Boot Diagnostics, including Console Output and Screenshots from the Hypervisor.

    LinuxVirtualMachineIdentity, LinuxVirtualMachineIdentityArgs

    Type string
    The type of Managed Identity which should be assigned to the Linux Virtual Machine. Possible values are SystemAssigned, UserAssigned and SystemAssigned, UserAssigned.
    IdentityIds List<string>
    A list of User Managed Identity ID's which should be assigned to the Linux Virtual Machine.
    PrincipalId string
    The ID of the System Managed Service Principal.
    TenantId string
    The ID of the Tenant the System Managed Service Principal is assigned in.
    Type string
    The type of Managed Identity which should be assigned to the Linux Virtual Machine. Possible values are SystemAssigned, UserAssigned and SystemAssigned, UserAssigned.
    IdentityIds []string
    A list of User Managed Identity ID's which should be assigned to the Linux Virtual Machine.
    PrincipalId string
    The ID of the System Managed Service Principal.
    TenantId string
    The ID of the Tenant the System Managed Service Principal is assigned in.
    type String
    The type of Managed Identity which should be assigned to the Linux Virtual Machine. Possible values are SystemAssigned, UserAssigned and SystemAssigned, UserAssigned.
    identityIds List<String>
    A list of User Managed Identity ID's which should be assigned to the Linux Virtual Machine.
    principalId String
    The ID of the System Managed Service Principal.
    tenantId String
    The ID of the Tenant the System Managed Service Principal is assigned in.
    type string
    The type of Managed Identity which should be assigned to the Linux Virtual Machine. Possible values are SystemAssigned, UserAssigned and SystemAssigned, UserAssigned.
    identityIds string[]
    A list of User Managed Identity ID's which should be assigned to the Linux Virtual Machine.
    principalId string
    The ID of the System Managed Service Principal.
    tenantId string
    The ID of the Tenant the System Managed Service Principal is assigned in.
    type str
    The type of Managed Identity which should be assigned to the Linux Virtual Machine. Possible values are SystemAssigned, UserAssigned and SystemAssigned, UserAssigned.
    identity_ids Sequence[str]
    A list of User Managed Identity ID's which should be assigned to the Linux Virtual Machine.
    principal_id str
    The ID of the System Managed Service Principal.
    tenant_id str
    The ID of the Tenant the System Managed Service Principal is assigned in.
    type String
    The type of Managed Identity which should be assigned to the Linux Virtual Machine. Possible values are SystemAssigned, UserAssigned and SystemAssigned, UserAssigned.
    identityIds List<String>
    A list of User Managed Identity ID's which should be assigned to the Linux Virtual Machine.
    principalId String
    The ID of the System Managed Service Principal.
    tenantId String
    The ID of the Tenant the System Managed Service Principal is assigned in.

    LinuxVirtualMachineOsDisk, LinuxVirtualMachineOsDiskArgs

    Caching string
    The Type of Caching which should be used for the Internal OS Disk. Possible values are None, ReadOnly and ReadWrite.
    StorageAccountType string
    The Type of Storage Account which should back this the Internal OS Disk. Possible values are Standard_LRS, StandardSSD_LRS, Premium_LRS, StandardSSD_ZRS and Premium_ZRS. Changing this forces a new resource to be created.
    DiffDiskSettings LinuxVirtualMachineOsDiskDiffDiskSettings
    A diff_disk_settings block as defined above.
    DiskEncryptionSetId string
    The ID of the Disk Encryption Set which should be used to Encrypt this OS Disk.
    DiskSizeGb int
    The Size of the Internal OS Disk in GB, if you wish to vary from the size used in the image this Virtual Machine is sourced from.
    Name string
    The name which should be used for the Internal OS Disk. Changing this forces a new resource to be created.
    WriteAcceleratorEnabled bool
    Should Write Accelerator be Enabled for this OS Disk? Defaults to false.
    Caching string
    The Type of Caching which should be used for the Internal OS Disk. Possible values are None, ReadOnly and ReadWrite.
    StorageAccountType string
    The Type of Storage Account which should back this the Internal OS Disk. Possible values are Standard_LRS, StandardSSD_LRS, Premium_LRS, StandardSSD_ZRS and Premium_ZRS. Changing this forces a new resource to be created.
    DiffDiskSettings LinuxVirtualMachineOsDiskDiffDiskSettings
    A diff_disk_settings block as defined above.
    DiskEncryptionSetId string
    The ID of the Disk Encryption Set which should be used to Encrypt this OS Disk.
    DiskSizeGb int
    The Size of the Internal OS Disk in GB, if you wish to vary from the size used in the image this Virtual Machine is sourced from.
    Name string
    The name which should be used for the Internal OS Disk. Changing this forces a new resource to be created.
    WriteAcceleratorEnabled bool
    Should Write Accelerator be Enabled for this OS Disk? Defaults to false.
    caching String
    The Type of Caching which should be used for the Internal OS Disk. Possible values are None, ReadOnly and ReadWrite.
    storageAccountType String
    The Type of Storage Account which should back this the Internal OS Disk. Possible values are Standard_LRS, StandardSSD_LRS, Premium_LRS, StandardSSD_ZRS and Premium_ZRS. Changing this forces a new resource to be created.
    diffDiskSettings LinuxVirtualMachineOsDiskDiffDiskSettings
    A diff_disk_settings block as defined above.
    diskEncryptionSetId String
    The ID of the Disk Encryption Set which should be used to Encrypt this OS Disk.
    diskSizeGb Integer
    The Size of the Internal OS Disk in GB, if you wish to vary from the size used in the image this Virtual Machine is sourced from.
    name String
    The name which should be used for the Internal OS Disk. Changing this forces a new resource to be created.
    writeAcceleratorEnabled Boolean
    Should Write Accelerator be Enabled for this OS Disk? Defaults to false.
    caching string
    The Type of Caching which should be used for the Internal OS Disk. Possible values are None, ReadOnly and ReadWrite.
    storageAccountType string
    The Type of Storage Account which should back this the Internal OS Disk. Possible values are Standard_LRS, StandardSSD_LRS, Premium_LRS, StandardSSD_ZRS and Premium_ZRS. Changing this forces a new resource to be created.
    diffDiskSettings LinuxVirtualMachineOsDiskDiffDiskSettings
    A diff_disk_settings block as defined above.
    diskEncryptionSetId string
    The ID of the Disk Encryption Set which should be used to Encrypt this OS Disk.
    diskSizeGb number
    The Size of the Internal OS Disk in GB, if you wish to vary from the size used in the image this Virtual Machine is sourced from.
    name string
    The name which should be used for the Internal OS Disk. Changing this forces a new resource to be created.
    writeAcceleratorEnabled boolean
    Should Write Accelerator be Enabled for this OS Disk? Defaults to false.
    caching str
    The Type of Caching which should be used for the Internal OS Disk. Possible values are None, ReadOnly and ReadWrite.
    storage_account_type str
    The Type of Storage Account which should back this the Internal OS Disk. Possible values are Standard_LRS, StandardSSD_LRS, Premium_LRS, StandardSSD_ZRS and Premium_ZRS. Changing this forces a new resource to be created.
    diff_disk_settings LinuxVirtualMachineOsDiskDiffDiskSettings
    A diff_disk_settings block as defined above.
    disk_encryption_set_id str
    The ID of the Disk Encryption Set which should be used to Encrypt this OS Disk.
    disk_size_gb int
    The Size of the Internal OS Disk in GB, if you wish to vary from the size used in the image this Virtual Machine is sourced from.
    name str
    The name which should be used for the Internal OS Disk. Changing this forces a new resource to be created.
    write_accelerator_enabled bool
    Should Write Accelerator be Enabled for this OS Disk? Defaults to false.
    caching String
    The Type of Caching which should be used for the Internal OS Disk. Possible values are None, ReadOnly and ReadWrite.
    storageAccountType String
    The Type of Storage Account which should back this the Internal OS Disk. Possible values are Standard_LRS, StandardSSD_LRS, Premium_LRS, StandardSSD_ZRS and Premium_ZRS. Changing this forces a new resource to be created.
    diffDiskSettings Property Map
    A diff_disk_settings block as defined above.
    diskEncryptionSetId String
    The ID of the Disk Encryption Set which should be used to Encrypt this OS Disk.
    diskSizeGb Number
    The Size of the Internal OS Disk in GB, if you wish to vary from the size used in the image this Virtual Machine is sourced from.
    name String
    The name which should be used for the Internal OS Disk. Changing this forces a new resource to be created.
    writeAcceleratorEnabled Boolean
    Should Write Accelerator be Enabled for this OS Disk? Defaults to false.

    LinuxVirtualMachineOsDiskDiffDiskSettings, LinuxVirtualMachineOsDiskDiffDiskSettingsArgs

    Option string
    Specifies the Ephemeral Disk Settings for the OS Disk. At this time the only possible value is Local. Changing this forces a new resource to be created.
    Option string
    Specifies the Ephemeral Disk Settings for the OS Disk. At this time the only possible value is Local. Changing this forces a new resource to be created.
    option String
    Specifies the Ephemeral Disk Settings for the OS Disk. At this time the only possible value is Local. Changing this forces a new resource to be created.
    option string
    Specifies the Ephemeral Disk Settings for the OS Disk. At this time the only possible value is Local. Changing this forces a new resource to be created.
    option str
    Specifies the Ephemeral Disk Settings for the OS Disk. At this time the only possible value is Local. Changing this forces a new resource to be created.
    option String
    Specifies the Ephemeral Disk Settings for the OS Disk. At this time the only possible value is Local. Changing this forces a new resource to be created.

    LinuxVirtualMachinePlan, LinuxVirtualMachinePlanArgs

    Name string
    Specifies the Name of the Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
    Product string
    Specifies the Product of the Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
    Publisher string
    Specifies the Publisher of the Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
    Name string
    Specifies the Name of the Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
    Product string
    Specifies the Product of the Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
    Publisher string
    Specifies the Publisher of the Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
    name String
    Specifies the Name of the Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
    product String
    Specifies the Product of the Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
    publisher String
    Specifies the Publisher of the Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
    name string
    Specifies the Name of the Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
    product string
    Specifies the Product of the Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
    publisher string
    Specifies the Publisher of the Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
    name str
    Specifies the Name of the Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
    product str
    Specifies the Product of the Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
    publisher str
    Specifies the Publisher of the Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
    name String
    Specifies the Name of the Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
    product String
    Specifies the Product of the Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
    publisher String
    Specifies the Publisher of the Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.

    LinuxVirtualMachineSecret, LinuxVirtualMachineSecretArgs

    Certificates List<LinuxVirtualMachineSecretCertificate>
    One or more certificate blocks as defined above.
    KeyVaultId string
    The ID of the Key Vault from which all Secrets should be sourced.
    Certificates []LinuxVirtualMachineSecretCertificate
    One or more certificate blocks as defined above.
    KeyVaultId string
    The ID of the Key Vault from which all Secrets should be sourced.
    certificates List<LinuxVirtualMachineSecretCertificate>
    One or more certificate blocks as defined above.
    keyVaultId String
    The ID of the Key Vault from which all Secrets should be sourced.
    certificates LinuxVirtualMachineSecretCertificate[]
    One or more certificate blocks as defined above.
    keyVaultId string
    The ID of the Key Vault from which all Secrets should be sourced.
    certificates Sequence[LinuxVirtualMachineSecretCertificate]
    One or more certificate blocks as defined above.
    key_vault_id str
    The ID of the Key Vault from which all Secrets should be sourced.
    certificates List<Property Map>
    One or more certificate blocks as defined above.
    keyVaultId String
    The ID of the Key Vault from which all Secrets should be sourced.

    LinuxVirtualMachineSecretCertificate, LinuxVirtualMachineSecretCertificateArgs

    Url string
    The Secret URL of a Key Vault Certificate.
    Url string
    The Secret URL of a Key Vault Certificate.
    url String
    The Secret URL of a Key Vault Certificate.
    url string
    The Secret URL of a Key Vault Certificate.
    url str
    The Secret URL of a Key Vault Certificate.
    url String
    The Secret URL of a Key Vault Certificate.

    LinuxVirtualMachineSourceImageReference, LinuxVirtualMachineSourceImageReferenceArgs

    Offer string
    Specifies the offer of the image used to create the virtual machines.
    Publisher string
    Specifies the publisher of the image used to create the virtual machines.
    Sku string
    Specifies the SKU of the image used to create the virtual machines.
    Version string
    Specifies the version of the image used to create the virtual machines.
    Offer string
    Specifies the offer of the image used to create the virtual machines.
    Publisher string
    Specifies the publisher of the image used to create the virtual machines.
    Sku string
    Specifies the SKU of the image used to create the virtual machines.
    Version string
    Specifies the version of the image used to create the virtual machines.
    offer String
    Specifies the offer of the image used to create the virtual machines.
    publisher String
    Specifies the publisher of the image used to create the virtual machines.
    sku String
    Specifies the SKU of the image used to create the virtual machines.
    version String
    Specifies the version of the image used to create the virtual machines.
    offer string
    Specifies the offer of the image used to create the virtual machines.
    publisher string
    Specifies the publisher of the image used to create the virtual machines.
    sku string
    Specifies the SKU of the image used to create the virtual machines.
    version string
    Specifies the version of the image used to create the virtual machines.
    offer str
    Specifies the offer of the image used to create the virtual machines.
    publisher str
    Specifies the publisher of the image used to create the virtual machines.
    sku str
    Specifies the SKU of the image used to create the virtual machines.
    version str
    Specifies the version of the image used to create the virtual machines.
    offer String
    Specifies the offer of the image used to create the virtual machines.
    publisher String
    Specifies the publisher of the image used to create the virtual machines.
    sku String
    Specifies the SKU of the image used to create the virtual machines.
    version String
    Specifies the version of the image used to create the virtual machines.

    Import

    Linux Virtual Machines can be imported using the resource id, e.g.

     $ pulumi import azure:compute/linuxVirtualMachine:LinuxVirtualMachine example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Compute/virtualMachines/machine1
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Viewing docs for Azure v4.42.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.