public void resetEntityPermissions(ManagedEntity entity, Permission[] permission) throws AuthMinimumAdminPermission, NotFound, UserNotFound, RuntimeFault, RemoteException { if(entity==null) { throw new IllegalArgumentException("entity must not be null."); } getVimService().resetEntityPermissions(getMOR(), entity.getMOR(), permission); }
public Permission[] retrieveEntityPermissions(ManagedEntity entity, boolean inherited) throws RuntimeFault, RemoteException { if(entity==null) { throw new IllegalArgumentException("entity must not be null."); } return getVimService().retrieveEntityPermissions(getMOR(), entity.getMOR(), inherited); }
public void logUserEvent(ManagedEntity entity, String msg) throws RuntimeFault, RemoteException { if(entity==null) { throw new IllegalArgumentException("entity must not be null."); } getVimService().logUserEvent(getMOR(), entity.getMOR(), msg); }
public PerfMetricId[] queryAvailablePerfMetric(ManagedEntity entity, Calendar beginTime, Calendar endTime, Integer intervalId) throws RuntimeFault, RemoteException { if(entity==null) { throw new IllegalArgumentException("entity must not be null."); } return getVimService().queryAvailablePerfMetric(getMOR(), entity.getMOR(), beginTime, endTime, intervalId); }
public AlarmState[] getAlarmState(ManagedEntity me) throws RuntimeFault, RemoteException { if(me==null) { throw new IllegalArgumentException("entity must not be null."); } return getVimService().getAlarmState(getMOR(), me.getMOR()); } }
public void setEntityPermissions(ManagedEntity entity, Permission[] permission) throws AuthMinimumAdminPermission, NotFound, UserNotFound, RuntimeFault, RemoteException { if(entity==null) { throw new IllegalArgumentException("entity must not be null."); } getVimService().setEntityPermissions(getMOR(), entity.getMOR(), permission); }
public PerfProviderSummary queryPerfProviderSummary(ManagedEntity entity) throws RuntimeFault, RemoteException { if(entity==null) { throw new IllegalArgumentException("entity must not be null."); } return getVimService().queryPerfProviderSummary(getMOR(), entity.getMOR()); }
public void removeEntityPermission(ManagedEntity entity, String user, boolean isGroup) throws AuthMinimumAdminPermission, NotFound, RuntimeFault, RemoteException { if(entity==null) { throw new IllegalArgumentException("entity must not be null."); } getVimService().removeEntityPermission(getMOR(), entity.getMOR(), user, isGroup); }
public void setField(ManagedEntity entity, int key, String value) throws RuntimeFault, RemoteException { if(entity==null) { throw new IllegalArgumentException("entity must not be null."); } getVimService().setField(getMOR(), entity.getMOR(), key, value); }
/** * @since 4.0 */ public void enableAlarmActions(ManagedEntity entity, boolean enabled) throws RuntimeFault, RemoteException { getVimService().enableAlarmActions(getMOR(), entity.getMOR(), enabled); }
/** * @since SDK5.0 */ public boolean[] HasPrivilegeOnEntity(ManagedEntity entity, String sessionId, String[] privId) throws RuntimeFault, RemoteException { return getVimService().hasPrivilegeOnEntity(getMOR(), entity.getMOR(), sessionId, privId); }
/** * @since 4.0 */ public boolean areAlarmActionsEnabled(ManagedEntity entity) throws RuntimeFault, RemoteException { return getVimService().areAlarmActionsEnabled(getMOR(), entity.getMOR()); }
public ScheduledTask createScheduledTask(ManagedEntity entity, ScheduledTaskSpec spec) throws InvalidName, DuplicateName, RuntimeFault, RemoteException { if(entity==null) { throw new IllegalArgumentException("entity must not be null."); } return new ScheduledTask(getServerConnection(), getVimService().createScheduledTask(getMOR(), entity.getMOR(), spec)); }
public Alarm createAlarm(ManagedEntity me, AlarmSpec as) throws InvalidName, DuplicateName, RuntimeFault, RemoteException { if(me==null) { throw new IllegalArgumentException("entity must not be null."); } ManagedObjectReference mor = getVimService().createAlarm(getMOR(), me.getMOR(), as); return new Alarm(getServerConnection(), mor); }
/** * @since 4.0 */ public void acknowledgeAlarm(Alarm alarm, ManagedEntity entity) throws RuntimeFault, RemoteException { getVimService().acknowledgeAlarm(getMOR(), alarm.getMOR(), entity.getMOR()); }
public Task destroy_Task() throws VimFault, RuntimeFault, RemoteException { ManagedObjectReference taskMor = getVimService().destroy_Task(getMOR()); return new Task(getServerConnection(), taskMor); }
public Task rename_Task(String name) throws InvalidName, DuplicateName, RuntimeFault, RemoteException { ManagedObjectReference taskMor = getVimService().rename_Task(getMOR(), name); return new Task(getServerConnection(), taskMor); }
public Profile[] findAssociatedProfile(ManagedEntity entity) throws RuntimeFault, RemoteException { ManagedObjectReference[] mors = getVimService().findAssociatedProfile(getMOR(), entity.getMOR()); return convert2Profiles(mors); }
public HostSystem[] queryCompatibleHostForNewDvs(ManagedEntity container, boolean recursive, DistributedVirtualSwitchProductSpec switchProductSpec) throws RuntimeFault, RemoteException { ManagedObjectReference[] mors = getVimService().queryCompatibleHostForNewDvs(getMOR(), container.getMOR(), recursive, switchProductSpec); HostSystem[] hosts = new HostSystem[mors.length]; for(int i=0; i<hosts.length; i++) { hosts[i] = new HostSystem(getServerConnection(), mors[i]); } return hosts; }
public HostSystem[] queryCompatibleHostForExistingDvs(ManagedEntity container, boolean recursive, DistributedVirtualSwitch dvs) throws RuntimeFault, RemoteException { ManagedObjectReference[] mors = getVimService().queryCompatibleHostForExistingDvs(getMOR(), container.getMOR(), recursive, dvs.getMOR()); HostSystem[] hosts = new HostSystem[mors.length]; for(int i=0; i<hosts.length; i++) { hosts[i] = new HostSystem(getServerConnection(), mors[i]); } return hosts; }