Klasse Virtualized
java.lang.Object
de.bytestore.hostinger.entity.hosting.Virtualized
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibunggetArch()
getCores()
getId()
getName()
getOs()
getOwner()
io.jmix.core.FileRef
getSwap()
getType()
void
kill()
Stops and terminates the current virtualized object by calling the kill method of the VirtualizationHandler class.void
pause()
Pauses the virtualized object by calling the pause method of the VirtualizationHandler class.void
void
reset()
Resets the virtualized object to its initial state.void
resume()
Resumes the virtualized object by calling the resume method of the VirtualizationHandler class.void
void
setAutostart
(Boolean autostart) void
setBwlimit
(Integer bwlimit) void
void
setCpulimit
(Integer cpulimit) void
setCreatedBy
(User createdBy) void
setCreatedDate
(OffsetDateTime createdDate) void
void
void
setLastModifiedBy
(String lastModifiedBy) void
setLastModifiedDate
(OffsetDateTime lastModifiedDate) void
setMachine
(Machines machine) void
void
setMemoryUnit
(MemoryUnit memoryUnit) void
void
setNameserver
(String nameserver) void
setNetwork
(List<NetworkConfig> network) void
void
void
setPassword
(String password) void
setPublicKeys
(String publicKeys) void
setSearchdomain
(String searchdomain) void
setSshKey
(io.jmix.core.FileRef publicKey) void
setStorage
(String storage) void
void
setSwapUnit
(SwapUnit swapUnit) void
setTimezone
(String timezone) void
setType
(VirtualizedType type) void
start()
Starts the virtualization process.stats()
Retrieves the statistics of the virtualized object.status()
Retrieves the current status of the virtualized object.void
stop()
Stops the virtualized object by calling the stop method of the VirtualizationHandler class.vnc()
Connects to a VNC session using the specified configuration.
-
Konstruktordetails
-
Virtualized
public Virtualized()
-
-
Methodendetails
-
getPublicKeys
-
setPublicKeys
-
setSshKey
public void setSshKey(io.jmix.core.FileRef publicKey) -
getSshKey
public io.jmix.core.FileRef getSshKey() -
getName
-
setName
-
getNetwork
-
setNetwork
-
getPassword
-
setPassword
-
getCpulimit
-
setCpulimit
-
getNameserver
-
setNameserver
-
getSearchdomain
-
setSearchdomain
-
getTimezone
-
setTimezone
-
getBwlimit
-
setBwlimit
-
getStorage
-
setStorage
-
getOwner
-
setOwner
-
getArch
-
setArch
-
getCustom
-
setCustom
-
getOs
-
setOs
-
getType
-
setType
-
getMachine
-
setMachine
-
getCreatedBy
-
setCreatedBy
-
setSwapUnit
-
getSwapUnit
-
setMemoryUnit
-
getMemoryUnit
-
getLastModifiedDate
-
setLastModifiedDate
-
getLastModifiedBy
-
setLastModifiedBy
-
getCreatedDate
-
setCreatedDate
-
getId
-
setId
-
getCores
-
setCores
-
getSwap
-
setSwap
-
getMemory
-
setMemory
-
getAutostart
-
setAutostart
-
postConstruct
@PostConstruct public void postConstruct() -
vnc
Connects to a VNC session using the specified configuration.- Gibt zurück:
- The VNCSession object representing the connected session.
-
reset
public void reset()Resets the virtualized object to its initial state. This method calls the 'reset' method of the VirtualizationHandler class, passing the current object as a parameter. -
stop
public void stop()Stops the virtualized object by calling the stop method of the VirtualizationHandler class. -
status
Retrieves the current status of the virtualized object.- Gibt zurück:
- The ProcessStatus enum value representing the current status.
-
start
public void start()Starts the virtualization process. This method invokes the start method of the VirtualizationHandler class. -
resume
public void resume()Resumes the virtualized object by calling the resume method of the VirtualizationHandler class. This method should be called to resume a paused virtualized object. -
kill
public void kill()Stops and terminates the current virtualized object by calling the kill method of the VirtualizationHandler class. This method should be called to forcefully stop and terminate a running virtualized object. After calling this method, the virtualized object can no longer be restarted or resumed. -
pause
public void pause()Pauses the virtualized object by calling the pause method of the VirtualizationHandler class. This method should be called to pause a running virtualized object. -
stats
Retrieves the statistics of the virtualized object.- Gibt zurück:
- The ProcessStats object representing the statistics of the virtualized object.
-