azure-native.networkcloud.VirtualMachine
Explore with Pulumi AI
API Version: 2022-12-12-preview.
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 = "UEFI",
        CloudServicesNetworkAttachment = new AzureNative.NetworkCloud.Inputs.NetworkAttachmentArgs
        {
            AttachedNetworkId = "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
            IpAllocationMethod = "Dynamic",
        },
        CpuCores = 2,
        ExtendedLocation = new AzureNative.NetworkCloud.Inputs.ExtendedLocationArgs
        {
            Name = "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName",
            Type = "CustomLocation",
        },
        Location = "location",
        MemorySizeGB = 8,
        NetworkAttachments = new[]
        {
            new AzureNative.NetworkCloud.Inputs.NetworkAttachmentArgs
            {
                AttachedNetworkId = "/subscriptions/subscriptionId/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 = new[]
        {
            new AzureNative.NetworkCloud.Inputs.VirtualMachinePlacementHintArgs
            {
                HintType = "Affinity",
                ResourceId = "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
                SchedulingExecution = "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 = "Ephemeral",
                DeleteOption = "Delete",
                DiskSizeGB = 120,
            },
            VolumeAttachments = new[]
            {
                "/subscriptions/subscriptionId/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 = 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"
	"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("UEFI"),
			CloudServicesNetworkAttachment: &networkcloud.NetworkAttachmentArgs{
				AttachedNetworkId:  pulumi.String("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName"),
				IpAllocationMethod: pulumi.String("Dynamic"),
			},
			CpuCores: pulumi.Float64(2),
			ExtendedLocation: &networkcloud.ExtendedLocationArgs{
				Name: pulumi.String("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"),
				Type: pulumi.String("CustomLocation"),
			},
			Location:     pulumi.String("location"),
			MemorySizeGB: pulumi.Float64(8),
			NetworkAttachments: []networkcloud.NetworkAttachmentArgs{
				{
					AttachedNetworkId:     pulumi.String("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName"),
					DefaultGateway:        pulumi.String("True"),
					IpAllocationMethod:    pulumi.String("Dynamic"),
					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.VirtualMachinePlacementHintArgs{
				{
					HintType:            pulumi.String("Affinity"),
					ResourceId:          pulumi.String("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName"),
					SchedulingExecution: pulumi.String("Hard"),
					Scope:               pulumi.String(""),
				},
			},
			ResourceGroupName: pulumi.String("resourceGroupName"),
			SshPublicKeys: []networkcloud.SshPublicKeyArgs{
				{
					KeyData: pulumi.String("ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"),
				},
			},
			StorageProfile: networkcloud.StorageProfileResponse{
				OsDisk: &networkcloud.OsDiskArgs{
					CreateOption: pulumi.String("Ephemeral"),
					DeleteOption: pulumi.String("Delete"),
					DiskSizeGB:   pulumi.Float64(120),
				},
				VolumeAttachments: pulumi.StringArray{
					pulumi.String("/subscriptions/subscriptionId/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("T2"),
			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 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(Map.ofEntries(
                Map.entry("attachedNetworkId", "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName"),
                Map.entry("ipAllocationMethod", "Dynamic")
            ))
            .cpuCores(2)
            .extendedLocation(Map.ofEntries(
                Map.entry("name", "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"),
                Map.entry("type", "CustomLocation")
            ))
            .location("location")
            .memorySizeGB(8)
            .networkAttachments(Map.ofEntries(
                Map.entry("attachedNetworkId", "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName"),
                Map.entry("defaultGateway", "True"),
                Map.entry("ipAllocationMethod", "Dynamic"),
                Map.entry("ipv4Address", "198.51.100.1"),
                Map.entry("ipv6Address", "2001:0db8:0000:0000:0000:0000:0000:0000"),
                Map.entry("networkAttachmentName", "netAttachName01")
            ))
            .networkData("bmV0d29ya0RhdGVTYW1wbGU=")
            .placementHints(Map.ofEntries(
                Map.entry("hintType", "Affinity"),
                Map.entry("resourceId", "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName"),
                Map.entry("schedulingExecution", "Hard"),
                Map.entry("scope", "")
            ))
            .resourceGroupName("resourceGroupName")
            .sshPublicKeys(Map.of("keyData", "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"))
            .storageProfile(Map.ofEntries(
                Map.entry("osDisk", Map.ofEntries(
                    Map.entry("createOption", "Ephemeral"),
                    Map.entry("deleteOption", "Delete"),
                    Map.entry("diskSizeGB", 120)
                )),
                Map.entry("volumeAttachments", "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName")
            ))
            .tags(Map.ofEntries(
                Map.entry("key1", "myvalue1"),
                Map.entry("key2", "myvalue2")
            ))
            .userData("dXNlckRhdGVTYW1wbGU=")
            .virtualMachineName("virtualMachineName")
            .vmDeviceModel("T2")
            .vmImage("myacr.azurecr.io/foobar:latest")
            .vmImageRepositoryCredentials(Map.ofEntries(
                Map.entry("password", "{password}"),
                Map.entry("registryUrl", "myacr.azurecr.io"),
                Map.entry("username", "myuser")
            ))
            .build());
    }
}
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: "UEFI",
    cloudServicesNetworkAttachment: {
        attachedNetworkId: "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
        ipAllocationMethod: "Dynamic",
    },
    cpuCores: 2,
    extendedLocation: {
        name: "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName",
        type: "CustomLocation",
    },
    location: "location",
    memorySizeGB: 8,
    networkAttachments: [{
        attachedNetworkId: "/subscriptions/subscriptionId/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/subscriptionId/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/subscriptionId/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",
    },
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine = azure_native.networkcloud.VirtualMachine("virtualMachine",
    admin_username="username",
    boot_method="UEFI",
    cloud_services_network_attachment=azure_native.networkcloud.NetworkAttachmentArgs(
        attached_network_id="/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
        ip_allocation_method="Dynamic",
    ),
    cpu_cores=2,
    extended_location=azure_native.networkcloud.ExtendedLocationArgs(
        name="/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName",
        type="CustomLocation",
    ),
    location="location",
    memory_size_gb=8,
    network_attachments=[azure_native.networkcloud.NetworkAttachmentArgs(
        attached_network_id="/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
        default_gateway="True",
        ip_allocation_method="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=[azure_native.networkcloud.VirtualMachinePlacementHintArgs(
        hint_type="Affinity",
        resource_id="/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
        scheduling_execution="Hard",
        scope="",
    )],
    resource_group_name="resourceGroupName",
    ssh_public_keys=[azure_native.networkcloud.SshPublicKeyArgs(
        key_data="ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm",
    )],
    storage_profile=azure_native.networkcloud.StorageProfileResponseArgs(
        os_disk=azure_native.networkcloud.OsDiskArgs(
            create_option="Ephemeral",
            delete_option="Delete",
            disk_size_gb=120,
        ),
        volume_attachments=["/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"],
    ),
    tags={
        "key1": "myvalue1",
        "key2": "myvalue2",
    },
    user_data="dXNlckRhdGVTYW1wbGU=",
    virtual_machine_name="virtualMachineName",
    vm_device_model="T2",
    vm_image="myacr.azurecr.io/foobar:latest",
    vm_image_repository_credentials=azure_native.networkcloud.ImageRepositoryCredentialsArgs(
        password="{password}",
        registry_url="myacr.azurecr.io",
        username="myuser",
    ))
resources:
  virtualMachine:
    type: azure-native:networkcloud:VirtualMachine
    properties:
      adminUsername: username
      bootMethod: UEFI
      cloudServicesNetworkAttachment:
        attachedNetworkId: /subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName
        ipAllocationMethod: Dynamic
      cpuCores: 2
      extendedLocation:
        name: /subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName
        type: CustomLocation
      location: location
      memorySizeGB: 8
      networkAttachments:
        - attachedNetworkId: /subscriptions/subscriptionId/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/subscriptionId/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/subscriptionId/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 = 
    {
        { "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", new[]
        {
            "string",
        } },
    },
    ResourceGroupName = "string",
    MemorySizeGB = 0,
    PlacementHints = new[]
    {
        
        {
            { "hintType", "string" },
            { "resourceId", "string" },
            { "schedulingExecution", "string" },
            { "scope", "string" },
        },
    },
    NetworkData = "string",
    NetworkAttachments = new[]
    {
        
        {
            { "attachedNetworkId", "string" },
            { "ipAllocationMethod", "string" },
            { "defaultGateway", "string" },
            { "ipv4Address", "string" },
            { "ipv6Address", "string" },
            { "networkAttachmentName", "string" },
        },
    },
    Location = "string",
    SshPublicKeys = new[]
    {
        
        {
            { "keyData", "string" },
        },
    },
    IsolateEmulatorThread = "string",
    Tags = 
    {
        { "string", "string" },
    },
    UserData = "string",
    VirtioInterface = "string",
    VirtualMachineName = "string",
    VmDeviceModel = "string",
    BootMethod = "string",
    VmImageRepositoryCredentials = 
    {
        { "password", "string" },
        { "registryUrl", "string" },
        { "username", "string" },
    },
});
example, err := networkcloud.NewVirtualMachine(ctx, "examplevirtualMachineResourceResourceFromNetworkcloud", &networkcloud.VirtualMachineArgs{
	AdminUsername: "string",
	VmImage:       "string",
	CloudServicesNetworkAttachment: map[string]interface{}{
		"attachedNetworkId":     "string",
		"ipAllocationMethod":    "string",
		"defaultGateway":        "string",
		"ipv4Address":           "string",
		"ipv6Address":           "string",
		"networkAttachmentName": "string",
	},
	CpuCores: 0,
	ExtendedLocation: map[string]interface{}{
		"name": "string",
		"type": "string",
	},
	StorageProfile: map[string]interface{}{
		"osDisk": map[string]interface{}{
			"diskSizeGB":   0,
			"createOption": "string",
			"deleteOption": "string",
		},
		"volumeAttachments": []string{
			"string",
		},
	},
	ResourceGroupName: "string",
	MemorySizeGB:      0,
	PlacementHints: []map[string]interface{}{
		map[string]interface{}{
			"hintType":            "string",
			"resourceId":          "string",
			"schedulingExecution": "string",
			"scope":               "string",
		},
	},
	NetworkData: "string",
	NetworkAttachments: []map[string]interface{}{
		map[string]interface{}{
			"attachedNetworkId":     "string",
			"ipAllocationMethod":    "string",
			"defaultGateway":        "string",
			"ipv4Address":           "string",
			"ipv6Address":           "string",
			"networkAttachmentName": "string",
		},
	},
	Location: "string",
	SshPublicKeys: []map[string]interface{}{
		map[string]interface{}{
			"keyData": "string",
		},
	},
	IsolateEmulatorThread: "string",
	Tags: map[string]interface{}{
		"string": "string",
	},
	UserData:           "string",
	VirtioInterface:    "string",
	VirtualMachineName: "string",
	VmDeviceModel:      "string",
	BootMethod:         "string",
	VmImageRepositoryCredentials: map[string]interface{}{
		"password":    "string",
		"registryUrl": "string",
		"username":    "string",
	},
})
var examplevirtualMachineResourceResourceFromNetworkcloud = new VirtualMachine("examplevirtualMachineResourceResourceFromNetworkcloud", VirtualMachineArgs.builder()
    .adminUsername("string")
    .vmImage("string")
    .cloudServicesNetworkAttachment(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .cpuCores(0)
    .extendedLocation(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .storageProfile(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .resourceGroupName("string")
    .memorySizeGB(0)
    .placementHints(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .networkData("string")
    .networkAttachments(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .location("string")
    .sshPublicKeys(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .isolateEmulatorThread("string")
    .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .userData("string")
    .virtioInterface("string")
    .virtualMachineName("string")
    .vmDeviceModel("string")
    .bootMethod("string")
    .vmImageRepositoryCredentials(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .build());
examplevirtual_machine_resource_resource_from_networkcloud = azure_native.networkcloud.VirtualMachine("examplevirtualMachineResourceResourceFromNetworkcloud",
    admin_username=string,
    vm_image=string,
    cloud_services_network_attachment={
        attachedNetworkId: string,
        ipAllocationMethod: string,
        defaultGateway: string,
        ipv4Address: string,
        ipv6Address: string,
        networkAttachmentName: string,
    },
    cpu_cores=0,
    extended_location={
        name: string,
        type: string,
    },
    storage_profile={
        osDisk: {
            diskSizeGB: 0,
            createOption: string,
            deleteOption: string,
        },
        volumeAttachments: [string],
    },
    resource_group_name=string,
    memory_size_gb=0,
    placement_hints=[{
        hintType: string,
        resourceId: string,
        schedulingExecution: string,
        scope: string,
    }],
    network_data=string,
    network_attachments=[{
        attachedNetworkId: string,
        ipAllocationMethod: string,
        defaultGateway: string,
        ipv4Address: string,
        ipv6Address: string,
        networkAttachmentName: string,
    }],
    location=string,
    ssh_public_keys=[{
        keyData: 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,
        registryUrl: 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.
- CloudServices Pulumi.Network Attachment Azure Native. Network Cloud. Inputs. Network Attachment 
- 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.Azure Native. Network Cloud. Inputs. Extended Location 
- The extended location of the cluster associated with the resource.
- MemorySize doubleGB 
- The memory size of the virtual machine in GB.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- StorageProfile Pulumi.Azure Native. Network Cloud. Inputs. Storage Profile 
- 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.Azure Native. Network Cloud. Virtual Machine Boot Method 
- Selects the boot method for the virtual machine.
- IsolateEmulator string | Pulumi.Thread Azure Native. Network Cloud. Virtual Machine Isolate Emulator Thread 
- 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.Azure Native. Network Cloud. Inputs. Network Attachment> 
- The list of network attachments to the virtual machine.
- NetworkData string
- The Base64 encoded cloud-init network data.
- PlacementHints List<Pulumi.Azure Native. Network Cloud. Inputs. Virtual Machine Placement Hint> 
- The scheduling hints for the virtual machine.
- SshPublic List<Pulumi.Keys Azure Native. Network Cloud. Inputs. Ssh Public Key> 
- 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.
- Dictionary<string, string>
- Resource tags.
- UserData string
- The Base64 encoded cloud-init user data.
- VirtioInterface string | Pulumi.Azure Native. Network Cloud. Virtual Machine Virtio Interface Type 
- Field Deprecated, use virtualizationModel instead. The type of the virtio interface.
- VirtualMachine stringName 
- The name of the virtual machine.
- VmDevice string | Pulumi.Model Azure Native. Network Cloud. Virtual Machine Device Model Type 
- The type of the device model to use.
- VmImage Pulumi.Repository Credentials Azure Native. Network Cloud. Inputs. Image Repository Credentials 
- 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.
- CloudServices NetworkNetwork Attachment Attachment Args 
- 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 ExtendedLocation Args 
- The extended location of the cluster associated with the resource.
- MemorySize float64GB 
- The memory size of the virtual machine in GB.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- StorageProfile StorageProfile Args 
- 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 | VirtualMachine Boot Method 
- Selects the boot method for the virtual machine.
- IsolateEmulator string | VirtualThread Machine Isolate Emulator Thread 
- 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 Args 
- The list of network attachments to the virtual machine.
- NetworkData string
- The Base64 encoded cloud-init network data.
- PlacementHints []VirtualMachine Placement Hint Args 
- The scheduling hints for the virtual machine.
- SshPublic []SshKeys Public Key Args 
- 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.
- map[string]string
- Resource tags.
- UserData string
- The Base64 encoded cloud-init user data.
- VirtioInterface string | VirtualMachine Virtio Interface Type 
- Field Deprecated, use virtualizationModel instead. The type of the virtio interface.
- VirtualMachine stringName 
- The name of the virtual machine.
- VmDevice string | VirtualModel Machine Device Model Type 
- The type of the device model to use.
- VmImage ImageRepository Credentials Repository Credentials Args 
- 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.
- cloudServices NetworkNetwork Attachment Attachment 
- 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.
- memorySize DoubleGB 
- The memory size of the virtual machine in GB.
- resourceGroup StringName 
- 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 | VirtualMachine Boot Method 
- Selects the boot method for the virtual machine.
- isolateEmulator String | VirtualThread Machine Isolate Emulator Thread 
- 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<VirtualMachine Placement Hint> 
- The scheduling hints for the virtual machine.
- sshPublic List<SshKeys Public Key> 
- 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.
- Map<String,String>
- Resource tags.
- userData String
- The Base64 encoded cloud-init user data.
- virtioInterface String | VirtualMachine Virtio Interface Type 
- Field Deprecated, use virtualizationModel instead. The type of the virtio interface.
- virtualMachine StringName 
- The name of the virtual machine.
- vmDevice String | VirtualModel Machine Device Model Type 
- The type of the device model to use.
- vmImage ImageRepository Credentials Repository Credentials 
- 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.
- cloudServices NetworkNetwork Attachment Attachment 
- 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.
- memorySize numberGB 
- The memory size of the virtual machine in GB.
- resourceGroup stringName 
- 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 | VirtualMachine Boot Method 
- Selects the boot method for the virtual machine.
- isolateEmulator string | VirtualThread Machine Isolate Emulator Thread 
- 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 VirtualMachine Placement Hint[] 
- The scheduling hints for the virtual machine.
- sshPublic SshKeys Public Key[] 
- 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.
- {[key: string]: string}
- Resource tags.
- userData string
- The Base64 encoded cloud-init user data.
- virtioInterface string | VirtualMachine Virtio Interface Type 
- Field Deprecated, use virtualizationModel instead. The type of the virtio interface.
- virtualMachine stringName 
- The name of the virtual machine.
- vmDevice string | VirtualModel Machine Device Model Type 
- The type of the device model to use.
- vmImage ImageRepository Credentials Repository Credentials 
- 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_ Networknetwork_ attachment Attachment Args 
- 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 ExtendedLocation Args 
- The extended location of the cluster associated with the resource.
- memory_size_ floatgb 
- The memory size of the virtual machine in GB.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- storage_profile StorageProfile Args 
- 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 | VirtualMachine Boot Method 
- Selects the boot method for the virtual machine.
- isolate_emulator_ str | Virtualthread Machine Isolate Emulator Thread 
- 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[NetworkAttachment Args] 
- The list of network attachments to the virtual machine.
- network_data str
- The Base64 encoded cloud-init network data.
- placement_hints Sequence[VirtualMachine Placement Hint Args] 
- The scheduling hints for the virtual machine.
- ssh_public_ Sequence[Sshkeys Public Key Args] 
- 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.
- Mapping[str, str]
- Resource tags.
- user_data str
- The Base64 encoded cloud-init user data.
- virtio_interface str | VirtualMachine Virtio Interface Type 
- Field Deprecated, use virtualizationModel instead. The type of the virtio interface.
- virtual_machine_ strname 
- The name of the virtual machine.
- vm_device_ str | Virtualmodel Machine Device Model Type 
- The type of the device model to use.
- vm_image_ Imagerepository_ credentials Repository Credentials Args 
- 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.
- cloudServices Property MapNetwork Attachment 
- 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.
- memorySize NumberGB 
- The memory size of the virtual machine in GB.
- resourceGroup StringName 
- 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.
- isolateEmulator String | "True" | "False"Thread 
- 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.
- sshPublic List<Property Map>Keys 
- 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.
- 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.
- virtualMachine StringName 
- The name of the virtual machine.
- vmDevice String | "T1" | "T2"Model 
- The type of the device model to use.
- vmImage Property MapRepository Credentials 
- 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:
- BareMetal stringMachine Id 
- The resource ID of the bare metal machine the virtual machine has landed to.
- ClusterId string
- The resource ID of the cluster the virtual machine is created for.
- DetailedStatus string
- The more detailed status of the virtual machine.
- DetailedStatus stringMessage 
- 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.Azure Native. Network Cloud. Outputs. System Data Response 
- 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.
- BareMetal stringMachine Id 
- The resource ID of the bare metal machine the virtual machine has landed to.
- ClusterId string
- The resource ID of the cluster the virtual machine is created for.
- DetailedStatus string
- The more detailed status of the virtual machine.
- DetailedStatus stringMessage 
- 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 SystemData Response 
- 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.
- bareMetal StringMachine Id 
- The resource ID of the bare metal machine the virtual machine has landed to.
- clusterId String
- The resource ID of the cluster the virtual machine is created for.
- detailedStatus String
- The more detailed status of the virtual machine.
- detailedStatus StringMessage 
- 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 SystemData Response 
- 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.
- bareMetal stringMachine Id 
- The resource ID of the bare metal machine the virtual machine has landed to.
- clusterId string
- The resource ID of the cluster the virtual machine is created for.
- detailedStatus string
- The more detailed status of the virtual machine.
- detailedStatus stringMessage 
- 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 SystemData Response 
- 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.
- bare_metal_ strmachine_ id 
- The resource ID of the bare metal machine the virtual machine has landed to.
- 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_ strmessage 
- 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 SystemData Response 
- 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.
- bareMetal StringMachine Id 
- The resource ID of the bare metal machine the virtual machine has landed to.
- clusterId String
- The resource ID of the cluster the virtual machine is created for.
- detailedStatus String
- The more detailed status of the virtual machine.
- detailedStatus StringMessage 
- 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
- DefaultGateway True 
- True
- DefaultGateway False 
- False
- True
- True
- False
- False
- True
- True
- False
- False
- TRUE
- True
- FALSE
- False
- "True"
- True
- "False"
- False
ExtendedLocation, ExtendedLocationArgs    
ExtendedLocationResponse, ExtendedLocationResponseArgs      
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    
- AttachedNetwork stringId 
- The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
- IpAllocation string | Pulumi.Method Azure Native. Network Cloud. Virtual Machine IPAllocation Method 
- 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.Azure Native. Network Cloud. Default Gateway 
- 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. 
- NetworkAttachment stringName 
- 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.
- AttachedNetwork stringId 
- The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
- IpAllocation string | VirtualMethod Machine IPAllocation Method 
- 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. 
- NetworkAttachment stringName 
- 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.
- attachedNetwork StringId 
- The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
- ipAllocation String | VirtualMethod Machine IPAllocation Method 
- 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. 
- networkAttachment StringName 
- 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.
- attachedNetwork stringId 
- The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
- ipAllocation string | VirtualMethod Machine IPAllocation Method 
- 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. 
- networkAttachment stringName 
- 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_ strid 
- 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_ str | Virtualmethod Machine IPAllocation Method 
- 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_ strname 
- 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.
- attachedNetwork StringId 
- The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
- ipAllocation String | "Dynamic" | "Static" | "Disabled"Method 
- 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. 
- networkAttachment StringName 
- 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      
- AttachedNetwork stringId 
- The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
- IpAllocation stringMethod 
- 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. 
- NetworkAttachment stringName 
- 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.
- AttachedNetwork stringId 
- The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
- IpAllocation stringMethod 
- 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. 
- NetworkAttachment stringName 
- 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.
- attachedNetwork StringId 
- The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
- ipAllocation StringMethod 
- 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. 
- networkAttachment StringName 
- 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.
- attachedNetwork stringId 
- The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
- ipAllocation stringMethod 
- 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. 
- networkAttachment stringName 
- 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_ strid 
- 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_ strmethod 
- 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_ strname 
- 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.
- attachedNetwork StringId 
- The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
- ipAllocation StringMethod 
- 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. 
- networkAttachment StringName 
- 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    
- DiskSize doubleGB 
- The size of the disk in gigabytes. Required if the createOption is Ephemeral.
- CreateOption string | Pulumi.Azure Native. Network Cloud. Os Disk Create Option 
- The strategy for creating the OS disk.
- DeleteOption string | Pulumi.Azure Native. Network Cloud. Os Disk Delete Option 
- The strategy for deleting the OS disk.
- DiskSize float64GB 
- The size of the disk in gigabytes. Required if the createOption is Ephemeral.
- CreateOption string | OsDisk Create Option 
- The strategy for creating the OS disk.
- DeleteOption string | OsDisk Delete Option 
- The strategy for deleting the OS disk.
- diskSize DoubleGB 
- The size of the disk in gigabytes. Required if the createOption is Ephemeral.
- createOption String | OsDisk Create Option 
- The strategy for creating the OS disk.
- deleteOption String | OsDisk Delete Option 
- The strategy for deleting the OS disk.
- diskSize numberGB 
- The size of the disk in gigabytes. Required if the createOption is Ephemeral.
- createOption string | OsDisk Create Option 
- The strategy for creating the OS disk.
- deleteOption string | OsDisk Delete Option 
- The strategy for deleting the OS disk.
- disk_size_ floatgb 
- The size of the disk in gigabytes. Required if the createOption is Ephemeral.
- create_option str | OsDisk Create Option 
- The strategy for creating the OS disk.
- delete_option str | OsDisk Delete Option 
- The strategy for deleting the OS disk.
- diskSize NumberGB 
- 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
- OsDisk Create Option Ephemeral 
- Ephemeral
- Ephemeral
- Ephemeral
- Ephemeral
- Ephemeral
- EPHEMERAL
- Ephemeral
- "Ephemeral"
- Ephemeral
OsDiskDeleteOption, OsDiskDeleteOptionArgs        
- Delete
- Delete
- OsDisk Delete Option Delete 
- Delete
- Delete
- Delete
- Delete
- Delete
- DELETE
- Delete
- "Delete"
- Delete
OsDiskResponse, OsDiskResponseArgs      
- DiskSize doubleGB 
- 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.
- DiskSize float64GB 
- 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.
- diskSize DoubleGB 
- 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.
- diskSize numberGB 
- 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_ floatgb 
- 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.
- diskSize NumberGB 
- 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 public ssh key of the user.
- KeyData string
- The public ssh key of the user.
- keyData String
- The public ssh key of the user.
- keyData string
- The public ssh key of the user.
- key_data str
- The public ssh key of the user.
- keyData String
- The public ssh key of the user.
SshPublicKeyResponse, SshPublicKeyResponseArgs        
- KeyData string
- The public ssh key of the user.
- KeyData string
- The public ssh key of the user.
- keyData String
- The public ssh key of the user.
- keyData string
- The public ssh key of the user.
- key_data str
- The public ssh key of the user.
- keyData String
- The public ssh key of the user.
StorageProfile, StorageProfileArgs    
- OsDisk Pulumi.Azure Native. Network Cloud. Inputs. Os Disk 
- 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.Azure Native. Network Cloud. Inputs. Os Disk Response 
- 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 Response 
- 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 Response 
- 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 Response 
- 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 Response 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- 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_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
VirtualMachineBootMethod, VirtualMachineBootMethodArgs        
- UEFI
- UEFI
- BIOS
- BIOS
- VirtualMachine Boot Method UEFI 
- UEFI
- VirtualMachine Boot Method BIOS 
- BIOS
- UEFI
- UEFI
- BIOS
- BIOS
- UEFI
- UEFI
- BIOS
- BIOS
- UEFI
- UEFI
- BIOS
- BIOS
- "UEFI"
- UEFI
- "BIOS"
- BIOS
VirtualMachineDeviceModelType, VirtualMachineDeviceModelTypeArgs          
- T1
- T1
- T2
- T2
- VirtualMachine Device Model Type T1 
- T1
- VirtualMachine Device Model Type T2 
- 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
- VirtualMachine IPAllocation Method Dynamic 
- Dynamic
- VirtualMachine IPAllocation Method Static 
- Static
- VirtualMachine IPAllocation Method Disabled 
- 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
- VirtualMachine Isolate Emulator Thread True 
- True
- VirtualMachine Isolate Emulator Thread False 
- False
- True
- True
- False
- False
- True
- True
- False
- False
- TRUE
- True
- FALSE
- False
- "True"
- True
- "False"
- False
VirtualMachinePlacementHint, VirtualMachinePlacementHintArgs        
- HintType string | Pulumi.Azure Native. Network Cloud. Virtual Machine Placement Hint Type 
- 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.Azure Native. Network Cloud. Virtual Machine Scheduling Execution 
- The indicator of whether the hint is a hard or soft requirement during scheduling.
- Scope
string | Pulumi.Azure Native. Network Cloud. Virtual Machine Placement Hint Pod Affinity Scope 
- 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 | VirtualMachine Placement Hint Type 
- 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 | VirtualMachine Scheduling Execution 
- The indicator of whether the hint is a hard or soft requirement during scheduling.
- Scope
string | VirtualMachine Placement Hint Pod Affinity Scope 
- 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 | VirtualMachine Placement Hint Type 
- 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 | VirtualMachine Scheduling Execution 
- The indicator of whether the hint is a hard or soft requirement during scheduling.
- scope
String | VirtualMachine Placement Hint Pod Affinity Scope 
- 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 | VirtualMachine Placement Hint Type 
- 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 | VirtualMachine Scheduling Execution 
- The indicator of whether the hint is a hard or soft requirement during scheduling.
- scope
string | VirtualMachine Placement Hint Pod Affinity Scope 
- 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 | VirtualMachine Placement Hint Type 
- 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 | VirtualMachine Scheduling Execution 
- The indicator of whether the hint is a hard or soft requirement during scheduling.
- scope
str | VirtualMachine Placement Hint Pod Affinity Scope 
- 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
- VirtualMachine Placement Hint Pod Affinity Scope Rack 
- Rack
- VirtualMachine Placement Hint Pod Affinity Scope Machine 
- 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
- VirtualMachine Placement Hint Type Affinity 
- Affinity
- VirtualMachine Placement Hint Type Anti Affinity 
- AntiAffinity
- Affinity
- Affinity
- AntiAffinity 
- AntiAffinity
- Affinity
- Affinity
- AntiAffinity 
- AntiAffinity
- AFFINITY
- Affinity
- ANTI_AFFINITY
- AntiAffinity
- "Affinity"
- Affinity
- "AntiAffinity" 
- AntiAffinity
VirtualMachineSchedulingExecution, VirtualMachineSchedulingExecutionArgs        
- Hard
- Hard
- Soft
- Soft
- VirtualMachine Scheduling Execution Hard 
- Hard
- VirtualMachine Scheduling Execution Soft 
- Soft
- Hard
- Hard
- Soft
- Soft
- Hard
- Hard
- Soft
- Soft
- HARD
- Hard
- SOFT
- Soft
- "Hard"
- Hard
- "Soft"
- Soft
VirtualMachineVirtioInterfaceType, VirtualMachineVirtioInterfaceTypeArgs          
- Modern
- Modern
- Transitional
- Transitional
- VirtualMachine Virtio Interface Type Modern 
- Modern
- VirtualMachine Virtio Interface Type Transitional 
- 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-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0