/** * @since SDK5.0 */ public ProfileDescription retrieveDescription() throws RuntimeFault, RemoteException { return getVimService().retrieveDescription(getMOR()); } }
public String exportProfile() throws RuntimeFault, RemoteException { return (String) getVimService().exportProfile(getMOR()); }
public void destroyProfile() throws RuntimeFault, RemoteException { getVimService().destroyProfile(getMOR()); }
public ApplyProfile createDefaultProfile(String profileType, String profileTypeName, Profile profile) throws RuntimeFault, RemoteException { return getVimService().createDefaultProfile(getMOR(), profileType, profileTypeName, profile==null? null : profile.getMOR()); }
public ProfileMetadata[] queryHostProfileMetadata(String[] profileNames, Profile profile) throws RuntimeFault, RemoteException { return getVimService().queryHostProfileMetadata(getMOR(), profileNames, profile==null? null : profile.getMOR()); }
public ProfileExpressionMetadata[] queryExpressionMetadata(String[] expressionName, Profile profile) throws RuntimeFault, RemoteException { return getVimService().queryExpressionMetadata(getMOR(), expressionName, profile==null? null : profile.getMOR()); } }
public void associateProfile(ManagedEntity[] mes) throws RuntimeFault, RemoteException { ManagedObjectReference[] mors = MorUtil.createMORs(mes); getVimService().associateProfile(getMOR(), mors); }
/** * @since SDK5.0 */ public ProfileProfileStructure queryProfileStructure(Profile profile) throws RuntimeFault, RemoteException { return getVimService().queryProfileStructure(getMOR(), profile.getMOR()); }
public void dissociateProfile(ManagedEntity[] mes) throws RuntimeFault, RemoteException { ManagedObjectReference[] mors = MorUtil.createMORs(mes); getVimService().dissociateProfile(getMOR(), mors); }
public ProfilePolicyMetadata[] queryPolicyMetadata(String[] policyName, Profile profile) throws RuntimeFault, RemoteException { return getVimService().queryPolicyMetadata(getMOR(), policyName, profile==null? null : profile.getMOR()); }
public Task checkProfileCompliance_Task(ManagedEntity[] mes) throws RuntimeFault, RemoteException { ManagedObjectReference[] mors = MorUtil.createMORs(mes); ManagedObjectReference taskMor = getVimService().checkProfileCompliance_Task(getMOR(), mors); return new Task(getServerConnection(), taskMor); }