question: @ PUT @ Consumes ( { MediaType . APPLICATION_XML , MediaType . APPLICATION_JSON } ) @ Path ( "/{id}/assign-matched-pools" ) @ Produces ( { MediaType . APPLICATION_XML , MediaType . APPLICATION_JSON } ) @ CheckPermission ( roles = { Role . SYSTEM_ADMIN , Role . RESTRICTED_SYSTEM_ADMIN } ) public FileVirtualPoolRestRep updateFileVirtualPoolWithAssignedPools ( @ PathParam ( "id" ) URI id , VirtualPoolPoolUpdateParam param ) { VirtualPool vPool = updateVirtualPoolWithAssignedStoragePools ( id , param ) ; return toFileVirtualPool ( vPool , VirtualPool . getFileRemoteProtectionSettings ( vPool , _dbClient ) ) ; }
target:  Update File VirtualPool only allows user to assign matching storage pools.