com.xensource.xenapi
public class VDI extends XenAPIObject
| Modifier and Type | Class and Description |
|---|---|
static class |
VDI.Record
Represents all the fields in a VDI
|
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
ref
The XenAPI reference (OpaqueRef) to this object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addTags(Connection c,
java.lang.String value)
Add the given value to the tags field of the given VDI.
|
void |
addToOtherConfig(Connection c,
java.lang.String key,
java.lang.String value)
Add the given key-value pair to the other_config field of the given VDI.
|
void |
addToSmConfig(Connection c,
java.lang.String key,
java.lang.String value)
Add the given key-value pair to the sm_config field of the given VDI.
|
void |
addToXenstoreData(Connection c,
java.lang.String key,
java.lang.String value)
Add the given key-value pair to the xenstore_data field of the given VDI.
|
VDI |
copy(Connection c,
SR sr)
Copy either a full VDI or the block differences between two VDIs into either a fresh VDI or an existing VDI.
|
VDI |
copy(Connection c,
SR sr,
VDI baseVdi,
VDI intoVdi)
Copy either a full VDI or the block differences between two VDIs into either a fresh VDI or an existing VDI.
|
Task |
copyAsync(Connection c,
SR sr)
Copy either a full VDI or the block differences between two VDIs into either a fresh VDI or an existing VDI.
|
Task |
copyAsync(Connection c,
SR sr,
VDI baseVdi,
VDI intoVdi)
Copy either a full VDI or the block differences between two VDIs into either a fresh VDI or an existing VDI.
|
static VDI |
create(Connection c,
VDI.Record record)
Create a new VDI instance, and return its handle.
|
static Task |
createAsync(Connection c,
VDI.Record record)
Create a new VDI instance, and return its handle.
|
VDI |
createClone(Connection c,
java.util.Map<java.lang.String,java.lang.String> driverParams)
Take an exact copy of the VDI and return a reference to the new disk.
|
Task |
createCloneAsync(Connection c,
java.util.Map<java.lang.String,java.lang.String> driverParams)
Take an exact copy of the VDI and return a reference to the new disk.
|
void |
dataDestroy(Connection c)
Delete the data of the snapshot VDI, but keep its changed block tracking metadata.
|
Task |
dataDestroyAsync(Connection c)
Delete the data of the snapshot VDI, but keep its changed block tracking metadata.
|
void |
destroy(Connection c)
Destroy the specified VDI instance.
|
Task |
destroyAsync(Connection c)
Destroy the specified VDI instance.
|
void |
disableCbt(Connection c)
Disable changed block tracking for the VDI.
|
Task |
disableCbtAsync(Connection c)
Disable changed block tracking for the VDI.
|
void |
enableCbt(Connection c)
Enable changed block tracking for the VDI.
|
Task |
enableCbtAsync(Connection c)
Enable changed block tracking for the VDI.
|
boolean |
equals(java.lang.Object obj)
If obj is a VDI, compares XenAPI references for equality.
|
void |
forget(Connection c)
Removes a VDI record from the database
First published in XenServer 4.0.
|
Task |
forgetAsync(Connection c)
Removes a VDI record from the database
First published in XenServer 4.0.
|
static java.util.Set<VDI> |
getAll(Connection c)
Return a list of all the VDIs known to the system.
|
java.lang.Boolean |
getAllowCaching(Connection c)
Get the allow_caching field of the given VDI.
|
java.util.Set<Types.VdiOperations> |
getAllowedOperations(Connection c)
Get the allowed_operations field of the given VDI.
|
static java.util.Map<VDI,VDI.Record> |
getAllRecords(Connection c)
Return a map of VDI references to VDI records for all VDIs known to the system.
|
static java.util.Set<VDI> |
getByNameLabel(Connection c,
java.lang.String label)
Get all the VDI instances with the given label.
|
static VDI |
getByUuid(Connection c,
java.lang.String uuid)
Get a reference to the VDI instance with the specified UUID.
|
java.lang.Boolean |
getCbtEnabled(Connection c)
Get the cbt_enabled field of the given VDI.
|
java.util.Set<Crashdump> |
getCrashDumps(Connection c)
Get the crash_dumps field of the given VDI.
|
java.util.Map<java.lang.String,Types.VdiOperations> |
getCurrentOperations(Connection c)
Get the current_operations field of the given VDI.
|
java.lang.Boolean |
getIsASnapshot(Connection c)
Get the is_a_snapshot field of the given VDI.
|
java.lang.Boolean |
getIsToolsIso(Connection c)
Get the is_tools_iso field of the given VDI.
|
java.lang.String |
getLocation(Connection c)
Get the location field of the given VDI.
|
java.lang.Boolean |
getManaged(Connection c)
Get the managed field of the given VDI.
|
java.lang.Boolean |
getMetadataLatest(Connection c)
Get the metadata_latest field of the given VDI.
|
Pool |
getMetadataOfPool(Connection c)
Get the metadata_of_pool field of the given VDI.
|
java.lang.Boolean |
getMissing(Connection c)
Get the missing field of the given VDI.
|
java.lang.String |
getNameDescription(Connection c)
Get the name/description field of the given VDI.
|
java.lang.String |
getNameLabel(Connection c)
Get the name/label field of the given VDI.
|
java.util.Set<VdiNbdServerInfo.Record> |
getNbdInfo(Connection c)
Get details specifying how to access this VDI via a Network Block Device server.
|
Types.OnBoot |
getOnBoot(Connection c)
Get the on_boot field of the given VDI.
|
java.util.Map<java.lang.String,java.lang.String> |
getOtherConfig(Connection c)
Get the other_config field of the given VDI.
|
VDI |
getParent(Connection c)
Deprecated.
|
java.lang.Long |
getPhysicalUtilisation(Connection c)
Get the physical_utilisation field of the given VDI.
|
java.lang.Boolean |
getReadOnly(Connection c)
Get the read_only field of the given VDI.
|
VDI.Record |
getRecord(Connection c)
Get a record containing the current state of the given VDI.
|
java.lang.Boolean |
getSharable(Connection c)
Get the sharable field of the given VDI.
|
java.util.Map<java.lang.String,java.lang.String> |
getSmConfig(Connection c)
Get the sm_config field of the given VDI.
|
VDI |
getSnapshotOf(Connection c)
Get the snapshot_of field of the given VDI.
|
java.util.Set<VDI> |
getSnapshots(Connection c)
Get the snapshots field of the given VDI.
|
java.util.Date |
getSnapshotTime(Connection c)
Get the snapshot_time field of the given VDI.
|
SR |
getSR(Connection c)
Get the SR field of the given VDI.
|
java.lang.Boolean |
getStorageLock(Connection c)
Get the storage_lock field of the given VDI.
|
java.util.Set<java.lang.String> |
getTags(Connection c)
Get the tags field of the given VDI.
|
Types.VdiType |
getType(Connection c)
Get the type field of the given VDI.
|
java.lang.String |
getUuid(Connection c)
Get the uuid field of the given VDI.
|
java.util.Set<VBD> |
getVBDs(Connection c)
Get the VBDs field of the given VDI.
|
java.lang.Long |
getVirtualSize(Connection c)
Get the virtual_size field of the given VDI.
|
java.util.Map<java.lang.String,java.lang.String> |
getXenstoreData(Connection c)
Get the xenstore_data field of the given VDI.
|
int |
hashCode() |
static VDI |
introduce(Connection c,
java.lang.String uuid,
java.lang.String nameLabel,
java.lang.String nameDescription,
SR SR,
Types.VdiType type,
java.lang.Boolean sharable,
java.lang.Boolean readOnly,
java.util.Map<java.lang.String,java.lang.String> otherConfig,
java.lang.String location,
java.util.Map<java.lang.String,java.lang.String> xenstoreData,
java.util.Map<java.lang.String,java.lang.String> smConfig)
Create a new VDI record in the database only
First published in XenServer 4.1.
|
static VDI |
introduce(Connection c,
java.lang.String uuid,
java.lang.String nameLabel,
java.lang.String nameDescription,
SR SR,
Types.VdiType type,
java.lang.Boolean sharable,
java.lang.Boolean readOnly,
java.util.Map<java.lang.String,java.lang.String> otherConfig,
java.lang.String location,
java.util.Map<java.lang.String,java.lang.String> xenstoreData,
java.util.Map<java.lang.String,java.lang.String> smConfig,
java.lang.Boolean managed,
java.lang.Long virtualSize,
java.lang.Long physicalUtilisation,
Pool metadataOfPool,
java.lang.Boolean isASnapshot,
java.util.Date snapshotTime,
VDI snapshotOf)
Create a new VDI record in the database only
First published in XenServer 4.1.
|
static Task |
introduceAsync(Connection c,
java.lang.String uuid,
java.lang.String nameLabel,
java.lang.String nameDescription,
SR SR,
Types.VdiType type,
java.lang.Boolean sharable,
java.lang.Boolean readOnly,
java.util.Map<java.lang.String,java.lang.String> otherConfig,
java.lang.String location,
java.util.Map<java.lang.String,java.lang.String> xenstoreData,
java.util.Map<java.lang.String,java.lang.String> smConfig)
Create a new VDI record in the database only
First published in XenServer 4.1.
|
static Task |
introduceAsync(Connection c,
java.lang.String uuid,
java.lang.String nameLabel,
java.lang.String nameDescription,
SR SR,
Types.VdiType type,
java.lang.Boolean sharable,
java.lang.Boolean readOnly,
java.util.Map<java.lang.String,java.lang.String> otherConfig,
java.lang.String location,
java.util.Map<java.lang.String,java.lang.String> xenstoreData,
java.util.Map<java.lang.String,java.lang.String> smConfig,
java.lang.Boolean managed,
java.lang.Long virtualSize,
java.lang.Long physicalUtilisation,
Pool metadataOfPool,
java.lang.Boolean isASnapshot,
java.util.Date snapshotTime,
VDI snapshotOf)
Create a new VDI record in the database only
First published in XenServer 4.1.
|
java.lang.String |
listChangedBlocks(Connection c,
VDI vdiTo)
Compare two VDIs in 64k block increments and report which blocks differ.
|
Task |
listChangedBlocksAsync(Connection c,
VDI vdiTo)
Compare two VDIs in 64k block increments and report which blocks differ.
|
Session |
openDatabase(Connection c)
Load the metadata found on the supplied VDI and return a session reference which can be used in API calls to query its contents.
|
Task |
openDatabaseAsync(Connection c)
Load the metadata found on the supplied VDI and return a session reference which can be used in API calls to query its contents.
|
VDI |
poolMigrate(Connection c,
SR sr,
java.util.Map<java.lang.String,java.lang.String> options)
Migrate a VDI, which may be attached to a running guest, to a different SR.
|
Task |
poolMigrateAsync(Connection c,
SR sr,
java.util.Map<java.lang.String,java.lang.String> options)
Migrate a VDI, which may be attached to a running guest, to a different SR.
|
java.lang.String |
readDatabasePoolUuid(Connection c)
Check the VDI cache for the pool UUID of the database on this VDI.
|
Task |
readDatabasePoolUuidAsync(Connection c)
Check the VDI cache for the pool UUID of the database on this VDI.
|
void |
removeFromOtherConfig(Connection c,
java.lang.String key)
Remove the given key and its corresponding value from the other_config field of the given VDI.
|
void |
removeFromSmConfig(Connection c,
java.lang.String key)
Remove the given key and its corresponding value from the sm_config field of the given VDI.
|
void |
removeFromXenstoreData(Connection c,
java.lang.String key)
Remove the given key and its corresponding value from the xenstore_data field of the given VDI.
|
void |
removeTags(Connection c,
java.lang.String value)
Remove the given value from the tags field of the given VDI.
|
void |
resize(Connection c,
java.lang.Long size)
Resize the VDI.
|
Task |
resizeAsync(Connection c,
java.lang.Long size)
Resize the VDI.
|
void |
resizeOnline(Connection c,
java.lang.Long size)
Resize the VDI which may or may not be attached to running guests.
|
Task |
resizeOnlineAsync(Connection c,
java.lang.Long size)
Resize the VDI which may or may not be attached to running guests.
|
void |
setAllowCaching(Connection c,
java.lang.Boolean value)
Set the value of the allow_caching parameter.
|
Task |
setAllowCachingAsync(Connection c,
java.lang.Boolean value)
Set the value of the allow_caching parameter.
|
void |
setNameDescription(Connection c,
java.lang.String value)
Set the name description of the VDI.
|
Task |
setNameDescriptionAsync(Connection c,
java.lang.String value)
Set the name description of the VDI.
|
void |
setNameLabel(Connection c,
java.lang.String value)
Set the name label of the VDI.
|
Task |
setNameLabelAsync(Connection c,
java.lang.String value)
Set the name label of the VDI.
|
void |
setOnBoot(Connection c,
Types.OnBoot value)
Set the value of the on_boot parameter.
|
Task |
setOnBootAsync(Connection c,
Types.OnBoot value)
Set the value of the on_boot parameter.
|
void |
setOtherConfig(Connection c,
java.util.Map<java.lang.String,java.lang.String> otherConfig)
Set the other_config field of the given VDI.
|
void |
setReadOnly(Connection c,
java.lang.Boolean value)
Sets the VDI's read_only field
First published in XenServer 4.0.
|
void |
setSharable(Connection c,
java.lang.Boolean value)
Sets the VDI's sharable field
First published in XenServer 5.5.
|
void |
setSmConfig(Connection c,
java.util.Map<java.lang.String,java.lang.String> smConfig)
Set the sm_config field of the given VDI.
|
void |
setTags(Connection c,
java.util.Set<java.lang.String> tags)
Set the tags field of the given VDI.
|
void |
setXenstoreData(Connection c,
java.util.Map<java.lang.String,java.lang.String> xenstoreData)
Set the xenstore_data field of the given VDI.
|
VDI |
snapshot(Connection c,
java.util.Map<java.lang.String,java.lang.String> driverParams)
Take a read-only snapshot of the VDI, returning a reference to the snapshot.
|
Task |
snapshotAsync(Connection c,
java.util.Map<java.lang.String,java.lang.String> driverParams)
Take a read-only snapshot of the VDI, returning a reference to the snapshot.
|
java.lang.String |
toWireString() |
void |
update(Connection c)
Ask the storage backend to refresh the fields in the VDI object
First published in XenServer 4.1.1.
|
Task |
updateAsync(Connection c)
Ask the storage backend to refresh the fields in the VDI object
First published in XenServer 4.1.1.
|
isNullprotected final java.lang.String ref
public java.lang.String toWireString()
toWireString in class XenAPIObjectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic VDI.Record getRecord(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static VDI getByUuid(Connection c, java.lang.String uuid) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
uuid - UUID of object to returnTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static Task createAsync(Connection c, VDI.Record record) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
record - All constructor argumentsTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static VDI create(Connection c, VDI.Record record) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
record - All constructor argumentsTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Task destroyAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void destroy(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static java.util.Set<VDI> getByNameLabel(Connection c, java.lang.String label) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
label - label of object to returnTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic java.lang.String getUuid(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic java.lang.String getNameLabel(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic java.lang.String getNameDescription(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic java.util.Set<Types.VdiOperations> getAllowedOperations(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic java.util.Map<java.lang.String,Types.VdiOperations> getCurrentOperations(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic SR getSR(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic java.util.Set<VBD> getVBDs(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic java.util.Set<Crashdump> getCrashDumps(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic java.lang.Long getVirtualSize(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic java.lang.Long getPhysicalUtilisation(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Types.VdiType getType(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic java.lang.Boolean getSharable(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic java.lang.Boolean getReadOnly(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic java.util.Map<java.lang.String,java.lang.String> getOtherConfig(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic java.lang.Boolean getStorageLock(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic java.lang.String getLocation(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic java.lang.Boolean getManaged(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic java.lang.Boolean getMissing(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcException@Deprecated public VDI getParent(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic java.util.Map<java.lang.String,java.lang.String> getXenstoreData(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic java.util.Map<java.lang.String,java.lang.String> getSmConfig(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic java.lang.Boolean getIsASnapshot(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic VDI getSnapshotOf(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic java.util.Set<VDI> getSnapshots(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic java.util.Date getSnapshotTime(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic java.util.Set<java.lang.String> getTags(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic java.lang.Boolean getAllowCaching(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Types.OnBoot getOnBoot(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Pool getMetadataOfPool(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic java.lang.Boolean getMetadataLatest(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic java.lang.Boolean getIsToolsIso(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic java.lang.Boolean getCbtEnabled(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setOtherConfig(Connection c, java.util.Map<java.lang.String,java.lang.String> otherConfig) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
otherConfig - New value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void addToOtherConfig(Connection c, java.lang.String key, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key - Key to addvalue - Value to addTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void removeFromOtherConfig(Connection c, java.lang.String key) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key - Key to removeTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setXenstoreData(Connection c, java.util.Map<java.lang.String,java.lang.String> xenstoreData) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
xenstoreData - New value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void addToXenstoreData(Connection c, java.lang.String key, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key - Key to addvalue - Value to addTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void removeFromXenstoreData(Connection c, java.lang.String key) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key - Key to removeTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setSmConfig(Connection c, java.util.Map<java.lang.String,java.lang.String> smConfig) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
smConfig - New value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void addToSmConfig(Connection c, java.lang.String key, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key - Key to addvalue - Value to addTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void removeFromSmConfig(Connection c, java.lang.String key) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key - Key to removeTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setTags(Connection c, java.util.Set<java.lang.String> tags) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
tags - New value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void addTags(Connection c, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value - New value to addTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void removeTags(Connection c, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value - Value to removeTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Task snapshotAsync(Connection c, java.util.Map<java.lang.String,java.lang.String> driverParams) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
driverParams - Optional parameters that can be passed through to backend driver in order to specify storage-type-specific snapshot options First published in XenServer 4.1.Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic VDI snapshot(Connection c, java.util.Map<java.lang.String,java.lang.String> driverParams) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
driverParams - Optional parameters that can be passed through to backend driver in order to specify storage-type-specific snapshot options First published in XenServer 4.1.Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Task createCloneAsync(Connection c, java.util.Map<java.lang.String,java.lang.String> driverParams) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
driverParams - Optional parameters that are passed through to the backend driver in order to specify storage-type-specific clone options First published in XenServer 4.1.Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic VDI createClone(Connection c, java.util.Map<java.lang.String,java.lang.String> driverParams) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
driverParams - Optional parameters that are passed through to the backend driver in order to specify storage-type-specific clone options First published in XenServer 4.1.Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Task resizeAsync(Connection c, java.lang.Long size) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
size - The new size of the VDITypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void resize(Connection c, java.lang.Long size) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
size - The new size of the VDITypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Task resizeOnlineAsync(Connection c, java.lang.Long size) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
size - The new size of the VDITypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void resizeOnline(Connection c, java.lang.Long size) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
size - The new size of the VDITypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static Task introduceAsync(Connection c, java.lang.String uuid, java.lang.String nameLabel, java.lang.String nameDescription, SR SR, Types.VdiType type, java.lang.Boolean sharable, java.lang.Boolean readOnly, java.util.Map<java.lang.String,java.lang.String> otherConfig, java.lang.String location, java.util.Map<java.lang.String,java.lang.String> xenstoreData, java.util.Map<java.lang.String,java.lang.String> smConfig) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.SrOperationNotSupported
uuid - The uuid of the disk to introducenameLabel - The name of the disk recordnameDescription - The description of the disk recordSR - The SR that the VDI is intype - The type of the VDIsharable - true if this disk may be sharedreadOnly - true if this disk may ONLY be mounted read-onlyotherConfig - additional configurationlocation - location informationxenstoreData - Data to insert into xenstoresmConfig - Storage-specific configTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.SrOperationNotSupportedpublic static VDI introduce(Connection c, java.lang.String uuid, java.lang.String nameLabel, java.lang.String nameDescription, SR SR, Types.VdiType type, java.lang.Boolean sharable, java.lang.Boolean readOnly, java.util.Map<java.lang.String,java.lang.String> otherConfig, java.lang.String location, java.util.Map<java.lang.String,java.lang.String> xenstoreData, java.util.Map<java.lang.String,java.lang.String> smConfig) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.SrOperationNotSupported
uuid - The uuid of the disk to introducenameLabel - The name of the disk recordnameDescription - The description of the disk recordSR - The SR that the VDI is intype - The type of the VDIsharable - true if this disk may be sharedreadOnly - true if this disk may ONLY be mounted read-onlyotherConfig - additional configurationlocation - location informationxenstoreData - Data to insert into xenstoresmConfig - Storage-specific configTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.SrOperationNotSupportedpublic static Task introduceAsync(Connection c, java.lang.String uuid, java.lang.String nameLabel, java.lang.String nameDescription, SR SR, Types.VdiType type, java.lang.Boolean sharable, java.lang.Boolean readOnly, java.util.Map<java.lang.String,java.lang.String> otherConfig, java.lang.String location, java.util.Map<java.lang.String,java.lang.String> xenstoreData, java.util.Map<java.lang.String,java.lang.String> smConfig, java.lang.Boolean managed, java.lang.Long virtualSize, java.lang.Long physicalUtilisation, Pool metadataOfPool, java.lang.Boolean isASnapshot, java.util.Date snapshotTime, VDI snapshotOf) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.SrOperationNotSupported
uuid - The uuid of the disk to introducenameLabel - The name of the disk recordnameDescription - The description of the disk recordSR - The SR that the VDI is intype - The type of the VDIsharable - true if this disk may be sharedreadOnly - true if this disk may ONLY be mounted read-onlyotherConfig - additional configurationlocation - location informationxenstoreData - Data to insert into xenstoresmConfig - Storage-specific configmanaged - Storage-specific config First published in XenServer 6.1.virtualSize - Storage-specific config First published in XenServer 6.1.physicalUtilisation - Storage-specific config First published in XenServer 6.1.metadataOfPool - Storage-specific config First published in XenServer 6.1.isASnapshot - Storage-specific config First published in XenServer 6.1.snapshotTime - Storage-specific config First published in XenServer 6.1.snapshotOf - Storage-specific config First published in XenServer 6.1.Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.SrOperationNotSupportedpublic static VDI introduce(Connection c, java.lang.String uuid, java.lang.String nameLabel, java.lang.String nameDescription, SR SR, Types.VdiType type, java.lang.Boolean sharable, java.lang.Boolean readOnly, java.util.Map<java.lang.String,java.lang.String> otherConfig, java.lang.String location, java.util.Map<java.lang.String,java.lang.String> xenstoreData, java.util.Map<java.lang.String,java.lang.String> smConfig, java.lang.Boolean managed, java.lang.Long virtualSize, java.lang.Long physicalUtilisation, Pool metadataOfPool, java.lang.Boolean isASnapshot, java.util.Date snapshotTime, VDI snapshotOf) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.SrOperationNotSupported
uuid - The uuid of the disk to introducenameLabel - The name of the disk recordnameDescription - The description of the disk recordSR - The SR that the VDI is intype - The type of the VDIsharable - true if this disk may be sharedreadOnly - true if this disk may ONLY be mounted read-onlyotherConfig - additional configurationlocation - location informationxenstoreData - Data to insert into xenstoresmConfig - Storage-specific configmanaged - Storage-specific config First published in XenServer 6.1.virtualSize - Storage-specific config First published in XenServer 6.1.physicalUtilisation - Storage-specific config First published in XenServer 6.1.metadataOfPool - Storage-specific config First published in XenServer 6.1.isASnapshot - Storage-specific config First published in XenServer 6.1.snapshotTime - Storage-specific config First published in XenServer 6.1.snapshotOf - Storage-specific config First published in XenServer 6.1.Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.SrOperationNotSupportedpublic Task updateAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.SrOperationNotSupported
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.SrOperationNotSupportedpublic void update(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.SrOperationNotSupported
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.SrOperationNotSupportedpublic Task copyAsync(Connection c, SR sr) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VdiReadonly, Types.VdiTooSmall, Types.VdiNotSparse
sr - The destination SR (only required if the destination VDI is not specifiedTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VdiReadonlyTypes.VdiTooSmallTypes.VdiNotSparsepublic VDI copy(Connection c, SR sr) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VdiReadonly, Types.VdiTooSmall, Types.VdiNotSparse
sr - The destination SR (only required if the destination VDI is not specifiedTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VdiReadonlyTypes.VdiTooSmallTypes.VdiNotSparsepublic Task copyAsync(Connection c, SR sr, VDI baseVdi, VDI intoVdi) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VdiReadonly, Types.VdiTooSmall, Types.VdiNotSparse
sr - The destination SR (only required if the destination VDI is not specifiedbaseVdi - The base VDI (only required if copying only changed blocks, by default all blocks will be copied) First published in XenServer 6.2 SP1 Hotfix 4.intoVdi - The destination VDI to copy blocks into (if omitted then a destination SR must be provided and a fresh VDI will be created) First published in XenServer 6.2 SP1 Hotfix 4.Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VdiReadonlyTypes.VdiTooSmallTypes.VdiNotSparsepublic VDI copy(Connection c, SR sr, VDI baseVdi, VDI intoVdi) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VdiReadonly, Types.VdiTooSmall, Types.VdiNotSparse
sr - The destination SR (only required if the destination VDI is not specifiedbaseVdi - The base VDI (only required if copying only changed blocks, by default all blocks will be copied) First published in XenServer 6.2 SP1 Hotfix 4.intoVdi - The destination VDI to copy blocks into (if omitted then a destination SR must be provided and a fresh VDI will be created) First published in XenServer 6.2 SP1 Hotfix 4.Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VdiReadonlyTypes.VdiTooSmallTypes.VdiNotSparsepublic Task forgetAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void forget(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setSharable(Connection c, java.lang.Boolean value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value - The new value of the VDI's sharable fieldTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setReadOnly(Connection c, java.lang.Boolean value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value - The new value of the VDI's read_only fieldTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Task setNameLabelAsync(Connection c, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value - The name lable for the VDITypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setNameLabel(Connection c, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value - The name lable for the VDITypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Task setNameDescriptionAsync(Connection c, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value - The name description for the VDITypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setNameDescription(Connection c, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value - The name description for the VDITypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Task setOnBootAsync(Connection c, Types.OnBoot value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value - The value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setOnBoot(Connection c, Types.OnBoot value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value - The value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Task setAllowCachingAsync(Connection c, java.lang.Boolean value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value - The value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setAllowCaching(Connection c, java.lang.Boolean value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value - The value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Task openDatabaseAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Session openDatabase(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Task readDatabasePoolUuidAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic java.lang.String readDatabasePoolUuid(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Task poolMigrateAsync(Connection c, SR sr, java.util.Map<java.lang.String,java.lang.String> options) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
sr - The destination SRoptions - Other parametersTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic VDI poolMigrate(Connection c, SR sr, java.util.Map<java.lang.String,java.lang.String> options) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
sr - The destination SRoptions - Other parametersTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Task enableCbtAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.SrOperationNotSupported, Types.VdiMissing, Types.SrNotAttached, Types.SrHasNoPbds, Types.OperationNotAllowed, Types.VdiIncompatibleType, Types.VdiOnBootModeIncompatibleWithOperation
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.SrOperationNotSupportedTypes.VdiMissingTypes.SrNotAttachedTypes.SrHasNoPbdsTypes.OperationNotAllowedTypes.VdiIncompatibleTypeTypes.VdiOnBootModeIncompatibleWithOperationpublic void enableCbt(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.SrOperationNotSupported, Types.VdiMissing, Types.SrNotAttached, Types.SrHasNoPbds, Types.OperationNotAllowed, Types.VdiIncompatibleType, Types.VdiOnBootModeIncompatibleWithOperation
public Task disableCbtAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.SrOperationNotSupported, Types.VdiMissing, Types.SrNotAttached, Types.SrHasNoPbds, Types.OperationNotAllowed, Types.VdiIncompatibleType, Types.VdiOnBootModeIncompatibleWithOperation
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.SrOperationNotSupportedTypes.VdiMissingTypes.SrNotAttachedTypes.SrHasNoPbdsTypes.OperationNotAllowedTypes.VdiIncompatibleTypeTypes.VdiOnBootModeIncompatibleWithOperationpublic void disableCbt(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.SrOperationNotSupported, Types.VdiMissing, Types.SrNotAttached, Types.SrHasNoPbds, Types.OperationNotAllowed, Types.VdiIncompatibleType, Types.VdiOnBootModeIncompatibleWithOperation
public Task dataDestroyAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.SrOperationNotSupported, Types.VdiMissing, Types.SrNotAttached, Types.SrHasNoPbds, Types.OperationNotAllowed, Types.VdiIncompatibleType, Types.VdiNoCbtMetadata, Types.VdiInUse, Types.VdiIsAPhysicalDevice
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.SrOperationNotSupportedTypes.VdiMissingTypes.SrNotAttachedTypes.SrHasNoPbdsTypes.OperationNotAllowedTypes.VdiIncompatibleTypeTypes.VdiNoCbtMetadataTypes.VdiInUseTypes.VdiIsAPhysicalDevicepublic void dataDestroy(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.SrOperationNotSupported, Types.VdiMissing, Types.SrNotAttached, Types.SrHasNoPbds, Types.OperationNotAllowed, Types.VdiIncompatibleType, Types.VdiNoCbtMetadata, Types.VdiInUse, Types.VdiIsAPhysicalDevice
public Task listChangedBlocksAsync(Connection c, VDI vdiTo) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.SrOperationNotSupported, Types.VdiMissing, Types.SrNotAttached, Types.SrHasNoPbds, Types.VdiInUse
vdiTo - The second VDI.Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.SrOperationNotSupportedTypes.VdiMissingTypes.SrNotAttachedTypes.SrHasNoPbdsTypes.VdiInUsepublic java.lang.String listChangedBlocks(Connection c, VDI vdiTo) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.SrOperationNotSupported, Types.VdiMissing, Types.SrNotAttached, Types.SrHasNoPbds, Types.VdiInUse
vdiTo - The second VDI.Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.SrOperationNotSupportedTypes.VdiMissingTypes.SrNotAttachedTypes.SrHasNoPbdsTypes.VdiInUsepublic java.util.Set<VdiNbdServerInfo.Record> getNbdInfo(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VdiIncompatibleType
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VdiIncompatibleTypepublic static java.util.Set<VDI> getAll(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static java.util.Map<VDI,VDI.Record> getAllRecords(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcException