This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.75.0 published on Saturday, Nov 30, 2024 by Pulumi
azure-native.vmwarecloudsimple.getVirtualMachine
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.75.0 published on Saturday, Nov 30, 2024 by Pulumi
Get virtual machine Azure REST API version: 2019-04-01.
Using getVirtualMachine
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getVirtualMachine(args: GetVirtualMachineArgs, opts?: InvokeOptions): Promise<GetVirtualMachineResult>
function getVirtualMachineOutput(args: GetVirtualMachineOutputArgs, opts?: InvokeOptions): Output<GetVirtualMachineResult>
def get_virtual_machine(resource_group_name: Optional[str] = None,
virtual_machine_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVirtualMachineResult
def get_virtual_machine_output(resource_group_name: Optional[pulumi.Input[str]] = None,
virtual_machine_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVirtualMachineResult]
func LookupVirtualMachine(ctx *Context, args *LookupVirtualMachineArgs, opts ...InvokeOption) (*LookupVirtualMachineResult, error)
func LookupVirtualMachineOutput(ctx *Context, args *LookupVirtualMachineOutputArgs, opts ...InvokeOption) LookupVirtualMachineResultOutput
> Note: This function is named LookupVirtualMachine
in the Go SDK.
public static class GetVirtualMachine
{
public static Task<GetVirtualMachineResult> InvokeAsync(GetVirtualMachineArgs args, InvokeOptions? opts = null)
public static Output<GetVirtualMachineResult> Invoke(GetVirtualMachineInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetVirtualMachineResult> getVirtualMachine(GetVirtualMachineArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:vmwarecloudsimple:getVirtualMachine
arguments:
# arguments dictionary
The following arguments are supported:
- Resource
Group stringName - The name of the resource group
- Virtual
Machine stringName - virtual machine name
- Resource
Group stringName - The name of the resource group
- Virtual
Machine stringName - virtual machine name
- resource
Group StringName - The name of the resource group
- virtual
Machine StringName - virtual machine name
- resource
Group stringName - The name of the resource group
- virtual
Machine stringName - virtual machine name
- resource_
group_ strname - The name of the resource group
- virtual_
machine_ strname - virtual machine name
- resource
Group StringName - The name of the resource group
- virtual
Machine StringName - virtual machine name
getVirtualMachine Result
The following output properties are available:
- Amount
Of intRam - The amount of memory
- Controllers
List<Pulumi.
Azure Native. VMware Cloud Simple. Outputs. Virtual Disk Controller Response> - 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
- Guest
OS string - The name of Guest OS
- Guest
OSType string - The Guest OS type
- Id string
- /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/virtualMachines/{virtualMachineName}
- Location string
- Azure region
- Name string
- {virtualMachineName}
- Number
Of intCores - The number of CPU cores
- Private
Cloud stringId - Private Cloud Id
- Provisioning
State string - The provisioning status of the resource
- Public
IP string - The public ip of Virtual Machine
- Status string
- The status of Virtual machine
- Type string
- {resourceProviderNamespace}/{resourceType}
- Vm
Id string - The internal id of Virtual Machine in VCenter
- Vmwaretools string
- VMware tools version
- Customization
Pulumi.
Azure Native. VMware Cloud Simple. Outputs. Guest OSCustomization Response - Virtual machine properties
- Disks
List<Pulumi.
Azure Native. VMware Cloud Simple. Outputs. Virtual Disk Response> - The list of Virtual Disks
- Expose
To boolGuest VM - Expose Guest OS or not
- Nics
List<Pulumi.
Azure Native. VMware Cloud Simple. Outputs. Virtual Nic Response> - The list of Virtual NICs
- Password string
- Password for login. Deprecated - use customization property
- Resource
Pool Pulumi.Azure Native. VMware Cloud Simple. Outputs. Resource Pool Response - Virtual Machines Resource Pool
- Dictionary<string, string>
- The list of tags
- Template
Id string - Virtual Machine Template Id
- Username string
- Username for login. Deprecated - use customization property
- VSphere
Networks List<string> - The list of Virtual VSphere Networks
- Amount
Of intRam - The amount of memory
- Controllers
[]Virtual
Disk Controller Response - 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
- Guest
OS string - The name of Guest OS
- Guest
OSType string - The Guest OS type
- Id string
- /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/virtualMachines/{virtualMachineName}
- Location string
- Azure region
- Name string
- {virtualMachineName}
- Number
Of intCores - The number of CPU cores
- Private
Cloud stringId - Private Cloud Id
- Provisioning
State string - The provisioning status of the resource
- Public
IP string - The public ip of Virtual Machine
- Status string
- The status of Virtual machine
- Type string
- {resourceProviderNamespace}/{resourceType}
- Vm
Id string - The internal id of Virtual Machine in VCenter
- Vmwaretools string
- VMware tools version
- Customization
Guest
OSCustomization Response - Virtual machine properties
- Disks
[]Virtual
Disk Response - The list of Virtual Disks
- Expose
To boolGuest VM - Expose Guest OS or not
- Nics
[]Virtual
Nic Response - The list of Virtual NICs
- Password string
- Password for login. Deprecated - use customization property
- Resource
Pool ResourcePool Response - Virtual Machines Resource Pool
- map[string]string
- The list of tags
- Template
Id string - Virtual Machine Template Id
- Username string
- Username for login. Deprecated - use customization property
- VSphere
Networks []string - The list of Virtual VSphere Networks
- amount
Of IntegerRam - The amount of memory
- controllers
List<Virtual
Disk Controller Response> - 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
- guest
OS String - The name of Guest OS
- guest
OSType String - The Guest OS type
- id String
- /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/virtualMachines/{virtualMachineName}
- location String
- Azure region
- name String
- {virtualMachineName}
- number
Of IntegerCores - The number of CPU cores
- private
Cloud StringId - Private Cloud Id
- provisioning
State String - The provisioning status of the resource
- public
IP String - The public ip of Virtual Machine
- status String
- The status of Virtual machine
- type String
- {resourceProviderNamespace}/{resourceType}
- vm
Id String - The internal id of Virtual Machine in VCenter
- vmwaretools String
- VMware tools version
- customization
Guest
OSCustomization Response - Virtual machine properties
- disks
List<Virtual
Disk Response> - The list of Virtual Disks
- expose
To BooleanGuest VM - Expose Guest OS or not
- nics
List<Virtual
Nic Response> - The list of Virtual NICs
- password String
- Password for login. Deprecated - use customization property
- resource
Pool ResourcePool Response - Virtual Machines Resource Pool
- Map<String,String>
- The list of tags
- template
Id String - Virtual Machine Template Id
- username String
- Username for login. Deprecated - use customization property
- v
Sphere List<String>Networks - The list of Virtual VSphere Networks
- amount
Of numberRam - The amount of memory
- controllers
Virtual
Disk Controller Response[] - 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
- guest
OS string - The name of Guest OS
- guest
OSType string - The Guest OS type
- id string
- /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/virtualMachines/{virtualMachineName}
- location string
- Azure region
- name string
- {virtualMachineName}
- number
Of numberCores - The number of CPU cores
- private
Cloud stringId - Private Cloud Id
- provisioning
State string - The provisioning status of the resource
- public
IP string - The public ip of Virtual Machine
- status string
- The status of Virtual machine
- type string
- {resourceProviderNamespace}/{resourceType}
- vm
Id string - The internal id of Virtual Machine in VCenter
- vmwaretools string
- VMware tools version
- customization
Guest
OSCustomization Response - Virtual machine properties
- disks
Virtual
Disk Response[] - The list of Virtual Disks
- expose
To booleanGuest VM - Expose Guest OS or not
- nics
Virtual
Nic Response[] - The list of Virtual NICs
- password string
- Password for login. Deprecated - use customization property
- resource
Pool ResourcePool Response - Virtual Machines Resource Pool
- {[key: string]: string}
- The list of tags
- template
Id string - Virtual Machine Template Id
- username string
- Username for login. Deprecated - use customization property
- v
Sphere string[]Networks - The list of Virtual VSphere Networks
- amount_
of_ intram - The amount of memory
- controllers
Sequence[Virtual
Disk Controller Response] - 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_ strtype - The Guest OS type
- id str
- /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/virtualMachines/{virtualMachineName}
- location str
- Azure region
- name str
- {virtualMachineName}
- number_
of_ intcores - The number of CPU cores
- private_
cloud_ strid - Private Cloud Id
- 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
- customization
Guest
OSCustomization Response - Virtual machine properties
- disks
Sequence[Virtual
Disk Response] - The list of Virtual Disks
- expose_
to_ boolguest_ vm - Expose Guest OS or not
- nics
Sequence[Virtual
Nic Response] - The list of Virtual NICs
- password str
- Password for login. Deprecated - use customization property
- resource_
pool ResourcePool Response - Virtual Machines Resource Pool
- 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_ Sequence[str]networks - The list of Virtual VSphere Networks
- amount
Of NumberRam - The amount of memory
- 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
- guest
OS String - The name of Guest OS
- guest
OSType String - The Guest OS type
- id String
- /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/virtualMachines/{virtualMachineName}
- location String
- Azure region
- name String
- {virtualMachineName}
- number
Of NumberCores - The number of CPU cores
- private
Cloud StringId - Private Cloud Id
- provisioning
State String - The provisioning status of the resource
- public
IP String - The public ip of Virtual Machine
- status String
- The status of Virtual machine
- type String
- {resourceProviderNamespace}/{resourceType}
- vm
Id String - The internal id of Virtual Machine in VCenter
- vmwaretools String
- VMware tools version
- customization Property Map
- Virtual machine properties
- disks List<Property Map>
- The list of Virtual Disks
- expose
To BooleanGuest VM - Expose Guest OS or not
- nics List<Property Map>
- The list of Virtual NICs
- password String
- Password for login. Deprecated - use customization property
- resource
Pool Property Map - Virtual Machines Resource Pool
- Map<String>
- The list of tags
- template
Id String - Virtual Machine Template Id
- username String
- Username for login. Deprecated - use customization property
- v
Sphere List<String>Networks - The list of Virtual VSphere Networks
Supporting Types
GuestOSCustomizationResponse
- Dns
Servers List<string> - List of dns servers to use
- Host
Name string - Virtual Machine hostname
- Password string
- Password for login
- Policy
Id string - id of customization policy
- Username string
- Username for login
- Dns
Servers []string - List of dns servers to use
- Host
Name string - Virtual Machine hostname
- Password string
- Password for login
- Policy
Id string - id of customization policy
- Username string
- Username for login
- dns
Servers List<String> - List of dns servers to use
- host
Name String - Virtual Machine hostname
- password String
- Password for login
- policy
Id String - id of customization policy
- username String
- Username for login
- dns
Servers string[] - List of dns servers to use
- host
Name string - Virtual Machine hostname
- password string
- Password for login
- policy
Id 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
- dns
Servers List<String> - List of dns servers to use
- host
Name String - Virtual Machine hostname
- password String
- Password for login
- policy
Id String - id of customization policy
- username String
- Username for login
GuestOSNICCustomizationResponse
- Allocation string
- IP address allocation method
- Dns
Servers List<string> - List of dns servers to use
- Gateway List<string>
- Gateway addresses assigned to nic
- Ip
Address string - Static ip address for nic
- Mask string
- Network mask for nic
- Primary
Wins stringServer - primary WINS server for Windows
- Secondary
Wins stringServer - secondary WINS server for Windows
- Allocation string
- IP address allocation method
- Dns
Servers []string - List of dns servers to use
- Gateway []string
- Gateway addresses assigned to nic
- Ip
Address string - Static ip address for nic
- Mask string
- Network mask for nic
- Primary
Wins stringServer - primary WINS server for Windows
- Secondary
Wins stringServer - secondary WINS server for Windows
- allocation String
- IP address allocation method
- dns
Servers List<String> - List of dns servers to use
- gateway List<String>
- Gateway addresses assigned to nic
- ip
Address String - Static ip address for nic
- mask String
- Network mask for nic
- primary
Wins StringServer - primary WINS server for Windows
- secondary
Wins StringServer - secondary WINS server for Windows
- allocation string
- IP address allocation method
- dns
Servers string[] - List of dns servers to use
- gateway string[]
- Gateway addresses assigned to nic
- ip
Address string - Static ip address for nic
- mask string
- Network mask for nic
- primary
Wins stringServer - primary WINS server for Windows
- secondary
Wins stringServer - 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_ strserver - primary WINS server for Windows
- secondary_
wins_ strserver - secondary WINS server for Windows
- allocation String
- IP address allocation method
- dns
Servers List<String> - List of dns servers to use
- gateway List<String>
- Gateway addresses assigned to nic
- ip
Address String - Static ip address for nic
- mask String
- Network mask for nic
- primary
Wins StringServer - primary WINS server for Windows
- secondary
Wins StringServer - secondary WINS server for Windows
ResourcePoolResponse
VirtualDiskControllerResponse
VirtualDiskResponse
- Controller
Id string - Disk's Controller id
- Independence
Mode string - Disk's independence mode type
- Total
Size int - Disk's total size
- Virtual
Disk stringName - Disk's display name
- Virtual
Disk stringId - Disk's id
- Controller
Id string - Disk's Controller id
- Independence
Mode string - Disk's independence mode type
- Total
Size int - Disk's total size
- Virtual
Disk stringName - Disk's display name
- Virtual
Disk stringId - Disk's id
- controller
Id String - Disk's Controller id
- independence
Mode String - Disk's independence mode type
- total
Size Integer - Disk's total size
- virtual
Disk StringName - Disk's display name
- virtual
Disk StringId - Disk's id
- controller
Id string - Disk's Controller id
- independence
Mode string - Disk's independence mode type
- total
Size number - Disk's total size
- virtual
Disk stringName - Disk's display name
- virtual
Disk stringId - Disk's id
- controller_
id str - Disk's Controller id
- independence_
mode str - Disk's independence mode type
- total_
size int - Disk's total size
- virtual_
disk_ strname - Disk's display name
- virtual_
disk_ strid - Disk's id
- controller
Id String - Disk's Controller id
- independence
Mode String - Disk's independence mode type
- total
Size Number - Disk's total size
- virtual
Disk StringName - Disk's display name
- virtual
Disk StringId - Disk's id
VirtualNetworkResponse
- Assignable bool
- can be used in vm creation/deletion
- Id string
- virtual network id (privateCloudId:vsphereId)
- Location string
- Azure region
- Name string
- {VirtualNetworkName}
- Private
Cloud stringId - The Private Cloud id
- Type string
- {resourceProviderNamespace}/{resourceType}
- Assignable bool
- can be used in vm creation/deletion
- Id string
- virtual network id (privateCloudId:vsphereId)
- Location string
- Azure region
- Name string
- {VirtualNetworkName}
- Private
Cloud stringId - The Private Cloud id
- Type string
- {resourceProviderNamespace}/{resourceType}
- assignable Boolean
- can be used in vm creation/deletion
- id String
- virtual network id (privateCloudId:vsphereId)
- location String
- Azure region
- name String
- {VirtualNetworkName}
- private
Cloud StringId - The Private Cloud id
- type String
- {resourceProviderNamespace}/{resourceType}
- assignable boolean
- can be used in vm creation/deletion
- id string
- virtual network id (privateCloudId:vsphereId)
- location string
- Azure region
- name string
- {VirtualNetworkName}
- private
Cloud stringId - The Private Cloud id
- type string
- {resourceProviderNamespace}/{resourceType}
- assignable bool
- can be used in vm creation/deletion
- id str
- virtual network id (privateCloudId:vsphereId)
- location str
- Azure region
- name str
- {VirtualNetworkName}
- private_
cloud_ strid - The Private Cloud id
- type str
- {resourceProviderNamespace}/{resourceType}
- assignable Boolean
- can be used in vm creation/deletion
- id String
- virtual network id (privateCloudId:vsphereId)
- location String
- Azure region
- name String
- {VirtualNetworkName}
- private
Cloud StringId - The Private Cloud id
- type String
- {resourceProviderNamespace}/{resourceType}
VirtualNicResponse
- Network
Pulumi.
Azure Native. VMware Cloud Simple. Inputs. Virtual Network Response - Virtual Network
- Nic
Type string - NIC type
- Virtual
Nic stringName - NIC name
- Customization
Pulumi.
Azure Native. VMware Cloud Simple. Inputs. Guest OSNICCustomization Response - guest OS customization for nic
- Ip
Addresses List<string> - NIC ip address
- Mac
Address string - NIC MAC address
- Power
On boolBoot - Is NIC powered on/off on boot
- Virtual
Nic stringId - NIC id
- Network
Virtual
Network Response - Virtual Network
- Nic
Type string - NIC type
- Virtual
Nic stringName - NIC name
- Customization
Guest
OSNICCustomization Response - guest OS customization for nic
- Ip
Addresses []string - NIC ip address
- Mac
Address string - NIC MAC address
- Power
On boolBoot - Is NIC powered on/off on boot
- Virtual
Nic stringId - NIC id
- network
Virtual
Network Response - Virtual Network
- nic
Type String - NIC type
- virtual
Nic StringName - NIC name
- customization
Guest
OSNICCustomization Response - guest OS customization for nic
- ip
Addresses List<String> - NIC ip address
- mac
Address String - NIC MAC address
- power
On BooleanBoot - Is NIC powered on/off on boot
- virtual
Nic StringId - NIC id
- network
Virtual
Network Response - Virtual Network
- nic
Type string - NIC type
- virtual
Nic stringName - NIC name
- customization
Guest
OSNICCustomization Response - guest OS customization for nic
- ip
Addresses string[] - NIC ip address
- mac
Address string - NIC MAC address
- power
On booleanBoot - Is NIC powered on/off on boot
- virtual
Nic stringId - NIC id
- network
Virtual
Network Response - Virtual Network
- nic_
type str - NIC type
- virtual_
nic_ strname - NIC name
- customization
Guest
OSNICCustomization Response - guest OS customization for nic
- ip_
addresses Sequence[str] - NIC ip address
- mac_
address str - NIC MAC address
- power_
on_ boolboot - Is NIC powered on/off on boot
- virtual_
nic_ strid - NIC id
- network Property Map
- Virtual Network
- nic
Type String - NIC type
- virtual
Nic StringName - NIC name
- customization Property Map
- guest OS customization for nic
- ip
Addresses List<String> - NIC ip address
- mac
Address String - NIC MAC address
- power
On BooleanBoot - Is NIC powered on/off on boot
- virtual
Nic StringId - NIC id
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 v1 docs if using the v1 version of this package.
Azure Native v2.75.0 published on Saturday, Nov 30, 2024 by Pulumi