Class VirtualMachineInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.avs.fluent.models.VirtualMachineInner
-
public final class VirtualMachineInner extends com.azure.core.management.ProxyResource
Virtual Machine.
-
-
Constructor Summary
Constructors Constructor Description VirtualMachineInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
displayName()
Get the displayName property: Display name of the VM.String
folderPath()
Get the folderPath property: Path to virtual machine's folder starting from datacenter virtual machine folder.String
moRefId()
Get the moRefId property: Virtual machine managed object reference id.VirtualMachineRestrictMovementState
restrictMovement()
Get the restrictMovement property: Whether VM DRS-driven movement is restricted (enabled) or not (disabled).void
validate()
Validates the instance.
-
-
-
Method Detail
-
displayName
public String displayName()
Get the displayName property: Display name of the VM.- Returns:
- the displayName value.
-
moRefId
public String moRefId()
Get the moRefId property: Virtual machine managed object reference id.- Returns:
- the moRefId value.
-
folderPath
public String folderPath()
Get the folderPath property: Path to virtual machine's folder starting from datacenter virtual machine folder.- Returns:
- the folderPath value.
-
restrictMovement
public VirtualMachineRestrictMovementState restrictMovement()
Get the restrictMovement property: Whether VM DRS-driven movement is restricted (enabled) or not (disabled).- Returns:
- the restrictMovement value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-