VirtualMachine Interface
public interface VirtualMachine
An immutable client-side representation of VirtualMachine.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| abstract int |
amountOfRam()
Gets the amount |
|
abstract
List<Virtual |
controllers()
Gets the controllers property: The list of Virtual Disks' Controllers. |
|
abstract
Guest |
customization()
Gets the customization property: Virtual machine properties. |
|
abstract
List<Virtual |
disks()
Gets the disks property: The list of Virtual Disks. |
| abstract String |
dnsname()
Gets the dnsname property: The DNS name of Virtual Machine in VCenter. |
| abstract Boolean |
exposeToGuestVM()
Gets the expose |
| abstract String |
folder()
Gets the folder property: The path to virtual machine folder in VCenter. |
| abstract String |
guestOS()
Gets the guestOS property: The name of Guest OS. |
|
abstract
Guest |
guestOSType()
Gets the guest |
| abstract String |
id()
Gets the id property: Fully qualified resource Id for the resource. |
|
abstract
Virtual |
innerModel()
Gets the inner com. |
| abstract String |
location()
Gets the location property: The geo-location where the resource lives. |
| abstract String |
name()
Gets the name property: The name of the resource. |
|
abstract
List<Virtual |
nics()
Gets the nics property: The list of Virtual NICs. |
| abstract int |
numberOfCores()
Gets the number |
| abstract String |
password()
Gets the password property: Password for login. |
| abstract String |
privateCloudId()
Gets the private |
| abstract String |
provisioningState()
Gets the provisioning |
| abstract String |
publicIp()
Gets the public |
|
abstract
Virtual |
refresh()
Refreshes the resource to sync with Azure. |
|
abstract
Virtual |
refresh(Context context)
Refreshes the resource to sync with Azure. |
| abstract Region |
region()
Gets the region of the resource. |
| abstract String |
regionName()
Gets the name of the resource region. |
| abstract String |
resourceGroupName()
Gets the name of the resource group. |
|
abstract
Resource |
resourcePool()
Gets the resource |
|
abstract
Virtual |
status()
Gets the status property: The status of Virtual machine. |
| abstract Map<String,String> |
tags()
Gets the tags property: Resource tags. |
| abstract String |
templateId()
Gets the template |
| abstract String |
type()
Gets the type property: The type of the resource. |
| abstract Update |
update()
Begins update for the Virtual |
| abstract String |
username()
Gets the username property: Username for login. |
| abstract String |
vmId()
Gets the vm |
| abstract String |
vmwaretools()
Gets the vmwaretools property: VMware tools version. |
| abstract List<String> |
vSphereNetworks()
Gets the v |
Method Details
amountOfRam
public abstract int amountOfRam()
Gets the amountOfRam property: The amount of memory.
Returns:
controllers
public abstract List<VirtualDiskController> controllers()
Gets the controllers property: The list of Virtual Disks' Controllers.
Returns:
customization
public abstract GuestOSCustomization customization()
Gets the customization property: Virtual machine properties.
Returns:
disks
public abstract List<VirtualDisk> disks()
Gets the disks property: The list of Virtual Disks.
Returns:
dnsname
public abstract String dnsname()
Gets the dnsname property: The DNS name of Virtual Machine in VCenter.
Returns:
exposeToGuestVM
public abstract Boolean exposeToGuestVM()
Gets the exposeToGuestVM property: Expose Guest OS or not.
Returns:
folder
public abstract String folder()
Gets the folder property: The path to virtual machine folder in VCenter.
Returns:
guestOS
public abstract String guestOS()
Gets the guestOS property: The name of Guest OS.
Returns:
guestOSType
public abstract GuestOSType guestOSType()
Gets the guestOSType property: The Guest OS type.
Returns:
id
public abstract String id()
Gets the id property: Fully qualified resource Id for the resource.
Returns:
innerModel
public abstract VirtualMachineInner innerModel()
Gets the inner com.azure.resourcemanager.vmwarecloudsimple.fluent.models.VirtualMachineInner object.
Returns:
location
public abstract String location()
Gets the location property: The geo-location where the resource lives.
Returns:
name
public abstract String name()
Gets the name property: The name of the resource.
Returns:
nics
public abstract List<VirtualNic> nics()
Gets the nics property: The list of Virtual NICs.
Returns:
numberOfCores
public abstract int numberOfCores()
Gets the numberOfCores property: The number of CPU cores.
Returns:
password
public abstract String password()
Gets the password property: Password for login. Deprecated - use customization property.
Returns:
privateCloudId
public abstract String privateCloudId()
Gets the privateCloudId property: Private Cloud Id.
Returns:
provisioningState
public abstract String provisioningState()
Gets the provisioningState property: The provisioning status of the resource.
Returns:
publicIp
public abstract String publicIp()
Gets the publicIp property: The public ip of Virtual Machine.
Returns:
refresh
public abstract VirtualMachine refresh()
Refreshes the resource to sync with Azure.
Returns:
refresh
public abstract VirtualMachine refresh(Context context)
Refreshes the resource to sync with Azure.
Parameters:
Returns:
region
public abstract Region region()
Gets the region of the resource.
Returns:
regionName
public abstract String regionName()
Gets the name of the resource region.
Returns:
resourceGroupName
public abstract String resourceGroupName()
Gets the name of the resource group.
Returns:
resourcePool
public abstract ResourcePool resourcePool()
Gets the resourcePool property: Virtual Machines Resource Pool.
Returns:
status
public abstract VirtualMachineStatus status()
Gets the status property: The status of Virtual machine.
Returns:
tags
public abstract Map<String,String> tags()
Gets the tags property: Resource tags.
Returns:
templateId
public abstract String templateId()
Gets the templateId property: Virtual Machine Template Id.
Returns:
type
public abstract String type()
Gets the type property: The type of the resource.
Returns:
update
public abstract VirtualMachine.Update update()
Begins update for the VirtualMachine resource.
Returns:
username
public abstract String username()
Gets the username property: Username for login. Deprecated - use customization property.
Returns:
vmId
public abstract String vmId()
Gets the vmId property: The internal id of Virtual Machine in VCenter.
Returns:
vmwaretools
public abstract String vmwaretools()
Gets the vmwaretools property: VMware tools version.
Returns:
vSphereNetworks
public abstract List<String> vSphereNetworks()
Gets the vSphereNetworks property: The list of Virtual VSphere Networks.
Returns: