本文整理汇总了Java中com.vmware.vim25.DvsNotAuthorized类的典型用法代码示例。如果您正苦于以下问题:Java DvsNotAuthorized类的具体用法?Java DvsNotAuthorized怎么用?Java DvsNotAuthorized使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
DvsNotAuthorized类属于com.vmware.vim25包,在下文中一共展示了DvsNotAuthorized类的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: createDvsNotAuthorizedFault
import com.vmware.vim25.DvsNotAuthorized; //导入依赖的package包/类
/**
* Create an instance of {@link JAXBElement }{@code <}{@link DvsNotAuthorized }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:pbm", name = "DvsNotAuthorizedFault")
public JAXBElement<DvsNotAuthorized> createDvsNotAuthorizedFault(DvsNotAuthorized value) {
return new JAXBElement<DvsNotAuthorized>(_DvsNotAuthorizedFault_QNAME, DvsNotAuthorized.class, null, value);
}
示例2: reconfigureDvs_Task
import com.vmware.vim25.DvsNotAuthorized; //导入依赖的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);
}