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 amountOfRam property: The amount of memory.

abstract List<VirtualDiskController> controllers()

Gets the controllers property: The list of Virtual Disks' Controllers.

abstract GuestOSCustomization customization()

Gets the customization property: Virtual machine properties.

abstract List<VirtualDisk> 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 exposeToGuestVM property: Expose Guest OS or not.

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 GuestOSType guestOSType()

Gets the guestOSType property: The Guest OS type.

abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract VirtualMachineInner innerModel()

Gets the inner com.azure.resourcemanager.vmwarecloudsimple.fluent.models.VirtualMachineInner object.

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<VirtualNic> nics()

Gets the nics property: The list of Virtual NICs.

abstract int numberOfCores()

Gets the numberOfCores property: The number of CPU cores.

abstract String password()

Gets the password property: Password for login.

abstract String privateCloudId()

Gets the privateCloudId property: Private Cloud Id.

abstract String provisioningState()

Gets the provisioningState property: The provisioning status of the resource.

abstract String publicIp()

Gets the publicIp property: The public ip of Virtual Machine.

abstract VirtualMachine refresh()

Refreshes the resource to sync with Azure.

abstract VirtualMachine 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 ResourcePool resourcePool()

Gets the resourcePool property: Virtual Machines Resource Pool.

abstract VirtualMachineStatus 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 templateId property: Virtual Machine Template Id.

abstract String type()

Gets the type property: The type of the resource.

abstract Update update()

Begins update for the VirtualMachine resource.

abstract String username()

Gets the username property: Username for login.

abstract String vmId()

Gets the vmId property: The internal id of Virtual Machine in VCenter.

abstract String vmwaretools()

Gets the vmwaretools property: VMware tools version.

abstract List<String> vSphereNetworks()

Gets the vSphereNetworks property: The list of Virtual VSphere Networks.

Method Details

amountOfRam

public abstract int amountOfRam()

Gets the amountOfRam property: The amount of memory.

Returns:

the amountOfRam value.

controllers

public abstract List<VirtualDiskController> controllers()

Gets the controllers property: The list of Virtual Disks' Controllers.

Returns:

the controllers value.

customization

public abstract GuestOSCustomization customization()

Gets the customization property: Virtual machine properties.

Returns:

the customization value.

disks

public abstract List<VirtualDisk> disks()

Gets the disks property: The list of Virtual Disks.

Returns:

the disks value.

dnsname

public abstract String dnsname()

Gets the dnsname property: The DNS name of Virtual Machine in VCenter.

Returns:

the dnsname value.

exposeToGuestVM

public abstract Boolean exposeToGuestVM()

Gets the exposeToGuestVM property: Expose Guest OS or not.

Returns:

the exposeToGuestVM value.

folder

public abstract String folder()

Gets the folder property: The path to virtual machine folder in VCenter.

Returns:

the folder value.

guestOS

public abstract String guestOS()

Gets the guestOS property: The name of Guest OS.

Returns:

the guestOS value.

guestOSType

public abstract GuestOSType guestOSType()

Gets the guestOSType property: The Guest OS type.

Returns:

the guestOSType value.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

innerModel

public abstract VirtualMachineInner innerModel()

Gets the inner com.azure.resourcemanager.vmwarecloudsimple.fluent.models.VirtualMachineInner object.

Returns:

the inner object.

location

public abstract String location()

Gets the location property: The geo-location where the resource lives.

Returns:

the location value.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

nics

public abstract List<VirtualNic> nics()

Gets the nics property: The list of Virtual NICs.

Returns:

the nics value.

numberOfCores

public abstract int numberOfCores()

Gets the numberOfCores property: The number of CPU cores.

Returns:

the numberOfCores value.

password

public abstract String password()

Gets the password property: Password for login. Deprecated - use customization property.

Returns:

the password value.

privateCloudId

public abstract String privateCloudId()

Gets the privateCloudId property: Private Cloud Id.

Returns:

the privateCloudId value.

provisioningState

public abstract String provisioningState()

Gets the provisioningState property: The provisioning status of the resource.

Returns:

the provisioningState value.

publicIp

public abstract String publicIp()

Gets the publicIp property: The public ip of Virtual Machine.

Returns:

the publicIp value.

refresh

public abstract VirtualMachine refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract VirtualMachine refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

region

public abstract Region region()

Gets the region of the resource.

Returns:

the region of the resource.

regionName

public abstract String regionName()

Gets the name of the resource region.

Returns:

the name of the resource region.

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group.

resourcePool

public abstract ResourcePool resourcePool()

Gets the resourcePool property: Virtual Machines Resource Pool.

Returns:

the resourcePool value.

status

public abstract VirtualMachineStatus status()

Gets the status property: The status of Virtual machine.

Returns:

the status value.

tags

public abstract Map<String,String> tags()

Gets the tags property: Resource tags.

Returns:

the tags value.

templateId

public abstract String templateId()

Gets the templateId property: Virtual Machine Template Id.

Returns:

the templateId value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

update

public abstract VirtualMachine.Update update()

Begins update for the VirtualMachine resource.

Returns:

the stage of resource update.

username

public abstract String username()

Gets the username property: Username for login. Deprecated - use customization property.

Returns:

the username value.

vmId

public abstract String vmId()

Gets the vmId property: The internal id of Virtual Machine in VCenter.

Returns:

the vmId value.

vmwaretools

public abstract String vmwaretools()

Gets the vmwaretools property: VMware tools version.

Returns:

the vmwaretools value.

vSphereNetworks

public abstract List<String> vSphereNetworks()

Gets the vSphereNetworks property: The list of Virtual VSphere Networks.

Returns:

the vSphereNetworks value.

Applies to