Class OlvmVirtualMachine
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.cloudmigrations.model.OlvmVirtualMachine
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220919") public final class OlvmVirtualMachine extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelRepresents a virtual machine.
Note: Objects should always be created or deserialized using theOlvmVirtualMachine.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theOlvmVirtualMachine.Builder, which maintain a set of all explicitly set fields calledOlvmVirtualMachine.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOlvmVirtualMachine.AutoPinningPolicySpecifies if and how the auto CPU and NUMA configuration is applied.static classOlvmVirtualMachine.Builderstatic classOlvmVirtualMachine.CpuPinningPolicyType representing the CPU and NUMA pinning policy.static classOlvmVirtualMachine.NumaTuneModeHow the NUMA topology is applied.static classOlvmVirtualMachine.StorageErrorResumeBehaviorDetermines how the virtual machine will be resumed after storage error.
-
Constructor Summary
Constructors Constructor Description OlvmVirtualMachine(OlvmVirtualMachine.AutoPinningPolicy autoPinningPolicy, OlvmBios bios, String comment, OlvmConsole console, OlvmCpu cpu, OlvmVirtualMachine.CpuPinningPolicy cpuPinningPolicy, Integer cpuShares, Date timeCreated, OlvmVersion customCompatibilityVersion, String customCpuModel, String customEmulatedMachine, List<OlvmCustomProperty> customProperties, Boolean isDeleteProtected, String description, OlvmDisplay display, OlvmDomain domain, String fqdn, OlvmGuestOperatingSystem guestOperatingSystem, String guestTimeZone, Boolean isContainIllegalImages, OlvmHighAvailability highAvailability, OlvmInitialization initialization, Integer ioThreads, OlvmIcon largeIcon, OlvmStorageDomainProperties storageDomainLease, Long memoryInBytes, OlvmMemoryPolicy memoryPolicy, OlvmMigrationOptions migrationPolicy, Integer migrationDowntimeInMs, Boolean isMultiQueuesEnabled, String virtualMachineName, Boolean isNextRunConfigurationExists, OlvmVirtualMachine.NumaTuneMode numaTuneMode, String origin, OlvmOperatingSystem os, OlvmVmPlacementPolicy placementPolicy, Boolean isRunOnce, OlvmSerialNumber serialNumber, OlvmIcon smallIcon, Boolean isSoundcardEnabled, Boolean isStartPaused, Date timeStart, Boolean isStateless, OlvmVmStatus status, String statusDetail, String stopReason, Date timeStop, OlvmVirtualMachine.StorageErrorResumeBehavior storageErrorResumeBehavior, String timezone, Boolean isTpmEnabled, Boolean isTunnelMigration, OlvmVmType type, OlvmUsb usb, Boolean isUseLatestTemplateVersion, Boolean isVirtioScsiEnabled, Integer virtioScsiMultiQueues, Boolean isVirtioScsiMultiQueuesEnabled)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OlvmVirtualMachine.Builderbuilder()Create a new builder.booleanequals(Object o)OlvmVirtualMachine.AutoPinningPolicygetAutoPinningPolicy()Specifies if and how the auto CPU and NUMA configuration is applied.OlvmBiosgetBios()StringgetComment()Free text containing comments about this object.OlvmConsolegetConsole()OlvmCpugetCpu()OlvmVirtualMachine.CpuPinningPolicygetCpuPinningPolicy()Type representing the CPU and NUMA pinning policy.IntegergetCpuShares()Number of CPU SharesOlvmVersiongetCustomCompatibilityVersion()StringgetCustomCpuModel()Custom CPU modelStringgetCustomEmulatedMachine()Custom Emulated machineList<OlvmCustomProperty>getCustomProperties()Custom properties applied to the vNIC profile.StringgetDescription()A human-readable description in plain text.OlvmDisplaygetDisplay()OlvmDomaingetDomain()StringgetFqdn()Fully qualified domain name of the virtual machine.OlvmGuestOperatingSystemgetGuestOperatingSystem()StringgetGuestTimeZone()What time zone is used by the virtual machine (as returned by guest agent).OlvmHighAvailabilitygetHighAvailability()OlvmInitializationgetInitialization()IntegergetIoThreads()For performance tuning of IO threading.BooleangetIsContainIllegalImages()Indicates whether the virtual machine has snapshots with disks in ILLEGAL state.BooleangetIsDeleteProtected()If true, the virtual machine cannot be deleted.BooleangetIsMultiQueuesEnabled()If true, each virtual interface will get the optimal number of queues, depending on the available virtual Cpus.BooleangetIsNextRunConfigurationExists()Indicates if virtual machine configuration has been changed and requires restart of the virtual machine.BooleangetIsRunOnce()If true, the virtual machine has been started using the run once command, meaning it???s configuration might differ from the stored one for the purpose of this single run.BooleangetIsSoundcardEnabled()If true, the sound card is added to the virtual machine.BooleangetIsStartPaused()If true, the virtual machine will be initially in ‘paused’ state after start.BooleangetIsStateless()If true, the virtual machine is stateless - it???s state (disks) are rolled-back after shutdown.BooleangetIsTpmEnabled()If true, a TPM device is added to the virtual machine.BooleangetIsTunnelMigration()If true, the network data transfer will be encrypted during virtual machine live migration.BooleangetIsUseLatestTemplateVersion()If true, the virtual machine is reconfigured to the latest version of it???s template when it is started.BooleangetIsVirtioScsiEnabled()Indicates if Virtio SCSI Support is enabled.BooleangetIsVirtioScsiMultiQueuesEnabled()If true, the Virtio-SCSI devices will obtain a number of multiple queues depending on the available virtual Cpus and disks, or according to the specified virtioScsiMultiQueuesOlvmIcongetLargeIcon()LonggetMemoryInBytes()The virtual machine???s memory, in bytes.OlvmMemoryPolicygetMemoryPolicy()IntegergetMigrationDowntimeInMs()Maximum time the virtual machine can be non responsive during its live migration to another host in ms.OlvmMigrationOptionsgetMigrationPolicy()OlvmVirtualMachine.NumaTuneModegetNumaTuneMode()How the NUMA topology is applied.StringgetOrigin()The origin of this virtual machine.OlvmOperatingSystemgetOs()OlvmVmPlacementPolicygetPlacementPolicy()OlvmSerialNumbergetSerialNumber()OlvmIcongetSmallIcon()OlvmVmStatusgetStatus()StringgetStatusDetail()Human readable detail of current status.StringgetStopReason()The reason the virtual machine was stopped.OlvmStorageDomainPropertiesgetStorageDomainLease()OlvmVirtualMachine.StorageErrorResumeBehaviorgetStorageErrorResumeBehavior()Determines how the virtual machine will be resumed after storage error.DategetTimeCreated()Creation time.DategetTimeStart()The date in which the virtual machine was started.DategetTimeStop()The date in which the virtual machine was stopped.StringgetTimezone()Name of time zone.OlvmVmTypegetType()OlvmUsbgetUsb()IntegergetVirtioScsiMultiQueues()Number of queues for a Virtio-SCSI contoller this field requires virtioScsiMultiQueuesEnabled to be true see virtioScsiMultiQueuesEnabled for more infoStringgetVirtualMachineName()Name of the property.inthashCode()OlvmVirtualMachine.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
OlvmVirtualMachine
@Deprecated @ConstructorProperties({"autoPinningPolicy","bios","comment","console","cpu","cpuPinningPolicy","cpuShares","timeCreated","customCompatibilityVersion","customCpuModel","customEmulatedMachine","customProperties","isDeleteProtected","description","display","domain","fqdn","guestOperatingSystem","guestTimeZone","isContainIllegalImages","highAvailability","initialization","ioThreads","largeIcon","storageDomainLease","memoryInBytes","memoryPolicy","migrationPolicy","migrationDowntimeInMs","isMultiQueuesEnabled","virtualMachineName","isNextRunConfigurationExists","numaTuneMode","origin","os","placementPolicy","isRunOnce","serialNumber","smallIcon","isSoundcardEnabled","isStartPaused","timeStart","isStateless","status","statusDetail","stopReason","timeStop","storageErrorResumeBehavior","timezone","isTpmEnabled","isTunnelMigration","type","usb","isUseLatestTemplateVersion","isVirtioScsiEnabled","virtioScsiMultiQueues","isVirtioScsiMultiQueuesEnabled"}) public OlvmVirtualMachine(OlvmVirtualMachine.AutoPinningPolicy autoPinningPolicy, OlvmBios bios, String comment, OlvmConsole console, OlvmCpu cpu, OlvmVirtualMachine.CpuPinningPolicy cpuPinningPolicy, Integer cpuShares, Date timeCreated, OlvmVersion customCompatibilityVersion, String customCpuModel, String customEmulatedMachine, List<OlvmCustomProperty> customProperties, Boolean isDeleteProtected, String description, OlvmDisplay display, OlvmDomain domain, String fqdn, OlvmGuestOperatingSystem guestOperatingSystem, String guestTimeZone, Boolean isContainIllegalImages, OlvmHighAvailability highAvailability, OlvmInitialization initialization, Integer ioThreads, OlvmIcon largeIcon, OlvmStorageDomainProperties storageDomainLease, Long memoryInBytes, OlvmMemoryPolicy memoryPolicy, OlvmMigrationOptions migrationPolicy, Integer migrationDowntimeInMs, Boolean isMultiQueuesEnabled, String virtualMachineName, Boolean isNextRunConfigurationExists, OlvmVirtualMachine.NumaTuneMode numaTuneMode, String origin, OlvmOperatingSystem os, OlvmVmPlacementPolicy placementPolicy, Boolean isRunOnce, OlvmSerialNumber serialNumber, OlvmIcon smallIcon, Boolean isSoundcardEnabled, Boolean isStartPaused, Date timeStart, Boolean isStateless, OlvmVmStatus status, String statusDetail, String stopReason, Date timeStop, OlvmVirtualMachine.StorageErrorResumeBehavior storageErrorResumeBehavior, String timezone, Boolean isTpmEnabled, Boolean isTunnelMigration, OlvmVmType type, OlvmUsb usb, Boolean isUseLatestTemplateVersion, Boolean isVirtioScsiEnabled, Integer virtioScsiMultiQueues, Boolean isVirtioScsiMultiQueuesEnabled)
Deprecated.
-
-
Method Detail
-
builder
public static OlvmVirtualMachine.Builder builder()
Create a new builder.
-
toBuilder
public OlvmVirtualMachine.Builder toBuilder()
-
getAutoPinningPolicy
public OlvmVirtualMachine.AutoPinningPolicy getAutoPinningPolicy()
Specifies if and how the auto CPU and NUMA configuration is applied.- Returns:
- the value
-
getBios
public OlvmBios getBios()
-
getComment
public String getComment()
Free text containing comments about this object.- Returns:
- the value
-
getConsole
public OlvmConsole getConsole()
-
getCpu
public OlvmCpu getCpu()
-
getCpuPinningPolicy
public OlvmVirtualMachine.CpuPinningPolicy getCpuPinningPolicy()
Type representing the CPU and NUMA pinning policy.- Returns:
- the value
-
getCpuShares
public Integer getCpuShares()
Number of CPU Shares- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
Creation time.- Returns:
- the value
-
getCustomCompatibilityVersion
public OlvmVersion getCustomCompatibilityVersion()
-
getCustomCpuModel
public String getCustomCpuModel()
Custom CPU model- Returns:
- the value
-
getCustomEmulatedMachine
public String getCustomEmulatedMachine()
Custom Emulated machine- Returns:
- the value
-
getCustomProperties
public List<OlvmCustomProperty> getCustomProperties()
Custom properties applied to the vNIC profile.- Returns:
- the value
-
getIsDeleteProtected
public Boolean getIsDeleteProtected()
If true, the virtual machine cannot be deleted.- Returns:
- the value
-
getDescription
public String getDescription()
A human-readable description in plain text.- Returns:
- the value
-
getDisplay
public OlvmDisplay getDisplay()
-
getDomain
public OlvmDomain getDomain()
-
getFqdn
public String getFqdn()
Fully qualified domain name of the virtual machine.- Returns:
- the value
-
getGuestOperatingSystem
public OlvmGuestOperatingSystem getGuestOperatingSystem()
-
getGuestTimeZone
public String getGuestTimeZone()
What time zone is used by the virtual machine (as returned by guest agent).- Returns:
- the value
-
getIsContainIllegalImages
public Boolean getIsContainIllegalImages()
Indicates whether the virtual machine has snapshots with disks in ILLEGAL state.- Returns:
- the value
-
getHighAvailability
public OlvmHighAvailability getHighAvailability()
-
getInitialization
public OlvmInitialization getInitialization()
-
getIoThreads
public Integer getIoThreads()
For performance tuning of IO threading.- Returns:
- the value
-
getLargeIcon
public OlvmIcon getLargeIcon()
-
getStorageDomainLease
public OlvmStorageDomainProperties getStorageDomainLease()
-
getMemoryInBytes
public Long getMemoryInBytes()
The virtual machine???s memory, in bytes.- Returns:
- the value
-
getMemoryPolicy
public OlvmMemoryPolicy getMemoryPolicy()
-
getMigrationPolicy
public OlvmMigrationOptions getMigrationPolicy()
-
getMigrationDowntimeInMs
public Integer getMigrationDowntimeInMs()
Maximum time the virtual machine can be non responsive during its live migration to another host in ms.- Returns:
- the value
-
getIsMultiQueuesEnabled
public Boolean getIsMultiQueuesEnabled()
If true, each virtual interface will get the optimal number of queues, depending on the available virtual Cpus.- Returns:
- the value
-
getVirtualMachineName
public String getVirtualMachineName()
Name of the property.- Returns:
- the value
-
getIsNextRunConfigurationExists
public Boolean getIsNextRunConfigurationExists()
Indicates if virtual machine configuration has been changed and requires restart of the virtual machine.- Returns:
- the value
-
getNumaTuneMode
public OlvmVirtualMachine.NumaTuneMode getNumaTuneMode()
How the NUMA topology is applied.- Returns:
- the value
-
getOrigin
public String getOrigin()
The origin of this virtual machine.- Returns:
- the value
-
getOs
public OlvmOperatingSystem getOs()
-
getPlacementPolicy
public OlvmVmPlacementPolicy getPlacementPolicy()
-
getIsRunOnce
public Boolean getIsRunOnce()
If true, the virtual machine has been started using the run once command, meaning it???s configuration might differ from the stored one for the purpose of this single run.- Returns:
- the value
-
getSerialNumber
public OlvmSerialNumber getSerialNumber()
-
getSmallIcon
public OlvmIcon getSmallIcon()
-
getIsSoundcardEnabled
public Boolean getIsSoundcardEnabled()
If true, the sound card is added to the virtual machine.- Returns:
- the value
-
getIsStartPaused
public Boolean getIsStartPaused()
If true, the virtual machine will be initially in ‘paused’ state after start.- Returns:
- the value
-
getTimeStart
public Date getTimeStart()
The date in which the virtual machine was started.- Returns:
- the value
-
getIsStateless
public Boolean getIsStateless()
If true, the virtual machine is stateless - it???s state (disks) are rolled-back after shutdown.- Returns:
- the value
-
getStatus
public OlvmVmStatus getStatus()
-
getStatusDetail
public String getStatusDetail()
Human readable detail of current status.- Returns:
- the value
-
getStopReason
public String getStopReason()
The reason the virtual machine was stopped.- Returns:
- the value
-
getTimeStop
public Date getTimeStop()
The date in which the virtual machine was stopped.- Returns:
- the value
-
getStorageErrorResumeBehavior
public OlvmVirtualMachine.StorageErrorResumeBehavior getStorageErrorResumeBehavior()
Determines how the virtual machine will be resumed after storage error.- Returns:
- the value
-
getTimezone
public String getTimezone()
Name of time zone.- Returns:
- the value
-
getIsTpmEnabled
public Boolean getIsTpmEnabled()
If true, a TPM device is added to the virtual machine.- Returns:
- the value
-
getIsTunnelMigration
public Boolean getIsTunnelMigration()
If true, the network data transfer will be encrypted during virtual machine live migration.- Returns:
- the value
-
getType
public OlvmVmType getType()
-
getUsb
public OlvmUsb getUsb()
-
getIsUseLatestTemplateVersion
public Boolean getIsUseLatestTemplateVersion()
If true, the virtual machine is reconfigured to the latest version of it???s template when it is started.- Returns:
- the value
-
getIsVirtioScsiEnabled
public Boolean getIsVirtioScsiEnabled()
Indicates if Virtio SCSI Support is enabled.- Returns:
- the value
-
getVirtioScsiMultiQueues
public Integer getVirtioScsiMultiQueues()
Number of queues for a Virtio-SCSI contoller this field requires virtioScsiMultiQueuesEnabled to be true see virtioScsiMultiQueuesEnabled for more info- Returns:
- the value
-
getIsVirtioScsiMultiQueuesEnabled
public Boolean getIsVirtioScsiMultiQueuesEnabled()
If true, the Virtio-SCSI devices will obtain a number of multiple queues depending on the available virtual Cpus and disks, or according to the specified virtioScsiMultiQueues- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-