com.vmware.vim25.mo
Class CustomFieldsManager
java.lang.Object
com.vmware.vim25.mo.ManagedObject
com.vmware.vim25.mo.CustomFieldsManager
public class CustomFieldsManager
- extends ManagedObject
The managed object class corresponding to the one defined in VI SDK API reference.
- Author:
- Steve JIN (sjin@vmware.com)
| Methods inherited from class com.vmware.vim25.mo.ManagedObject |
convertMors, getCurrentProperty, getDatastores, getFilter, getHosts, getManagedObject, getManagedObjects, getManagedObjects, getMOR, getNetworks, getPropertiesByPaths, getPropertyByPath, getResourcePools, getScheduledTasks, getServerConnection, getTasks, getViews, getVimService, getVms, retrieveObjectProperties, setMOR, setServerConnection, toString, waitForValues |
CustomFieldsManager
public CustomFieldsManager(ServerConnection serverConnection,
ManagedObjectReference mor)
getField
public CustomFieldDef[] getField()
addCustomFieldDef
public CustomFieldDef addCustomFieldDef(String name,
String moType,
PrivilegePolicyDef fieldDefPolicy,
PrivilegePolicyDef fieldPolicy)
throws DuplicateName,
InvalidPrivilege,
RuntimeFault,
RemoteException
- Throws:
DuplicateName
InvalidPrivilege
RuntimeFault
RemoteException
removeCustomFieldDef
public void removeCustomFieldDef(int key)
throws RuntimeFault,
RemoteException
- Throws:
RuntimeFault
RemoteException
renameCustomFieldDef
public void renameCustomFieldDef(int key,
String name)
throws DuplicateName,
RuntimeFault,
RemoteException
- Throws:
DuplicateName
RuntimeFault
RemoteException
setField
public void setField(ManagedEntity entity,
int key,
String value)
throws RuntimeFault,
RemoteException
- Throws:
RuntimeFault
RemoteException
Copyright © 2011-2012. All Rights Reserved.