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) Deprecated.this method will not be publicly exposed in future releases of this package.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) Deprecated.this method will not be publicly exposed in future releases of this package.static Map<Types.VmOperations,
String> Types.toMapOfVmOperationsString
(Object object) Deprecated.this method will not be publicly exposed in future releases of this package.static Set<Types.VmOperations>
Types.toSetOfVmOperations
(Object object) Deprecated.this method will not be publicly exposed in future releases of this package.Methods in com.xensource.xenapi with parameters of type Types.VmOperationsModifier and TypeMethodDescriptionvoid
VM.addToBlockedOperations
(Connection c, Types.VmOperations key, String value) Update list of operations which have been explicitly blocked and an error code Minimum allowed role: vm-admin First published in XenServer 5.0.VM.addToBlockedOperationsAsync
(Connection c, Types.VmOperations key, String value) Update list of operations which have been explicitly blocked and an error code Minimum allowed role: vm-admin First published in XenServer 5.0.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
Update list of operations which have been explicitly blocked and an error code Minimum allowed role: vm-admin First published in XenServer 5.0.Update list of operations which have been explicitly blocked and an error code Minimum allowed role: vm-admin First published in XenServer 5.0.Method parameters in com.xensource.xenapi with type arguments of type Types.VmOperationsModifier and TypeMethodDescriptionvoid
VM.setBlockedOperations
(Connection c, Map<Types.VmOperations, String> value) Update list of operations which have been explicitly blocked and an error code Minimum allowed role: vm-admin First published in XenServer 5.0.VM.setBlockedOperationsAsync
(Connection c, Map<Types.VmOperations, String> value) Update list of operations which have been explicitly blocked and an error code Minimum allowed role: vm-admin First published in XenServer 5.0.