VirtualMachine Interface
public interface VirtualMachine
An immutable client-side representation of VirtualMachine.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
abstract
List<Availability |
availabilitySets()
Gets the availability |
| abstract List<Checkpoint> |
checkpoints()
Gets the checkpoints property: Checkpoints in the vm. |
| abstract String |
checkpointType()
Gets the checkpoint |
| abstract String |
cloudId()
Gets the cloud |
| abstract void |
createCheckpoint()
Creates a checkpoint in virtual machine. |
| abstract void |
createCheckpoint(VirtualMachineCreateCheckpoint body)
Creates a checkpoint in virtual machine. |
| abstract void |
createCheckpoint(VirtualMachineCreateCheckpoint body, Context context)
Creates a checkpoint in virtual machine. |
| abstract void |
deleteCheckpoint()
Deletes a checkpoint in virtual machine. |
| abstract void |
deleteCheckpoint(VirtualMachineDeleteCheckpoint body)
Deletes a checkpoint in virtual machine. |
| abstract void |
deleteCheckpoint(VirtualMachineDeleteCheckpoint body, Context context)
Deletes a checkpoint in virtual machine. |
|
abstract
Extended |
extendedLocation()
Gets the extended |
| abstract Integer |
generation()
Gets the generation property: Gets or sets the generation for the vm. |
|
abstract
Hardware |
hardwareProfile()
Gets the hardware |
| abstract String |
id()
Gets the id property: Fully qualified resource Id for the resource. |
|
abstract
Virtual |
innerModel()
Gets the inner com. |
| abstract String |
inventoryItemId()
Gets the inventory |
| 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
Network |
networkProfile()
Gets the network |
|
abstract
Os |
osProfile()
Gets the os |
| abstract String |
powerState()
Gets the power |
| abstract String |
provisioningState()
Gets the provisioning |
|
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 void |
restart()
Restart virtual machine. |
| abstract void |
restart(Context context)
Restart virtual machine. |
| abstract void |
restoreCheckpoint()
Restores to a checkpoint in virtual machine. |
| abstract void |
restoreCheckpoint(VirtualMachineRestoreCheckpoint body)
Restores to a checkpoint in virtual machine. |
| abstract void |
restoreCheckpoint(VirtualMachineRestoreCheckpoint body, Context context)
Restores to a checkpoint in virtual machine. |
| abstract void |
start()
Start virtual machine. |
| abstract void |
start(Context context)
Start virtual machine. |
| abstract void |
stop()
Stop virtual machine. |
| abstract void |
stop(StopVirtualMachineOptions body)
Stop virtual machine. |
| abstract void |
stop(StopVirtualMachineOptions body, Context context)
Stop virtual machine. |
|
abstract
Storage |
storageProfile()
Gets the storage |
|
abstract
System |
systemData()
Gets the system |
| 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 |
uuid()
Gets the uuid property: Unique ID of the virtual machine. |
| abstract String |
vmmServerId()
Gets the vmm |
| abstract String |
vmName()
Gets the vm |
Method Details
availabilitySets
public abstract List<AvailabilitySetListItem> availabilitySets()
Gets the availabilitySets property: Availability Sets in vm.
Returns:
checkpoints
public abstract List<Checkpoint> checkpoints()
Gets the checkpoints property: Checkpoints in the vm.
Returns:
checkpointType
public abstract String checkpointType()
Gets the checkpointType property: Type of checkpoint supported for the vm.
Returns:
cloudId
public abstract String cloudId()
Gets the cloudId property: ARM Id of the cloud resource to use for deploying the vm.
Returns:
createCheckpoint
public abstract void createCheckpoint()
Creates a checkpoint in virtual machine.
createCheckpoint
public abstract void createCheckpoint(VirtualMachineCreateCheckpoint body)
Creates a checkpoint in virtual machine.
Parameters:
createCheckpoint
public abstract void createCheckpoint(VirtualMachineCreateCheckpoint body, Context context)
Creates a checkpoint in virtual machine.
Parameters:
deleteCheckpoint
public abstract void deleteCheckpoint()
Deletes a checkpoint in virtual machine.
deleteCheckpoint
public abstract void deleteCheckpoint(VirtualMachineDeleteCheckpoint body)
Deletes a checkpoint in virtual machine.
Parameters:
deleteCheckpoint
public abstract void deleteCheckpoint(VirtualMachineDeleteCheckpoint body, Context context)
Deletes a checkpoint in virtual machine.
Parameters:
extendedLocation
public abstract ExtendedLocation extendedLocation()
Gets the extendedLocation property: The extended location.
Returns:
generation
public abstract Integer generation()
Gets the generation property: Gets or sets the generation for the vm.
Returns:
hardwareProfile
public abstract HardwareProfile hardwareProfile()
Gets the hardwareProfile property: Hardware properties.
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.scvmm.fluent.models.VirtualMachineInner object.
Returns:
inventoryItemId
public abstract String inventoryItemId()
Gets the inventoryItemId property: Gets or sets the inventory Item ID for the resource.
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:
networkProfile
public abstract NetworkProfile networkProfile()
Gets the networkProfile property: Network properties.
Returns:
osProfile
public abstract OsProfile osProfile()
Gets the osProfile property: OS properties.
Returns:
powerState
public abstract String powerState()
Gets the powerState property: Gets the power state of the virtual machine.
Returns:
provisioningState
public abstract String provisioningState()
Gets the provisioningState property: Gets or sets the provisioning state.
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:
restart
public abstract void restart()
Restart virtual machine.
restart
public abstract void restart(Context context)
Restart virtual machine.
Parameters:
restoreCheckpoint
public abstract void restoreCheckpoint()
Restores to a checkpoint in virtual machine.
restoreCheckpoint
public abstract void restoreCheckpoint(VirtualMachineRestoreCheckpoint body)
Restores to a checkpoint in virtual machine.
Parameters:
restoreCheckpoint
public abstract void restoreCheckpoint(VirtualMachineRestoreCheckpoint body, Context context)
Restores to a checkpoint in virtual machine.
Parameters:
start
public abstract void start()
Start virtual machine.
start
public abstract void start(Context context)
Start virtual machine.
Parameters:
stop
public abstract void stop()
Stop virtual machine.
stop
public abstract void stop(StopVirtualMachineOptions body)
Stop virtual machine.
Parameters:
stop
public abstract void stop(StopVirtualMachineOptions body, Context context)
Stop virtual machine.
Parameters:
storageProfile
public abstract StorageProfile storageProfile()
Gets the storageProfile property: Storage properties.
Returns:
systemData
public abstract SystemData systemData()
Gets the systemData property: The system data.
Returns:
tags
public abstract Map<String,String> tags()
Gets the tags property: Resource tags.
Returns:
templateId
public abstract String templateId()
Gets the templateId property: ARM Id of the template resource to use for deploying the vm.
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:
uuid
public abstract String uuid()
Gets the uuid property: Unique ID of the virtual machine.
Returns:
vmmServerId
public abstract String vmmServerId()
Gets the vmmServerId property: ARM Id of the vmmServer resource in which this resource resides.
Returns:
vmName
public abstract String vmName()
Gets the vmName property: VMName is the name of VM on the SCVMM server.
Returns: