发布时间:2025-12-09 11:57:28 浏览次数:2
import com.vmware.vim25.AlreadyExists; //导入依赖的package包/类/** * Create an instance of {@link JAXBElement }{@code <}{@link AlreadyExists }{@code >}} * */@XmlElementDecl(namespace = "urn:pbm", name = "AlreadyExistsFault")public JAXBElement<AlreadyExists> createAlreadyExistsFault(AlreadyExists value) { return new JAXBElement<AlreadyExists>(_AlreadyExistsFault_QNAME, AlreadyExists.class, null, value);} import com.vmware.vim25.AlreadyExists; //导入依赖的package包/类public Task reconfigureDvs_Task(DVSConfigSpec spec) throws DvsNotAuthorized, DvsFault, ConcurrentAccess, DuplicateName, InvalidState, InvalidName, NotFound, AlreadyExists, LimitExceeded, ResourceInUse, ResourceNotAvailable, RuntimeFault, RemoteException{ManagedObjectReference taskMor = getVimService().reconfigureDvs_Task(getMOR(), spec);return new Task(getServerConnection(), taskMor);} import com.vmware.vim25.AlreadyExists; //导入依赖的package包/类public void assignUserToGroup(String user, String group) throws AlreadyExists, UserNotFound, RuntimeFault, RemoteException {getVimService().assignUserToGroup(getMOR(), user, group);} import com.vmware.vim25.AlreadyExists; //导入依赖的package包/类public void createGroup(HostAccountSpec group) throws AlreadyExists, RuntimeFault, RemoteException {getVimService().createGroup(getMOR(), group);}