Package com.xensource.xenapi
Class Types
java.lang.Object
com.xensource.xenapi.Types
This class holds enum types and exceptions.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn activation key can only be applied when the edition is set to 'free'.static classThe specified IP address violates the VIF locking configuration.static enumstatic enumstatic classFailed to apply guidance on a host after updating.static classFailed to apply a livepatch.static classFailed to apply updates on a host.static classThe operation could not be performed because applying updates is in progress.static classExternal authentication for this server is already enabled.static classThe host failed to disable external authentication.static classThe host failed to disable external authentication.static classThe host failed to disable external authentication.static classThe host failed to enable external authentication.static classThe host failed to enable external authentication.static classThe host failed to enable external authentication.static classThe host failed to enable external authentication.static classThe host failed to enable external authentication.static classThe host failed to enable external authentication.static classThe host failed to enable external authentication.static classExternal authentication is disabled, unable to resolve subject name.static classError querying the external directory service.static classUnknown type of external authentication.static classThe backup could not be performed because the backup script failed.static classstatic classThrown if the response from the server contains an invalid status.static classTimeout trying to balloon down memory before VM migration.static classCannot create the repository as the url is blocked, please check your settings.static enumstatic classThe bootloader returned an errorstatic classThe specified bridge already exists.static classCould not find bridge required by VM.static classCannot sync bundle as the bundle repository is not enabled.static classThe bundle repository already exists.static classSyncing with bundle repository failed.static classFailed to unpack bundle file.static classThis PIF is a bond member and cannot have a tunnel on it.static classThis is a network SR-IOV logical PIF and cannot have a tunnel on it.static classThis is a vlan PIF on network SR-IOV and cannot have a tunnel on it.static classThis PIF is a bond member and cannot have a VLAN on it.static classThe properties of this PIF cannot be changed.static classCannot forward messages because the server cannot be contacted.static classAn HA statefile could not be created, perhaps because no SR with the appropriate capability was found.static classThe disaster recovery task could not be cleanly destroyed.static classYou tried to destroy a system network: these cannot be destroyed.static classCould not enable redo log.static classThis server cannot be evacuated.static classThe requested update could not be obtained from the coordinator.static classThe backup partition to stream the update to cannot be found.static classThe requested update could not be found.static classThis operation could not be performed because the state partition could not be foundstatic classThe requested update could not be found.static classThis is a network SR-IOV logical PIF and cannot do forget on itstatic classThe currently enabled repositories do not support periodic automatic updates.static classThis PIF is a bond member and cannot be plugged.static classCannot plug VIFstatic classThe power-state of a control domain cannot be reset.static classCannot restart device models of paused VMs residing on the host.static classThe currently enabled repositories do not support synchronization of updates.static classA certificate already exists with the specified name.static classThe specified certificate is corrupt or unreadable.static classThe specified certificate does not exist.static classNo purpose is specified for the provided certificate.static classThe certificate library is corrupt or unreadable.static classThe specified certificate name is invalid.static enumstatic enumstatic classThe system rejected the password change request; perhaps the new password was too short?static enumstatic classA cluster already exists in the pool.static classThe operation could not be performed because cluster creation is in progress.static classAn operation failed as it expected the cluster to have only one node but found multiple cluster_hosts.static classAn SR is using clustered local storage.static classForce destroy failed on a Cluster_host while force destroying the cluster.static classThe last cluster host cannot be destroyed.static classCluster_host operation failed as the cluster_host has not joined the cluster.static enumstatic classAn operation was attempted while clustering was disabled on the cluster_host.static classAn operation was attempted while clustering was enabled on the cluster_host.static enumstatic classThe cluster stack is still in use by at least one plugged PBD.static classThe operation could not be performed because other repository(ies) is(are) already being configured.static enumstatic classCould not find a network interface with the specified device name and MAC address.static classAn error occurred while attempting to import a database from a metadata VDIstatic classThe IGMP Snooping setting cannot be applied for some of the host, network(s).static classThe CPU does not support masking of features.static classA CRL already exists with the specified name.static classThe specified CRL is corrupt or unreadable.static classThe specified CRL does not exist.static classThe specified CRL name is invalid.static classYou attempted an operation which would have resulted in duplicate keys in the database.static classThe default SR reference does not point to a valid SRstatic classThe device is already attached to a VMstatic classThe device is not currently attachedstatic classA device with the name given already exists on the selected VMstatic classA timeout happened while attempting to attach a device to a VM.static classThe VM rejected the attempt to detach the device.static classA timeout happened while attempting to detach a device from a VM.static classThe operation could not be performed because the VBD was not connected to the VM.static classFailed to disable SSH access.static classSome of hosts failed to disable SSH access.static classAll VBDs of type 'disk' must be read/write for HVM guestsstatic classAn internal error generated by the domain builder.static classThe operation could not be performed because a domain still exists for the specified VM.static enumstatic classThis MAC seed is already in use by a VM in the poolstatic classA PIF with this specified device name already exists.static classCannot restore this VM because it would create a duplicatestatic classFailed to enable SSH access.static classSome of hosts failed to enable SSH access.static classThe event.from token could not be parsed.static enumstatic classSome events have been lost from the queue and cannot be retrieved.static classThe server failed to parse your event subscription.static classAn emulator required to run this VM failed to startstatic classThe VM is set up to use a feature that requires it to boot as HVM.static classThe use of this feature is restricted.static classThe value specified is of the wrong typestatic classFailed to get available updates from a host.static classFailed to get available updates from the pool.static classThe GPU group does not contain any PGPUs.static classThe GPU group contains active PGPUs and cannot be deleted.static classThe GPU group contains active VGPUs and cannot be deleted.static classThis server cannot accept the proposed new coordinator setting at this time.static classThis operation cannot be performed because creating or deleting a bond involving the management interface is not allowed while HA is on.static classThis operation cannot be performed because the referenced network is not properly shared.static classThis operation cannot be performed because the referenced SR is not properly shared.static classThe operation could not be performed because HA disable is in progressstatic classThe operation could not be performed because HA enable is in progressstatic classHA could not be enabled on the Pool because a liveset could not be formed: check storage and network heartbeat paths.static classThe server could not join the liveset because the HA daemon failed to start.static classThe server could not join the liveset because the HA daemon could not access the heartbeat disk.static classThe operation failed because the HA software on the specified server could not see a subset of other servers.static classThe operation could not be performed while the server is still armed; it must be disarmed first.static classThe operation could not be performed because HA is enabled on the Poolstatic classThis server lost access to the HA statefile.static classYou gave an invalid object reference.static classCannot find a plan for placement of VMs as there are no other servers available.static classThe operation could not be performed because HA is not enabled on the Poolstatic classThe operation could not be performed because the HA software is not installed on this server.static classThis operation cannot be performed because it would invalidate VM failover planning such that the system would be unable to guarantee to restart protected VMs after a Host failure.static classThis server cannot join the pool because the pool has HA enabled but this server has HA disabled.static classServer cannot rejoin pool because it should have fenced (it is not in the coordinator's partition).static classHA can only be enabled for 2 servers or more.static enumstatic classThis server failed in the middle of an automatic failover operation and needs to retry the failover action.static classServer cannot attach network (in the case of NIC bonding, this may be because attaching the network on this server would require other networks - that are currently active - to be taken down).static classThe pool coordinator host cannot be removed.static classThe metrics of this server could not be read.static classThe host CDROM drive does not contain a valid CDstatic classThe specified server is disabled.static classThe specified server is disabled and can only be re-enabled manually with Host.enable.static classThe specified server is disabled and cannot be re-enabled until after it has rebooted.static enumstatic classNo hardware present for this host driver variantstatic classThis host is being evacuated.static classHost evacuation is required before applying updates.static classThe server failed to acquire an IP address on its management interface and therefore cannot contact the coordinator.static classThis server cannot be forgotten because there are user VMs still running.static classCannot perform operation as the host is running in emergency mode.static classThis operation cannot be completed as the host is in use by (at least) the object of type and ref echoed below.static classThis operation cannot be completed because the server is still live.static classYou cannot make regular API calls directly on a supporter.static classThe host is its own supporter.static classThe coordinator reports that it cannot talk back to the supporter on the supplied management IP address.static classThe server name is invalid.static classThis operation cannot be performed because the host is not disabled.static classNot enough server memory is available to perform this operation.static classThe host does not have enough pCPUs to run the VM.static classThis operation cannot be completed as the server is not live.static enumstatic enumstatic classYou attempted an operation which involves a host which could not be contacted.static classOperation could not be performed on the host because there is pending mandatory update guidance on it.static classThis operation cannot be completed because the server power on mode is disabled.static enumstatic classThe hosts in this pool are not compatible.static classThe hosts in this pool are not homogeneous.static classThe host toolstack is still initialising.static classThe coordinator says the server is not known to it.static classThe host xapi version is higher than the one in the coordinatorstatic classThe specified VBD device is not recognized: please use a non-negative integerstatic classThe VM could not be imported.static classThe VM could not be imported because attached disks could not be found.static classCannot import VM using chunked encoding.static classThe VM could not be imported because a required object could not be found.static classThe VM could not be imported; the end of the file was reached prematurely.static classSome data checksums were incorrect; the VM may be corrupt.static classThe VM could not be imported because the XVA file is invalid: an unexpected file was encountered.static classThe import failed because this export has been created by a different (incompatible) product versionstatic classThis operation cannot be performed, because it is incompatible with the currently active HA cluster stack.static classThese PIFs cannot be bonded, because their properties are different.static classThe specified SR is incompatible with the selected HA cluster stack.static classThe specified interface cannot be used because it has no IP addressstatic classThe server failed to handle your request, due to an internal error.static classThe base url in the repository is invalid.static classA required parameter contained an invalid CIDR address (<addr>/<prefix length>)static classThe cluster stack provided is not supported.static classThe device name is invalidstatic classThe edition you supplied is invalid.static classThe given feature string is not valid.static classThe GPG public key file name in the repository is invalid.static classA required parameter contained an invalid IP addressstatic classThe NTP configuration is invalid.static classThe uploaded patch file is invalidstatic classThe uploaded patch file is invalid.static classThe repomd.xml is invalid.static classThe repository domain allowlist has some invalid domains.static classThe repository proxy username/password is invalid.static classThe repository proxy URL is invalid.static classThe uploaded update package is invalid.static classThe updateinfo.xml is invalid.static classInvalid day of the week chosen for weekly update sync.static classThe value given is invalidstatic enumstatic enumstatic classCannot create a VLAN or tunnel on top of a tunnel access PIF - use the underlying transport PIF instead.static classThe server joining the pool cannot already be a coordinator of another pool.static classThe server joining the pool cannot contain any shared storage.static classThe server joining the pool cannot have any running or suspended VMs.static classThe server joining the pool cannot have any running VMs.static classThe host joining the pool cannot have any VMs with active tasks.static classThere was an error connecting to the host while joining it in the pool.static classThere was an error connecting to the server.static enumstatic classThis operation is not allowed because your license lacks a needed feature.static classCannot downgrade license while in pool.static classThe license for the edition you requested is not available.static classThis server cannot join a pool because its license does not support pooling.static classHA cannot be enabled because this server's license does not allow it.static classYour license has expired.static classThis type of license file is for previous versions of the server.static classHost and pool have incompatible licenses (editions).static classThere was an error processing your license.static enumstatic classA VDI with the specified location already exists within the SRstatic classThe MAC address specified does not exist on this server.static classThe MAC address specified is not valid.static classThe MAC address specified still exists on this server.static classYou tried to add a key-value pair to a map, but that key is already there.static classThe dynamic memory range does not satisfy the following constraint.static classThe dynamic memory range violates constraint static_min = dynamic_min = dynamic_max = static_max.static classThe dynamic memory range violates constraint static_min <= dynamic_min <= dynamic_max <= static_max.static classThis message has been deprecated.static classYou tried to call a method that does not exist.static classYou tried to call a method with the incorrect number of parameters.static classThis function is no longer available.static classThe VDI mirroring cannot be performedstatic classThe license-server connection details (address or port) were missing or incomplete.static classThere is more than one update repository being enabled.static classYou tried to create a PIF, but the network you tried to attach it to is already attached to some other PIF, and so the creation failed.static classThe network contains active PIFs and cannot be deleted.static classThe network contains active VIFs and cannot be deleted.static enumstatic classThe PIF is not compatible with the selected SR-IOV networkstatic classVLAN on the PIF is not compatible with the selected SR-IOV VLAN networkstatic classYou tried to add a purpose to a network but the new purpose is not compatible with an existing purpose of the network or other networks.static classThe network is incompatible with bondstatic classThe network is incompatible with sriovstatic classThe network is incompatible with tunnelstatic classThe network is incompatible with vlan on bridgestatic classThe network is incompatible with vlan on sriovstatic enumstatic enumstatic classThe PIF selected for the SR-IOV network is already enabledstatic classFailed to disable SR-IOV on PIFstatic classFailed to enable SR-IOV on PIFstatic classThere is insufficient capacity for VF reservationstatic classThe network is not managed by xapi.static classNo other cluster host was reachable when joiningstatic classClustering is not enabled on this host or pool.static classThere were no servers available to complete the specified operation.static classThe upper limit of active redo log instances was reached.static classNo update repositories have been configured.static classThere is no repository being enabled.static classThis command is not allowed on the OEM edition.static classThe operation is not allowed on the host when the NTP is enabled.static classThe function is not implementedstatic classThis pool is not in emergency mode.static classThis operation is not supported during an upgrade.static classThe given VM is not registered as a system domain.static classThe provided certificate is not a trusted certificate.static classThe NVidia GPU is not configured for SR-IOV as expectedstatic classNvidia tools error.static classThe specified object no longer exists.static enumstatic enumstatic classThis command is only allowed on the OEM edition.static enumstatic enumstatic classThis operation needs the OpenVSwitch networking backend to be enabled on all hosts in the pool.static classYou attempted an operation that was explicitly blocked (see the blocked_operations field of the given object).static classYou attempted an operation that was not allowed.static classSome VMs belonging to the appliance threw an exception while carrying out the specified operationstatic enumstatic classAnother operation involving the object is currently in progressstatic classThere is not enough space to upload the updatestatic classThis patch has already been appliedstatic classThe uploaded patch file already existsstatic classThe patch apply failed.static classThe patch apply failed: there are backup files created while applying patch.static classThe specified patch is applied and cannot be destroyed.static classTools ISO must be ejected from all running VMs.static classThe patch pre-check stage failed: the server does not have enough space.static classThe patch pre-check stage failed: prerequisite patches are missing.static classThe patch pre-check stage failed with an unknown error.static classThe patch pre-check stage failed: there are one or more VMs still running on the server.static classThe patch pre-check stage failed: the server is of an incorrect build.static classThe patch pre-check stage failed: the server is of an incorrect version.static classA PBD already exists connecting the SR to the server.static enumstatic classCaller not allowed to perform this operation.static enumstatic classThere is insufficient capacity on this PGPU to run the VGPU.static classThis PGPU is currently in use by running VMs.static classPGPU type not compatible with destination group.static classThe operation you requested cannot be performed because the specified PIF allows unplug.static classThis operation cannot be performed because the pif is bonded.static classOnly one PIF on a bond is allowed to have an IP configuration.static classA bond must consist of at least two member interfacesstatic classYou cannot bond interfaces across different servers.static classAn unknown error occurred while attempting to configure an interface.static classThe specified device was not found.static classThe operation you requested cannot be performed because the specified PIF does not allow unplug.static classThe operation you requested cannot be performed because the specified PIF has FCoE SR in use.static classPIF has no IP configuration (mode currently set to 'none')static classPIF has no IPv6 configuration (mode currently set to 'none')static enumstatic classThe primary address types are not compatiblestatic classThe operation you requested cannot be performed because the specified PIF is the management interface.static classYou tried to perform an operation which is only available on physical PIFstatic classThe selected PIF is not capable of network SR-IOVstatic classYou tried to destroy a PIF, but it represents an aspect of the physical host configuration, and so cannot be destroyed.static classYou tried to create a bond on top of a network SR-IOV logical PIF - use the underlying physical PIF insteadstatic classYou tried to create a VLAN on top of another VLAN - use the underlying physical PIF/bond insteadstatic classCluster_host creation failed as the PIF provided is not attached to the host.static classThis host has no PIF on the given network.static classThe PIF is still related with a network SR-IOVstatic classOperation cannot proceed while a tunnel exists on this interface.static classThe operation you requested cannot be performed because the specified PIF is not managed by xapi.static classYou tried to create a PIF, but it already exists.static classOperation cannot proceed while a VLAN exists on this interface.static enumstatic enumstatic classExternal authentication is already enabled for at least one server in this pool.static classThe pool failed to disable the external authentication of at least one host.static classExternal authentication has been disabled with errors: Some AD machine accounts were not disabled on the AD server due to invalid account.static classExternal authentication has been disabled with errors: Your AD machine account was not disabled on the AD server as permission was denied.static classExternal authentication has been disabled with errors: Some AD machine accounts were not disabled on the AD server due to invalid credentials.static classThe pool failed to enable external authentication.static classThe pool failed to enable external authentication.static classThe pool failed to enable external authentication.static classThe pool failed to enable external authentication.static classThe pool failed to enable external authentication.static classThe pool failed to enable external authentication.static classThe pool failed to enable external authentication.static classThe pool failed to enable external authentication.static enumstatic classCannot join pool whose external authentication configuration is different.static classThe host joining the pool has different CA certificates from the pool coordinator while using the same name, uninstall them and try again.static classThe host joining the pool must not have any bonds.static classThe host joining the pool must not have any network SR-IOVs.static classThe host joining the pool must not have any non-management vlans.static classThe host joining the pool must not have any tunnels.static classThe host joining the pool must have the same management vlan.static classThe host joining the pool must have one and only one IP on the clustering networkstatic classThe server joining the pool must have a physical management NIC (i.e.static classThe host joining the pool must have the same API version as the pool coordinator.static classThe host joining the pool must have the same database schema as the pool coordinator.static classThe server joining the pool must have the same product version as the pool coordinator.static classThe host joining the pool must not have any bonds, VLANs or tunnels.static classThe joining host has a trusted certificate identical to one on the pool coordinator but with different purpose.static classThe host attempted to join a pool with clustering enabled on a non-management VLAN network, which is not supported.static classThe host joining the pool has an incompatible set of sm features from the pool coordinator.static enumstatic classThe provision call failed because it ran out of space.static classThe provision call can only be invoked on templates, not regular VMs.static classThe VDI corresponding to this PUSB has existing VBDs.static classThe PVS site already has cache storage configured for the host.static classThe PVS cache storage is in use by the site and cannot be removed.static classThe VIF is already associated with a PVS proxystatic classThe VM has a VIF, with a higher device number than the new VIF, that uses a PVS proxy.static enumstatic classThe address specified is already in use by an existing PVS_server objectstatic classThe PVS site contains running proxies.static classThe PVS site contains servers and cannot be forgotten.static classThe VIF used by PVS proxy must be the one with the lowest device numberstatic classRBAC permission denied.static interfaceInterface for all Record classesstatic classThe operation could not be performed because a redo log is enabled on the Pool.static classIf the bundle repository or remote_pool repository is enabled, it should be the only enabled repository of the pool.static classThe repository already exists.static classFailed to clean up local repository on coordinator.static classThe repository is in use.static classSyncing with remote YUM repository failed.static classThe operation you requested cannot be performed because the specified PIF is currently unplugged.static classThe restore could not be performed because this backup has been created by a different (incompatible) product versionstatic classThe restore could not be performed because the restore script failed.static classThe restore could not be performed because the server's current management interface is not in the backup.static classThe restore could not be performed because a network interface is missingstatic classRole already exists.static classRole cannot be found.static enumstatic classThe provided intermediate certificates are not in a PEM-encoded X509 format.static classThe provided certificate has expired.static classThe provided certificate is not in a PEM-encoded X509 format.static classThe provided key uses an unsupported algorithm.static classThe provided key is not in a PEM-encoded PKCS#8 format.static classThe provided key does not match the provided certificate's public key.static classThe provided RSA key does not have a length between 2048 and 4096.static classThe provided RSA key is using more than 2 primes, expecting only 2.static classThe provided certificate is not valid yet.static classThe provided certificate is not using one of the following SHA2 signature algorithms: SHA256, SHA512.static classThe credentials given by the user are incorrect, so access has been denied, and you have not been issued a session handle.static classThe credentials given by the user are correct, but the user could not be authorized, so access has been denied, and you have not been issued a session handle.static classYou gave an invalid session reference.static classThis session is not registered to receive events.static classSome hosts failed to set console timeout.static classSome hosts failed to set SSH auto mode.static classSome hosts failed to set SSH timeout.static classThe management interface on a supporter cannot be disabled because the supporter would enter emergency mode.static classThe SM plug-in did not respond to a query.static classAttaching this SR failed.static classThere was an SR backend failure.static classThe SR operation cannot be performed because a device underlying the SR is in use by the server.static classCannot migrate a VDI to or from an SR that doesn't support migration.static classThe SR is full.static classThe SR.shared flag cannot be set to false while the SR remains connected to multiple servers.static classThe SR has no attached PBDsstatic classThe SR is still connected to a host via a PBD.static enumstatic classThe SR could not be destroyed because the 'indestructible' flag was set on it.static enumstatic classThe SR is currently being used as a local cache SR.static classThe SR is not attached.static classThe SR operation cannot be performed because the SR is not empty.static classThe PBD could not be plugged because the SR is in use by another host and is not marked as sharable.static classThe SR backend does not support the operation (check the SR's allowed operations)static classThe operation cannot be performed until the SR has been upgradedstatic classThe source SR does not have sufficient temporary space available to proceed the operation.static classThe suspend SR does not have sufficient free space to store the VM suspend image.static classThe SR is currently unhealthy.static classThe SR could not be connected because the driver was not recognised.static classAn SR with that uuid already exists.static classThe operation could not proceed because necessary VDIs were already locked at the storage level.static classThe remote system's SSL certificate failed to verify against our certificate library.static enumstatic classSubject already exists.static classSubject cannot be resolved by the external directory service.static classThe suspend image of a checkpoint is not accessible from the host on which the VM is runningstatic classThe operation could not be performed because syncing bundle is in progress.static classThe operation could not be performed because syncing updates is in progress.static classVM.sysprep error with details in the messagestatic classYou must use tar output to retrieve system status from an OEM server.static classRetrieving system status from the host failed.static enumstatic classThe request was asynchronously canceled.static enumstatic enumstatic classThe next scheduled telemetry data collection is too far into the future.static classCannot contact the other host using TLS on the specified address and portstatic classTLS verification has not been enabled in the pool successfully, please enable it in XC or run xe pool-enable-tls-verification instead.static classThe request was rejected because the server is too busy.static classVM can only belong to one group.static classThe request was rejected because there are too many pending tasks on the server.static classYou reached the maximal number of concurrently migrating VMs.static classThe VM has too many VUSBs.static classThe tunnel transport PIF has no IP configuration set.static enumstatic classA trusted certificate already exists with the same purpose.static classThe provided certificate has expired.static classThe provided certificate is not in a PEM-encoded X509 format.static classThe provided certificate is not valid yet.static enumstatic classYou have attempted a function which is not implementedstatic classThe requested bootloader is unknownstatic enumstatic classThis update has already been applied.static classThis update has already been applied to all hosts in the pool.static classThe uploaded update already existsstatic classThe update failed to apply.static enumstatic classThe hash of updateinfo doesn't match with current one.static classThe specified update has been applied and cannot be destroyed.static classThe update cannot be applied for the following host(s).static classThe update pre-check stage failed: conflicting update(s) are present.static classThe update pre-check stage failed: RPM package validation requires a GPG key that is not present on the host.static classThe update pre-check stage failed: the server does not have enough space.static classThe update pre-check stage failed: prerequisite update(s) are missing.static classThe update pre-check stage failed with an unknown error.static classThe update pre-check stage failed: the server is of an incorrect version.static enumstatic classThere was an error connecting to the remote pool coordinator while syncing updates from it.static classThere was an error connecting to the server while syncing updates from it.static classThe USB device is currently attached to a VM.static classUSB_groups are currently restricted to contain no more than one VUSB.static classThe USB group does not contain any PUSBs.static classThe USB group contains active PUSBs and cannot be deleted.static classThe USB group contains active VUSBs and cannot be deleted.static classOnly the local superuser can perform this operation.static classThe uuid you supplied was invalid.static classThere was a problem with the license daemon (v6d).static classYou attempted to set a value that is not supported by this implementation.static classRead/write CDs are not supportedstatic classOperation could not be performed because the drive is emptystatic enumstatic classOperation could not be performed because the drive is not emptystatic classMedia could not be ejected because it is not removablestatic classDrive could not be hot-unplugged because it is not marked as unpluggablestatic enumstatic classThis VM has locked the DVD drive tray, so the disk cannot be ejectedstatic enumstatic classVCPUs_max must be a multiple of cores-per-socketstatic classThe requested operation is not allowed for VDIs with CBT enabled or VMs having such VDIs, and CBT is enabled for the specified VDI.static classThe VDI could not be opened for metadata recovery as it contains the current pool's metadata.static classThe VDI copy action has failedstatic classThe operation cannot be performed because this VDI has rrd statsstatic classThis operation cannot be performed because the specified VDI is of an incompatible type (eg: an HA statefile cannot be attached to a guest)static classThis operation cannot be performed because this VDI is in use by some other operationstatic classThe operation cannot be performed on physical devicestatic classThe requested operation is not allowed because the specified VDI is encrypted.static classThis operation can only be performed on CD VDIs (iso files or CDROM drives)static classThis operation cannot be performed because the specified VDI could not be found in the specified SRstatic classThis operation cannot be performed because the specified VDI could not be found on the storage substratestatic classCannot migrate a VDI which is not attached to a running VM.static classThe requested operation is not allowed because the specified VDI does not have changed block tracking metadata.static classThis operation cannot be performed because this VDI could not be properly attached to the VM.static classThis VDI was not mapped to a destination SR in VM.migrate_send operationstatic classThis operation cannot be performed because the system does not manage this VDIstatic classThe VDI is not stored using a sparse format.static classThis operation is not permitted on VDIs in the 'on-boot=reset' mode, or on VMs having such VDIs.static enumstatic classThe operation required write access but this VDI is read-onlystatic classThe VDI is too large.static classThe VDI is too small.static enumstatic classThe VGPU is not compatible with any PGPU in the destination.static classThe guest driver does not support VGPU migration.static classThe VGPU configuration does not support suspension.static enumstatic classVGPU type is no longer supportedstatic classCannot create a virtual GPU that is incompatible with the existing types on the VM.static classThe VGPU type is incompatible with one or more of the VGPU types currently running on this PGPUstatic classVGPU type is not one of the PGPU's enabled types.static classVGPU type is not one of the PGPU's supported types.static classNetwork has active VIFsstatic enumstatic enumstatic enumstatic classThis VIF was not mapped to a destination Network in VM.migrate_send operationstatic enumstatic classOperation cannot be performed because this VLAN is already in use.static classYou tried to create a VLAN, but the tag you gave was invalid -- it must be between 0 and 4094.static enumstatic classThis VM is assigned to a protection policy.static classThis VM is assigned to a snapshot schedule.static classYou attempted to start a VM that's attached to more than one VDI with a timeoffset marked as reset-on-boot.static classYou attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running.static classThe BIOS strings for this VM have already been set and cannot be changed.static classThere is a minimal interval required between consecutive plug-in calls made on the same VM, please wait before retry.static classYou cannot delete the specified default template.static classAn error occured while restoring the memory image of the specified virtual machinestatic classAn error occured while saving the memory image of the specified virtual machinestatic classThe VM crashedstatic classThe specified VM has a duplicate VBD device and cannot be started.static classVM didn't acknowledge the need to shutdown.static classVM didn't acknowledge the need to suspend.static classThe VM unexpectedly haltedstatic classCannot migrate a VM which has a checkpoint.static classVM cannot be resumed because it has no suspend VDIstatic classThis operation could not be performed, because the VM has one or more PCI devices passed through.static classThis operation could not be performed, because the VM has one or more SR-IOV VIFs.static classCannot migrate a VM with more than one snapshot.static classThis operation could not be performed, because the VM has one or more virtual GPUs.static classThe operation is not allowed when the VM has VUSBs.static classThis VM operation cannot be performed on an older-versioned host during an upgrade.static classCannot migrate a VM to a destination host which is older than the source host.static classYou attempted to run a VM on a host that cannot provide the VM's required Virtual Hardware Platform version.static classHVM is required for this operationstatic classThe VM is incompatible with the CPU features of this host.static classThe VM is configured in a way that prevents it from being mobile.static classThis operation is not allowed as the VM is part of an appliance.static classThis operation cannot be performed because the specified VM is protected by HAstatic classThe operation attempted is not valid for a template VMstatic classThis operation is illegal because the VM is using nested virtualization.static classYou attempted an operation on a VM which lacks the feature.static classThe specified VM has too little memory to be started.static classFailed to contact service on the destination host.static classAn error occurred during the migration process.static classYou attempted an operation on a VM which requires PV drivers to be installed but the drivers were not detected.static classThis VM does not have a crash dump SR specified.static classThe VM has no empty CD drive (VBD).static classYou attempted an operation on a VM which is not suspendable.static classThis VM does not have a suspend SR specified.static classThe specified VM is not currently resident on the specified server.static classYou need at least 1 VCPU to start a VMstatic classYou attempted an operation on a VM which requires a more recent version of the PV drivers.static enumstatic classThe VM does not have any free PCI slotsstatic enumstatic enumstatic classArchive more frequent than backup.static enumstatic enumstatic enumstatic classThere is at least one VM assigned to this protection policy.static classVM PV drivers still in usestatic classThe VM unexpectedly rebootedstatic classYou attempted to run a VM on a host which doesn't have a pGPU available in the GPU group needed by the VM.static classYou attempted to run a VM on a host which doesn't have I/O virtualization (IOMMU/VT-d) enabled, which is needed by the VM.static classYou attempted to run a VM on a host which doesn't have a PIF on a Network needed by the VM.static classYou attempted to run a VM on a host which doesn't have access to an SR needed by the VM.static classVM cannot be started because it requires a VDI which cannot be attachedstatic classYou attempted to run a VM on a host on which the vGPU required by the VM cannot be allocated on any pGPUs in the GPU_group needed by the VM.static classYou attempted to run a VM on a host on which the VUSB required by the VM cannot be allocated on any PUSBs in the USB_group needed by the VM.static classAn error occured while reverting the specified virtual machine to the specified snapshotstatic enumstatic enumstatic classThe given VMs failed to release memory when instructed to do sostatic classVM failed to shutdown before the timeout expiredstatic classThe quiesced-snapshot operation failed for an unexpected reasonstatic classThe VSS plug-in is not installed on this virtual machinestatic classThe VSS plug-in cannot be contactedstatic classThe VSS plug-in has timed outstatic enumstatic classThere is at least one VM assigned to snapshot schedule.static enumstatic classVM failed to suspend before the timeout expiredstatic classThe VM cannot be imported unforced because it is either the same version or an older version of an existing VM.static classToo many VCPUs to start this VMstatic enumstatic classYou attempted an operation on a VM that was judged to be unsafe by the server.static classThe VM cannot be associated with more VTPMs.static enumstatic enumstatic classFailed to authenticate with the WLB server, the provided credentials are invalid.static classWLB refused a connection to the server.static classThe connection to the WLB server was reset.static classThis pool has wlb-enabled set to false.static classWLB reported an internal error.static classWLB rejected the server's request as malformed.static classWLB said something that the server wasn't expecting or didn't understand.static classNo WLB connection is configured.static classThe communication with the WLB server timed out.static classThe configured WLB server name failed to resolve in DNS.static classThe WLB URL is invalid.static classWLB reported that the server rejected its configured authentication details.static classWLB reported that the server refused to let it connect (even though we're connecting perfectly fine in the other direction).static classWLB reported that the server said something to it that WLB wasn't expecting or didn't understand.static classWLB reported that communication with the server timed out.static classWLB reported that its configured server name for this server instance failed to resolve in DNS.static class3rd party xapi hook failedstatic classBase class for all XenAPI Exceptionsstatic classThe requested plug-in could not be found.static enumstatic classThere was a failure communicating with the plug-in.static classThe current version of Xen or its control libraries is incompatible with the Toolstack.static classSome volumes to be snapshot could not be added to the VSS snapshot setstatic classAn attempt to create the snapshots failedstatic classCould not create the XML string generated by the transportable snapshotstatic classInitialization of the VSS requester failedstatic classCould not find any volumes supported by the VSS Providerstatic classAn attempt to prepare VSS writers for the snapshot failedstatic classThe VSS Provider is not loadedstatic classAn attempt to start a new VSS snapshot failedstatic classThe server failed to unmarshal the XMLRPC message; it was expecting one element and received something else. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckError(JsonRpcResponseError response) Checks the provided server response was successful.static BlobtoBlob(Task task, Connection connection) static BondtoBond(Task task, Connection connection) static CertificatetoCertificate(Task task, Connection connection) Attempt to convert theTask's result to aCertificateobject.static ClustertoCluster(Task task, Connection connection) static ClusterHosttoClusterHost(Task task, Connection connection) Attempt to convert theTask's result to aClusterHostobject.static ConsoletoConsole(Task task, Connection connection) static CrashdumptoCrashdump(Task task, Connection connection) static DriverVarianttoDriverVariant(Task task, Connection connection) Attempt to convert theTask's result to aDriverVariantobject.static DRTasktoDRTask(Task task, Connection connection) static FeaturetoFeature(Task task, Connection connection) static GPUGrouptoGPUGroup(Task task, Connection connection) static HosttoHost(Task task, Connection connection) static HostCputoHostCpu(Task task, Connection connection) static HostCrashdumptoHostCrashdump(Task task, Connection connection) Attempt to convert theTask's result to aHostCrashdumpobject.static HostDrivertoHostDriver(Task task, Connection connection) Attempt to convert theTask's result to aHostDriverobject.static HostMetricstoHostMetrics(Task task, Connection connection) Attempt to convert theTask's result to aHostMetricsobject.static HostPatchtoHostPatch(Task task, Connection connection) static LVHDtoLVHD(Task task, Connection connection) static MessagetoMessage(Task task, Connection connection) static NetworktoNetwork(Task task, Connection connection) static NetworkSriovtoNetworkSriov(Task task, Connection connection) Attempt to convert theTask's result to aNetworkSriovobject.static ObservertoObserver(Task task, Connection connection) static PBDtoPBD(Task task, Connection connection) static PCItoPCI(Task task, Connection connection) static PGPUtoPGPU(Task task, Connection connection) static PIFtoPIF(Task task, Connection connection) static PIFMetricstoPIFMetrics(Task task, Connection connection) Attempt to convert theTask's result to aPIFMetricsobject.static PooltoPool(Task task, Connection connection) static PoolPatchtoPoolPatch(Task task, Connection connection) static PoolUpdatetoPoolUpdate(Task task, Connection connection) Attempt to convert theTask's result to aPoolUpdateobject.static PUSBtoPUSB(Task task, Connection connection) static PVSCacheStoragetoPVSCacheStorage(Task task, Connection connection) Attempt to convert theTask's result to aPVSCacheStorageobject.static PVSProxytoPVSProxy(Task task, Connection connection) static PVSServertoPVSServer(Task task, Connection connection) static PVSSitetoPVSSite(Task task, Connection connection) static RepositorytoRepository(Task task, Connection connection) Attempt to convert theTask's result to aRepositoryobject.static RoletoRole(Task task, Connection connection) static SDNControllertoSDNController(Task task, Connection connection) Attempt to convert theTask's result to aSDNControllerobject.static SecrettoSecret(Task task, Connection connection) static SessiontoSession(Task task, Connection connection) static SMtoSM(Task task, Connection connection) static SRtoSR(Task task, Connection connection) static SubjecttoSubject(Task task, Connection connection) static TasktoTask(Task task, Connection connection) static TunneltoTunnel(Task task, Connection connection) static USBGrouptoUSBGroup(Task task, Connection connection) static UsertoUser(Task task, Connection connection) static VBDtoVBD(Task task, Connection connection) static VBDMetricstoVBDMetrics(Task task, Connection connection) Attempt to convert theTask's result to aVBDMetricsobject.static VDItoVDI(Task task, Connection connection) static VGPUtoVGPU(Task task, Connection connection) static VGPUTypetoVGPUType(Task task, Connection connection) static VIFtoVIF(Task task, Connection connection) static VIFMetricstoVIFMetrics(Task task, Connection connection) Attempt to convert theTask's result to aVIFMetricsobject.static VLANtoVLAN(Task task, Connection connection) static VMtoVM(Task task, Connection connection) static VMAppliancetoVMAppliance(Task task, Connection connection) Attempt to convert theTask's result to aVMApplianceobject.static VMGrouptoVMGroup(Task task, Connection connection) static VMGuestMetricstoVMGuestMetrics(Task task, Connection connection) Attempt to convert theTask's result to aVMGuestMetricsobject.static VMMetricstoVMMetrics(Task task, Connection connection) static VMPPtoVMPP(Task task, Connection connection) static VMSStoVMSS(Task task, Connection connection) static VTPMtoVTPM(Task task, Connection connection) static VUSBtoVUSB(Task task, Connection connection)
-
Constructor Details
-
Types
public Types()
-
-
Method Details
-
checkError
public static void checkError(JsonRpcResponseError response) throws Types.XenAPIException, Types.BadServerResponse Checks the provided server response was successful. If the call failed, throws a XenAPIException. If the server returned an invalid response, throws a BadServerResponse. Otherwise, returns the server response as passed in. -
toBond
Attempt to convert theTask's result to aBondobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toCertificate
Attempt to convert theTask's result to aCertificateobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toCluster
Attempt to convert theTask's result to aClusterobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toClusterHost
Attempt to convert theTask's result to aClusterHostobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toDRTask
Attempt to convert theTask's result to aDRTaskobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toDriverVariant
Attempt to convert theTask's result to aDriverVariantobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toFeature
Attempt to convert theTask's result to aFeatureobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toGPUGroup
Attempt to convert theTask's result to aGPUGroupobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toHostDriver
Attempt to convert theTask's result to aHostDriverobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toLVHD
Attempt to convert theTask's result to aLVHDobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toObserver
Attempt to convert theTask's result to aObserverobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toPBD
Attempt to convert theTask's result to aPBDobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toPCI
Attempt to convert theTask's result to aPCIobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toPGPU
Attempt to convert theTask's result to aPGPUobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toPIF
Attempt to convert theTask's result to aPIFobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toPIFMetrics
Attempt to convert theTask's result to aPIFMetricsobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toPUSB
Attempt to convert theTask's result to aPUSBobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toPVSCacheStorage
public static PVSCacheStorage toPVSCacheStorage(Task task, Connection connection) throws IOException Attempt to convert theTask's result to aPVSCacheStorageobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toPVSProxy
Attempt to convert theTask's result to aPVSProxyobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toPVSServer
Attempt to convert theTask's result to aPVSServerobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toPVSSite
Attempt to convert theTask's result to aPVSSiteobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toRepository
Attempt to convert theTask's result to aRepositoryobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toSDNController
Attempt to convert theTask's result to aSDNControllerobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toSM
Attempt to convert theTask's result to aSMobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toSR
Attempt to convert theTask's result to aSRobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toUSBGroup
Attempt to convert theTask's result to aUSBGroupobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toVBD
Attempt to convert theTask's result to aVBDobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toVBDMetrics
Attempt to convert theTask's result to aVBDMetricsobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toVDI
Attempt to convert theTask's result to aVDIobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toVGPU
Attempt to convert theTask's result to aVGPUobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toVGPUType
Attempt to convert theTask's result to aVGPUTypeobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toVIF
Attempt to convert theTask's result to aVIFobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toVIFMetrics
Attempt to convert theTask's result to aVIFMetricsobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toVLAN
Attempt to convert theTask's result to aVLANobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toVM
Attempt to convert theTask's result to aVMobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toVMPP
Attempt to convert theTask's result to aVMPPobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toVMSS
Attempt to convert theTask's result to aVMSSobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toVMAppliance
Attempt to convert theTask's result to aVMApplianceobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toVMGroup
Attempt to convert theTask's result to aVMGroupobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toVMGuestMetrics
Attempt to convert theTask's result to aVMGuestMetricsobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toVMMetrics
Attempt to convert theTask's result to aVMMetricsobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toVTPM
Attempt to convert theTask's result to aVTPMobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toVUSB
Attempt to convert theTask's result to aVUSBobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toBlob
Attempt to convert theTask's result to aBlobobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toConsole
Attempt to convert theTask's result to aConsoleobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toCrashdump
Attempt to convert theTask's result to aCrashdumpobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toHost
Attempt to convert theTask's result to aHostobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toHostCpu
Attempt to convert theTask's result to aHostCpuobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toHostCrashdump
Attempt to convert theTask's result to aHostCrashdumpobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toHostMetrics
Attempt to convert theTask's result to aHostMetricsobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toHostPatch
Attempt to convert theTask's result to aHostPatchobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toMessage
Attempt to convert theTask's result to aMessageobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toNetwork
Attempt to convert theTask's result to aNetworkobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toNetworkSriov
Attempt to convert theTask's result to aNetworkSriovobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toPool
Attempt to convert theTask's result to aPoolobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toPoolPatch
Attempt to convert theTask's result to aPoolPatchobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toPoolUpdate
Attempt to convert theTask's result to aPoolUpdateobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toRole
Attempt to convert theTask's result to aRoleobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toSecret
Attempt to convert theTask's result to aSecretobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toSession
Attempt to convert theTask's result to aSessionobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toSubject
Attempt to convert theTask's result to aSubjectobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toTask
Attempt to convert theTask's result to aTaskobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toTunnel
Attempt to convert theTask's result to aTunnelobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-
toUser
Attempt to convert theTask's result to aUserobject. Will return null if the method cannot fetch a valid value from theTaskobject.- Parameters:
task- The task from which to fetch the result.connection- The connection- Returns:
- the instantiated object if a valid value was found, null otherwise.
- Throws:
Types.BadServerResponse- if the response from the server contains an invalid status.Types.XenAPIException- if the call failed.IOException- if an error occurs during send or receive. This includes cases where a payload is invalid JSON.
-