1. Packages
  2. Azure Native
  3. API Docs
  4. vmwarecloudsimple
  5. VirtualMachine
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

azure-native.vmwarecloudsimple.VirtualMachine

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

Virtual machine model

Uses Azure REST API version 2019-04-01. In version 2.x of the Azure Native provider, it used API version 2019-04-01.

Example Usage

CreateVirtualMachine

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var virtualMachine = new AzureNative.VMwareCloudSimple.VirtualMachine("virtualMachine", new()
    {
        AmountOfRam = 4096,
        Disks = new[]
        {
            new AzureNative.VMwareCloudSimple.Inputs.VirtualDiskArgs
            {
                ControllerId = "1000",
                IndependenceMode = AzureNative.VMwareCloudSimple.DiskIndependenceMode.Persistent,
                TotalSize = 10485760,
                VirtualDiskId = "2000",
            },
        },
        Location = "westus2",
        Nics = new[]
        {
            new AzureNative.VMwareCloudSimple.Inputs.VirtualNicArgs
            {
                Network = new AzureNative.VMwareCloudSimple.Inputs.VirtualNetworkArgs
                {
                    Id = "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19",
                },
                NicType = AzureNative.VMwareCloudSimple.NICType.E1000,
                PowerOnBoot = true,
                VirtualNicId = "4000",
            },
        },
        NumberOfCores = 2,
        PrivateCloudId = "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud",
        ResourceGroupName = "myResourceGroup",
        ResourcePool = new AzureNative.VMwareCloudSimple.Inputs.ResourcePoolArgs
        {
            Id = "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26",
        },
        TemplateId = "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34",
        VirtualMachineName = "myVirtualMachine",
    });

});
Copy
package main

import (
	vmwarecloudsimple "github.com/pulumi/pulumi-azure-native-sdk/vmwarecloudsimple/v3"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vmwarecloudsimple.NewVirtualMachine(ctx, "virtualMachine", &vmwarecloudsimple.VirtualMachineArgs{
			AmountOfRam: pulumi.Int(4096),
			Disks: vmwarecloudsimple.VirtualDiskArray{
				&vmwarecloudsimple.VirtualDiskArgs{
					ControllerId:     pulumi.String("1000"),
					IndependenceMode: vmwarecloudsimple.DiskIndependenceModePersistent,
					TotalSize:        pulumi.Int(10485760),
					VirtualDiskId:    pulumi.String("2000"),
				},
			},
			Location: pulumi.String("westus2"),
			Nics: vmwarecloudsimple.VirtualNicArray{
				&vmwarecloudsimple.VirtualNicArgs{
					Network: &vmwarecloudsimple.VirtualNetworkArgs{
						Id: pulumi.String("/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19"),
					},
					NicType:      vmwarecloudsimple.NICTypeE1000,
					PowerOnBoot:  pulumi.Bool(true),
					VirtualNicId: pulumi.String("4000"),
				},
			},
			NumberOfCores:     pulumi.Int(2),
			PrivateCloudId:    pulumi.String("/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud"),
			ResourceGroupName: pulumi.String("myResourceGroup"),
			ResourcePool: &vmwarecloudsimple.ResourcePoolArgs{
				Id: pulumi.String("/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26"),
			},
			TemplateId:         pulumi.String("/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34"),
			VirtualMachineName: pulumi.String("myVirtualMachine"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.vmwarecloudsimple.VirtualMachine;
import com.pulumi.azurenative.vmwarecloudsimple.VirtualMachineArgs;
import com.pulumi.azurenative.vmwarecloudsimple.inputs.VirtualDiskArgs;
import com.pulumi.azurenative.vmwarecloudsimple.inputs.VirtualNicArgs;
import com.pulumi.azurenative.vmwarecloudsimple.inputs.VirtualNetworkArgs;
import com.pulumi.azurenative.vmwarecloudsimple.inputs.ResourcePoolArgs;
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()
            .amountOfRam(4096)
            .disks(VirtualDiskArgs.builder()
                .controllerId("1000")
                .independenceMode("persistent")
                .totalSize(10485760)
                .virtualDiskId("2000")
                .build())
            .location("westus2")
            .nics(VirtualNicArgs.builder()
                .network(VirtualNetworkArgs.builder()
                    .id("/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19")
                    .build())
                .nicType("E1000")
                .powerOnBoot(true)
                .virtualNicId("4000")
                .build())
            .numberOfCores(2)
            .privateCloudId("/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud")
            .resourceGroupName("myResourceGroup")
            .resourcePool(ResourcePoolArgs.builder()
                .id("/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26")
                .build())
            .templateId("/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34")
            .virtualMachineName("myVirtualMachine")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const virtualMachine = new azure_native.vmwarecloudsimple.VirtualMachine("virtualMachine", {
    amountOfRam: 4096,
    disks: [{
        controllerId: "1000",
        independenceMode: azure_native.vmwarecloudsimple.DiskIndependenceMode.Persistent,
        totalSize: 10485760,
        virtualDiskId: "2000",
    }],
    location: "westus2",
    nics: [{
        network: {
            id: "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19",
        },
        nicType: azure_native.vmwarecloudsimple.NICType.E1000,
        powerOnBoot: true,
        virtualNicId: "4000",
    }],
    numberOfCores: 2,
    privateCloudId: "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud",
    resourceGroupName: "myResourceGroup",
    resourcePool: {
        id: "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26",
    },
    templateId: "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34",
    virtualMachineName: "myVirtualMachine",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

virtual_machine = azure_native.vmwarecloudsimple.VirtualMachine("virtualMachine",
    amount_of_ram=4096,
    disks=[{
        "controller_id": "1000",
        "independence_mode": azure_native.vmwarecloudsimple.DiskIndependenceMode.PERSISTENT,
        "total_size": 10485760,
        "virtual_disk_id": "2000",
    }],
    location="westus2",
    nics=[{
        "network": {
            "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19",
        },
        "nic_type": azure_native.vmwarecloudsimple.NICType.E1000,
        "power_on_boot": True,
        "virtual_nic_id": "4000",
    }],
    number_of_cores=2,
    private_cloud_id="/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud",
    resource_group_name="myResourceGroup",
    resource_pool={
        "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26",
    },
    template_id="/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34",
    virtual_machine_name="myVirtualMachine")
Copy
resources:
  virtualMachine:
    type: azure-native:vmwarecloudsimple:VirtualMachine
    properties:
      amountOfRam: 4096
      disks:
        - controllerId: '1000'
          independenceMode: persistent
          totalSize: 1.048576e+07
          virtualDiskId: '2000'
      location: westus2
      nics:
        - network:
            id: /subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19
          nicType: E1000
          powerOnBoot: true
          virtualNicId: '4000'
      numberOfCores: 2
      privateCloudId: /subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud
      resourceGroupName: myResourceGroup
      resourcePool:
        id: /subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26
      templateId: /subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34
      virtualMachineName: myVirtualMachine
Copy

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,
                   amount_of_ram: Optional[int] = None,
                   resource_group_name: Optional[str] = None,
                   private_cloud_id: Optional[str] = None,
                   number_of_cores: Optional[int] = None,
                   location: Optional[str] = None,
                   nics: Optional[Sequence[VirtualNicArgs]] = None,
                   expose_to_guest_vm: Optional[bool] = None,
                   password: Optional[str] = None,
                   disks: Optional[Sequence[VirtualDiskArgs]] = None,
                   customization: Optional[GuestOSCustomizationArgs] = None,
                   resource_pool: Optional[ResourcePoolArgs] = None,
                   tags: Optional[Mapping[str, str]] = None,
                   template_id: Optional[str] = None,
                   username: Optional[str] = None,
                   v_sphere_networks: Optional[Sequence[str]] = None,
                   virtual_machine_name: Optional[str] = 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:vmwarecloudsimple:VirtualMachine
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. VirtualMachineArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. VirtualMachineArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. VirtualMachineArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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 examplevirtualMachineResourceResourceFromVmwarecloudsimple = new AzureNative.VMwareCloudSimple.VirtualMachine("examplevirtualMachineResourceResourceFromVmwarecloudsimple", new()
{
    AmountOfRam = 0,
    ResourceGroupName = "string",
    PrivateCloudId = "string",
    NumberOfCores = 0,
    Location = "string",
    Nics = new[]
    {
        new AzureNative.VMwareCloudSimple.Inputs.VirtualNicArgs
        {
            Network = new AzureNative.VMwareCloudSimple.Inputs.VirtualNetworkArgs
            {
                Id = "string",
            },
            NicType = AzureNative.VMwareCloudSimple.NICType.E1000,
            Customization = new AzureNative.VMwareCloudSimple.Inputs.GuestOSNICCustomizationArgs
            {
                Allocation = "string",
                DnsServers = new[]
                {
                    "string",
                },
                Gateway = new[]
                {
                    "string",
                },
                IpAddress = "string",
                Mask = "string",
                PrimaryWinsServer = "string",
                SecondaryWinsServer = "string",
            },
            IpAddresses = new[]
            {
                "string",
            },
            MacAddress = "string",
            PowerOnBoot = false,
            VirtualNicId = "string",
        },
    },
    ExposeToGuestVM = false,
    Password = "string",
    Disks = new[]
    {
        new AzureNative.VMwareCloudSimple.Inputs.VirtualDiskArgs
        {
            ControllerId = "string",
            IndependenceMode = AzureNative.VMwareCloudSimple.DiskIndependenceMode.Persistent,
            TotalSize = 0,
            VirtualDiskId = "string",
        },
    },
    Customization = new AzureNative.VMwareCloudSimple.Inputs.GuestOSCustomizationArgs
    {
        DnsServers = new[]
        {
            "string",
        },
        HostName = "string",
        Password = "string",
        PolicyId = "string",
        Username = "string",
    },
    ResourcePool = new AzureNative.VMwareCloudSimple.Inputs.ResourcePoolArgs
    {
        Id = "string",
    },
    Tags = 
    {
        { "string", "string" },
    },
    TemplateId = "string",
    Username = "string",
    VSphereNetworks = new[]
    {
        "string",
    },
    VirtualMachineName = "string",
});
Copy
example, err := vmwarecloudsimple.NewVirtualMachine(ctx, "examplevirtualMachineResourceResourceFromVmwarecloudsimple", &vmwarecloudsimple.VirtualMachineArgs{
	AmountOfRam:       pulumi.Int(0),
	ResourceGroupName: pulumi.String("string"),
	PrivateCloudId:    pulumi.String("string"),
	NumberOfCores:     pulumi.Int(0),
	Location:          pulumi.String("string"),
	Nics: vmwarecloudsimple.VirtualNicArray{
		&vmwarecloudsimple.VirtualNicArgs{
			Network: &vmwarecloudsimple.VirtualNetworkArgs{
				Id: pulumi.String("string"),
			},
			NicType: vmwarecloudsimple.NICTypeE1000,
			Customization: &vmwarecloudsimple.GuestOSNICCustomizationArgs{
				Allocation: pulumi.String("string"),
				DnsServers: pulumi.StringArray{
					pulumi.String("string"),
				},
				Gateway: pulumi.StringArray{
					pulumi.String("string"),
				},
				IpAddress:           pulumi.String("string"),
				Mask:                pulumi.String("string"),
				PrimaryWinsServer:   pulumi.String("string"),
				SecondaryWinsServer: pulumi.String("string"),
			},
			IpAddresses: pulumi.StringArray{
				pulumi.String("string"),
			},
			MacAddress:   pulumi.String("string"),
			PowerOnBoot:  pulumi.Bool(false),
			VirtualNicId: pulumi.String("string"),
		},
	},
	ExposeToGuestVM: pulumi.Bool(false),
	Password:        pulumi.String("string"),
	Disks: vmwarecloudsimple.VirtualDiskArray{
		&vmwarecloudsimple.VirtualDiskArgs{
			ControllerId:     pulumi.String("string"),
			IndependenceMode: vmwarecloudsimple.DiskIndependenceModePersistent,
			TotalSize:        pulumi.Int(0),
			VirtualDiskId:    pulumi.String("string"),
		},
	},
	Customization: &vmwarecloudsimple.GuestOSCustomizationArgs{
		DnsServers: pulumi.StringArray{
			pulumi.String("string"),
		},
		HostName: pulumi.String("string"),
		Password: pulumi.String("string"),
		PolicyId: pulumi.String("string"),
		Username: pulumi.String("string"),
	},
	ResourcePool: &vmwarecloudsimple.ResourcePoolArgs{
		Id: pulumi.String("string"),
	},
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	TemplateId: pulumi.String("string"),
	Username:   pulumi.String("string"),
	VSphereNetworks: pulumi.StringArray{
		pulumi.String("string"),
	},
	VirtualMachineName: pulumi.String("string"),
})
Copy
var examplevirtualMachineResourceResourceFromVmwarecloudsimple = new VirtualMachine("examplevirtualMachineResourceResourceFromVmwarecloudsimple", VirtualMachineArgs.builder()
    .amountOfRam(0)
    .resourceGroupName("string")
    .privateCloudId("string")
    .numberOfCores(0)
    .location("string")
    .nics(VirtualNicArgs.builder()
        .network(VirtualNetworkArgs.builder()
            .id("string")
            .build())
        .nicType("E1000")
        .customization(GuestOSNICCustomizationArgs.builder()
            .allocation("string")
            .dnsServers("string")
            .gateway("string")
            .ipAddress("string")
            .mask("string")
            .primaryWinsServer("string")
            .secondaryWinsServer("string")
            .build())
        .ipAddresses("string")
        .macAddress("string")
        .powerOnBoot(false)
        .virtualNicId("string")
        .build())
    .exposeToGuestVM(false)
    .password("string")
    .disks(VirtualDiskArgs.builder()
        .controllerId("string")
        .independenceMode("persistent")
        .totalSize(0)
        .virtualDiskId("string")
        .build())
    .customization(GuestOSCustomizationArgs.builder()
        .dnsServers("string")
        .hostName("string")
        .password("string")
        .policyId("string")
        .username("string")
        .build())
    .resourcePool(ResourcePoolArgs.builder()
        .id("string")
        .build())
    .tags(Map.of("string", "string"))
    .templateId("string")
    .username("string")
    .vSphereNetworks("string")
    .virtualMachineName("string")
    .build());
Copy
examplevirtual_machine_resource_resource_from_vmwarecloudsimple = azure_native.vmwarecloudsimple.VirtualMachine("examplevirtualMachineResourceResourceFromVmwarecloudsimple",
    amount_of_ram=0,
    resource_group_name="string",
    private_cloud_id="string",
    number_of_cores=0,
    location="string",
    nics=[{
        "network": {
            "id": "string",
        },
        "nic_type": azure_native.vmwarecloudsimple.NICType.E1000,
        "customization": {
            "allocation": "string",
            "dns_servers": ["string"],
            "gateway": ["string"],
            "ip_address": "string",
            "mask": "string",
            "primary_wins_server": "string",
            "secondary_wins_server": "string",
        },
        "ip_addresses": ["string"],
        "mac_address": "string",
        "power_on_boot": False,
        "virtual_nic_id": "string",
    }],
    expose_to_guest_vm=False,
    password="string",
    disks=[{
        "controller_id": "string",
        "independence_mode": azure_native.vmwarecloudsimple.DiskIndependenceMode.PERSISTENT,
        "total_size": 0,
        "virtual_disk_id": "string",
    }],
    customization={
        "dns_servers": ["string"],
        "host_name": "string",
        "password": "string",
        "policy_id": "string",
        "username": "string",
    },
    resource_pool={
        "id": "string",
    },
    tags={
        "string": "string",
    },
    template_id="string",
    username="string",
    v_sphere_networks=["string"],
    virtual_machine_name="string")
Copy
const examplevirtualMachineResourceResourceFromVmwarecloudsimple = new azure_native.vmwarecloudsimple.VirtualMachine("examplevirtualMachineResourceResourceFromVmwarecloudsimple", {
    amountOfRam: 0,
    resourceGroupName: "string",
    privateCloudId: "string",
    numberOfCores: 0,
    location: "string",
    nics: [{
        network: {
            id: "string",
        },
        nicType: azure_native.vmwarecloudsimple.NICType.E1000,
        customization: {
            allocation: "string",
            dnsServers: ["string"],
            gateway: ["string"],
            ipAddress: "string",
            mask: "string",
            primaryWinsServer: "string",
            secondaryWinsServer: "string",
        },
        ipAddresses: ["string"],
        macAddress: "string",
        powerOnBoot: false,
        virtualNicId: "string",
    }],
    exposeToGuestVM: false,
    password: "string",
    disks: [{
        controllerId: "string",
        independenceMode: azure_native.vmwarecloudsimple.DiskIndependenceMode.Persistent,
        totalSize: 0,
        virtualDiskId: "string",
    }],
    customization: {
        dnsServers: ["string"],
        hostName: "string",
        password: "string",
        policyId: "string",
        username: "string",
    },
    resourcePool: {
        id: "string",
    },
    tags: {
        string: "string",
    },
    templateId: "string",
    username: "string",
    vSphereNetworks: ["string"],
    virtualMachineName: "string",
});
Copy
type: azure-native:vmwarecloudsimple:VirtualMachine
properties:
    amountOfRam: 0
    customization:
        dnsServers:
            - string
        hostName: string
        password: string
        policyId: string
        username: string
    disks:
        - controllerId: string
          independenceMode: persistent
          totalSize: 0
          virtualDiskId: string
    exposeToGuestVM: false
    location: string
    nics:
        - customization:
            allocation: string
            dnsServers:
                - string
            gateway:
                - string
            ipAddress: string
            mask: string
            primaryWinsServer: string
            secondaryWinsServer: string
          ipAddresses:
            - string
          macAddress: string
          network:
            id: string
          nicType: E1000
          powerOnBoot: false
          virtualNicId: string
    numberOfCores: 0
    password: string
    privateCloudId: string
    resourceGroupName: string
    resourcePool:
        id: string
    tags:
        string: string
    templateId: string
    username: string
    vSphereNetworks:
        - string
    virtualMachineName: string
Copy

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:

AmountOfRam This property is required. int
The amount of memory
NumberOfCores This property is required. int
The number of CPU cores
PrivateCloudId This property is required. string
Private Cloud Id
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group
Customization Pulumi.AzureNative.VMwareCloudSimple.Inputs.GuestOSCustomization
Virtual machine properties
Disks List<Pulumi.AzureNative.VMwareCloudSimple.Inputs.VirtualDisk>
The list of Virtual Disks
ExposeToGuestVM bool
Expose Guest OS or not
Location Changes to this property will trigger replacement. string
Azure region
Nics List<Pulumi.AzureNative.VMwareCloudSimple.Inputs.VirtualNic>
The list of Virtual NICs
Password string
Password for login. Deprecated - use customization property
ResourcePool Pulumi.AzureNative.VMwareCloudSimple.Inputs.ResourcePool
Virtual Machines Resource Pool
Tags Dictionary<string, string>
The list of tags
TemplateId string
Virtual Machine Template Id
Username string
Username for login. Deprecated - use customization property
VSphereNetworks List<string>
The list of Virtual VSphere Networks
VirtualMachineName Changes to this property will trigger replacement. string
virtual machine name
AmountOfRam This property is required. int
The amount of memory
NumberOfCores This property is required. int
The number of CPU cores
PrivateCloudId This property is required. string
Private Cloud Id
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group
Customization GuestOSCustomizationArgs
Virtual machine properties
Disks []VirtualDiskArgs
The list of Virtual Disks
ExposeToGuestVM bool
Expose Guest OS or not
Location Changes to this property will trigger replacement. string
Azure region
Nics []VirtualNicArgs
The list of Virtual NICs
Password string
Password for login. Deprecated - use customization property
ResourcePool ResourcePoolArgs
Virtual Machines Resource Pool
Tags map[string]string
The list of tags
TemplateId string
Virtual Machine Template Id
Username string
Username for login. Deprecated - use customization property
VSphereNetworks []string
The list of Virtual VSphere Networks
VirtualMachineName Changes to this property will trigger replacement. string
virtual machine name
amountOfRam This property is required. Integer
The amount of memory
numberOfCores This property is required. Integer
The number of CPU cores
privateCloudId This property is required. String
Private Cloud Id
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group
customization GuestOSCustomization
Virtual machine properties
disks List<VirtualDisk>
The list of Virtual Disks
exposeToGuestVM Boolean
Expose Guest OS or not
location Changes to this property will trigger replacement. String
Azure region
nics List<VirtualNic>
The list of Virtual NICs
password String
Password for login. Deprecated - use customization property
resourcePool ResourcePool
Virtual Machines Resource Pool
tags Map<String,String>
The list of tags
templateId String
Virtual Machine Template Id
username String
Username for login. Deprecated - use customization property
vSphereNetworks List<String>
The list of Virtual VSphere Networks
virtualMachineName Changes to this property will trigger replacement. String
virtual machine name
amountOfRam This property is required. number
The amount of memory
numberOfCores This property is required. number
The number of CPU cores
privateCloudId This property is required. string
Private Cloud Id
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group
customization GuestOSCustomization
Virtual machine properties
disks VirtualDisk[]
The list of Virtual Disks
exposeToGuestVM boolean
Expose Guest OS or not
location Changes to this property will trigger replacement. string
Azure region
nics VirtualNic[]
The list of Virtual NICs
password string
Password for login. Deprecated - use customization property
resourcePool ResourcePool
Virtual Machines Resource Pool
tags {[key: string]: string}
The list of tags
templateId string
Virtual Machine Template Id
username string
Username for login. Deprecated - use customization property
vSphereNetworks string[]
The list of Virtual VSphere Networks
virtualMachineName Changes to this property will trigger replacement. string
virtual machine name
amount_of_ram This property is required. int
The amount of memory
number_of_cores This property is required. int
The number of CPU cores
private_cloud_id This property is required. str
Private Cloud Id
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group
customization GuestOSCustomizationArgs
Virtual machine properties
disks Sequence[VirtualDiskArgs]
The list of Virtual Disks
expose_to_guest_vm bool
Expose Guest OS or not
location Changes to this property will trigger replacement. str
Azure region
nics Sequence[VirtualNicArgs]
The list of Virtual NICs
password str
Password for login. Deprecated - use customization property
resource_pool ResourcePoolArgs
Virtual Machines Resource Pool
tags Mapping[str, str]
The list of tags
template_id str
Virtual Machine Template Id
username str
Username for login. Deprecated - use customization property
v_sphere_networks Sequence[str]
The list of Virtual VSphere Networks
virtual_machine_name Changes to this property will trigger replacement. str
virtual machine name
amountOfRam This property is required. Number
The amount of memory
numberOfCores This property is required. Number
The number of CPU cores
privateCloudId This property is required. String
Private Cloud Id
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group
customization Property Map
Virtual machine properties
disks List<Property Map>
The list of Virtual Disks
exposeToGuestVM Boolean
Expose Guest OS or not
location Changes to this property will trigger replacement. String
Azure region
nics List<Property Map>
The list of Virtual NICs
password String
Password for login. Deprecated - use customization property
resourcePool Property Map
Virtual Machines Resource Pool
tags Map<String>
The list of tags
templateId String
Virtual Machine Template Id
username String
Username for login. Deprecated - use customization property
vSphereNetworks List<String>
The list of Virtual VSphere Networks
virtualMachineName Changes to this property will trigger replacement. String
virtual machine name

Outputs

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

AzureApiVersion string
The Azure API version of the resource.
Controllers List<Pulumi.AzureNative.VMwareCloudSimple.Outputs.VirtualDiskControllerResponse>
The list of Virtual Disks' Controllers
Dnsname string
The DNS name of Virtual Machine in VCenter
Folder string
The path to virtual machine folder in VCenter
GuestOS string
The name of Guest OS
GuestOSType string
The Guest OS type
Id string
The provider-assigned unique ID for this managed resource.
Name string
{virtualMachineName}
ProvisioningState string
The provisioning status of the resource
PublicIP string
The public ip of Virtual Machine
Status string
The status of Virtual machine
Type string
{resourceProviderNamespace}/{resourceType}
VmId string
The internal id of Virtual Machine in VCenter
Vmwaretools string
VMware tools version
AzureApiVersion string
The Azure API version of the resource.
Controllers []VirtualDiskControllerResponse
The list of Virtual Disks' Controllers
Dnsname string
The DNS name of Virtual Machine in VCenter
Folder string
The path to virtual machine folder in VCenter
GuestOS string
The name of Guest OS
GuestOSType string
The Guest OS type
Id string
The provider-assigned unique ID for this managed resource.
Name string
{virtualMachineName}
ProvisioningState string
The provisioning status of the resource
PublicIP string
The public ip of Virtual Machine
Status string
The status of Virtual machine
Type string
{resourceProviderNamespace}/{resourceType}
VmId string
The internal id of Virtual Machine in VCenter
Vmwaretools string
VMware tools version
azureApiVersion String
The Azure API version of the resource.
controllers List<VirtualDiskControllerResponse>
The list of Virtual Disks' Controllers
dnsname String
The DNS name of Virtual Machine in VCenter
folder String
The path to virtual machine folder in VCenter
guestOS String
The name of Guest OS
guestOSType String
The Guest OS type
id String
The provider-assigned unique ID for this managed resource.
name String
{virtualMachineName}
provisioningState String
The provisioning status of the resource
publicIP String
The public ip of Virtual Machine
status String
The status of Virtual machine
type String
{resourceProviderNamespace}/{resourceType}
vmId String
The internal id of Virtual Machine in VCenter
vmwaretools String
VMware tools version
azureApiVersion string
The Azure API version of the resource.
controllers VirtualDiskControllerResponse[]
The list of Virtual Disks' Controllers
dnsname string
The DNS name of Virtual Machine in VCenter
folder string
The path to virtual machine folder in VCenter
guestOS string
The name of Guest OS
guestOSType string
The Guest OS type
id string
The provider-assigned unique ID for this managed resource.
name string
{virtualMachineName}
provisioningState string
The provisioning status of the resource
publicIP string
The public ip of Virtual Machine
status string
The status of Virtual machine
type string
{resourceProviderNamespace}/{resourceType}
vmId string
The internal id of Virtual Machine in VCenter
vmwaretools string
VMware tools version
azure_api_version str
The Azure API version of the resource.
controllers Sequence[VirtualDiskControllerResponse]
The list of Virtual Disks' Controllers
dnsname str
The DNS name of Virtual Machine in VCenter
folder str
The path to virtual machine folder in VCenter
guest_os str
The name of Guest OS
guest_os_type str
The Guest OS type
id str
The provider-assigned unique ID for this managed resource.
name str
{virtualMachineName}
provisioning_state str
The provisioning status of the resource
public_ip str
The public ip of Virtual Machine
status str
The status of Virtual machine
type str
{resourceProviderNamespace}/{resourceType}
vm_id str
The internal id of Virtual Machine in VCenter
vmwaretools str
VMware tools version
azureApiVersion String
The Azure API version of the resource.
controllers List<Property Map>
The list of Virtual Disks' Controllers
dnsname String
The DNS name of Virtual Machine in VCenter
folder String
The path to virtual machine folder in VCenter
guestOS String
The name of Guest OS
guestOSType String
The Guest OS type
id String
The provider-assigned unique ID for this managed resource.
name String
{virtualMachineName}
provisioningState String
The provisioning status of the resource
publicIP String
The public ip of Virtual Machine
status String
The status of Virtual machine
type String
{resourceProviderNamespace}/{resourceType}
vmId String
The internal id of Virtual Machine in VCenter
vmwaretools String
VMware tools version

Supporting Types

DiskIndependenceMode
, DiskIndependenceModeArgs

Persistent
persistent
Independent_persistent
independent_persistent
Independent_nonpersistent
independent_nonpersistent
DiskIndependenceModePersistent
persistent
DiskIndependenceMode_Independent_persistent
independent_persistent
DiskIndependenceMode_Independent_nonpersistent
independent_nonpersistent
Persistent
persistent
Independent_persistent
independent_persistent
Independent_nonpersistent
independent_nonpersistent
Persistent
persistent
Independent_persistent
independent_persistent
Independent_nonpersistent
independent_nonpersistent
PERSISTENT
persistent
INDEPENDENT_PERSISTENT
independent_persistent
INDEPENDENT_NONPERSISTENT
independent_nonpersistent
"persistent"
persistent
"independent_persistent"
independent_persistent
"independent_nonpersistent"
independent_nonpersistent

GuestOSCustomization
, GuestOSCustomizationArgs

DnsServers List<string>
List of dns servers to use
HostName string
Virtual Machine hostname
Password string
Password for login
PolicyId string
id of customization policy
Username string
Username for login
DnsServers []string
List of dns servers to use
HostName string
Virtual Machine hostname
Password string
Password for login
PolicyId string
id of customization policy
Username string
Username for login
dnsServers List<String>
List of dns servers to use
hostName String
Virtual Machine hostname
password String
Password for login
policyId String
id of customization policy
username String
Username for login
dnsServers string[]
List of dns servers to use
hostName string
Virtual Machine hostname
password string
Password for login
policyId string
id of customization policy
username string
Username for login
dns_servers Sequence[str]
List of dns servers to use
host_name str
Virtual Machine hostname
password str
Password for login
policy_id str
id of customization policy
username str
Username for login
dnsServers List<String>
List of dns servers to use
hostName String
Virtual Machine hostname
password String
Password for login
policyId String
id of customization policy
username String
Username for login

GuestOSCustomizationResponse
, GuestOSCustomizationResponseArgs

DnsServers List<string>
List of dns servers to use
HostName string
Virtual Machine hostname
Password string
Password for login
PolicyId string
id of customization policy
Username string
Username for login
DnsServers []string
List of dns servers to use
HostName string
Virtual Machine hostname
Password string
Password for login
PolicyId string
id of customization policy
Username string
Username for login
dnsServers List<String>
List of dns servers to use
hostName String
Virtual Machine hostname
password String
Password for login
policyId String
id of customization policy
username String
Username for login
dnsServers string[]
List of dns servers to use
hostName string
Virtual Machine hostname
password string
Password for login
policyId string
id of customization policy
username string
Username for login
dns_servers Sequence[str]
List of dns servers to use
host_name str
Virtual Machine hostname
password str
Password for login
policy_id str
id of customization policy
username str
Username for login
dnsServers List<String>
List of dns servers to use
hostName String
Virtual Machine hostname
password String
Password for login
policyId String
id of customization policy
username String
Username for login

GuestOSNICCustomization
, GuestOSNICCustomizationArgs

Allocation string
IP address allocation method
DnsServers List<string>
List of dns servers to use
Gateway List<string>
Gateway addresses assigned to nic
IpAddress string
Static ip address for nic
Mask string
Network mask for nic
PrimaryWinsServer string
primary WINS server for Windows
SecondaryWinsServer string
secondary WINS server for Windows
Allocation string
IP address allocation method
DnsServers []string
List of dns servers to use
Gateway []string
Gateway addresses assigned to nic
IpAddress string
Static ip address for nic
Mask string
Network mask for nic
PrimaryWinsServer string
primary WINS server for Windows
SecondaryWinsServer string
secondary WINS server for Windows
allocation String
IP address allocation method
dnsServers List<String>
List of dns servers to use
gateway List<String>
Gateway addresses assigned to nic
ipAddress String
Static ip address for nic
mask String
Network mask for nic
primaryWinsServer String
primary WINS server for Windows
secondaryWinsServer String
secondary WINS server for Windows
allocation string
IP address allocation method
dnsServers string[]
List of dns servers to use
gateway string[]
Gateway addresses assigned to nic
ipAddress string
Static ip address for nic
mask string
Network mask for nic
primaryWinsServer string
primary WINS server for Windows
secondaryWinsServer string
secondary WINS server for Windows
allocation str
IP address allocation method
dns_servers Sequence[str]
List of dns servers to use
gateway Sequence[str]
Gateway addresses assigned to nic
ip_address str
Static ip address for nic
mask str
Network mask for nic
primary_wins_server str
primary WINS server for Windows
secondary_wins_server str
secondary WINS server for Windows
allocation String
IP address allocation method
dnsServers List<String>
List of dns servers to use
gateway List<String>
Gateway addresses assigned to nic
ipAddress String
Static ip address for nic
mask String
Network mask for nic
primaryWinsServer String
primary WINS server for Windows
secondaryWinsServer String
secondary WINS server for Windows

GuestOSNICCustomizationResponse
, GuestOSNICCustomizationResponseArgs

Allocation string
IP address allocation method
DnsServers List<string>
List of dns servers to use
Gateway List<string>
Gateway addresses assigned to nic
IpAddress string
Static ip address for nic
Mask string
Network mask for nic
PrimaryWinsServer string
primary WINS server for Windows
SecondaryWinsServer string
secondary WINS server for Windows
Allocation string
IP address allocation method
DnsServers []string
List of dns servers to use
Gateway []string
Gateway addresses assigned to nic
IpAddress string
Static ip address for nic
Mask string
Network mask for nic
PrimaryWinsServer string
primary WINS server for Windows
SecondaryWinsServer string
secondary WINS server for Windows
allocation String
IP address allocation method
dnsServers List<String>
List of dns servers to use
gateway List<String>
Gateway addresses assigned to nic
ipAddress String
Static ip address for nic
mask String
Network mask for nic
primaryWinsServer String
primary WINS server for Windows
secondaryWinsServer String
secondary WINS server for Windows
allocation string
IP address allocation method
dnsServers string[]
List of dns servers to use
gateway string[]
Gateway addresses assigned to nic
ipAddress string
Static ip address for nic
mask string
Network mask for nic
primaryWinsServer string
primary WINS server for Windows
secondaryWinsServer string
secondary WINS server for Windows
allocation str
IP address allocation method
dns_servers Sequence[str]
List of dns servers to use
gateway Sequence[str]
Gateway addresses assigned to nic
ip_address str
Static ip address for nic
mask str
Network mask for nic
primary_wins_server str
primary WINS server for Windows
secondary_wins_server str
secondary WINS server for Windows
allocation String
IP address allocation method
dnsServers List<String>
List of dns servers to use
gateway List<String>
Gateway addresses assigned to nic
ipAddress String
Static ip address for nic
mask String
Network mask for nic
primaryWinsServer String
primary WINS server for Windows
secondaryWinsServer String
secondary WINS server for Windows

NICType
, NICTypeArgs

E1000
E1000
E1000E
E1000E
PCNET32
PCNET32
VMXNET
VMXNET
VMXNET2
VMXNET2
VMXNET3
VMXNET3
NICTypeE1000
E1000
NICTypeE1000E
E1000E
NICTypePCNET32
PCNET32
NICTypeVMXNET
VMXNET
NICTypeVMXNET2
VMXNET2
NICTypeVMXNET3
VMXNET3
E1000
E1000
E1000E
E1000E
PCNET32
PCNET32
VMXNET
VMXNET
VMXNET2
VMXNET2
VMXNET3
VMXNET3
E1000
E1000
E1000E
E1000E
PCNET32
PCNET32
VMXNET
VMXNET
VMXNET2
VMXNET2
VMXNET3
VMXNET3
E1000
E1000
E1000_E
E1000E
PCNET32
PCNET32
VMXNET
VMXNET
VMXNET2
VMXNET2
VMXNET3
VMXNET3
"E1000"
E1000
"E1000E"
E1000E
"PCNET32"
PCNET32
"VMXNET"
VMXNET
"VMXNET2"
VMXNET2
"VMXNET3"
VMXNET3

ResourcePool
, ResourcePoolArgs

Id This property is required. string
resource pool id (privateCloudId:vsphereId)
Id This property is required. string
resource pool id (privateCloudId:vsphereId)
id This property is required. String
resource pool id (privateCloudId:vsphereId)
id This property is required. string
resource pool id (privateCloudId:vsphereId)
id This property is required. str
resource pool id (privateCloudId:vsphereId)
id This property is required. String
resource pool id (privateCloudId:vsphereId)

ResourcePoolResponse
, ResourcePoolResponseArgs

FullName This property is required. string
Hierarchical resource pool name
Id This property is required. string
resource pool id (privateCloudId:vsphereId)
Location This property is required. string
Azure region
Name This property is required. string
{ResourcePoolName}
PrivateCloudId This property is required. string
The Private Cloud Id
Type This property is required. string
{resourceProviderNamespace}/{resourceType}
FullName This property is required. string
Hierarchical resource pool name
Id This property is required. string
resource pool id (privateCloudId:vsphereId)
Location This property is required. string
Azure region
Name This property is required. string
{ResourcePoolName}
PrivateCloudId This property is required. string
The Private Cloud Id
Type This property is required. string
{resourceProviderNamespace}/{resourceType}
fullName This property is required. String
Hierarchical resource pool name
id This property is required. String
resource pool id (privateCloudId:vsphereId)
location This property is required. String
Azure region
name This property is required. String
{ResourcePoolName}
privateCloudId This property is required. String
The Private Cloud Id
type This property is required. String
{resourceProviderNamespace}/{resourceType}
fullName This property is required. string
Hierarchical resource pool name
id This property is required. string
resource pool id (privateCloudId:vsphereId)
location This property is required. string
Azure region
name This property is required. string
{ResourcePoolName}
privateCloudId This property is required. string
The Private Cloud Id
type This property is required. string
{resourceProviderNamespace}/{resourceType}
full_name This property is required. str
Hierarchical resource pool name
id This property is required. str
resource pool id (privateCloudId:vsphereId)
location This property is required. str
Azure region
name This property is required. str
{ResourcePoolName}
private_cloud_id This property is required. str
The Private Cloud Id
type This property is required. str
{resourceProviderNamespace}/{resourceType}
fullName This property is required. String
Hierarchical resource pool name
id This property is required. String
resource pool id (privateCloudId:vsphereId)
location This property is required. String
Azure region
name This property is required. String
{ResourcePoolName}
privateCloudId This property is required. String
The Private Cloud Id
type This property is required. String
{resourceProviderNamespace}/{resourceType}

VirtualDisk
, VirtualDiskArgs

ControllerId This property is required. string
Disk's Controller id
IndependenceMode This property is required. Pulumi.AzureNative.VMwareCloudSimple.DiskIndependenceMode
Disk's independence mode type
TotalSize This property is required. int
Disk's total size
VirtualDiskId string
Disk's id
ControllerId This property is required. string
Disk's Controller id
IndependenceMode This property is required. DiskIndependenceMode
Disk's independence mode type
TotalSize This property is required. int
Disk's total size
VirtualDiskId string
Disk's id
controllerId This property is required. String
Disk's Controller id
independenceMode This property is required. DiskIndependenceMode
Disk's independence mode type
totalSize This property is required. Integer
Disk's total size
virtualDiskId String
Disk's id
controllerId This property is required. string
Disk's Controller id
independenceMode This property is required. DiskIndependenceMode
Disk's independence mode type
totalSize This property is required. number
Disk's total size
virtualDiskId string
Disk's id
controller_id This property is required. str
Disk's Controller id
independence_mode This property is required. DiskIndependenceMode
Disk's independence mode type
total_size This property is required. int
Disk's total size
virtual_disk_id str
Disk's id
controllerId This property is required. String
Disk's Controller id
independenceMode This property is required. "persistent" | "independent_persistent" | "independent_nonpersistent"
Disk's independence mode type
totalSize This property is required. Number
Disk's total size
virtualDiskId String
Disk's id

VirtualDiskControllerResponse
, VirtualDiskControllerResponseArgs

Id This property is required. string
Controller's id
Name This property is required. string
The display name of Controller
SubType This property is required. string
dik controller subtype (VMWARE_PARAVIRTUAL, BUS_PARALLEL, LSI_PARALLEL, LSI_SAS)
Type This property is required. string
disk controller type (SCSI)
Id This property is required. string
Controller's id
Name This property is required. string
The display name of Controller
SubType This property is required. string
dik controller subtype (VMWARE_PARAVIRTUAL, BUS_PARALLEL, LSI_PARALLEL, LSI_SAS)
Type This property is required. string
disk controller type (SCSI)
id This property is required. String
Controller's id
name This property is required. String
The display name of Controller
subType This property is required. String
dik controller subtype (VMWARE_PARAVIRTUAL, BUS_PARALLEL, LSI_PARALLEL, LSI_SAS)
type This property is required. String
disk controller type (SCSI)
id This property is required. string
Controller's id
name This property is required. string
The display name of Controller
subType This property is required. string
dik controller subtype (VMWARE_PARAVIRTUAL, BUS_PARALLEL, LSI_PARALLEL, LSI_SAS)
type This property is required. string
disk controller type (SCSI)
id This property is required. str
Controller's id
name This property is required. str
The display name of Controller
sub_type This property is required. str
dik controller subtype (VMWARE_PARAVIRTUAL, BUS_PARALLEL, LSI_PARALLEL, LSI_SAS)
type This property is required. str
disk controller type (SCSI)
id This property is required. String
Controller's id
name This property is required. String
The display name of Controller
subType This property is required. String
dik controller subtype (VMWARE_PARAVIRTUAL, BUS_PARALLEL, LSI_PARALLEL, LSI_SAS)
type This property is required. String
disk controller type (SCSI)

VirtualDiskResponse
, VirtualDiskResponseArgs

ControllerId This property is required. string
Disk's Controller id
IndependenceMode This property is required. string
Disk's independence mode type
TotalSize This property is required. int
Disk's total size
VirtualDiskName This property is required. string
Disk's display name
VirtualDiskId string
Disk's id
ControllerId This property is required. string
Disk's Controller id
IndependenceMode This property is required. string
Disk's independence mode type
TotalSize This property is required. int
Disk's total size
VirtualDiskName This property is required. string
Disk's display name
VirtualDiskId string
Disk's id
controllerId This property is required. String
Disk's Controller id
independenceMode This property is required. String
Disk's independence mode type
totalSize This property is required. Integer
Disk's total size
virtualDiskName This property is required. String
Disk's display name
virtualDiskId String
Disk's id
controllerId This property is required. string
Disk's Controller id
independenceMode This property is required. string
Disk's independence mode type
totalSize This property is required. number
Disk's total size
virtualDiskName This property is required. string
Disk's display name
virtualDiskId string
Disk's id
controller_id This property is required. str
Disk's Controller id
independence_mode This property is required. str
Disk's independence mode type
total_size This property is required. int
Disk's total size
virtual_disk_name This property is required. str
Disk's display name
virtual_disk_id str
Disk's id
controllerId This property is required. String
Disk's Controller id
independenceMode This property is required. String
Disk's independence mode type
totalSize This property is required. Number
Disk's total size
virtualDiskName This property is required. String
Disk's display name
virtualDiskId String
Disk's id

VirtualNetwork
, VirtualNetworkArgs

Id This property is required. string
virtual network id (privateCloudId:vsphereId)
Id This property is required. string
virtual network id (privateCloudId:vsphereId)
id This property is required. String
virtual network id (privateCloudId:vsphereId)
id This property is required. string
virtual network id (privateCloudId:vsphereId)
id This property is required. str
virtual network id (privateCloudId:vsphereId)
id This property is required. String
virtual network id (privateCloudId:vsphereId)

VirtualNetworkResponse
, VirtualNetworkResponseArgs

Assignable This property is required. bool
can be used in vm creation/deletion
Id This property is required. string
virtual network id (privateCloudId:vsphereId)
Location This property is required. string
Azure region
Name This property is required. string
{VirtualNetworkName}
PrivateCloudId This property is required. string
The Private Cloud id
Type This property is required. string
{resourceProviderNamespace}/{resourceType}
Assignable This property is required. bool
can be used in vm creation/deletion
Id This property is required. string
virtual network id (privateCloudId:vsphereId)
Location This property is required. string
Azure region
Name This property is required. string
{VirtualNetworkName}
PrivateCloudId This property is required. string
The Private Cloud id
Type This property is required. string
{resourceProviderNamespace}/{resourceType}
assignable This property is required. Boolean
can be used in vm creation/deletion
id This property is required. String
virtual network id (privateCloudId:vsphereId)
location This property is required. String
Azure region
name This property is required. String
{VirtualNetworkName}
privateCloudId This property is required. String
The Private Cloud id
type This property is required. String
{resourceProviderNamespace}/{resourceType}
assignable This property is required. boolean
can be used in vm creation/deletion
id This property is required. string
virtual network id (privateCloudId:vsphereId)
location This property is required. string
Azure region
name This property is required. string
{VirtualNetworkName}
privateCloudId This property is required. string
The Private Cloud id
type This property is required. string
{resourceProviderNamespace}/{resourceType}
assignable This property is required. bool
can be used in vm creation/deletion
id This property is required. str
virtual network id (privateCloudId:vsphereId)
location This property is required. str
Azure region
name This property is required. str
{VirtualNetworkName}
private_cloud_id This property is required. str
The Private Cloud id
type This property is required. str
{resourceProviderNamespace}/{resourceType}
assignable This property is required. Boolean
can be used in vm creation/deletion
id This property is required. String
virtual network id (privateCloudId:vsphereId)
location This property is required. String
Azure region
name This property is required. String
{VirtualNetworkName}
privateCloudId This property is required. String
The Private Cloud id
type This property is required. String
{resourceProviderNamespace}/{resourceType}

VirtualNic
, VirtualNicArgs

Network This property is required. Pulumi.AzureNative.VMwareCloudSimple.Inputs.VirtualNetwork
Virtual Network
NicType This property is required. Pulumi.AzureNative.VMwareCloudSimple.NICType
NIC type
Customization Pulumi.AzureNative.VMwareCloudSimple.Inputs.GuestOSNICCustomization
guest OS customization for nic
IpAddresses List<string>
NIC ip address
MacAddress string
NIC MAC address
PowerOnBoot bool
Is NIC powered on/off on boot
VirtualNicId string
NIC id
Network This property is required. VirtualNetwork
Virtual Network
NicType This property is required. NICType
NIC type
Customization GuestOSNICCustomization
guest OS customization for nic
IpAddresses []string
NIC ip address
MacAddress string
NIC MAC address
PowerOnBoot bool
Is NIC powered on/off on boot
VirtualNicId string
NIC id
network This property is required. VirtualNetwork
Virtual Network
nicType This property is required. NICType
NIC type
customization GuestOSNICCustomization
guest OS customization for nic
ipAddresses List<String>
NIC ip address
macAddress String
NIC MAC address
powerOnBoot Boolean
Is NIC powered on/off on boot
virtualNicId String
NIC id
network This property is required. VirtualNetwork
Virtual Network
nicType This property is required. NICType
NIC type
customization GuestOSNICCustomization
guest OS customization for nic
ipAddresses string[]
NIC ip address
macAddress string
NIC MAC address
powerOnBoot boolean
Is NIC powered on/off on boot
virtualNicId string
NIC id
network This property is required. VirtualNetwork
Virtual Network
nic_type This property is required. NICType
NIC type
customization GuestOSNICCustomization
guest OS customization for nic
ip_addresses Sequence[str]
NIC ip address
mac_address str
NIC MAC address
power_on_boot bool
Is NIC powered on/off on boot
virtual_nic_id str
NIC id
network This property is required. Property Map
Virtual Network
nicType This property is required. "E1000" | "E1000E" | "PCNET32" | "VMXNET" | "VMXNET2" | "VMXNET3"
NIC type
customization Property Map
guest OS customization for nic
ipAddresses List<String>
NIC ip address
macAddress String
NIC MAC address
powerOnBoot Boolean
Is NIC powered on/off on boot
virtualNicId String
NIC id

VirtualNicResponse
, VirtualNicResponseArgs

Network This property is required. Pulumi.AzureNative.VMwareCloudSimple.Inputs.VirtualNetworkResponse
Virtual Network
NicType This property is required. string
NIC type
VirtualNicName This property is required. string
NIC name
Customization Pulumi.AzureNative.VMwareCloudSimple.Inputs.GuestOSNICCustomizationResponse
guest OS customization for nic
IpAddresses List<string>
NIC ip address
MacAddress string
NIC MAC address
PowerOnBoot bool
Is NIC powered on/off on boot
VirtualNicId string
NIC id
Network This property is required. VirtualNetworkResponse
Virtual Network
NicType This property is required. string
NIC type
VirtualNicName This property is required. string
NIC name
Customization GuestOSNICCustomizationResponse
guest OS customization for nic
IpAddresses []string
NIC ip address
MacAddress string
NIC MAC address
PowerOnBoot bool
Is NIC powered on/off on boot
VirtualNicId string
NIC id
network This property is required. VirtualNetworkResponse
Virtual Network
nicType This property is required. String
NIC type
virtualNicName This property is required. String
NIC name
customization GuestOSNICCustomizationResponse
guest OS customization for nic
ipAddresses List<String>
NIC ip address
macAddress String
NIC MAC address
powerOnBoot Boolean
Is NIC powered on/off on boot
virtualNicId String
NIC id
network This property is required. VirtualNetworkResponse
Virtual Network
nicType This property is required. string
NIC type
virtualNicName This property is required. string
NIC name
customization GuestOSNICCustomizationResponse
guest OS customization for nic
ipAddresses string[]
NIC ip address
macAddress string
NIC MAC address
powerOnBoot boolean
Is NIC powered on/off on boot
virtualNicId string
NIC id
network This property is required. VirtualNetworkResponse
Virtual Network
nic_type This property is required. str
NIC type
virtual_nic_name This property is required. str
NIC name
customization GuestOSNICCustomizationResponse
guest OS customization for nic
ip_addresses Sequence[str]
NIC ip address
mac_address str
NIC MAC address
power_on_boot bool
Is NIC powered on/off on boot
virtual_nic_id str
NIC id
network This property is required. Property Map
Virtual Network
nicType This property is required. String
NIC type
virtualNicName This property is required. String
NIC name
customization Property Map
guest OS customization for nic
ipAddresses List<String>
NIC ip address
macAddress String
NIC MAC address
powerOnBoot Boolean
Is NIC powered on/off on boot
virtualNicId String
NIC id

Import

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

$ pulumi import azure-native:vmwarecloudsimple:VirtualMachine myVirtualMachine /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VMwareCloudSimple/virtualMachines/{virtualMachineName} 
Copy

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

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi