com.xensource.xenapi
public class PVSProxy extends XenAPIObject
| Modifier and Type | Class and Description |
|---|---|
static class |
PVSProxy.Record
Represents all the fields in a PVSProxy
|
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
ref
The XenAPI reference (OpaqueRef) to this object.
|
| Modifier and Type | Method and Description |
|---|---|
static PVSProxy |
create(Connection c,
PVSSite site,
VIF VIF)
Configure a VM/VIF to use a PVS proxy
First published in XenServer 7.1.
|
static Task |
createAsync(Connection c,
PVSSite site,
VIF VIF)
Configure a VM/VIF to use a PVS proxy
First published in XenServer 7.1.
|
void |
destroy(Connection c)
remove (or switch off) a PVS proxy for this VM
First published in XenServer 7.1.
|
Task |
destroyAsync(Connection c)
remove (or switch off) a PVS proxy for this VM
First published in XenServer 7.1.
|
boolean |
equals(java.lang.Object obj)
If obj is a PVSProxy, compares XenAPI references for equality.
|
static java.util.Set<PVSProxy> |
getAll(Connection c)
Return a list of all the PVS_proxys known to the system.
|
static java.util.Map<PVSProxy,PVSProxy.Record> |
getAllRecords(Connection c)
Return a map of PVS_proxy references to PVS_proxy records for all PVS_proxys known to the system.
|
static PVSProxy |
getByUuid(Connection c,
java.lang.String uuid)
Get a reference to the PVS_proxy instance with the specified UUID.
|
java.lang.Boolean |
getCurrentlyAttached(Connection c)
Get the currently_attached field of the given PVS_proxy.
|
PVSProxy.Record |
getRecord(Connection c)
Get a record containing the current state of the given PVS_proxy.
|
PVSSite |
getSite(Connection c)
Get the site field of the given PVS_proxy.
|
Types.PvsProxyStatus |
getStatus(Connection c)
Get the status field of the given PVS_proxy.
|
java.lang.String |
getUuid(Connection c)
Get the uuid field of the given PVS_proxy.
|
VIF |
getVIF(Connection c)
Get the VIF field of the given PVS_proxy.
|
int |
hashCode() |
java.lang.String |
toWireString() |
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 PVSProxy.Record getRecord(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static PVSProxy 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 java.lang.String getUuid(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic PVSSite getSite(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic VIF getVIF(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic java.lang.Boolean getCurrentlyAttached(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Types.PvsProxyStatus getStatus(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static Task createAsync(Connection c, PVSSite site, VIF VIF) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
site - PVS site that we proxy forVIF - VIF for the VM that needs to be proxiedTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static PVSProxy create(Connection c, PVSSite site, VIF VIF) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
site - PVS site that we proxy forVIF - VIF for the VM that needs to be proxiedTypes.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<PVSProxy> getAll(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static java.util.Map<PVSProxy,PVSProxy.Record> getAllRecords(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcException