Uses of Enum Class
com.xensource.xenapi.Types.VmOperations
-
Uses of Types.VmOperations in com.xensource.xenapi
Fields in com.xensource.xenapi with type parameters of type Types.VmOperationsModifier and TypeFieldDescriptionVM.Record.allowedOperations
list of the operations allowed in this state.VM.Record.blockedOperations
List of operations which have been explicitly blocked and an error code First published in XenServer 5.0.VM.Record.currentOperations
links each of the running tasks using this object (by reference) to a current_operation enum which describes the nature of the task.Methods in com.xensource.xenapi that return Types.VmOperationsModifier and TypeMethodDescriptionstatic Types.VmOperations
Types.toVmOperations
(Object object) static Types.VmOperations
Returns the enum constant of this class with the specified name.static Types.VmOperations[]
Types.VmOperations.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.xensource.xenapi that return types with arguments of type Types.VmOperationsModifier and TypeMethodDescriptionGet the allowed_operations field of the given VM.Get the blocked_operations field of the given VM.Get the current_operations field of the given VM.static Map<String,
Types.VmOperations> Types.toMapOfStringVmOperations
(Object object) static Map<Types.VmOperations,
String> Types.toMapOfVmOperationsString
(Object object) static Set<Types.VmOperations>
Types.toSetOfVmOperations
(Object object) Methods in com.xensource.xenapi with parameters of type Types.VmOperationsModifier and TypeMethodDescriptionvoid
VM.addToBlockedOperations
(Connection c, Types.VmOperations key, String value) Add the given key-value pair to the blocked_operations field of the given VM.void
VM.assertOperationValid
(Connection c, Types.VmOperations op) Check to see whether this operation is acceptable in the current state of the system, raising an error if the operation is invalid for some reason Minimum allowed role: read-only First published in XenServer 4.0.Check to see whether this operation is acceptable in the current state of the system, raising an error if the operation is invalid for some reason Minimum allowed role: read-only First published in XenServer 4.0.void
Remove the given key and its corresponding value from the blocked_operations field of the given VM.Method parameters in com.xensource.xenapi with type arguments of type Types.VmOperationsModifier and TypeMethodDescriptionvoid
VM.setBlockedOperations
(Connection c, Map<Types.VmOperations, String> blockedOperations) Set the blocked_operations field of the given VM.