1. Packages
  2. Azure Native
  3. API Docs
  4. networkcloud
  5. VirtualMachine
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.75.0 published on Saturday, Nov 30, 2024 by Pulumi

azure-native.networkcloud.VirtualMachine

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.75.0 published on Saturday, Nov 30, 2024 by Pulumi

    Azure REST API version: 2023-10-01-preview. Prior API version in Azure Native 1.x: 2022-12-12-preview.

    Other available API versions: 2023-07-01, 2024-06-01-preview, 2024-07-01.

    Example Usage

    Create or update virtual machine

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var virtualMachine = new AzureNative.NetworkCloud.VirtualMachine("virtualMachine", new()
        {
            AdminUsername = "username",
            BootMethod = AzureNative.NetworkCloud.VirtualMachineBootMethod.UEFI,
            CloudServicesNetworkAttachment = new AzureNative.NetworkCloud.Inputs.NetworkAttachmentArgs
            {
                AttachedNetworkId = "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
                IpAllocationMethod = AzureNative.NetworkCloud.VirtualMachineIPAllocationMethod.Dynamic,
            },
            CpuCores = 2,
            ExtendedLocation = new AzureNative.NetworkCloud.Inputs.ExtendedLocationArgs
            {
                Name = "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName",
                Type = "CustomLocation",
            },
            Location = "location",
            MemorySizeGB = 8,
            NetworkAttachments = new[]
            {
                new AzureNative.NetworkCloud.Inputs.NetworkAttachmentArgs
                {
                    AttachedNetworkId = "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
                    DefaultGateway = AzureNative.NetworkCloud.DefaultGateway.True,
                    IpAllocationMethod = AzureNative.NetworkCloud.VirtualMachineIPAllocationMethod.Dynamic,
                    Ipv4Address = "198.51.100.1",
                    Ipv6Address = "2001:0db8:0000:0000:0000:0000:0000:0000",
                    NetworkAttachmentName = "netAttachName01",
                },
            },
            NetworkData = "bmV0d29ya0RhdGVTYW1wbGU=",
            PlacementHints = new[]
            {
                new AzureNative.NetworkCloud.Inputs.VirtualMachinePlacementHintArgs
                {
                    HintType = AzureNative.NetworkCloud.VirtualMachinePlacementHintType.Affinity,
                    ResourceId = "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
                    SchedulingExecution = AzureNative.NetworkCloud.VirtualMachineSchedulingExecution.Hard,
                    Scope = "",
                },
            },
            ResourceGroupName = "resourceGroupName",
            SshPublicKeys = new[]
            {
                new AzureNative.NetworkCloud.Inputs.SshPublicKeyArgs
                {
                    KeyData = "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm",
                },
            },
            StorageProfile = new AzureNative.NetworkCloud.Inputs.StorageProfileArgs
            {
                OsDisk = new AzureNative.NetworkCloud.Inputs.OsDiskArgs
                {
                    CreateOption = AzureNative.NetworkCloud.OsDiskCreateOption.Ephemeral,
                    DeleteOption = AzureNative.NetworkCloud.OsDiskDeleteOption.Delete,
                    DiskSizeGB = 120,
                },
                VolumeAttachments = new[]
                {
                    "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName",
                },
            },
            Tags = 
            {
                { "key1", "myvalue1" },
                { "key2", "myvalue2" },
            },
            UserData = "dXNlckRhdGVTYW1wbGU=",
            VirtualMachineName = "virtualMachineName",
            VmDeviceModel = AzureNative.NetworkCloud.VirtualMachineDeviceModelType.T2,
            VmImage = "myacr.azurecr.io/foobar:latest",
            VmImageRepositoryCredentials = new AzureNative.NetworkCloud.Inputs.ImageRepositoryCredentialsArgs
            {
                Password = "{password}",
                RegistryUrl = "myacr.azurecr.io",
                Username = "myuser",
            },
        });
    
    });
    
    package main
    
    import (
    	networkcloud "github.com/pulumi/pulumi-azure-native-sdk/networkcloud/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := networkcloud.NewVirtualMachine(ctx, "virtualMachine", &networkcloud.VirtualMachineArgs{
    			AdminUsername: pulumi.String("username"),
    			BootMethod:    pulumi.String(networkcloud.VirtualMachineBootMethodUEFI),
    			CloudServicesNetworkAttachment: &networkcloud.NetworkAttachmentArgs{
    				AttachedNetworkId:  pulumi.String("/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName"),
    				IpAllocationMethod: pulumi.String(networkcloud.VirtualMachineIPAllocationMethodDynamic),
    			},
    			CpuCores: pulumi.Float64(2),
    			ExtendedLocation: &networkcloud.ExtendedLocationArgs{
    				Name: pulumi.String("/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"),
    				Type: pulumi.String("CustomLocation"),
    			},
    			Location:     pulumi.String("location"),
    			MemorySizeGB: pulumi.Float64(8),
    			NetworkAttachments: networkcloud.NetworkAttachmentArray{
    				&networkcloud.NetworkAttachmentArgs{
    					AttachedNetworkId:     pulumi.String("/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName"),
    					DefaultGateway:        pulumi.String(networkcloud.DefaultGatewayTrue),
    					IpAllocationMethod:    pulumi.String(networkcloud.VirtualMachineIPAllocationMethodDynamic),
    					Ipv4Address:           pulumi.String("198.51.100.1"),
    					Ipv6Address:           pulumi.String("2001:0db8:0000:0000:0000:0000:0000:0000"),
    					NetworkAttachmentName: pulumi.String("netAttachName01"),
    				},
    			},
    			NetworkData: pulumi.String("bmV0d29ya0RhdGVTYW1wbGU="),
    			PlacementHints: networkcloud.VirtualMachinePlacementHintArray{
    				&networkcloud.VirtualMachinePlacementHintArgs{
    					HintType:            pulumi.String(networkcloud.VirtualMachinePlacementHintTypeAffinity),
    					ResourceId:          pulumi.String("/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName"),
    					SchedulingExecution: pulumi.String(networkcloud.VirtualMachineSchedulingExecutionHard),
    					Scope:               pulumi.String(""),
    				},
    			},
    			ResourceGroupName: pulumi.String("resourceGroupName"),
    			SshPublicKeys: networkcloud.SshPublicKeyArray{
    				&networkcloud.SshPublicKeyArgs{
    					KeyData: pulumi.String("ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"),
    				},
    			},
    			StorageProfile: &networkcloud.StorageProfileArgs{
    				OsDisk: &networkcloud.OsDiskArgs{
    					CreateOption: pulumi.String(networkcloud.OsDiskCreateOptionEphemeral),
    					DeleteOption: pulumi.String(networkcloud.OsDiskDeleteOptionDelete),
    					DiskSizeGB:   pulumi.Float64(120),
    				},
    				VolumeAttachments: pulumi.StringArray{
    					pulumi.String("/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"),
    				},
    			},
    			Tags: pulumi.StringMap{
    				"key1": pulumi.String("myvalue1"),
    				"key2": pulumi.String("myvalue2"),
    			},
    			UserData:           pulumi.String("dXNlckRhdGVTYW1wbGU="),
    			VirtualMachineName: pulumi.String("virtualMachineName"),
    			VmDeviceModel:      pulumi.String(networkcloud.VirtualMachineDeviceModelTypeT2),
    			VmImage:            pulumi.String("myacr.azurecr.io/foobar:latest"),
    			VmImageRepositoryCredentials: &networkcloud.ImageRepositoryCredentialsArgs{
    				Password:    pulumi.String("{password}"),
    				RegistryUrl: pulumi.String("myacr.azurecr.io"),
    				Username:    pulumi.String("myuser"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.networkcloud.VirtualMachine;
    import com.pulumi.azurenative.networkcloud.VirtualMachineArgs;
    import com.pulumi.azurenative.networkcloud.inputs.NetworkAttachmentArgs;
    import com.pulumi.azurenative.networkcloud.inputs.ExtendedLocationArgs;
    import com.pulumi.azurenative.networkcloud.inputs.VirtualMachinePlacementHintArgs;
    import com.pulumi.azurenative.networkcloud.inputs.SshPublicKeyArgs;
    import com.pulumi.azurenative.networkcloud.inputs.StorageProfileArgs;
    import com.pulumi.azurenative.networkcloud.inputs.OsDiskArgs;
    import com.pulumi.azurenative.networkcloud.inputs.ImageRepositoryCredentialsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var virtualMachine = new VirtualMachine("virtualMachine", VirtualMachineArgs.builder()
                .adminUsername("username")
                .bootMethod("UEFI")
                .cloudServicesNetworkAttachment(NetworkAttachmentArgs.builder()
                    .attachedNetworkId("/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName")
                    .ipAllocationMethod("Dynamic")
                    .build())
                .cpuCores(2)
                .extendedLocation(ExtendedLocationArgs.builder()
                    .name("/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName")
                    .type("CustomLocation")
                    .build())
                .location("location")
                .memorySizeGB(8)
                .networkAttachments(NetworkAttachmentArgs.builder()
                    .attachedNetworkId("/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName")
                    .defaultGateway("True")
                    .ipAllocationMethod("Dynamic")
                    .ipv4Address("198.51.100.1")
                    .ipv6Address("2001:0db8:0000:0000:0000:0000:0000:0000")
                    .networkAttachmentName("netAttachName01")
                    .build())
                .networkData("bmV0d29ya0RhdGVTYW1wbGU=")
                .placementHints(VirtualMachinePlacementHintArgs.builder()
                    .hintType("Affinity")
                    .resourceId("/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName")
                    .schedulingExecution("Hard")
                    .scope("")
                    .build())
                .resourceGroupName("resourceGroupName")
                .sshPublicKeys(SshPublicKeyArgs.builder()
                    .keyData("ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm")
                    .build())
                .storageProfile(StorageProfileArgs.builder()
                    .osDisk(OsDiskArgs.builder()
                        .createOption("Ephemeral")
                        .deleteOption("Delete")
                        .diskSizeGB(120)
                        .build())
                    .volumeAttachments("/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName")
                    .build())
                .tags(Map.ofEntries(
                    Map.entry("key1", "myvalue1"),
                    Map.entry("key2", "myvalue2")
                ))
                .userData("dXNlckRhdGVTYW1wbGU=")
                .virtualMachineName("virtualMachineName")
                .vmDeviceModel("T2")
                .vmImage("myacr.azurecr.io/foobar:latest")
                .vmImageRepositoryCredentials(ImageRepositoryCredentialsArgs.builder()
                    .password("{password}")
                    .registryUrl("myacr.azurecr.io")
                    .username("myuser")
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    virtual_machine = azure_native.networkcloud.VirtualMachine("virtualMachine",
        admin_username="username",
        boot_method=azure_native.networkcloud.VirtualMachineBootMethod.UEFI,
        cloud_services_network_attachment={
            "attached_network_id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
            "ip_allocation_method": azure_native.networkcloud.VirtualMachineIPAllocationMethod.DYNAMIC,
        },
        cpu_cores=2,
        extended_location={
            "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName",
            "type": "CustomLocation",
        },
        location="location",
        memory_size_gb=8,
        network_attachments=[{
            "attached_network_id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
            "default_gateway": azure_native.networkcloud.DefaultGateway.TRUE,
            "ip_allocation_method": azure_native.networkcloud.VirtualMachineIPAllocationMethod.DYNAMIC,
            "ipv4_address": "198.51.100.1",
            "ipv6_address": "2001:0db8:0000:0000:0000:0000:0000:0000",
            "network_attachment_name": "netAttachName01",
        }],
        network_data="bmV0d29ya0RhdGVTYW1wbGU=",
        placement_hints=[{
            "hint_type": azure_native.networkcloud.VirtualMachinePlacementHintType.AFFINITY,
            "resource_id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
            "scheduling_execution": azure_native.networkcloud.VirtualMachineSchedulingExecution.HARD,
            "scope": "",
        }],
        resource_group_name="resourceGroupName",
        ssh_public_keys=[{
            "key_data": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm",
        }],
        storage_profile={
            "os_disk": {
                "create_option": azure_native.networkcloud.OsDiskCreateOption.EPHEMERAL,
                "delete_option": azure_native.networkcloud.OsDiskDeleteOption.DELETE,
                "disk_size_gb": 120,
            },
            "volume_attachments": ["/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"],
        },
        tags={
            "key1": "myvalue1",
            "key2": "myvalue2",
        },
        user_data="dXNlckRhdGVTYW1wbGU=",
        virtual_machine_name="virtualMachineName",
        vm_device_model=azure_native.networkcloud.VirtualMachineDeviceModelType.T2,
        vm_image="myacr.azurecr.io/foobar:latest",
        vm_image_repository_credentials={
            "password": "{password}",
            "registry_url": "myacr.azurecr.io",
            "username": "myuser",
        })
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const virtualMachine = new azure_native.networkcloud.VirtualMachine("virtualMachine", {
        adminUsername: "username",
        bootMethod: azure_native.networkcloud.VirtualMachineBootMethod.UEFI,
        cloudServicesNetworkAttachment: {
            attachedNetworkId: "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
            ipAllocationMethod: azure_native.networkcloud.VirtualMachineIPAllocationMethod.Dynamic,
        },
        cpuCores: 2,
        extendedLocation: {
            name: "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName",
            type: "CustomLocation",
        },
        location: "location",
        memorySizeGB: 8,
        networkAttachments: [{
            attachedNetworkId: "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
            defaultGateway: azure_native.networkcloud.DefaultGateway.True,
            ipAllocationMethod: azure_native.networkcloud.VirtualMachineIPAllocationMethod.Dynamic,
            ipv4Address: "198.51.100.1",
            ipv6Address: "2001:0db8:0000:0000:0000:0000:0000:0000",
            networkAttachmentName: "netAttachName01",
        }],
        networkData: "bmV0d29ya0RhdGVTYW1wbGU=",
        placementHints: [{
            hintType: azure_native.networkcloud.VirtualMachinePlacementHintType.Affinity,
            resourceId: "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
            schedulingExecution: azure_native.networkcloud.VirtualMachineSchedulingExecution.Hard,
            scope: "",
        }],
        resourceGroupName: "resourceGroupName",
        sshPublicKeys: [{
            keyData: "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm",
        }],
        storageProfile: {
            osDisk: {
                createOption: azure_native.networkcloud.OsDiskCreateOption.Ephemeral,
                deleteOption: azure_native.networkcloud.OsDiskDeleteOption.Delete,
                diskSizeGB: 120,
            },
            volumeAttachments: ["/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"],
        },
        tags: {
            key1: "myvalue1",
            key2: "myvalue2",
        },
        userData: "dXNlckRhdGVTYW1wbGU=",
        virtualMachineName: "virtualMachineName",
        vmDeviceModel: azure_native.networkcloud.VirtualMachineDeviceModelType.T2,
        vmImage: "myacr.azurecr.io/foobar:latest",
        vmImageRepositoryCredentials: {
            password: "{password}",
            registryUrl: "myacr.azurecr.io",
            username: "myuser",
        },
    });
    
    resources:
      virtualMachine:
        type: azure-native:networkcloud:VirtualMachine
        properties:
          adminUsername: username
          bootMethod: UEFI
          cloudServicesNetworkAttachment:
            attachedNetworkId: /subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName
            ipAllocationMethod: Dynamic
          cpuCores: 2
          extendedLocation:
            name: /subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName
            type: CustomLocation
          location: location
          memorySizeGB: 8
          networkAttachments:
            - attachedNetworkId: /subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName
              defaultGateway: True
              ipAllocationMethod: Dynamic
              ipv4Address: 198.51.100.1
              ipv6Address: 2001:0db8:0000:0000:0000:0000:0000:0000
              networkAttachmentName: netAttachName01
          networkData: bmV0d29ya0RhdGVTYW1wbGU=
          placementHints:
            - hintType: Affinity
              resourceId: /subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName
              schedulingExecution: Hard
              scope:
          resourceGroupName: resourceGroupName
          sshPublicKeys:
            - keyData: ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm
          storageProfile:
            osDisk:
              createOption: Ephemeral
              deleteOption: Delete
              diskSizeGB: 120
            volumeAttachments:
              - /subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName
          tags:
            key1: myvalue1
            key2: myvalue2
          userData: dXNlckRhdGVTYW1wbGU=
          virtualMachineName: virtualMachineName
          vmDeviceModel: T2
          vmImage: myacr.azurecr.io/foobar:latest
          vmImageRepositoryCredentials:
            password: '{password}'
            registryUrl: myacr.azurecr.io
            username: myuser
    

    Create VirtualMachine Resource

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

    Constructor syntax

    new VirtualMachine(name: string, args: VirtualMachineArgs, opts?: CustomResourceOptions);
    @overload
    def VirtualMachine(resource_name: str,
                       args: VirtualMachineArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def VirtualMachine(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       admin_username: Optional[str] = None,
                       vm_image: Optional[str] = None,
                       cloud_services_network_attachment: Optional[NetworkAttachmentArgs] = None,
                       cpu_cores: Optional[float] = None,
                       extended_location: Optional[ExtendedLocationArgs] = None,
                       storage_profile: Optional[StorageProfileArgs] = None,
                       resource_group_name: Optional[str] = None,
                       memory_size_gb: Optional[float] = None,
                       placement_hints: Optional[Sequence[VirtualMachinePlacementHintArgs]] = None,
                       network_data: Optional[str] = None,
                       network_attachments: Optional[Sequence[NetworkAttachmentArgs]] = None,
                       location: Optional[str] = None,
                       ssh_public_keys: Optional[Sequence[SshPublicKeyArgs]] = None,
                       isolate_emulator_thread: Optional[Union[str, VirtualMachineIsolateEmulatorThread]] = None,
                       tags: Optional[Mapping[str, str]] = None,
                       user_data: Optional[str] = None,
                       virtio_interface: Optional[Union[str, VirtualMachineVirtioInterfaceType]] = None,
                       virtual_machine_name: Optional[str] = None,
                       vm_device_model: Optional[Union[str, VirtualMachineDeviceModelType]] = None,
                       boot_method: Optional[Union[str, VirtualMachineBootMethod]] = None,
                       vm_image_repository_credentials: Optional[ImageRepositoryCredentialsArgs] = None)
    func NewVirtualMachine(ctx *Context, name string, args VirtualMachineArgs, opts ...ResourceOption) (*VirtualMachine, error)
    public VirtualMachine(string name, VirtualMachineArgs args, CustomResourceOptions? opts = null)
    public VirtualMachine(String name, VirtualMachineArgs args)
    public VirtualMachine(String name, VirtualMachineArgs args, CustomResourceOptions options)
    
    type: azure-native:networkcloud:VirtualMachine
    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 VirtualMachineArgs
    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 VirtualMachineArgs
    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 VirtualMachineArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VirtualMachineArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VirtualMachineArgs
    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 examplevirtualMachineResourceResourceFromNetworkcloud = new AzureNative.NetworkCloud.VirtualMachine("examplevirtualMachineResourceResourceFromNetworkcloud", new()
    {
        AdminUsername = "string",
        VmImage = "string",
        CloudServicesNetworkAttachment = new AzureNative.NetworkCloud.Inputs.NetworkAttachmentArgs
        {
            AttachedNetworkId = "string",
            IpAllocationMethod = "string",
            DefaultGateway = "string",
            Ipv4Address = "string",
            Ipv6Address = "string",
            NetworkAttachmentName = "string",
        },
        CpuCores = 0,
        ExtendedLocation = new AzureNative.NetworkCloud.Inputs.ExtendedLocationArgs
        {
            Name = "string",
            Type = "string",
        },
        StorageProfile = new AzureNative.NetworkCloud.Inputs.StorageProfileArgs
        {
            OsDisk = new AzureNative.NetworkCloud.Inputs.OsDiskArgs
            {
                DiskSizeGB = 0,
                CreateOption = "string",
                DeleteOption = "string",
            },
            VolumeAttachments = new[]
            {
                "string",
            },
        },
        ResourceGroupName = "string",
        MemorySizeGB = 0,
        PlacementHints = new[]
        {
            new AzureNative.NetworkCloud.Inputs.VirtualMachinePlacementHintArgs
            {
                HintType = "string",
                ResourceId = "string",
                SchedulingExecution = "string",
                Scope = "string",
            },
        },
        NetworkData = "string",
        NetworkAttachments = new[]
        {
            new AzureNative.NetworkCloud.Inputs.NetworkAttachmentArgs
            {
                AttachedNetworkId = "string",
                IpAllocationMethod = "string",
                DefaultGateway = "string",
                Ipv4Address = "string",
                Ipv6Address = "string",
                NetworkAttachmentName = "string",
            },
        },
        Location = "string",
        SshPublicKeys = new[]
        {
            new AzureNative.NetworkCloud.Inputs.SshPublicKeyArgs
            {
                KeyData = "string",
            },
        },
        IsolateEmulatorThread = "string",
        Tags = 
        {
            { "string", "string" },
        },
        UserData = "string",
        VirtioInterface = "string",
        VirtualMachineName = "string",
        VmDeviceModel = "string",
        BootMethod = "string",
        VmImageRepositoryCredentials = new AzureNative.NetworkCloud.Inputs.ImageRepositoryCredentialsArgs
        {
            Password = "string",
            RegistryUrl = "string",
            Username = "string",
        },
    });
    
    example, err := networkcloud.NewVirtualMachine(ctx, "examplevirtualMachineResourceResourceFromNetworkcloud", &networkcloud.VirtualMachineArgs{
    	AdminUsername: pulumi.String("string"),
    	VmImage:       pulumi.String("string"),
    	CloudServicesNetworkAttachment: &networkcloud.NetworkAttachmentArgs{
    		AttachedNetworkId:     pulumi.String("string"),
    		IpAllocationMethod:    pulumi.String("string"),
    		DefaultGateway:        pulumi.String("string"),
    		Ipv4Address:           pulumi.String("string"),
    		Ipv6Address:           pulumi.String("string"),
    		NetworkAttachmentName: pulumi.String("string"),
    	},
    	CpuCores: pulumi.Float64(0),
    	ExtendedLocation: &networkcloud.ExtendedLocationArgs{
    		Name: pulumi.String("string"),
    		Type: pulumi.String("string"),
    	},
    	StorageProfile: &networkcloud.StorageProfileArgs{
    		OsDisk: &networkcloud.OsDiskArgs{
    			DiskSizeGB:   pulumi.Float64(0),
    			CreateOption: pulumi.String("string"),
    			DeleteOption: pulumi.String("string"),
    		},
    		VolumeAttachments: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	ResourceGroupName: pulumi.String("string"),
    	MemorySizeGB:      pulumi.Float64(0),
    	PlacementHints: networkcloud.VirtualMachinePlacementHintArray{
    		&networkcloud.VirtualMachinePlacementHintArgs{
    			HintType:            pulumi.String("string"),
    			ResourceId:          pulumi.String("string"),
    			SchedulingExecution: pulumi.String("string"),
    			Scope:               pulumi.String("string"),
    		},
    	},
    	NetworkData: pulumi.String("string"),
    	NetworkAttachments: networkcloud.NetworkAttachmentArray{
    		&networkcloud.NetworkAttachmentArgs{
    			AttachedNetworkId:     pulumi.String("string"),
    			IpAllocationMethod:    pulumi.String("string"),
    			DefaultGateway:        pulumi.String("string"),
    			Ipv4Address:           pulumi.String("string"),
    			Ipv6Address:           pulumi.String("string"),
    			NetworkAttachmentName: pulumi.String("string"),
    		},
    	},
    	Location: pulumi.String("string"),
    	SshPublicKeys: networkcloud.SshPublicKeyArray{
    		&networkcloud.SshPublicKeyArgs{
    			KeyData: pulumi.String("string"),
    		},
    	},
    	IsolateEmulatorThread: pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	UserData:           pulumi.String("string"),
    	VirtioInterface:    pulumi.String("string"),
    	VirtualMachineName: pulumi.String("string"),
    	VmDeviceModel:      pulumi.String("string"),
    	BootMethod:         pulumi.String("string"),
    	VmImageRepositoryCredentials: &networkcloud.ImageRepositoryCredentialsArgs{
    		Password:    pulumi.String("string"),
    		RegistryUrl: pulumi.String("string"),
    		Username:    pulumi.String("string"),
    	},
    })
    
    var examplevirtualMachineResourceResourceFromNetworkcloud = new VirtualMachine("examplevirtualMachineResourceResourceFromNetworkcloud", VirtualMachineArgs.builder()
        .adminUsername("string")
        .vmImage("string")
        .cloudServicesNetworkAttachment(NetworkAttachmentArgs.builder()
            .attachedNetworkId("string")
            .ipAllocationMethod("string")
            .defaultGateway("string")
            .ipv4Address("string")
            .ipv6Address("string")
            .networkAttachmentName("string")
            .build())
        .cpuCores(0)
        .extendedLocation(ExtendedLocationArgs.builder()
            .name("string")
            .type("string")
            .build())
        .storageProfile(StorageProfileArgs.builder()
            .osDisk(OsDiskArgs.builder()
                .diskSizeGB(0)
                .createOption("string")
                .deleteOption("string")
                .build())
            .volumeAttachments("string")
            .build())
        .resourceGroupName("string")
        .memorySizeGB(0)
        .placementHints(VirtualMachinePlacementHintArgs.builder()
            .hintType("string")
            .resourceId("string")
            .schedulingExecution("string")
            .scope("string")
            .build())
        .networkData("string")
        .networkAttachments(NetworkAttachmentArgs.builder()
            .attachedNetworkId("string")
            .ipAllocationMethod("string")
            .defaultGateway("string")
            .ipv4Address("string")
            .ipv6Address("string")
            .networkAttachmentName("string")
            .build())
        .location("string")
        .sshPublicKeys(SshPublicKeyArgs.builder()
            .keyData("string")
            .build())
        .isolateEmulatorThread("string")
        .tags(Map.of("string", "string"))
        .userData("string")
        .virtioInterface("string")
        .virtualMachineName("string")
        .vmDeviceModel("string")
        .bootMethod("string")
        .vmImageRepositoryCredentials(ImageRepositoryCredentialsArgs.builder()
            .password("string")
            .registryUrl("string")
            .username("string")
            .build())
        .build());
    
    examplevirtual_machine_resource_resource_from_networkcloud = azure_native.networkcloud.VirtualMachine("examplevirtualMachineResourceResourceFromNetworkcloud",
        admin_username="string",
        vm_image="string",
        cloud_services_network_attachment={
            "attached_network_id": "string",
            "ip_allocation_method": "string",
            "default_gateway": "string",
            "ipv4_address": "string",
            "ipv6_address": "string",
            "network_attachment_name": "string",
        },
        cpu_cores=0,
        extended_location={
            "name": "string",
            "type": "string",
        },
        storage_profile={
            "os_disk": {
                "disk_size_gb": 0,
                "create_option": "string",
                "delete_option": "string",
            },
            "volume_attachments": ["string"],
        },
        resource_group_name="string",
        memory_size_gb=0,
        placement_hints=[{
            "hint_type": "string",
            "resource_id": "string",
            "scheduling_execution": "string",
            "scope": "string",
        }],
        network_data="string",
        network_attachments=[{
            "attached_network_id": "string",
            "ip_allocation_method": "string",
            "default_gateway": "string",
            "ipv4_address": "string",
            "ipv6_address": "string",
            "network_attachment_name": "string",
        }],
        location="string",
        ssh_public_keys=[{
            "key_data": "string",
        }],
        isolate_emulator_thread="string",
        tags={
            "string": "string",
        },
        user_data="string",
        virtio_interface="string",
        virtual_machine_name="string",
        vm_device_model="string",
        boot_method="string",
        vm_image_repository_credentials={
            "password": "string",
            "registry_url": "string",
            "username": "string",
        })
    
    const examplevirtualMachineResourceResourceFromNetworkcloud = new azure_native.networkcloud.VirtualMachine("examplevirtualMachineResourceResourceFromNetworkcloud", {
        adminUsername: "string",
        vmImage: "string",
        cloudServicesNetworkAttachment: {
            attachedNetworkId: "string",
            ipAllocationMethod: "string",
            defaultGateway: "string",
            ipv4Address: "string",
            ipv6Address: "string",
            networkAttachmentName: "string",
        },
        cpuCores: 0,
        extendedLocation: {
            name: "string",
            type: "string",
        },
        storageProfile: {
            osDisk: {
                diskSizeGB: 0,
                createOption: "string",
                deleteOption: "string",
            },
            volumeAttachments: ["string"],
        },
        resourceGroupName: "string",
        memorySizeGB: 0,
        placementHints: [{
            hintType: "string",
            resourceId: "string",
            schedulingExecution: "string",
            scope: "string",
        }],
        networkData: "string",
        networkAttachments: [{
            attachedNetworkId: "string",
            ipAllocationMethod: "string",
            defaultGateway: "string",
            ipv4Address: "string",
            ipv6Address: "string",
            networkAttachmentName: "string",
        }],
        location: "string",
        sshPublicKeys: [{
            keyData: "string",
        }],
        isolateEmulatorThread: "string",
        tags: {
            string: "string",
        },
        userData: "string",
        virtioInterface: "string",
        virtualMachineName: "string",
        vmDeviceModel: "string",
        bootMethod: "string",
        vmImageRepositoryCredentials: {
            password: "string",
            registryUrl: "string",
            username: "string",
        },
    });
    
    type: azure-native:networkcloud:VirtualMachine
    properties:
        adminUsername: string
        bootMethod: string
        cloudServicesNetworkAttachment:
            attachedNetworkId: string
            defaultGateway: string
            ipAllocationMethod: string
            ipv4Address: string
            ipv6Address: string
            networkAttachmentName: string
        cpuCores: 0
        extendedLocation:
            name: string
            type: string
        isolateEmulatorThread: string
        location: string
        memorySizeGB: 0
        networkAttachments:
            - attachedNetworkId: string
              defaultGateway: string
              ipAllocationMethod: string
              ipv4Address: string
              ipv6Address: string
              networkAttachmentName: string
        networkData: string
        placementHints:
            - hintType: string
              resourceId: string
              schedulingExecution: string
              scope: string
        resourceGroupName: string
        sshPublicKeys:
            - keyData: string
        storageProfile:
            osDisk:
                createOption: string
                deleteOption: string
                diskSizeGB: 0
            volumeAttachments:
                - string
        tags:
            string: string
        userData: string
        virtioInterface: string
        virtualMachineName: string
        vmDeviceModel: string
        vmImage: string
        vmImageRepositoryCredentials:
            password: string
            registryUrl: string
            username: string
    

    VirtualMachine 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 VirtualMachine resource accepts the following input properties:

    AdminUsername string
    The name of the administrator to which the ssh public keys will be added into the authorized keys.
    CloudServicesNetworkAttachment Pulumi.AzureNative.NetworkCloud.Inputs.NetworkAttachment
    The cloud service network that provides platform-level services for the virtual machine.
    CpuCores double
    The number of CPU cores in the virtual machine.
    ExtendedLocation Pulumi.AzureNative.NetworkCloud.Inputs.ExtendedLocation
    The extended location of the cluster associated with the resource.
    MemorySizeGB double
    The memory size of the virtual machine in GB.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    StorageProfile Pulumi.AzureNative.NetworkCloud.Inputs.StorageProfile
    The storage profile that specifies size and other parameters about the disks related to the virtual machine.
    VmImage string
    The virtual machine image that is currently provisioned to the OS disk, using the full url and tag notation used to pull the image.
    BootMethod string | Pulumi.AzureNative.NetworkCloud.VirtualMachineBootMethod
    Selects the boot method for the virtual machine.
    IsolateEmulatorThread string | Pulumi.AzureNative.NetworkCloud.VirtualMachineIsolateEmulatorThread
    Field Deprecated, the value will be ignored if provided. The indicator of whether one of the specified CPU cores is isolated to run the emulator thread for this virtual machine.
    Location string
    The geo-location where the resource lives
    NetworkAttachments List<Pulumi.AzureNative.NetworkCloud.Inputs.NetworkAttachment>
    The list of network attachments to the virtual machine.
    NetworkData string
    The Base64 encoded cloud-init network data.
    PlacementHints List<Pulumi.AzureNative.NetworkCloud.Inputs.VirtualMachinePlacementHint>
    The scheduling hints for the virtual machine.
    SshPublicKeys List<Pulumi.AzureNative.NetworkCloud.Inputs.SshPublicKey>
    The list of ssh public keys. Each key will be added to the virtual machine using the cloud-init ssh_authorized_keys mechanism for the adminUsername.
    Tags Dictionary<string, string>
    Resource tags.
    UserData string
    The Base64 encoded cloud-init user data.
    VirtioInterface string | Pulumi.AzureNative.NetworkCloud.VirtualMachineVirtioInterfaceType
    Field Deprecated, use virtualizationModel instead. The type of the virtio interface.
    VirtualMachineName string
    The name of the virtual machine.
    VmDeviceModel string | Pulumi.AzureNative.NetworkCloud.VirtualMachineDeviceModelType
    The type of the device model to use.
    VmImageRepositoryCredentials Pulumi.AzureNative.NetworkCloud.Inputs.ImageRepositoryCredentials
    The credentials used to login to the image repository that has access to the specified image.
    AdminUsername string
    The name of the administrator to which the ssh public keys will be added into the authorized keys.
    CloudServicesNetworkAttachment NetworkAttachmentArgs
    The cloud service network that provides platform-level services for the virtual machine.
    CpuCores float64
    The number of CPU cores in the virtual machine.
    ExtendedLocation ExtendedLocationArgs
    The extended location of the cluster associated with the resource.
    MemorySizeGB float64
    The memory size of the virtual machine in GB.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    StorageProfile StorageProfileArgs
    The storage profile that specifies size and other parameters about the disks related to the virtual machine.
    VmImage string
    The virtual machine image that is currently provisioned to the OS disk, using the full url and tag notation used to pull the image.
    BootMethod string | VirtualMachineBootMethod
    Selects the boot method for the virtual machine.
    IsolateEmulatorThread string | VirtualMachineIsolateEmulatorThread
    Field Deprecated, the value will be ignored if provided. The indicator of whether one of the specified CPU cores is isolated to run the emulator thread for this virtual machine.
    Location string
    The geo-location where the resource lives
    NetworkAttachments []NetworkAttachmentArgs
    The list of network attachments to the virtual machine.
    NetworkData string
    The Base64 encoded cloud-init network data.
    PlacementHints []VirtualMachinePlacementHintArgs
    The scheduling hints for the virtual machine.
    SshPublicKeys []SshPublicKeyArgs
    The list of ssh public keys. Each key will be added to the virtual machine using the cloud-init ssh_authorized_keys mechanism for the adminUsername.
    Tags map[string]string
    Resource tags.
    UserData string
    The Base64 encoded cloud-init user data.
    VirtioInterface string | VirtualMachineVirtioInterfaceType
    Field Deprecated, use virtualizationModel instead. The type of the virtio interface.
    VirtualMachineName string
    The name of the virtual machine.
    VmDeviceModel string | VirtualMachineDeviceModelType
    The type of the device model to use.
    VmImageRepositoryCredentials ImageRepositoryCredentialsArgs
    The credentials used to login to the image repository that has access to the specified image.
    adminUsername String
    The name of the administrator to which the ssh public keys will be added into the authorized keys.
    cloudServicesNetworkAttachment NetworkAttachment
    The cloud service network that provides platform-level services for the virtual machine.
    cpuCores Double
    The number of CPU cores in the virtual machine.
    extendedLocation ExtendedLocation
    The extended location of the cluster associated with the resource.
    memorySizeGB Double
    The memory size of the virtual machine in GB.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    storageProfile StorageProfile
    The storage profile that specifies size and other parameters about the disks related to the virtual machine.
    vmImage String
    The virtual machine image that is currently provisioned to the OS disk, using the full url and tag notation used to pull the image.
    bootMethod String | VirtualMachineBootMethod
    Selects the boot method for the virtual machine.
    isolateEmulatorThread String | VirtualMachineIsolateEmulatorThread
    Field Deprecated, the value will be ignored if provided. The indicator of whether one of the specified CPU cores is isolated to run the emulator thread for this virtual machine.
    location String
    The geo-location where the resource lives
    networkAttachments List<NetworkAttachment>
    The list of network attachments to the virtual machine.
    networkData String
    The Base64 encoded cloud-init network data.
    placementHints List<VirtualMachinePlacementHint>
    The scheduling hints for the virtual machine.
    sshPublicKeys List<SshPublicKey>
    The list of ssh public keys. Each key will be added to the virtual machine using the cloud-init ssh_authorized_keys mechanism for the adminUsername.
    tags Map<String,String>
    Resource tags.
    userData String
    The Base64 encoded cloud-init user data.
    virtioInterface String | VirtualMachineVirtioInterfaceType
    Field Deprecated, use virtualizationModel instead. The type of the virtio interface.
    virtualMachineName String
    The name of the virtual machine.
    vmDeviceModel String | VirtualMachineDeviceModelType
    The type of the device model to use.
    vmImageRepositoryCredentials ImageRepositoryCredentials
    The credentials used to login to the image repository that has access to the specified image.
    adminUsername string
    The name of the administrator to which the ssh public keys will be added into the authorized keys.
    cloudServicesNetworkAttachment NetworkAttachment
    The cloud service network that provides platform-level services for the virtual machine.
    cpuCores number
    The number of CPU cores in the virtual machine.
    extendedLocation ExtendedLocation
    The extended location of the cluster associated with the resource.
    memorySizeGB number
    The memory size of the virtual machine in GB.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    storageProfile StorageProfile
    The storage profile that specifies size and other parameters about the disks related to the virtual machine.
    vmImage string
    The virtual machine image that is currently provisioned to the OS disk, using the full url and tag notation used to pull the image.
    bootMethod string | VirtualMachineBootMethod
    Selects the boot method for the virtual machine.
    isolateEmulatorThread string | VirtualMachineIsolateEmulatorThread
    Field Deprecated, the value will be ignored if provided. The indicator of whether one of the specified CPU cores is isolated to run the emulator thread for this virtual machine.
    location string
    The geo-location where the resource lives
    networkAttachments NetworkAttachment[]
    The list of network attachments to the virtual machine.
    networkData string
    The Base64 encoded cloud-init network data.
    placementHints VirtualMachinePlacementHint[]
    The scheduling hints for the virtual machine.
    sshPublicKeys SshPublicKey[]
    The list of ssh public keys. Each key will be added to the virtual machine using the cloud-init ssh_authorized_keys mechanism for the adminUsername.
    tags {[key: string]: string}
    Resource tags.
    userData string
    The Base64 encoded cloud-init user data.
    virtioInterface string | VirtualMachineVirtioInterfaceType
    Field Deprecated, use virtualizationModel instead. The type of the virtio interface.
    virtualMachineName string
    The name of the virtual machine.
    vmDeviceModel string | VirtualMachineDeviceModelType
    The type of the device model to use.
    vmImageRepositoryCredentials ImageRepositoryCredentials
    The credentials used to login to the image repository that has access to the specified image.
    admin_username str
    The name of the administrator to which the ssh public keys will be added into the authorized keys.
    cloud_services_network_attachment NetworkAttachmentArgs
    The cloud service network that provides platform-level services for the virtual machine.
    cpu_cores float
    The number of CPU cores in the virtual machine.
    extended_location ExtendedLocationArgs
    The extended location of the cluster associated with the resource.
    memory_size_gb float
    The memory size of the virtual machine in GB.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    storage_profile StorageProfileArgs
    The storage profile that specifies size and other parameters about the disks related to the virtual machine.
    vm_image str
    The virtual machine image that is currently provisioned to the OS disk, using the full url and tag notation used to pull the image.
    boot_method str | VirtualMachineBootMethod
    Selects the boot method for the virtual machine.
    isolate_emulator_thread str | VirtualMachineIsolateEmulatorThread
    Field Deprecated, the value will be ignored if provided. The indicator of whether one of the specified CPU cores is isolated to run the emulator thread for this virtual machine.
    location str
    The geo-location where the resource lives
    network_attachments Sequence[NetworkAttachmentArgs]
    The list of network attachments to the virtual machine.
    network_data str
    The Base64 encoded cloud-init network data.
    placement_hints Sequence[VirtualMachinePlacementHintArgs]
    The scheduling hints for the virtual machine.
    ssh_public_keys Sequence[SshPublicKeyArgs]
    The list of ssh public keys. Each key will be added to the virtual machine using the cloud-init ssh_authorized_keys mechanism for the adminUsername.
    tags Mapping[str, str]
    Resource tags.
    user_data str
    The Base64 encoded cloud-init user data.
    virtio_interface str | VirtualMachineVirtioInterfaceType
    Field Deprecated, use virtualizationModel instead. The type of the virtio interface.
    virtual_machine_name str
    The name of the virtual machine.
    vm_device_model str | VirtualMachineDeviceModelType
    The type of the device model to use.
    vm_image_repository_credentials ImageRepositoryCredentialsArgs
    The credentials used to login to the image repository that has access to the specified image.
    adminUsername String
    The name of the administrator to which the ssh public keys will be added into the authorized keys.
    cloudServicesNetworkAttachment Property Map
    The cloud service network that provides platform-level services for the virtual machine.
    cpuCores Number
    The number of CPU cores in the virtual machine.
    extendedLocation Property Map
    The extended location of the cluster associated with the resource.
    memorySizeGB Number
    The memory size of the virtual machine in GB.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    storageProfile Property Map
    The storage profile that specifies size and other parameters about the disks related to the virtual machine.
    vmImage String
    The virtual machine image that is currently provisioned to the OS disk, using the full url and tag notation used to pull the image.
    bootMethod String | "UEFI" | "BIOS"
    Selects the boot method for the virtual machine.
    isolateEmulatorThread String | "True" | "False"
    Field Deprecated, the value will be ignored if provided. The indicator of whether one of the specified CPU cores is isolated to run the emulator thread for this virtual machine.
    location String
    The geo-location where the resource lives
    networkAttachments List<Property Map>
    The list of network attachments to the virtual machine.
    networkData String
    The Base64 encoded cloud-init network data.
    placementHints List<Property Map>
    The scheduling hints for the virtual machine.
    sshPublicKeys List<Property Map>
    The list of ssh public keys. Each key will be added to the virtual machine using the cloud-init ssh_authorized_keys mechanism for the adminUsername.
    tags Map<String>
    Resource tags.
    userData String
    The Base64 encoded cloud-init user data.
    virtioInterface String | "Modern" | "Transitional"
    Field Deprecated, use virtualizationModel instead. The type of the virtio interface.
    virtualMachineName String
    The name of the virtual machine.
    vmDeviceModel String | "T1" | "T2"
    The type of the device model to use.
    vmImageRepositoryCredentials Property Map
    The credentials used to login to the image repository that has access to the specified image.

    Outputs

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

    AvailabilityZone string
    The cluster availability zone containing this virtual machine.
    BareMetalMachineId string
    The resource ID of the bare metal machine that hosts the virtual machine.
    ClusterId string
    The resource ID of the cluster the virtual machine is created for.
    DetailedStatus string
    The more detailed status of the virtual machine.
    DetailedStatusMessage string
    The descriptive message about the current detailed status.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    PowerState string
    The power state of the virtual machine.
    ProvisioningState string
    The provisioning state of the virtual machine.
    SystemData Pulumi.AzureNative.NetworkCloud.Outputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Volumes List<string>
    The resource IDs of volumes that are attached to the virtual machine.
    AvailabilityZone string
    The cluster availability zone containing this virtual machine.
    BareMetalMachineId string
    The resource ID of the bare metal machine that hosts the virtual machine.
    ClusterId string
    The resource ID of the cluster the virtual machine is created for.
    DetailedStatus string
    The more detailed status of the virtual machine.
    DetailedStatusMessage string
    The descriptive message about the current detailed status.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    PowerState string
    The power state of the virtual machine.
    ProvisioningState string
    The provisioning state of the virtual machine.
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Volumes []string
    The resource IDs of volumes that are attached to the virtual machine.
    availabilityZone String
    The cluster availability zone containing this virtual machine.
    bareMetalMachineId String
    The resource ID of the bare metal machine that hosts the virtual machine.
    clusterId String
    The resource ID of the cluster the virtual machine is created for.
    detailedStatus String
    The more detailed status of the virtual machine.
    detailedStatusMessage String
    The descriptive message about the current detailed status.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    powerState String
    The power state of the virtual machine.
    provisioningState String
    The provisioning state of the virtual machine.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    volumes List<String>
    The resource IDs of volumes that are attached to the virtual machine.
    availabilityZone string
    The cluster availability zone containing this virtual machine.
    bareMetalMachineId string
    The resource ID of the bare metal machine that hosts the virtual machine.
    clusterId string
    The resource ID of the cluster the virtual machine is created for.
    detailedStatus string
    The more detailed status of the virtual machine.
    detailedStatusMessage string
    The descriptive message about the current detailed status.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource
    powerState string
    The power state of the virtual machine.
    provisioningState string
    The provisioning state of the virtual machine.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    volumes string[]
    The resource IDs of volumes that are attached to the virtual machine.
    availability_zone str
    The cluster availability zone containing this virtual machine.
    bare_metal_machine_id str
    The resource ID of the bare metal machine that hosts the virtual machine.
    cluster_id str
    The resource ID of the cluster the virtual machine is created for.
    detailed_status str
    The more detailed status of the virtual machine.
    detailed_status_message str
    The descriptive message about the current detailed status.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource
    power_state str
    The power state of the virtual machine.
    provisioning_state str
    The provisioning state of the virtual machine.
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    volumes Sequence[str]
    The resource IDs of volumes that are attached to the virtual machine.
    availabilityZone String
    The cluster availability zone containing this virtual machine.
    bareMetalMachineId String
    The resource ID of the bare metal machine that hosts the virtual machine.
    clusterId String
    The resource ID of the cluster the virtual machine is created for.
    detailedStatus String
    The more detailed status of the virtual machine.
    detailedStatusMessage String
    The descriptive message about the current detailed status.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    powerState String
    The power state of the virtual machine.
    provisioningState String
    The provisioning state of the virtual machine.
    systemData Property Map
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    volumes List<String>
    The resource IDs of volumes that are attached to the virtual machine.

    Supporting Types

    DefaultGateway, DefaultGatewayArgs

    True
    True
    False
    False
    DefaultGatewayTrue
    True
    DefaultGatewayFalse
    False
    True
    True
    False
    False
    True
    True
    False
    False
    TRUE
    True
    FALSE
    False
    "True"
    True
    "False"
    False

    ExtendedLocation, ExtendedLocationArgs

    Name string
    The resource ID of the extended location on which the resource will be created.
    Type string
    The extended location type, for example, CustomLocation.
    Name string
    The resource ID of the extended location on which the resource will be created.
    Type string
    The extended location type, for example, CustomLocation.
    name String
    The resource ID of the extended location on which the resource will be created.
    type String
    The extended location type, for example, CustomLocation.
    name string
    The resource ID of the extended location on which the resource will be created.
    type string
    The extended location type, for example, CustomLocation.
    name str
    The resource ID of the extended location on which the resource will be created.
    type str
    The extended location type, for example, CustomLocation.
    name String
    The resource ID of the extended location on which the resource will be created.
    type String
    The extended location type, for example, CustomLocation.

    ExtendedLocationResponse, ExtendedLocationResponseArgs

    Name string
    The resource ID of the extended location on which the resource will be created.
    Type string
    The extended location type, for example, CustomLocation.
    Name string
    The resource ID of the extended location on which the resource will be created.
    Type string
    The extended location type, for example, CustomLocation.
    name String
    The resource ID of the extended location on which the resource will be created.
    type String
    The extended location type, for example, CustomLocation.
    name string
    The resource ID of the extended location on which the resource will be created.
    type string
    The extended location type, for example, CustomLocation.
    name str
    The resource ID of the extended location on which the resource will be created.
    type str
    The extended location type, for example, CustomLocation.
    name String
    The resource ID of the extended location on which the resource will be created.
    type String
    The extended location type, for example, CustomLocation.

    ImageRepositoryCredentials, ImageRepositoryCredentialsArgs

    Password string
    The password or token used to access an image in the target repository.
    RegistryUrl string
    The URL of the authentication server used to validate the repository credentials.
    Username string
    The username used to access an image in the target repository.
    Password string
    The password or token used to access an image in the target repository.
    RegistryUrl string
    The URL of the authentication server used to validate the repository credentials.
    Username string
    The username used to access an image in the target repository.
    password String
    The password or token used to access an image in the target repository.
    registryUrl String
    The URL of the authentication server used to validate the repository credentials.
    username String
    The username used to access an image in the target repository.
    password string
    The password or token used to access an image in the target repository.
    registryUrl string
    The URL of the authentication server used to validate the repository credentials.
    username string
    The username used to access an image in the target repository.
    password str
    The password or token used to access an image in the target repository.
    registry_url str
    The URL of the authentication server used to validate the repository credentials.
    username str
    The username used to access an image in the target repository.
    password String
    The password or token used to access an image in the target repository.
    registryUrl String
    The URL of the authentication server used to validate the repository credentials.
    username String
    The username used to access an image in the target repository.

    ImageRepositoryCredentialsResponse, ImageRepositoryCredentialsResponseArgs

    Password string
    The password or token used to access an image in the target repository.
    RegistryUrl string
    The URL of the authentication server used to validate the repository credentials.
    Username string
    The username used to access an image in the target repository.
    Password string
    The password or token used to access an image in the target repository.
    RegistryUrl string
    The URL of the authentication server used to validate the repository credentials.
    Username string
    The username used to access an image in the target repository.
    password String
    The password or token used to access an image in the target repository.
    registryUrl String
    The URL of the authentication server used to validate the repository credentials.
    username String
    The username used to access an image in the target repository.
    password string
    The password or token used to access an image in the target repository.
    registryUrl string
    The URL of the authentication server used to validate the repository credentials.
    username string
    The username used to access an image in the target repository.
    password str
    The password or token used to access an image in the target repository.
    registry_url str
    The URL of the authentication server used to validate the repository credentials.
    username str
    The username used to access an image in the target repository.
    password String
    The password or token used to access an image in the target repository.
    registryUrl String
    The URL of the authentication server used to validate the repository credentials.
    username String
    The username used to access an image in the target repository.

    NetworkAttachment, NetworkAttachmentArgs

    AttachedNetworkId string
    The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
    IpAllocationMethod string | Pulumi.AzureNative.NetworkCloud.VirtualMachineIPAllocationMethod
    The IP allocation mechanism for the virtual machine. Dynamic and Static are only valid for l3Network which may also specify Disabled. Otherwise, Disabled is the only permitted value.
    DefaultGateway string | Pulumi.AzureNative.NetworkCloud.DefaultGateway
    The indicator of whether this is the default gateway. Only one of the attached networks (including the CloudServicesNetwork attachment) for a single machine may be specified as True.
    Ipv4Address string

    The IPv4 address of the virtual machine.

    This field is used only if the attached network has IPAllocationType of IPV4 or DualStack.

    If IPAllocationMethod is: Static - this field must contain a user specified IPv4 address from within the subnet specified in the attached network. Dynamic - this field is read-only, but will be populated with an address from within the subnet specified in the attached network. Disabled - this field will be empty.

    Ipv6Address string

    The IPv6 address of the virtual machine.

    This field is used only if the attached network has IPAllocationType of IPV6 or DualStack.

    If IPAllocationMethod is: Static - this field must contain an IPv6 address range from within the range specified in the attached network. Dynamic - this field is read-only, but will be populated with an range from within the subnet specified in the attached network. Disabled - this field will be empty.

    NetworkAttachmentName string
    The associated network's interface name. If specified, the network attachment name has a maximum length of 15 characters and must be unique to this virtual machine. If the user doesn’t specify this value, the default interface name of the network resource will be used. For a CloudServicesNetwork resource, this name will be ignored.
    AttachedNetworkId string
    The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
    IpAllocationMethod string | VirtualMachineIPAllocationMethod
    The IP allocation mechanism for the virtual machine. Dynamic and Static are only valid for l3Network which may also specify Disabled. Otherwise, Disabled is the only permitted value.
    DefaultGateway string | DefaultGateway
    The indicator of whether this is the default gateway. Only one of the attached networks (including the CloudServicesNetwork attachment) for a single machine may be specified as True.
    Ipv4Address string

    The IPv4 address of the virtual machine.

    This field is used only if the attached network has IPAllocationType of IPV4 or DualStack.

    If IPAllocationMethod is: Static - this field must contain a user specified IPv4 address from within the subnet specified in the attached network. Dynamic - this field is read-only, but will be populated with an address from within the subnet specified in the attached network. Disabled - this field will be empty.

    Ipv6Address string

    The IPv6 address of the virtual machine.

    This field is used only if the attached network has IPAllocationType of IPV6 or DualStack.

    If IPAllocationMethod is: Static - this field must contain an IPv6 address range from within the range specified in the attached network. Dynamic - this field is read-only, but will be populated with an range from within the subnet specified in the attached network. Disabled - this field will be empty.

    NetworkAttachmentName string
    The associated network's interface name. If specified, the network attachment name has a maximum length of 15 characters and must be unique to this virtual machine. If the user doesn’t specify this value, the default interface name of the network resource will be used. For a CloudServicesNetwork resource, this name will be ignored.
    attachedNetworkId String
    The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
    ipAllocationMethod String | VirtualMachineIPAllocationMethod
    The IP allocation mechanism for the virtual machine. Dynamic and Static are only valid for l3Network which may also specify Disabled. Otherwise, Disabled is the only permitted value.
    defaultGateway String | DefaultGateway
    The indicator of whether this is the default gateway. Only one of the attached networks (including the CloudServicesNetwork attachment) for a single machine may be specified as True.
    ipv4Address String

    The IPv4 address of the virtual machine.

    This field is used only if the attached network has IPAllocationType of IPV4 or DualStack.

    If IPAllocationMethod is: Static - this field must contain a user specified IPv4 address from within the subnet specified in the attached network. Dynamic - this field is read-only, but will be populated with an address from within the subnet specified in the attached network. Disabled - this field will be empty.

    ipv6Address String

    The IPv6 address of the virtual machine.

    This field is used only if the attached network has IPAllocationType of IPV6 or DualStack.

    If IPAllocationMethod is: Static - this field must contain an IPv6 address range from within the range specified in the attached network. Dynamic - this field is read-only, but will be populated with an range from within the subnet specified in the attached network. Disabled - this field will be empty.

    networkAttachmentName String
    The associated network's interface name. If specified, the network attachment name has a maximum length of 15 characters and must be unique to this virtual machine. If the user doesn’t specify this value, the default interface name of the network resource will be used. For a CloudServicesNetwork resource, this name will be ignored.
    attachedNetworkId string
    The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
    ipAllocationMethod string | VirtualMachineIPAllocationMethod
    The IP allocation mechanism for the virtual machine. Dynamic and Static are only valid for l3Network which may also specify Disabled. Otherwise, Disabled is the only permitted value.
    defaultGateway string | DefaultGateway
    The indicator of whether this is the default gateway. Only one of the attached networks (including the CloudServicesNetwork attachment) for a single machine may be specified as True.
    ipv4Address string

    The IPv4 address of the virtual machine.

    This field is used only if the attached network has IPAllocationType of IPV4 or DualStack.

    If IPAllocationMethod is: Static - this field must contain a user specified IPv4 address from within the subnet specified in the attached network. Dynamic - this field is read-only, but will be populated with an address from within the subnet specified in the attached network. Disabled - this field will be empty.

    ipv6Address string

    The IPv6 address of the virtual machine.

    This field is used only if the attached network has IPAllocationType of IPV6 or DualStack.

    If IPAllocationMethod is: Static - this field must contain an IPv6 address range from within the range specified in the attached network. Dynamic - this field is read-only, but will be populated with an range from within the subnet specified in the attached network. Disabled - this field will be empty.

    networkAttachmentName string
    The associated network's interface name. If specified, the network attachment name has a maximum length of 15 characters and must be unique to this virtual machine. If the user doesn’t specify this value, the default interface name of the network resource will be used. For a CloudServicesNetwork resource, this name will be ignored.
    attached_network_id str
    The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
    ip_allocation_method str | VirtualMachineIPAllocationMethod
    The IP allocation mechanism for the virtual machine. Dynamic and Static are only valid for l3Network which may also specify Disabled. Otherwise, Disabled is the only permitted value.
    default_gateway str | DefaultGateway
    The indicator of whether this is the default gateway. Only one of the attached networks (including the CloudServicesNetwork attachment) for a single machine may be specified as True.
    ipv4_address str

    The IPv4 address of the virtual machine.

    This field is used only if the attached network has IPAllocationType of IPV4 or DualStack.

    If IPAllocationMethod is: Static - this field must contain a user specified IPv4 address from within the subnet specified in the attached network. Dynamic - this field is read-only, but will be populated with an address from within the subnet specified in the attached network. Disabled - this field will be empty.

    ipv6_address str

    The IPv6 address of the virtual machine.

    This field is used only if the attached network has IPAllocationType of IPV6 or DualStack.

    If IPAllocationMethod is: Static - this field must contain an IPv6 address range from within the range specified in the attached network. Dynamic - this field is read-only, but will be populated with an range from within the subnet specified in the attached network. Disabled - this field will be empty.

    network_attachment_name str
    The associated network's interface name. If specified, the network attachment name has a maximum length of 15 characters and must be unique to this virtual machine. If the user doesn’t specify this value, the default interface name of the network resource will be used. For a CloudServicesNetwork resource, this name will be ignored.
    attachedNetworkId String
    The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
    ipAllocationMethod String | "Dynamic" | "Static" | "Disabled"
    The IP allocation mechanism for the virtual machine. Dynamic and Static are only valid for l3Network which may also specify Disabled. Otherwise, Disabled is the only permitted value.
    defaultGateway String | "True" | "False"
    The indicator of whether this is the default gateway. Only one of the attached networks (including the CloudServicesNetwork attachment) for a single machine may be specified as True.
    ipv4Address String

    The IPv4 address of the virtual machine.

    This field is used only if the attached network has IPAllocationType of IPV4 or DualStack.

    If IPAllocationMethod is: Static - this field must contain a user specified IPv4 address from within the subnet specified in the attached network. Dynamic - this field is read-only, but will be populated with an address from within the subnet specified in the attached network. Disabled - this field will be empty.

    ipv6Address String

    The IPv6 address of the virtual machine.

    This field is used only if the attached network has IPAllocationType of IPV6 or DualStack.

    If IPAllocationMethod is: Static - this field must contain an IPv6 address range from within the range specified in the attached network. Dynamic - this field is read-only, but will be populated with an range from within the subnet specified in the attached network. Disabled - this field will be empty.

    networkAttachmentName String
    The associated network's interface name. If specified, the network attachment name has a maximum length of 15 characters and must be unique to this virtual machine. If the user doesn’t specify this value, the default interface name of the network resource will be used. For a CloudServicesNetwork resource, this name will be ignored.

    NetworkAttachmentResponse, NetworkAttachmentResponseArgs

    AttachedNetworkId string
    The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
    IpAllocationMethod string
    The IP allocation mechanism for the virtual machine. Dynamic and Static are only valid for l3Network which may also specify Disabled. Otherwise, Disabled is the only permitted value.
    MacAddress string
    The MAC address of the interface for the virtual machine that corresponds to this network attachment.
    DefaultGateway string
    The indicator of whether this is the default gateway. Only one of the attached networks (including the CloudServicesNetwork attachment) for a single machine may be specified as True.
    Ipv4Address string

    The IPv4 address of the virtual machine.

    This field is used only if the attached network has IPAllocationType of IPV4 or DualStack.

    If IPAllocationMethod is: Static - this field must contain a user specified IPv4 address from within the subnet specified in the attached network. Dynamic - this field is read-only, but will be populated with an address from within the subnet specified in the attached network. Disabled - this field will be empty.

    Ipv6Address string

    The IPv6 address of the virtual machine.

    This field is used only if the attached network has IPAllocationType of IPV6 or DualStack.

    If IPAllocationMethod is: Static - this field must contain an IPv6 address range from within the range specified in the attached network. Dynamic - this field is read-only, but will be populated with an range from within the subnet specified in the attached network. Disabled - this field will be empty.

    NetworkAttachmentName string
    The associated network's interface name. If specified, the network attachment name has a maximum length of 15 characters and must be unique to this virtual machine. If the user doesn’t specify this value, the default interface name of the network resource will be used. For a CloudServicesNetwork resource, this name will be ignored.
    AttachedNetworkId string
    The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
    IpAllocationMethod string
    The IP allocation mechanism for the virtual machine. Dynamic and Static are only valid for l3Network which may also specify Disabled. Otherwise, Disabled is the only permitted value.
    MacAddress string
    The MAC address of the interface for the virtual machine that corresponds to this network attachment.
    DefaultGateway string
    The indicator of whether this is the default gateway. Only one of the attached networks (including the CloudServicesNetwork attachment) for a single machine may be specified as True.
    Ipv4Address string

    The IPv4 address of the virtual machine.

    This field is used only if the attached network has IPAllocationType of IPV4 or DualStack.

    If IPAllocationMethod is: Static - this field must contain a user specified IPv4 address from within the subnet specified in the attached network. Dynamic - this field is read-only, but will be populated with an address from within the subnet specified in the attached network. Disabled - this field will be empty.

    Ipv6Address string

    The IPv6 address of the virtual machine.

    This field is used only if the attached network has IPAllocationType of IPV6 or DualStack.

    If IPAllocationMethod is: Static - this field must contain an IPv6 address range from within the range specified in the attached network. Dynamic - this field is read-only, but will be populated with an range from within the subnet specified in the attached network. Disabled - this field will be empty.

    NetworkAttachmentName string
    The associated network's interface name. If specified, the network attachment name has a maximum length of 15 characters and must be unique to this virtual machine. If the user doesn’t specify this value, the default interface name of the network resource will be used. For a CloudServicesNetwork resource, this name will be ignored.
    attachedNetworkId String
    The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
    ipAllocationMethod String
    The IP allocation mechanism for the virtual machine. Dynamic and Static are only valid for l3Network which may also specify Disabled. Otherwise, Disabled is the only permitted value.
    macAddress String
    The MAC address of the interface for the virtual machine that corresponds to this network attachment.
    defaultGateway String
    The indicator of whether this is the default gateway. Only one of the attached networks (including the CloudServicesNetwork attachment) for a single machine may be specified as True.
    ipv4Address String

    The IPv4 address of the virtual machine.

    This field is used only if the attached network has IPAllocationType of IPV4 or DualStack.

    If IPAllocationMethod is: Static - this field must contain a user specified IPv4 address from within the subnet specified in the attached network. Dynamic - this field is read-only, but will be populated with an address from within the subnet specified in the attached network. Disabled - this field will be empty.

    ipv6Address String

    The IPv6 address of the virtual machine.

    This field is used only if the attached network has IPAllocationType of IPV6 or DualStack.

    If IPAllocationMethod is: Static - this field must contain an IPv6 address range from within the range specified in the attached network. Dynamic - this field is read-only, but will be populated with an range from within the subnet specified in the attached network. Disabled - this field will be empty.

    networkAttachmentName String
    The associated network's interface name. If specified, the network attachment name has a maximum length of 15 characters and must be unique to this virtual machine. If the user doesn’t specify this value, the default interface name of the network resource will be used. For a CloudServicesNetwork resource, this name will be ignored.
    attachedNetworkId string
    The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
    ipAllocationMethod string
    The IP allocation mechanism for the virtual machine. Dynamic and Static are only valid for l3Network which may also specify Disabled. Otherwise, Disabled is the only permitted value.
    macAddress string
    The MAC address of the interface for the virtual machine that corresponds to this network attachment.
    defaultGateway string
    The indicator of whether this is the default gateway. Only one of the attached networks (including the CloudServicesNetwork attachment) for a single machine may be specified as True.
    ipv4Address string

    The IPv4 address of the virtual machine.

    This field is used only if the attached network has IPAllocationType of IPV4 or DualStack.

    If IPAllocationMethod is: Static - this field must contain a user specified IPv4 address from within the subnet specified in the attached network. Dynamic - this field is read-only, but will be populated with an address from within the subnet specified in the attached network. Disabled - this field will be empty.

    ipv6Address string

    The IPv6 address of the virtual machine.

    This field is used only if the attached network has IPAllocationType of IPV6 or DualStack.

    If IPAllocationMethod is: Static - this field must contain an IPv6 address range from within the range specified in the attached network. Dynamic - this field is read-only, but will be populated with an range from within the subnet specified in the attached network. Disabled - this field will be empty.

    networkAttachmentName string
    The associated network's interface name. If specified, the network attachment name has a maximum length of 15 characters and must be unique to this virtual machine. If the user doesn’t specify this value, the default interface name of the network resource will be used. For a CloudServicesNetwork resource, this name will be ignored.
    attached_network_id str
    The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
    ip_allocation_method str
    The IP allocation mechanism for the virtual machine. Dynamic and Static are only valid for l3Network which may also specify Disabled. Otherwise, Disabled is the only permitted value.
    mac_address str
    The MAC address of the interface for the virtual machine that corresponds to this network attachment.
    default_gateway str
    The indicator of whether this is the default gateway. Only one of the attached networks (including the CloudServicesNetwork attachment) for a single machine may be specified as True.
    ipv4_address str

    The IPv4 address of the virtual machine.

    This field is used only if the attached network has IPAllocationType of IPV4 or DualStack.

    If IPAllocationMethod is: Static - this field must contain a user specified IPv4 address from within the subnet specified in the attached network. Dynamic - this field is read-only, but will be populated with an address from within the subnet specified in the attached network. Disabled - this field will be empty.

    ipv6_address str

    The IPv6 address of the virtual machine.

    This field is used only if the attached network has IPAllocationType of IPV6 or DualStack.

    If IPAllocationMethod is: Static - this field must contain an IPv6 address range from within the range specified in the attached network. Dynamic - this field is read-only, but will be populated with an range from within the subnet specified in the attached network. Disabled - this field will be empty.

    network_attachment_name str
    The associated network's interface name. If specified, the network attachment name has a maximum length of 15 characters and must be unique to this virtual machine. If the user doesn’t specify this value, the default interface name of the network resource will be used. For a CloudServicesNetwork resource, this name will be ignored.
    attachedNetworkId String
    The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
    ipAllocationMethod String
    The IP allocation mechanism for the virtual machine. Dynamic and Static are only valid for l3Network which may also specify Disabled. Otherwise, Disabled is the only permitted value.
    macAddress String
    The MAC address of the interface for the virtual machine that corresponds to this network attachment.
    defaultGateway String
    The indicator of whether this is the default gateway. Only one of the attached networks (including the CloudServicesNetwork attachment) for a single machine may be specified as True.
    ipv4Address String

    The IPv4 address of the virtual machine.

    This field is used only if the attached network has IPAllocationType of IPV4 or DualStack.

    If IPAllocationMethod is: Static - this field must contain a user specified IPv4 address from within the subnet specified in the attached network. Dynamic - this field is read-only, but will be populated with an address from within the subnet specified in the attached network. Disabled - this field will be empty.

    ipv6Address String

    The IPv6 address of the virtual machine.

    This field is used only if the attached network has IPAllocationType of IPV6 or DualStack.

    If IPAllocationMethod is: Static - this field must contain an IPv6 address range from within the range specified in the attached network. Dynamic - this field is read-only, but will be populated with an range from within the subnet specified in the attached network. Disabled - this field will be empty.

    networkAttachmentName String
    The associated network's interface name. If specified, the network attachment name has a maximum length of 15 characters and must be unique to this virtual machine. If the user doesn’t specify this value, the default interface name of the network resource will be used. For a CloudServicesNetwork resource, this name will be ignored.

    OsDisk, OsDiskArgs

    DiskSizeGB double
    The size of the disk in gigabytes. Required if the createOption is Ephemeral.
    CreateOption string | Pulumi.AzureNative.NetworkCloud.OsDiskCreateOption
    The strategy for creating the OS disk.
    DeleteOption string | Pulumi.AzureNative.NetworkCloud.OsDiskDeleteOption
    The strategy for deleting the OS disk.
    DiskSizeGB float64
    The size of the disk in gigabytes. Required if the createOption is Ephemeral.
    CreateOption string | OsDiskCreateOption
    The strategy for creating the OS disk.
    DeleteOption string | OsDiskDeleteOption
    The strategy for deleting the OS disk.
    diskSizeGB Double
    The size of the disk in gigabytes. Required if the createOption is Ephemeral.
    createOption String | OsDiskCreateOption
    The strategy for creating the OS disk.
    deleteOption String | OsDiskDeleteOption
    The strategy for deleting the OS disk.
    diskSizeGB number
    The size of the disk in gigabytes. Required if the createOption is Ephemeral.
    createOption string | OsDiskCreateOption
    The strategy for creating the OS disk.
    deleteOption string | OsDiskDeleteOption
    The strategy for deleting the OS disk.
    disk_size_gb float
    The size of the disk in gigabytes. Required if the createOption is Ephemeral.
    create_option str | OsDiskCreateOption
    The strategy for creating the OS disk.
    delete_option str | OsDiskDeleteOption
    The strategy for deleting the OS disk.
    diskSizeGB Number
    The size of the disk in gigabytes. Required if the createOption is Ephemeral.
    createOption String | "Ephemeral"
    The strategy for creating the OS disk.
    deleteOption String | "Delete"
    The strategy for deleting the OS disk.

    OsDiskCreateOption, OsDiskCreateOptionArgs

    Ephemeral
    Ephemeral
    OsDiskCreateOptionEphemeral
    Ephemeral
    Ephemeral
    Ephemeral
    Ephemeral
    Ephemeral
    EPHEMERAL
    Ephemeral
    "Ephemeral"
    Ephemeral

    OsDiskDeleteOption, OsDiskDeleteOptionArgs

    Delete
    Delete
    OsDiskDeleteOptionDelete
    Delete
    Delete
    Delete
    Delete
    Delete
    DELETE
    Delete
    "Delete"
    Delete

    OsDiskResponse, OsDiskResponseArgs

    DiskSizeGB double
    The size of the disk in gigabytes. Required if the createOption is Ephemeral.
    CreateOption string
    The strategy for creating the OS disk.
    DeleteOption string
    The strategy for deleting the OS disk.
    DiskSizeGB float64
    The size of the disk in gigabytes. Required if the createOption is Ephemeral.
    CreateOption string
    The strategy for creating the OS disk.
    DeleteOption string
    The strategy for deleting the OS disk.
    diskSizeGB Double
    The size of the disk in gigabytes. Required if the createOption is Ephemeral.
    createOption String
    The strategy for creating the OS disk.
    deleteOption String
    The strategy for deleting the OS disk.
    diskSizeGB number
    The size of the disk in gigabytes. Required if the createOption is Ephemeral.
    createOption string
    The strategy for creating the OS disk.
    deleteOption string
    The strategy for deleting the OS disk.
    disk_size_gb float
    The size of the disk in gigabytes. Required if the createOption is Ephemeral.
    create_option str
    The strategy for creating the OS disk.
    delete_option str
    The strategy for deleting the OS disk.
    diskSizeGB Number
    The size of the disk in gigabytes. Required if the createOption is Ephemeral.
    createOption String
    The strategy for creating the OS disk.
    deleteOption String
    The strategy for deleting the OS disk.

    SshPublicKey, SshPublicKeyArgs

    KeyData string
    The SSH public key data.
    KeyData string
    The SSH public key data.
    keyData String
    The SSH public key data.
    keyData string
    The SSH public key data.
    key_data str
    The SSH public key data.
    keyData String
    The SSH public key data.

    SshPublicKeyResponse, SshPublicKeyResponseArgs

    KeyData string
    The SSH public key data.
    KeyData string
    The SSH public key data.
    keyData String
    The SSH public key data.
    keyData string
    The SSH public key data.
    key_data str
    The SSH public key data.
    keyData String
    The SSH public key data.

    StorageProfile, StorageProfileArgs

    OsDisk Pulumi.AzureNative.NetworkCloud.Inputs.OsDisk
    The disk to use with this virtual machine.
    VolumeAttachments List<string>
    The resource IDs of volumes that are requested to be attached to the virtual machine.
    OsDisk OsDisk
    The disk to use with this virtual machine.
    VolumeAttachments []string
    The resource IDs of volumes that are requested to be attached to the virtual machine.
    osDisk OsDisk
    The disk to use with this virtual machine.
    volumeAttachments List<String>
    The resource IDs of volumes that are requested to be attached to the virtual machine.
    osDisk OsDisk
    The disk to use with this virtual machine.
    volumeAttachments string[]
    The resource IDs of volumes that are requested to be attached to the virtual machine.
    os_disk OsDisk
    The disk to use with this virtual machine.
    volume_attachments Sequence[str]
    The resource IDs of volumes that are requested to be attached to the virtual machine.
    osDisk Property Map
    The disk to use with this virtual machine.
    volumeAttachments List<String>
    The resource IDs of volumes that are requested to be attached to the virtual machine.

    StorageProfileResponse, StorageProfileResponseArgs

    OsDisk Pulumi.AzureNative.NetworkCloud.Inputs.OsDiskResponse
    The disk to use with this virtual machine.
    VolumeAttachments List<string>
    The resource IDs of volumes that are requested to be attached to the virtual machine.
    OsDisk OsDiskResponse
    The disk to use with this virtual machine.
    VolumeAttachments []string
    The resource IDs of volumes that are requested to be attached to the virtual machine.
    osDisk OsDiskResponse
    The disk to use with this virtual machine.
    volumeAttachments List<String>
    The resource IDs of volumes that are requested to be attached to the virtual machine.
    osDisk OsDiskResponse
    The disk to use with this virtual machine.
    volumeAttachments string[]
    The resource IDs of volumes that are requested to be attached to the virtual machine.
    os_disk OsDiskResponse
    The disk to use with this virtual machine.
    volume_attachments Sequence[str]
    The resource IDs of volumes that are requested to be attached to the virtual machine.
    osDisk Property Map
    The disk to use with this virtual machine.
    volumeAttachments List<String>
    The resource IDs of volumes that are requested to be attached to the virtual machine.

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    VirtualMachineBootMethod, VirtualMachineBootMethodArgs

    UEFI
    UEFI
    BIOS
    BIOS
    VirtualMachineBootMethodUEFI
    UEFI
    VirtualMachineBootMethodBIOS
    BIOS
    UEFI
    UEFI
    BIOS
    BIOS
    UEFI
    UEFI
    BIOS
    BIOS
    UEFI
    UEFI
    BIOS
    BIOS
    "UEFI"
    UEFI
    "BIOS"
    BIOS

    VirtualMachineDeviceModelType, VirtualMachineDeviceModelTypeArgs

    T1
    T1
    T2
    T2
    VirtualMachineDeviceModelTypeT1
    T1
    VirtualMachineDeviceModelTypeT2
    T2
    T1
    T1
    T2
    T2
    T1
    T1
    T2
    T2
    T1
    T1
    T2
    T2
    "T1"
    T1
    "T2"
    T2

    VirtualMachineIPAllocationMethod, VirtualMachineIPAllocationMethodArgs

    Dynamic
    Dynamic
    Static
    Static
    Disabled
    Disabled
    VirtualMachineIPAllocationMethodDynamic
    Dynamic
    VirtualMachineIPAllocationMethodStatic
    Static
    VirtualMachineIPAllocationMethodDisabled
    Disabled
    Dynamic
    Dynamic
    Static
    Static
    Disabled
    Disabled
    Dynamic
    Dynamic
    Static
    Static
    Disabled
    Disabled
    DYNAMIC
    Dynamic
    STATIC
    Static
    DISABLED
    Disabled
    "Dynamic"
    Dynamic
    "Static"
    Static
    "Disabled"
    Disabled

    VirtualMachineIsolateEmulatorThread, VirtualMachineIsolateEmulatorThreadArgs

    True
    True
    False
    False
    VirtualMachineIsolateEmulatorThreadTrue
    True
    VirtualMachineIsolateEmulatorThreadFalse
    False
    True
    True
    False
    False
    True
    True
    False
    False
    TRUE
    True
    FALSE
    False
    "True"
    True
    "False"
    False

    VirtualMachinePlacementHint, VirtualMachinePlacementHintArgs

    HintType string | Pulumi.AzureNative.NetworkCloud.VirtualMachinePlacementHintType
    The specification of whether this hint supports affinity or anti-affinity with the referenced resources.
    ResourceId string
    The resource ID of the target object that the placement hints will be checked against, e.g., the bare metal node to host the virtual machine.
    SchedulingExecution string | Pulumi.AzureNative.NetworkCloud.VirtualMachineSchedulingExecution
    The indicator of whether the hint is a hard or soft requirement during scheduling.
    Scope string | Pulumi.AzureNative.NetworkCloud.VirtualMachinePlacementHintPodAffinityScope
    The scope for the virtual machine affinity or anti-affinity placement hint. It should always be "Machine" in the case of node affinity.
    HintType string | VirtualMachinePlacementHintType
    The specification of whether this hint supports affinity or anti-affinity with the referenced resources.
    ResourceId string
    The resource ID of the target object that the placement hints will be checked against, e.g., the bare metal node to host the virtual machine.
    SchedulingExecution string | VirtualMachineSchedulingExecution
    The indicator of whether the hint is a hard or soft requirement during scheduling.
    Scope string | VirtualMachinePlacementHintPodAffinityScope
    The scope for the virtual machine affinity or anti-affinity placement hint. It should always be "Machine" in the case of node affinity.
    hintType String | VirtualMachinePlacementHintType
    The specification of whether this hint supports affinity or anti-affinity with the referenced resources.
    resourceId String
    The resource ID of the target object that the placement hints will be checked against, e.g., the bare metal node to host the virtual machine.
    schedulingExecution String | VirtualMachineSchedulingExecution
    The indicator of whether the hint is a hard or soft requirement during scheduling.
    scope String | VirtualMachinePlacementHintPodAffinityScope
    The scope for the virtual machine affinity or anti-affinity placement hint. It should always be "Machine" in the case of node affinity.
    hintType string | VirtualMachinePlacementHintType
    The specification of whether this hint supports affinity or anti-affinity with the referenced resources.
    resourceId string
    The resource ID of the target object that the placement hints will be checked against, e.g., the bare metal node to host the virtual machine.
    schedulingExecution string | VirtualMachineSchedulingExecution
    The indicator of whether the hint is a hard or soft requirement during scheduling.
    scope string | VirtualMachinePlacementHintPodAffinityScope
    The scope for the virtual machine affinity or anti-affinity placement hint. It should always be "Machine" in the case of node affinity.
    hint_type str | VirtualMachinePlacementHintType
    The specification of whether this hint supports affinity or anti-affinity with the referenced resources.
    resource_id str
    The resource ID of the target object that the placement hints will be checked against, e.g., the bare metal node to host the virtual machine.
    scheduling_execution str | VirtualMachineSchedulingExecution
    The indicator of whether the hint is a hard or soft requirement during scheduling.
    scope str | VirtualMachinePlacementHintPodAffinityScope
    The scope for the virtual machine affinity or anti-affinity placement hint. It should always be "Machine" in the case of node affinity.
    hintType String | "Affinity" | "AntiAffinity"
    The specification of whether this hint supports affinity or anti-affinity with the referenced resources.
    resourceId String
    The resource ID of the target object that the placement hints will be checked against, e.g., the bare metal node to host the virtual machine.
    schedulingExecution String | "Hard" | "Soft"
    The indicator of whether the hint is a hard or soft requirement during scheduling.
    scope String | "Rack" | "Machine"
    The scope for the virtual machine affinity or anti-affinity placement hint. It should always be "Machine" in the case of node affinity.

    VirtualMachinePlacementHintPodAffinityScope, VirtualMachinePlacementHintPodAffinityScopeArgs

    Rack
    Rack
    Machine
    Machine
    VirtualMachinePlacementHintPodAffinityScopeRack
    Rack
    VirtualMachinePlacementHintPodAffinityScopeMachine
    Machine
    Rack
    Rack
    Machine
    Machine
    Rack
    Rack
    Machine
    Machine
    RACK
    Rack
    MACHINE
    Machine
    "Rack"
    Rack
    "Machine"
    Machine

    VirtualMachinePlacementHintResponse, VirtualMachinePlacementHintResponseArgs

    HintType string
    The specification of whether this hint supports affinity or anti-affinity with the referenced resources.
    ResourceId string
    The resource ID of the target object that the placement hints will be checked against, e.g., the bare metal node to host the virtual machine.
    SchedulingExecution string
    The indicator of whether the hint is a hard or soft requirement during scheduling.
    Scope string
    The scope for the virtual machine affinity or anti-affinity placement hint. It should always be "Machine" in the case of node affinity.
    HintType string
    The specification of whether this hint supports affinity or anti-affinity with the referenced resources.
    ResourceId string
    The resource ID of the target object that the placement hints will be checked against, e.g., the bare metal node to host the virtual machine.
    SchedulingExecution string
    The indicator of whether the hint is a hard or soft requirement during scheduling.
    Scope string
    The scope for the virtual machine affinity or anti-affinity placement hint. It should always be "Machine" in the case of node affinity.
    hintType String
    The specification of whether this hint supports affinity or anti-affinity with the referenced resources.
    resourceId String
    The resource ID of the target object that the placement hints will be checked against, e.g., the bare metal node to host the virtual machine.
    schedulingExecution String
    The indicator of whether the hint is a hard or soft requirement during scheduling.
    scope String
    The scope for the virtual machine affinity or anti-affinity placement hint. It should always be "Machine" in the case of node affinity.
    hintType string
    The specification of whether this hint supports affinity or anti-affinity with the referenced resources.
    resourceId string
    The resource ID of the target object that the placement hints will be checked against, e.g., the bare metal node to host the virtual machine.
    schedulingExecution string
    The indicator of whether the hint is a hard or soft requirement during scheduling.
    scope string
    The scope for the virtual machine affinity or anti-affinity placement hint. It should always be "Machine" in the case of node affinity.
    hint_type str
    The specification of whether this hint supports affinity or anti-affinity with the referenced resources.
    resource_id str
    The resource ID of the target object that the placement hints will be checked against, e.g., the bare metal node to host the virtual machine.
    scheduling_execution str
    The indicator of whether the hint is a hard or soft requirement during scheduling.
    scope str
    The scope for the virtual machine affinity or anti-affinity placement hint. It should always be "Machine" in the case of node affinity.
    hintType String
    The specification of whether this hint supports affinity or anti-affinity with the referenced resources.
    resourceId String
    The resource ID of the target object that the placement hints will be checked against, e.g., the bare metal node to host the virtual machine.
    schedulingExecution String
    The indicator of whether the hint is a hard or soft requirement during scheduling.
    scope String
    The scope for the virtual machine affinity or anti-affinity placement hint. It should always be "Machine" in the case of node affinity.

    VirtualMachinePlacementHintType, VirtualMachinePlacementHintTypeArgs

    Affinity
    Affinity
    AntiAffinity
    AntiAffinity
    VirtualMachinePlacementHintTypeAffinity
    Affinity
    VirtualMachinePlacementHintTypeAntiAffinity
    AntiAffinity
    Affinity
    Affinity
    AntiAffinity
    AntiAffinity
    Affinity
    Affinity
    AntiAffinity
    AntiAffinity
    AFFINITY
    Affinity
    ANTI_AFFINITY
    AntiAffinity
    "Affinity"
    Affinity
    "AntiAffinity"
    AntiAffinity

    VirtualMachineSchedulingExecution, VirtualMachineSchedulingExecutionArgs

    Hard
    Hard
    Soft
    Soft
    VirtualMachineSchedulingExecutionHard
    Hard
    VirtualMachineSchedulingExecutionSoft
    Soft
    Hard
    Hard
    Soft
    Soft
    Hard
    Hard
    Soft
    Soft
    HARD
    Hard
    SOFT
    Soft
    "Hard"
    Hard
    "Soft"
    Soft

    VirtualMachineVirtioInterfaceType, VirtualMachineVirtioInterfaceTypeArgs

    Modern
    Modern
    Transitional
    Transitional
    VirtualMachineVirtioInterfaceTypeModern
    Modern
    VirtualMachineVirtioInterfaceTypeTransitional
    Transitional
    Modern
    Modern
    Transitional
    Transitional
    Modern
    Modern
    Transitional
    Transitional
    MODERN
    Modern
    TRANSITIONAL
    Transitional
    "Modern"
    Modern
    "Transitional"
    Transitional

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:networkcloud:VirtualMachine virtualMachineName /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/virtualMachines/{virtualMachineName} 
    

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

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.75.0 published on Saturday, Nov 30, 2024 by Pulumi